{"version":3,"file":"BNDPropositionFAQ.BHwtBJu9.mjs","names":["React.useState","React.useId"],"sources":["https:/framerusercontent.com/modules/mHydV4TvMaQrV5Dpbmvg/zeNyiA0bSeJtiMik1tTT/BNDPropositionFAQ.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";const defaults=[];/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function BNDPropositionFAQ({copy=\"[]\",style}){let items=defaults;try{const parsed=JSON.parse(copy.startsWith(\"FAQ:\")?copy.slice(4):copy);if(Array.isArray(parsed))items=parsed.filter(x=>typeof x.question===\"string\"&&typeof x.answer===\"string\");}catch{}const[open,setOpen]=React.useState({});const uid=React.useId();return /*#__PURE__*/_jsxs(\"div\",{className:\"bnd-academy-button-faq\",style:{...style,position:\"relative\",width:\"100%\",height:\"auto\",fontFamily:\"Manrope, sans-serif\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n.bnd-academy-button-faq section{border-top:1px solid #DCE3F0}.bnd-academy-button-faq section:last-child{border-bottom:1px solid #DCE3F0}\n.bnd-academy-button-faq h3{margin:0}.bnd-academy-button-faq button{width:100%;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 0;border:0;background:transparent;color:#091334;text-align:left;font:600 20px/1.35 Manrope,sans-serif;letter-spacing:-.02em;cursor:pointer}\n.bnd-academy-button-faq button:hover{color:#173DFF}.bnd-academy-button-faq svg{flex-shrink:0;width:20px;height:20px}.bnd-academy-button-faq p{margin:0;padding:0 0 28px;color:#65708A;font-size:16px;line-height:1.65}\n@media(max-width:809px){html:not([lang^=\"nl\"]) [data-framer-name=\"A commerce growth partner for your next stage of scale.\"] h1{font-size:clamp(27px,8.7vw,40px)!important;white-space:nowrap!important}}\n@media(max-width:809px){html:not([lang^=\"nl\"]) :is([data-framer-name=\"Find the priorities behind your next stage of commerce growth.\"],[data-framer-name=\"Give your next commerce launch a clear plan and scope.\"]) h1{font-size:clamp(30px,9.4vw,40px)!important;white-space:nowrap!important}}\n@media(max-width:809px){[data-framer-name=\"BNDX introduction\"] h1{font-size:clamp(24px,7vw,30px)!important}}\nhtml:not([lang^=\"nl\"]) [data-framer-name=\"Who it is for\"] [data-framer-name=\"Future scope content\"]{display:none!important}\n:is([data-framer-name=\"BND Service Page\"],[data-framer-name=\"BNDX Page\"]) :is(a[href],button,[role=\"button\"]):focus-visible{outline:3px solid #00B7FF!important;outline-offset:2px!important;box-shadow:0 0 0 2px #050B2F!important}\n@media(prefers-reduced-motion:reduce){:is([data-framer-name=\"BND Service Page\"],[data-framer-name=\"BNDX Page\"]) *{animation:none!important;transition-duration:0s!important;scroll-behavior:auto!important}}\n@media(forced-colors:active){:is([data-framer-name=\"BND Service Page\"],[data-framer-name=\"BNDX Page\"]) :is(a[href],button):focus-visible{outline-color:Highlight!important;box-shadow:none!important}}\n `}),items.map((x,i)=>/*#__PURE__*/_jsxs(\"section\",{children:[/*#__PURE__*/_jsx(\"h3\",{children:/*#__PURE__*/_jsxs(\"button\",{type:\"button\",id:`${uid}-q${i}`,\"aria-expanded\":!!open[i],\"aria-controls\":`${uid}-a${i}`,onClick:()=>setOpen(s=>({...s,[i]:!s[i]})),children:[x.question,/*#__PURE__*/_jsxs(\"svg\",{\"aria-hidden\":\"true\",viewBox:\"0 0 20 20\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.5\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M3 10h14\"}),!open[i]&&/*#__PURE__*/_jsx(\"path\",{d:\"M10 3v14\"})]})]})}),/*#__PURE__*/_jsx(\"div\",{id:`${uid}-a${i}`,\"aria-labelledby\":`${uid}-q${i}`,hidden:!open[i],children:/*#__PURE__*/_jsx(\"p\",{children:x.answer})})]},i))]});}addPropertyControls(BNDPropositionFAQ,{copy:{type:ControlType.String,title:\"Copy\",displayTextArea:true,defaultValue:\"[]\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BNDPropositionFAQ\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BNDPropositionFAQ.map"],"mappings":"wLAGG,SAAwB,EAAkB,CAAC,OAAK,KAAK,SAAO,CAAC,IAAI,EAAM,EAAS,GAAG,CAAC,IAAM,EAAO,KAAK,MAAM,EAAK,WAAW,MAAM,EAAE,EAAK,MAAM,CAAC,EAAE,CAAI,EAAK,MAAM,QAAQ,CAAM,IAAE,EAAM,EAAO,OAAO,GAAG,OAAO,EAAE,UAAW,UAAU,OAAO,EAAE,QAAS,QAAQ,EAAE,MAAM,CAAC,CAAC,GAAK,CAAC,EAAK,GAASA,EAAe,CAAC,CAAC,EAAQ,EAAIC,EAAY,EAAE,OAAoB,EAAM,MAAM,CAAC,UAAU,yBAAyB,MAAM,CAAC,GAAG,EAAM,SAAS,WAAW,MAAM,OAAO,OAAO,OAAO,WAAW,qBAAqB,EAAE,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS;;;;;;;;;;;EAW7hB,CAAC,EAAE,EAAM,KAAK,EAAE,IAAiB,EAAM,UAAU,CAAC,SAAS,CAAc,EAAK,KAAK,CAAC,SAAsB,EAAM,SAAS,CAAC,KAAK,SAAS,GAAG,GAAG,EAAI,IAAI,IAAI,gBAAgB,CAAC,CAAC,EAAK,GAAG,gBAAgB,GAAG,EAAI,IAAI,IAAI,YAAY,EAAQ,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,SAAS,CAAC,EAAE,SAAsB,EAAM,MAAM,CAAC,cAAc,OAAO,QAAQ,YAAY,KAAK,OAAO,OAAO,eAAe,YAAY,MAAM,SAAS,CAAc,EAAK,OAAO,CAAC,EAAE,UAAU,CAAC,EAAE,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