{"version":3,"file":"InnerCta.DZwDICHA.mjs","names":[],"sources":["https:/framerusercontent.com/modules/HKRIaHAkwSJ3NkudiIWo/48JJzJtRbyRKsli9x5Ek/InnerCta.js"],"sourcesContent":["// Call-to-action section used on every page.\n// \"band\": full-width closing band (dark), headline, one line, the solid accent button, optional \"See our solutions\" text link.\n// \"strip\": a slimmer mid-page call to action (after proof on Home; after the customer journey on Solution and Industry pages).\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{CtaButton,SecondaryLink}from\"https://framerusercontent.com/modules/mzh6Ee1s9FemQoNtjygM/gNmurx7GSFPIzltDVgfg/cta.js\";import{Css,MaskLines,Shell,useMeasure,useReveal,useStill,LAYOUT_W_CONTROL,lw}from\"https://framerusercontent.com/modules/61YXww0YSbehJLdVTN7C/LaxkeCWTt1Bv0u8CsFGy/motion.js\";import{DEEP,ELEV,HAIR,INK,INK2,PAPER,SANS}from\"https://framerusercontent.com/modules/jJQJadxiyfiEQ1dJxBbB/6VEtEBxp9IBw73pQJbVS/tokens.js\";const LIGHT=\"var(--token-db200faa-7b39-456a-99c4-f2a62adbdd33, #F5F5F5)\";const LIGHT_2=\"color-mix(in srgb, var(--token-db200faa-7b39-456a-99c4-f2a62adbdd33, #F5F5F5) 64%, transparent)\";const has=v=>typeof v===\"string\"&&v.trim()!==\"\"&&v.trim()!==\"null\";/** @framerSupportedLayoutWidth any-prefer-fixed\n *  @framerSupportedLayoutHeight auto\n *  @framerIntrinsicWidth 1200 */export function InnerCta(props){const{title=\"[CTA headline]\",sub=\"[CTA supporting line.]\",label=\"Book a discovery session\",href=\"/contact\",variant=\"band\",showSecondary=false}=props;const{still}=useStill();const{ref,w}=useMeasure(lw(props));const compact=w<760;const head=useReveal();const on=still||head.shown;if(variant===\"strip\")return /*#__PURE__*/_jsxs(\"div\",{ref:ref,style:{width:\"100%\",background:PAPER,fontFamily:SANS},children:[/*#__PURE__*/_jsx(Css,{}),/*#__PURE__*/_jsx(Shell,{compact:compact,pad:\"8px 40px 8px\",padM:\"4px 20px 4px\",children:/*#__PURE__*/_jsxs(\"div\",{ref:head.ref,style:{background:ELEV,border:`1px solid ${HAIR}`,borderRadius:16,padding:compact?\"24px 20px\":\"30px 36px\",display:\"flex\",flexDirection:compact?\"column\":\"row\",alignItems:compact?\"flex-start\":\"center\",justifyContent:\"space-between\",gap:compact?18:32,opacity:on?1:0,transform:on?\"none\":\"translateY(12px)\",transition:still?\"none\":\"all .7s cubic-bezier(0.22,0.61,0.36,1)\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{maxWidth:620},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:compact?19:20,fontWeight:600,letterSpacing:\"-0.015em\",color:INK},children:title}),has(sub)&&/*#__PURE__*/_jsx(\"p\",{style:{margin:\"8px 0 0\",fontSize:15,lineHeight:1.55,color:INK2},children:sub})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:\"12px 24px\",flexWrap:\"wrap\",flexShrink:0,width:compact?\"100%\":undefined},children:[/*#__PURE__*/_jsx(CtaButton,{label:label,href:href,full:compact}),showSecondary&&/*#__PURE__*/_jsx(SecondaryLink,{})]})]})})]});return /*#__PURE__*/_jsxs(\"div\",{ref:ref,style:{width:\"100%\",background:DEEP,fontFamily:SANS},children:[/*#__PURE__*/_jsx(Css,{}),/*#__PURE__*/_jsx(Shell,{compact:compact,bg:DEEP,pad:\"80px 40px\",padM:\"48px 20px\",children:/*#__PURE__*/_jsxs(\"div\",{ref:head.ref,style:{textAlign:\"center\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\"},children:[/*#__PURE__*/_jsx(MaskLines,{lines:title.split(\"|\"),on:on,still:still,size:compact?31:\"clamp(34px, 3.4vw, 50px)\",align:\"center\",color:LIGHT}),has(sub)&&/*#__PURE__*/_jsx(\"p\",{style:{margin:\"18px 0 0\",fontSize:compact?15.5:16.5,lineHeight:1.6,color:LIGHT_2,maxWidth:520},children:sub}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:\"14px 26px\",flexWrap:\"wrap\",marginTop:compact?28:36,width:compact?\"100%\":undefined},children:[/*#__PURE__*/_jsx(CtaButton,{label:label,href:href,size:\"lg\",onDark:true,full:compact}),showSecondary&&/*#__PURE__*/_jsx(SecondaryLink,{onDark:true})]})]})})]});}addPropertyControls(InnerCta,{layoutWidth:LAYOUT_W_CONTROL,variant:{type:ControlType.Enum,title:\"Variant\",options:[\"band\",\"strip\"],optionTitles:[\"Closing band\",\"Mid-page strip\"],defaultValue:\"band\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"[CTA headline]\"},sub:{type:ControlType.String,title:\"Sub\",displayTextArea:true,defaultValue:\"[CTA supporting line.]\"},label:{type:ControlType.String,title:\"Label\",defaultValue:\"Book a discovery session\"},href:{type:ControlType.String,title:\"Href\",defaultValue:\"/contact\"},showSecondary:{type:ControlType.Boolean,title:\"Show Secondary\",defaultValue:false,description:\"Adds the 'See our solutions' text link\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"InnerCta\":{\"type\":\"reactComponent\",\"name\":\"InnerCta\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"2UAKiC,SAAgB,EAAS,EAAM,CAAC,GAAK,CAAC,QAAM,iBAAiB,MAAI,yBAAyB,QAAM,2BAA2B,OAAK,WAAW,UAAQ,OAAO,gBAAc,IAAO,EAAW,CAAC,SAAO,EAAS,EAAO,CAAC,MAAI,KAAG,EAAW,EAAG,CAAK,CAAC,EAAQ,EAAQ,EAAE,IAAU,EAAK,EAAU,EAAQ,EAAG,GAAO,EAAK,MAAkvC,OAAzuC,IAAU,QAA4B,EAAM,MAAM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