{"version":3,"file":"shared-lib.ghIOxyp4.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Image"],"sources":["https:/framerusercontent.com/modules/4axr3j52sr60aWED2U9j/L4RsM46ypN3ojbsnnyzt/vLiHrZ2ju.js","https:/framerusercontent.com/modules/bDIgHFRTDHfBX0HQZPLk/qbpG9Y7j5hFFcTVx70nC/siteMetadata.js"],"sourcesContent":["// Generated by Framer (ba156f5)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Image,Link,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={vBgwUk990:{hover:true},ZtwuXL2Mr:{hover:true}};const cycleOrder=[\"ZtwuXL2Mr\",\"vBgwUk990\"];const serializationHash=\"framer-nLDpg\";const variantClassNames={vBgwUk990:\"framer-v-74maxw\",ZtwuXL2Mr:\"framer-v-1oxk8c7\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const numberToPixelString=value=>{if(typeof value!==\"number\")return value;if(!Number.isFinite(value))return undefined;return Math.max(0,value)+\"px\";};const transition1={damping:60,delay:0,mass:1,stiffness:400,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={\"Primary Button\":\"ZtwuXL2Mr\",\"Secondery Button\":\"vBgwUk990\"};const getProps=({fontSize,height,iconVisible,id,link,padding,title,width,...props})=>{return{...props,c4qleFpBs:padding??props.c4qleFpBs??\"12px 24px 12px 24px\",fzrULwATr:title??props.fzrULwATr??\"Get a Free Quote\",mxsBiThmD:fontSize??props.mxsBiThmD??16,NoR_3fW3q:link??props.NoR_3fW3q,pUNHutO5B:iconVisible??props.pUNHutO5B,variant:humanReadableVariantMap[props.variant]??props.variant??\"ZtwuXL2Mr\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,fzrULwATr,NoR_3fW3q,pUNHutO5B,mxsBiThmD,c4qleFpBs,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"ZtwuXL2Mr\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Link,{href:NoR_3fW3q,motionChild:true,nodeId:\"ZtwuXL2Mr\",scopeId:\"vLiHrZ2ju\",children:/*#__PURE__*/_jsxs(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-1oxk8c7\",className,classNames)} framer-p56zmo`,\"data-framer-name\":\"Primary Button\",layoutDependency:layoutDependency,layoutId:\"ZtwuXL2Mr\",ref:refBinding,style:{\"--border-bottom-width\":\"0px\",\"--border-color\":\"rgba(0, 0, 0, 0)\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-style\":\"solid\",\"--border-top-width\":\"0px\",\"--d6ln85\":numberToPixelString(c4qleFpBs),backgroundColor:\"var(--token-5fd8beb4-6a72-4553-a67e-4e9d8a36a82b, rgb(53, 170, 243))\",borderBottomLeftRadius:58,borderBottomRightRadius:58,borderTopLeftRadius:58,borderTopRightRadius:58,boxShadow:\"inset 0px 4px 7px 0px rgba(255, 255, 255, 0.4)\",...style},variants:{\"vBgwUk990-hover\":{backgroundColor:\"var(--token-5fd8beb4-6a72-4553-a67e-4e9d8a36a82b, rgb(53, 170, 243))\"},\"ZtwuXL2Mr-hover\":{\"--border-bottom-width\":\"0px\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-top-width\":\"0px\",backgroundColor:\"var(--token-d8166fb5-499c-4601-8bdc-58ea7ca89108, rgb(17, 143, 52))\"},vBgwUk990:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-37eb1f7a-c6c1-4503-a65f-a972d3972582, rgb(255, 255, 255))\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backgroundColor:\"rgba(0, 0, 0, 0)\",boxShadow:\"none\"}},...addPropertyOverrides({\"vBgwUk990-hover\":{\"data-framer-name\":undefined},\"ZtwuXL2Mr-hover\":{\"data-framer-name\":undefined},vBgwUk990:{\"data-border\":true,\"data-framer-name\":\"Secondery Button\"}},baseVariant,gestureVariant),children:[pUNHutO5B&&/*#__PURE__*/_jsx(Image,{background:{alt:\"Icon\",fit:\"fill\",pixelHeight:17,pixelWidth:16,src:\"https://framerusercontent.com/images/sbig6GVhjKuraNSGbp8KiG4Tio.svg\"},className:\"framer-1t2wzd7\",\"data-framer-name\":\"Icon\",layoutDependency:layoutDependency,layoutId:\"OjbEb9T7U\"}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"RlM7U2F0b3NoaS1ib2xk\",\"--framer-font-family\":'\"Satoshi\", \"Satoshi Placeholder\", sans-serif',\"--framer-font-size\":\"calc(var(--variable-reference-mxsBiThmD-vLiHrZ2ju) * 1px)\",\"--framer-font-weight\":\"700\",\"--framer-letter-spacing\":\"0.3px\",\"--framer-line-height\":\"1.7em\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-37eb1f7a-c6c1-4503-a65f-a972d3972582, rgb(255, 255, 255)))\"},children:\"Get a Free Quote\"})}),className:\"framer-p29gka\",\"data-framer-name\":\"Get Started Now\",fonts:[\"FS;Satoshi-bold\"],layoutDependency:layoutDependency,layoutId:\"I12923:1272;12923:1170\",style:{\"--extracted-r6o4lv\":\"var(--token-37eb1f7a-c6c1-4503-a65f-a972d3972582, rgb(255, 255, 255))\",\"--framer-paragraph-spacing\":\"0px\",\"--variable-reference-mxsBiThmD-vLiHrZ2ju\":mxsBiThmD},text:fzrULwATr,verticalAlignment:\"center\",withExternalLayout:true})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-nLDpg.framer-p56zmo, .framer-nLDpg .framer-p56zmo { display: block; }\",\".framer-nLDpg.framer-1oxk8c7 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: visible; padding: var(--d6ln85); position: relative; text-decoration: none; width: min-content; }\",\".framer-nLDpg .framer-1t2wzd7 { flex: none; height: 16px; position: relative; width: 16px; }\",\".framer-nLDpg .framer-p29gka { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",'.framer-nLDpg[data-border=\"true\"]::after, .framer-nLDpg [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 51\n * @framerIntrinsicWidth 179\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"vBgwUk990\":{\"layout\":[\"auto\",\"auto\"]},\"jZAlW8Pbg\":{\"layout\":[\"auto\",\"auto\"]},\"gfKsxKSaB\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"fzrULwATr\":\"title\",\"NoR_3fW3q\":\"link\",\"pUNHutO5B\":\"iconVisible\",\"mxsBiThmD\":\"fontSize\",\"c4qleFpBs\":\"padding\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramervLiHrZ2ju=withCSS(Component,css,\"framer-nLDpg\");export default FramervLiHrZ2ju;FramervLiHrZ2ju.displayName=\"Button Main\";FramervLiHrZ2ju.defaultProps={height:51,width:179};addPropertyControls(FramervLiHrZ2ju,{variant:{options:[\"ZtwuXL2Mr\",\"vBgwUk990\"],optionTitles:[\"Primary Button\",\"Secondery Button\"],title:\"Variant\",type:ControlType.Enum},fzrULwATr:{defaultValue:\"Get a Free Quote\",displayTextArea:false,title:\"Title\",type:ControlType.String},NoR_3fW3q:{title:\"Link\",type:ControlType.Link},pUNHutO5B:{defaultValue:false,title:\"Icon Visible\",type:ControlType.Boolean},mxsBiThmD:{defaultValue:16,title:\"Font Size\",type:ControlType.Number},c4qleFpBs:{defaultValue:\"12px 24px 12px 24px\",title:\"Padding\",type:ControlType.Padding}});addFonts(FramervLiHrZ2ju,[{explicitInter:true,fonts:[{family:\"Satoshi\",source:\"fontshare\",style:\"normal\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/LAFFD4SDUCDVQEXFPDC7C53EQ4ZELWQI/PXCT3G6LO6ICM5I3NTYENYPWJAECAWDD/GHM6WVH6MILNYOOCXHXB5GTSGNTMGXZR.woff2\",weight:\"700\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramervLiHrZ2ju\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"fzrULwATr\\\":\\\"title\\\",\\\"NoR_3fW3q\\\":\\\"link\\\",\\\"pUNHutO5B\\\":\\\"iconVisible\\\",\\\"mxsBiThmD\\\":\\\"fontSize\\\",\\\"c4qleFpBs\\\":\\\"padding\\\"}\",\"framerIntrinsicHeight\":\"51\",\"framerIntrinsicWidth\":\"179\",\"framerColorSyntax\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"vBgwUk990\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"jZAlW8Pbg\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"gfKsxKSaB\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./vLiHrZ2ju.map","// Generated by Framer (9a43cf4)\nexport default function metadata(params,activeLocale){return{description:\"ProActive Pest Control provides trusted residential and commercial pest control in New York and New Jersey. Our certified experts deliver fast, safe, eco-friendly treatments to keep your property pest-free. Call now for a free inspection!\",favicon:\"https://framerusercontent.com/assets/Px8oqWTRlg5xlk3CUFYD6KHXg.jpg\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/Px8oqWTRlg5xlk3CUFYD6KHXg.jpg\",title:\"ProActive Pest Control | Residential & Commercial Pest Services in NY & NJ\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\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