{"version":3,"file":"BlogCta.Db3t9TIL.mjs","names":["React.useRef","React.useState","React.useEffect","React.useLayoutEffect","React.startTransition","__esmMin","le","init_ssg_sandbox_shims","te","window","_e","de","p","init_jsx_runtime","init_npm_react_18_3_1","ce","addPropertyControls","init_framer_D1IzEvwH","ControlType","useIsStaticRenderer","BlogCta","props","isStatic","ref","width","setWidth","on","setOn","ro","phone","stacked","pad","active","bg","FONT","ink","title","muted","text","link","hover","buttonBg","buttonText","label","init_BlogCta"],"sources":["https:/framerusercontent.com/modules/FugP0ZCwYJ10U9zCzdBn/rhAcVhDslVc82XIc9McJ/BlogCta.js"],"sourcesContent":["// Responsive closing CTA for the blog pages. Mirrors the site's CTA-Section (light surface, Archivo,\n// black pill button with Tangerine hover) but adapts by measured width, so it renders correctly inside\n// every Framer breakpoint without per breakpoint variant overrides.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";const FONT='\"Archivo\", \"Archivo Placeholder\", sans-serif';/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1440\n */export default function BlogCta(props){const{title,text,label,link,bg,ink,muted,buttonBg,buttonText,hover}=props;const isStatic=useIsStaticRenderer();const ref=React.useRef(null);const[width,setWidth]=React.useState(1440);const[on,setOn]=React.useState(false);const useIso=typeof window===\"undefined\"?React.useEffect:React.useLayoutEffect;useIso(()=>{if(!ref.current)return;setWidth(ref.current.getBoundingClientRect().width||1440);if(typeof ResizeObserver===\"undefined\")return;const ro=new ResizeObserver(([e])=>React.startTransition(()=>setWidth(e.contentRect.width)));ro.observe(ref.current);return()=>ro.disconnect();},[]);const phone=width<640;const stacked=width<900;const pad=phone?\"64px 24px\":width<1024?\"120px 48px\":\"144px 80px\";const active=on&&!isStatic;return /*#__PURE__*/_jsx(\"section\",{ref:ref,\"aria-labelledby\":\"blog-cta-title\",style:{...props.style,width:\"100%\",background:bg,padding:pad,boxSizing:\"border-box\",fontFamily:FONT},children:/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:1280,margin:\"0 auto\",display:\"grid\",gridTemplateColumns:stacked?\"1fr\":\"minmax(0, 1fr) minmax(0, 400px)\",columnGap:64,rowGap:phone?28:40,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"h2\",{id:\"blog-cta-title\",style:{margin:0,fontFamily:FONT,fontWeight:400,fontSize:phone?40:width<1024?52:64,lineHeight:1.05,letterSpacing:\"-0.03em\",color:ink,maxWidth:668,textWrap:\"balance\"},children:title}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:phone?24:32,alignItems:\"flex-start\",minWidth:0},children:[/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontFamily:FONT,fontSize:phone?16:17,lineHeight:1.6,color:muted,maxWidth:400},children:text}),/*#__PURE__*/_jsxs(\"a\",{href:link,onMouseEnter:()=>setOn(true),onMouseLeave:()=>setOn(false),onFocus:()=>setOn(true),onBlur:()=>setOn(false),style:{display:\"inline-flex\",alignItems:\"center\",gap:12,minHeight:48,padding:\"12px 24px\",borderRadius:999,background:active?hover:buttonBg,color:buttonText,fontFamily:FONT,fontSize:16,textDecoration:\"none\",transition:\"background 0.3s ease, transform 0.3s ease\",transform:active?\"translateY(-1px)\":\"none\",outline:\"none\",boxShadow:active?`0 0 0 2px ${bg}, 0 0 0 4px ${hover}`:\"none\"},children:[label,/*#__PURE__*/_jsx(\"svg\",{width:\"15\",height:\"14\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:2,strokeLinecap:\"round\",strokeLinejoin:\"round\",\"aria-hidden\":true,style:{transform:active?\"translateX(3px)\":\"none\",transition:\"transform 0.3s ease\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M5 12h14M13 6l6 6-6 6\"})})]})]})]})});}addPropertyControls(BlogCta,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"We're here to make you grow.\",displayTextArea:true},text:{type:ControlType.String,title:\"Text\",defaultValue:\"Feel free to reach out to us through your preferred method of contact. We are eager to connect with you and explore how our digital marketing team can contribute to your success.\",displayTextArea:true},label:{type:ControlType.String,title:\"Button\",defaultValue:\"Contact Us\"},link:{type:ControlType.Link,title:\"Link\",defaultValue:\"/contact\"},bg:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgb(250, 250, 250)\"},ink:{type:ControlType.Color,title:\"Title color\",defaultValue:\"rgb(10, 10, 10)\"},muted:{type:ControlType.Color,title:\"Text color\",defaultValue:\"rgb(82, 82, 82)\"},buttonBg:{type:ControlType.Color,title:\"Button BG\",defaultValue:\"rgb(0, 0, 0)\"},buttonText:{type:ControlType.Color,title:\"Button text\",defaultValue:\"rgb(255, 255, 255)\"},hover:{type:ControlType.Color,title:\"Button hover\",defaultValue:\"rgb(255, 98, 0)\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BlogCta\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"1440\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BlogCta.map"],"mappings":"A,mOAOG,SAAwBoB,EAAQ,EAAM,CAAC,GAAK,CAAC,QAAM,OAAK,QAAM,OAAK,KAAG,MAAI,QAAM,WAAS,aAAW,SAAOC,EAAYC,EAASH,EAAoB,EAAQI,EAAIvB,EAAa,IAAI,EAAO,CAACwB,EAAMC,GAAUxB,EAAe,IAAI,EAAO,CAACyB,EAAGC,GAAO1B,EAAe,EAAK,GAAsBQ,IAAS,OAAYP,EAAgBC,EAAAA,KAAiC,CAAkF,GAA9E,CAACoB,EAAI,UAAeE,EAASF,EAAI,QAAQ,sBAAsB,CAAC,CAAC,OAAO,IAAI,EAAK,OAAO,eAAiB,KAAY,OAAO,IAAMK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