{"version":3,"file":"SectionCtaBlockPrimary.CJxt4c--.mjs","names":["useRef","useId","__esmMin","ie","de","p","c","J","init_jsx_runtime","init_npm_react_18_3_1","motion","init_framer_motion_DhsWWWsN","addPropertyControls","useIsStaticRenderer","ControlType","useLocaleInfo","init_framer_CKT6jEEQ","getStagger","pickBrandButtonVariant","init_motionVariants","resolveThemeProp","getSectionPadding","getCopyToCtaMarginTop","Button","getCopyStackGap","init_colors","init_layoutStyles","init_brandControl","init_themeControl","init_placeholders","getWidthValue","init_Button","getSectionWrapperStyles","init_resolveElementId","createSectionVariants","sectionButtonVariantControls","useEffectiveBreakpoint","themePropertyControls","getLinkUrl","init_announcementBannerLocale","getThemeColors","getSectionRestProps","getTypographyStyles","init_sectionProps","resolveBrand","init_breakpointControl","PLACEHOLDER","getResponsiveButtonWidth","init_buttonStyles","getContainerMaxWidth","init_controlTextStyles","FRAMER_THEME_DESCRIPTION_SURFACE_WITH_CHILDREN","resolveScopedElementId","init_themeHelpers","PRESERVE_CONTROL_NEWLINES","kernHeadingPlainText","init_propertyControlCopy","breakpointPropertyControl","resolveSectionIdPrefix","init_linkHelpers","matchAnnouncementLocaleKey","getAnnouncementLocaleCatalog","useReducedMotion","getSectionRootBackgroundStyle","SECTION_BACKGROUND_DEFAULTS","init_sectionBackground","init_useSectionAnimation","getSectionBackgroundFromProps","useSectionAnimation","getSectionMotionInitial","sectionBackgroundPropertyControls","renderTextWithEmailLinks","init_emailLinks","supportingTextTypographyPath","headlinePath","getHeadlineTypographyStyles","breakpoint","SECTION_CTA_HEADLINE_2XL_PATH","getSupportingTextTypographyStyles","path","sectionHeadlineSizePath","size","SECTION_HEADLINE_SIZE_PATHS","SECTION_PAGE_HEADER_HEADLINE_PATH","SECTION_CTA_HEADLINE_XL_PATH","SECTION_HEADLINE_SIZES","SECTION_HEADLINE_SIZE_OPTION_TITLES","sectionHeadlineSizePropertyControl","init_sectionCopyTypography","\"lg\"","\"xl\"","localizedLinkLabelFromSlug","cleaned","slug","localizedLinkPropKey","prefix","localeKey","localizedLinkToggleKey","readLinkValue","source","value","key","hasUsableUrl","brand","resolveLocalizedLink","input","props","globalValue","catalog","matchedKey","localeCode","override","useLocalizedLink","activeLocale","getLocalizedLinkCatalog","localizedLinkOmitKeys","entry","localizedLinkPropertyControls","options","toggleKey","toggleHidden","hidden","overrideHidden","controls","title","init_localizedLinks","SectionCtaBlockPrimary","ref","SectionCtaBlockPrimaryInternal","init_SectionCtaBlockPrimary","theme","breakpointProp","primaryCtaIdProp","rest","resolvedLabel","label","buttonLabel","primaryCtaId","primaryCTAID","primaryCTATracking","resolvedButtonLink","buttonLink","colors","backgroundGradientBrand","resolvedBrand","reducedMotion","componentId","resolvedSectionId","sectionId","resolvedPrimaryCtaId","headingId","isStaticRenderer","sectionPadding","_isGradient","resolvedButtonVariant","buttonVariant","buttonVariantTricount","sectionStyles","sectionBgColor","style","containerStyles","copyStackGap","copyToCtaMarginTop","contentStyles","innerHeaderStyles","headingStyles","descriptionStyles","containerVariants","itemVariants","sectionRef","animate","backgroundLayer","heading","description","linkEmails","buttonOpenInNewTab","onButtonClick","children"],"sources":["https:/framerusercontent.com/modules/Gmo2iWCS6cyuhk4IfMrP/e4ykvrdMAmNFcmlhpbgz/sectionCopyTypography.js","https:/framerusercontent.com/modules/G4PsztZiwHDujdAiRwrq/OTsoc2SdNSwTs6cvew95/localizedLinks.js","https:/framerusercontent.com/modules/GW2gGSF3VC0n6qc7rv8g/uBRAUs6XC3wdgfoaPuVs/SectionCtaBlockPrimary.js"],"sourcesContent":["import{ControlType}from\"framer\";import{getTypographyStyles}from\"https://framerusercontent.com/modules/yBm4xQRQEBvJankYjkxZ/KKhCVyNymvMcmMs0AiwA/colors.js\";export const SECTION_CTA_HEADLINE_2XL_PATH=\"/Headline 2XL/Heavy\";export const SECTION_STANDARD_HEADLINE_PATH=SECTION_CTA_HEADLINE_2XL_PATH;export const SECTION_PAGE_HEADER_HEADLINE_PATH=\"/Headline 3XL/Heavy\";export const SECTION_CTA_HEADLINE_XL_PATH=\"/Headline XL/Heavy\";export function supportingTextTypographyPath(headlinePath){if(headlinePath.includes(\"4XL\")||headlinePath.includes(\"3XL\")){return\"/Subheadline/LG\";}if(headlinePath.includes(\"2XL\")||headlinePath.includes(\"XL\")){return\"/Subheadline/MD\";}if(headlinePath.includes(\"/Headline L/\")||headlinePath.includes(\"/Headline M/\")){return\"/Subheadline/SM\";}return\"/Subheadline/SM\";}export function getHeadlineTypographyStyles(headlinePath,breakpoint){const styles=getTypographyStyles(headlinePath,breakpoint);if(styles){return styles;}return getTypographyStyles(SECTION_CTA_HEADLINE_2XL_PATH,breakpoint);}export function getSupportingTextTypographyStyles(headlinePath,breakpoint){const path=supportingTextTypographyPath(headlinePath);const styles=getTypographyStyles(path,breakpoint);if(styles){return styles;}return getTypographyStyles(\"/Subheadline/MD\",breakpoint);}export const SECTION_HEADLINE_SIZES=[\"lg\",\"xl\",\"2xl\",\"3xl\"];export const DEFAULT_SECTION_HEADLINE_SIZE=\"2xl\";const SECTION_HEADLINE_SIZE_PATHS={\"lg\":\"/Headline LG/Heavy\",\"xl\":SECTION_CTA_HEADLINE_XL_PATH,\"2xl\":SECTION_CTA_HEADLINE_2XL_PATH,\"3xl\":SECTION_PAGE_HEADER_HEADLINE_PATH};export const SECTION_HEADLINE_SIZE_OPTION_TITLES=[\"Small\",\"Medium\",\"Large\",\"Extra Large\"];export function sectionHeadlineSizePath(size){if(size&&Object.prototype.hasOwnProperty.call(SECTION_HEADLINE_SIZE_PATHS,size)){return SECTION_HEADLINE_SIZE_PATHS[size];}return SECTION_HEADLINE_SIZE_PATHS[DEFAULT_SECTION_HEADLINE_SIZE];}export const sectionHeadlineSizePropertyControl={type:ControlType.Enum,title:\"Headline Size\",options:[...SECTION_HEADLINE_SIZES],optionTitles:[...SECTION_HEADLINE_SIZE_OPTION_TITLES],defaultValue:DEFAULT_SECTION_HEADLINE_SIZE,description:\"Type size for the section headline. Supporting text scales to match.\"};\nexport const __FramerMetadata__ = {\"exports\":{\"supportingTextTypographyPath\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SECTION_STANDARD_HEADLINE_PATH\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SECTION_PAGE_HEADER_HEADLINE_PATH\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SECTION_CTA_HEADLINE_XL_PATH\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SECTION_HEADLINE_SIZE_OPTION_TITLES\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getSupportingTextTypographyStyles\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"sectionHeadlineSizePropertyControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DEFAULT_SECTION_HEADLINE_SIZE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SECTION_HEADLINE_SIZES\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SectionHeadlineSize\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getHeadlineTypographyStyles\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"sectionHeadlineSizePath\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SECTION_CTA_HEADLINE_2XL_PATH\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{ControlType,useLocaleInfo}from\"framer\";import{getAnnouncementLocaleCatalog,matchAnnouncementLocaleKey}from\"https://framerusercontent.com/modules/lsFFbQZCTW3OFBVqYDZL/ZuAz8z9yRndPCnCv1DfO/announcementBannerLocale.js\";import{getLinkUrl}from\"https://framerusercontent.com/modules/Da10ki4vvDJiJ9Ja6o9D/9AlKTYhR55FTfR2GMwPv/linkHelpers.js\";export function localizedLinkLabelFromSlug(slug){const cleaned=slug.replace(/^\\//,\"\").trim();if(!cleaned)return\"Global\";return cleaned.toUpperCase();}export function localizedLinkPropKey(prefix,localeKey){return`${prefix}${localeKey}`;}export function localizedLinkToggleKey(prefix){return`${prefix}PerLocale`;}function readLinkValue(source,key){if(!source)return undefined;const value=source[key];if(value==null)return undefined;if(typeof value===\"string\")return value;if(typeof value===\"object\")return value;return undefined;}function hasUsableUrl(value,brand){return getLinkUrl(value,brand).trim().length>0;}export function resolveLocalizedLink(input){const{prefix,localeCode,globalValue,props,brand}=input;const source=props;if(source?.[localizedLinkToggleKey(prefix)]!==true)return globalValue;const catalog=getAnnouncementLocaleCatalog(brand??\"bunq\");const matchedKey=matchAnnouncementLocaleKey(localeCode,catalog);if(!matchedKey)return globalValue;const override=readLinkValue(source,localizedLinkPropKey(prefix,matchedKey));if(!hasUsableUrl(override,brand))return globalValue;return override;}export function useLocalizedLink(input){const{activeLocale}=useLocaleInfo();return resolveLocalizedLink({...input,localeCode:activeLocale?.code});}export function getLocalizedLinkCatalog(brand){return getAnnouncementLocaleCatalog(brand??\"bunq\");}export function localizedLinkOmitKeys(prefix,brand){const catalog=getLocalizedLinkCatalog(brand);return[localizedLinkToggleKey(prefix),...catalog.map(entry=>localizedLinkPropKey(prefix,entry.key))];}export function localizedLinkPropertyControls(options){const{prefix,title,brand,hidden}=options;const catalog=getLocalizedLinkCatalog(brand);const toggleKey=localizedLinkToggleKey(prefix);const toggleHidden=props=>{if(!hidden)return false;return hidden(props)===true;};const overrideHidden=props=>{if(toggleHidden(props))return true;return props[toggleKey]!==true;};const controls={[toggleKey]:{type:ControlType.Boolean,title:`${title} Per Locale`,defaultValue:false,enabledTitle:\"Per locale\",disabledTitle:\"Same everywhere\",description:`Set ${title} per locale. Off means every locale uses the same link.`,hidden:toggleHidden}};for(const entry of catalog){controls[localizedLinkPropKey(prefix,entry.key)]={type:ControlType.Link,title:`${localizedLinkLabelFromSlug(entry.slug)} ${title}`,defaultValue:\"\",description:`${title} for ${entry.title}. Leave empty to use the shared link.`,hidden:overrideHidden};}return controls;}\nexport const __FramerMetadata__ = {\"exports\":{\"resolveLocalizedLink\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useLocalizedLink\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"localizedLinkLabelFromSlug\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ResolveLocalizedLinkInput\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LocalizedLinkPropertyControlsOptions\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"localizedLinkPropertyControls\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"localizedLinkOmitKeys\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getLocalizedLinkCatalog\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LocalizedLinkLocaleKey\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LocalizedLinkProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"localizedLinkToggleKey\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"localizedLinkPropKey\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","/**\n * @framerDisableUnlink\n * @framerIntrinsicWidth 1280\n * @framerIntrinsicHeight auto\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{forwardRef,useRef,useId}from\"react\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{breakpointPropertyControl}from\"https://framerusercontent.com/modules/6UdBjSNcTj2ZvqwzYBhr/YobiZge9W7Xn7xazZAGx/breakpointControl.js\";import{themePropertyControls,sectionButtonVariantControls}from\"https://framerusercontent.com/modules/Z5V3SrDZ3N0SCr97UEjQ/o1YBmyzVJYYylW1NjbdP/brandControl.js\";import{resolveThemeProp}from\"https://framerusercontent.com/modules/z6QCrYX84ckJpnUeNhHF/gexZpxpdM492rjLAu3h7/themeControl.js\";import{FRAMER_THEME_DESCRIPTION_SURFACE_WITH_CHILDREN}from\"https://framerusercontent.com/modules/XkpNQPznFVFpVVrkUS2q/giGyHV2d5Kpx0b0VWPH3/propertyControlCopy.js\";import{resolveScopedElementId,resolveSectionIdPrefix}from\"https://framerusercontent.com/modules/RC9cnc7ejWllpeuEEKC6/D9CQ86zcdJVdiirA3kNY/resolveElementId.js\";import{useReducedMotion,useEffectiveBreakpoint,kernHeadingPlainText,getSectionPadding,getContainerMaxWidth,getWidthValue,getStagger}from\"https://framerusercontent.com/modules/yBm4xQRQEBvJankYjkxZ/KKhCVyNymvMcmMs0AiwA/colors.js\";import{getThemeColors,resolveBrand}from\"https://framerusercontent.com/modules/lQGwaimbNM5Xu6MyhkbX/jkwmYmy5UKKNLWPosXSO/themeHelpers.js\";import{SECTION_BACKGROUND_DEFAULTS,getSectionBackgroundFromProps,getSectionRootBackgroundStyle,sectionBackgroundPropertyControls}from\"https://framerusercontent.com/modules/MGSskEwvDCtfP0DaYvsZ/BKNEYrcExfBrgoXwi5uz/sectionBackground.js\";import{getSectionWrapperStyles,getResponsiveButtonWidth,getCopyStackGap,getCopyToCtaMarginTop}from\"https://framerusercontent.com/modules/DM1v77aLRbnef2YaFAIl/KaR9zReIBnrgju8OHXaR/layoutStyles.js\";import{SECTION_CTA_HEADLINE_2XL_PATH,getHeadlineTypographyStyles,getSupportingTextTypographyStyles}from\"https://framerusercontent.com/modules/Gmo2iWCS6cyuhk4IfMrP/e4ykvrdMAmNFcmlhpbgz/sectionCopyTypography.js\";import{pickBrandButtonVariant}from\"https://framerusercontent.com/modules/vKY6x5g0FbznhD8FniTv/IqheZCZH6ld5Q8WOk0Ss/buttonStyles.js\";import{PLACEHOLDER}from\"https://framerusercontent.com/modules/sFBK7i1bSAAxq1HXohb0/K7e1i4YjYwgSRneYe0GD/placeholders.js\";import{useSectionAnimation,getSectionMotionInitial}from\"https://framerusercontent.com/modules/9qSWM51g80qN7vKcwfzg/vShImwrdLj0V5umNfNVH/useSectionAnimation.js\";import{createSectionVariants}from\"https://framerusercontent.com/modules/oW7B7s8PVE8ORjRjpzof/6YOImsOBPSXlyCRKLhUA/motionVariants.js\";import{getLinkUrl}from\"https://framerusercontent.com/modules/Da10ki4vvDJiJ9Ja6o9D/9AlKTYhR55FTfR2GMwPv/linkHelpers.js\";import{localizedLinkOmitKeys,localizedLinkPropertyControls,useLocalizedLink}from\"https://framerusercontent.com/modules/G4PsztZiwHDujdAiRwrq/OTsoc2SdNSwTs6cvew95/localizedLinks.js\";import{getSectionRestProps}from\"https://framerusercontent.com/modules/ewQRLND7FrcrRu0SQw4z/KNAnQtH0UbPmIB50gVQJ/sectionProps.js\";import{PRESERVE_CONTROL_NEWLINES}from\"https://framerusercontent.com/modules/Obxzp3iLrh8h7zTIfeN4/e0KwTzProe8CHJkbMQ4z/controlTextStyles.js\";import{renderTextWithEmailLinks}from\"https://framerusercontent.com/modules/56zQgB62kzUnYFBRYlHC/ZAiWEMRrA92ZTELRFKVs/emailLinks.js\";import Button from\"https://framerusercontent.com/modules/ctRFReweYjCUO95woTJb/TFel0BoebRU8EQpWfTHP/Button.js\";const SectionCtaBlockPrimaryInternal=/*#__PURE__*/forwardRef(function SectionCtaBlockPrimaryInternal(props,ref){const theme=resolveThemeProp(props);const{breakpoint:breakpointProp=\"desktop\",heading=PLACEHOLDER.HEADING,description=PLACEHOLDER.DESCRIPTION,linkEmails=false,label,buttonLabel,buttonVariant=\"primary-warm\",buttonVariantTricount=\"solid\",buttonLink,buttonOpenInNewTab=false,primaryCtaId:primaryCtaIdProp,primaryCTAID,primaryCTATracking,sectionId,onButtonClick,backgroundVariant=SECTION_BACKGROUND_DEFAULTS.backgroundVariant,backgroundPreset=SECTION_BACKGROUND_DEFAULTS.backgroundPreset,brand,backgroundEnabled,backgroundGradientBrand,backgroundPresetTricount,backgroundOverlayDirection=SECTION_BACKGROUND_DEFAULTS.backgroundOverlayDirection,backgroundShowOverlay=SECTION_BACKGROUND_DEFAULTS.backgroundShowOverlay,useMontserrat=SECTION_BACKGROUND_DEFAULTS.useMontserrat,style,children,...rest}=props;const resolvedLabel=label??buttonLabel??PLACEHOLDER.PRIMARY_BUTTON;const primaryCtaId=primaryCtaIdProp||primaryCTAID||primaryCTATracking||\"section-cta-block-primary-cta-primary\";const breakpoint=useEffectiveBreakpoint(breakpointProp);const resolvedButtonLink=useLocalizedLink({prefix:\"buttonLink\",globalValue:buttonLink,props});const colors=getThemeColors(theme,brand??backgroundGradientBrand);const resolvedBrand=resolveBrand(brand??backgroundGradientBrand);const reducedMotion=useReducedMotion();const componentId=useId();const resolvedSectionId=resolveSectionIdPrefix(sectionId,componentId,\"section-cta-block-primary\");const resolvedPrimaryCtaId=resolveScopedElementId(primaryCtaId,\"section-cta-block-primary-cta-primary\",resolvedSectionId,\"cta-primary\");const headingId=useId();const{sectionRef,animate,hasMounted}=useSectionAnimation(ref);const isStaticRenderer=useIsStaticRenderer();const _isPhone=breakpoint===\"phone\";const sectionPadding=getSectionPadding(breakpoint);const{sectionBgColor,isGradient:_isGradient,backgroundLayer}=getSectionBackgroundFromProps({theme,backgroundVariant,backgroundPreset,brand,backgroundEnabled,backgroundGradientBrand,backgroundPresetTricount,backgroundOverlayDirection,backgroundShowOverlay,colors});const resolvedButtonVariant=pickBrandButtonVariant(brand??backgroundGradientBrand??\"bunq\",buttonVariant,buttonVariantTricount,theme);const sectionStyles={width:\"100%\",...getSectionRootBackgroundStyle({useMontserrat,brand:brand??backgroundGradientBrand}),backgroundColor:sectionBgColor,paddingTop:sectionPadding.paddingTop,paddingBottom:sectionPadding.paddingBottom,paddingLeft:sectionPadding.paddingLeft,paddingRight:sectionPadding.paddingRight,boxSizing:\"border-box\",...style};const containerStyles={maxWidth:getContainerMaxWidth(breakpoint),margin:\"0 auto\",width:\"100%\"};const copyStackGap=getCopyStackGap(breakpoint);const copyToCtaMarginTop=getCopyToCtaMarginTop(breakpoint);const contentStyles={display:\"flex\",flexDirection:\"column\",alignItems:\"center\",gap:0};const innerHeaderStyles={display:\"flex\",flexDirection:\"column\",gap:copyStackGap,textAlign:\"center\",alignItems:\"center\"};const headingStyles={...getHeadlineTypographyStyles(SECTION_CTA_HEADLINE_2XL_PATH,breakpoint),color:colors.textPrimary,margin:0,textAlign:\"center\",maxWidth:getWidthValue(\"width-xxl\"),...PRESERVE_CONTROL_NEWLINES};const descriptionStyles={...getSupportingTextTypographyStyles(SECTION_CTA_HEADLINE_2XL_PATH,breakpoint),color:colors.textPrimary,margin:0,textAlign:\"center\",maxWidth:getWidthValue(\"width-xxl\"),...PRESERVE_CONTROL_NEWLINES};const{container:containerVariants,item:itemVariants}=createSectionVariants(reducedMotion,{stagger:getStagger(\"loose\")});return /*#__PURE__*/_jsxs(motion.section,{ref:sectionRef,style:sectionStyles,id:resolvedSectionId,\"aria-labelledby\":headingId,initial:getSectionMotionInitial(animate,{hasMounted,isStaticRenderer,reducedMotion}),animate:animate,variants:containerVariants,...getSectionRestProps(rest,localizedLinkOmitKeys(\"buttonLink\")),children:[backgroundLayer,/*#__PURE__*/_jsx(\"div\",{style:containerStyles,children:/*#__PURE__*/_jsxs(\"div\",{style:contentStyles,children:[Boolean(heading??description)&&/*#__PURE__*/_jsxs(motion.div,{style:innerHeaderStyles,variants:itemVariants,children:[heading&&/*#__PURE__*/_jsx(\"h2\",{id:headingId,style:headingStyles,children:kernHeadingPlainText(heading)}),description&&/*#__PURE__*/_jsx(\"p\",{style:descriptionStyles,children:linkEmails?renderTextWithEmailLinks(description):description})]}),resolvedLabel&&/*#__PURE__*/_jsx(motion.div,{variants:itemVariants,style:{width:getResponsiveButtonWidth(breakpoint),marginTop:copyToCtaMarginTop},children:/*#__PURE__*/_jsx(Button,{breakpoint:breakpoint,variant:resolvedButtonVariant,theme:theme,brand:resolvedBrand,size:\"large\",label:resolvedLabel,link:getLinkUrl(resolvedButtonLink)||undefined,openInNewTab:buttonOpenInNewTab,onClick:onButtonClick,iconPosition:\"none\",id:resolvedPrimaryCtaId,trackingId:resolvedPrimaryCtaId,analyticsLocation:\"cta\"})}),children]})})]});});export default function SectionCtaBlockPrimary(props){const ref=useRef(null);const breakpoint=useEffectiveBreakpoint(props.breakpoint??\"desktop\");return /*#__PURE__*/_jsx(\"div\",{style:{...getSectionWrapperStyles(breakpoint),...props.style},children:/*#__PURE__*/_jsx(SectionCtaBlockPrimaryInternal,{...props,ref:ref})});}SectionCtaBlockPrimary.displayName=\"Section CTA Block Primary - Organism\";addPropertyControls(SectionCtaBlockPrimary,{heading:{type:ControlType.String,title:\"Headline\",defaultValue:PLACEHOLDER.HEADING,placeholder:\"e.g. Short headline (one line)\",description:\"Main heading text for the section.\",displayTextArea:true},description:{type:ControlType.String,title:\"Subheadline\",defaultValue:PLACEHOLDER.DESCRIPTION,placeholder:\"One or two sentences describing the section\",description:\"Supporting text below the heading.\",displayTextArea:true},linkEmails:{type:ControlType.Boolean,title:\"Link Emails\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\",description:\"Turn email addresses in the subheadline into mailto links.\"},label:{type:ControlType.String,title:\"Button Label\",defaultValue:PLACEHOLDER.PRIMARY_BUTTON,placeholder:\"Enter button label...\",description:\"Label text for the CTA button. Leave empty to hide.\"},buttonLabel:{type:ControlType.String,title:\"Button Label\",defaultValue:PLACEHOLDER.PRIMARY_BUTTON,placeholder:\"Enter button label...\",description:\"Label text for the CTA button. Leave empty to hide.\",hidden:()=>true},buttonLink:{type:ControlType.Link,title:\"Button Link\",defaultValue:\"\",description:\"Link for the CTA button. When set, the button renders as a link. Used by every locale unless a per-locale link is set.\"},...localizedLinkPropertyControls({prefix:\"buttonLink\",title:\"Button Link\"}),buttonOpenInNewTab:{type:ControlType.Boolean,title:\"Open in New Tab\",defaultValue:true,enabledTitle:\"New Tab\",disabledTitle:\"Same Tab\",description:\"Open the button link in a new browser tab.\"},...sectionButtonVariantControls({title:\"Button Variant\",bunqDefault:\"primary-warm\"}),...sectionBackgroundPropertyControls(),onButtonClick:{type:ControlType.EventHandler,title:\"On Button Click\",description:\"Callback fired when the CTA button is clicked.\"},primaryCtaId:{type:ControlType.TrackingId,title:\"Primary CTA Tracking\",defaultValue:\"section-cta-block-primary-cta-primary\",placeholder:\"ID\",description:\"Primary CTA Tracking ID (lowercase + hyphens). Used as the HTML id, Framer custom event, and dataLayer select_content cta_id.\"},primaryCTAID:{type:ControlType.String,title:\"Primary CTA ID\",defaultValue:\"\",hidden:()=>true,preventLocalization:true,description:\"Insert-URL alias for Primary CTA Tracking.\"},primaryCTATracking:{type:ControlType.String,title:\"Primary CTA Tracking Alias\",defaultValue:\"\",hidden:()=>true,preventLocalization:true,description:\"Insert-URL alias for Primary CTA Tracking.\"},sectionId:{type:ControlType.String,title:\"Section ID\",defaultValue:\"section-cta-block-primary\",placeholder:\"e.g. section-name\",description:\"HTML id for the section element. Used for anchor links and page navigation.\",preventLocalization:true},...breakpointPropertyControl(),...themePropertyControls(FRAMER_THEME_DESCRIPTION_SURFACE_WITH_CHILDREN)});\nexport const __FramerMetadata__ = {\"exports\":{\"Breakpoint\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SectionCtaBlockPrimaryProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"SectionCtaBlockPrimary\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,01BAA0a,SAAgByE,EAA6B,EAAa,CAA0R,OAAtRC,EAAa,SAAS,KAAK,GAAGA,EAAa,SAAS,KAAK,EAAS,kBAAsBA,EAAa,SAAS,KAAK,GAAGA,EAAa,SAAS,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