{"version":3,"file":"FAQDropdown_6.Ds3hldC9.mjs","names":["__exportAll","init_jsx_runtime","c","p","init_framer_DKtAEkcX","addPropertyControls","ControlType","FAQDropdown_6_exports","__FramerMetadata__","FAQDropdown","items","N","props","i","x","schema","plain","TINT","ITEM_BORDER","NAVY","ORANGE","TEXT","controls","init_FAQDropdown_6","__esmMin","html","\"exports\"","\"default\"","\"type\"","\"name\"","\"slots\"","\"annotations\"","\"framerContractVersion\"","\"framerSupportedLayoutHeight\"","\"framerSupportedLayoutWidth\"","\"__FramerMetadata__\""],"sources":["https:/framerusercontent.com/modules/O9D4ZnV3huMsA5Owjq7S/Ca47cOox3pMYrw2skJ4z/FAQDropdown_6.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";// Drop-down FAQs for guide pages, styled like the attraction FAQ items.\n// Answers stay in the page HTML (closed <details>), so Google can read them; also outputs FAQPage JSON-LD.\nconst NAVY=\"rgb(30, 70, 115)\";const TEXT=\"rgb(51, 55, 55)\";const TINT=\"rgb(233, 242, 251)\";const ITEM_BORDER=\"rgb(250, 232, 176)\";const ORANGE=\"rgb(242, 153, 52)\";const N=8;const plain=html=>html.replace(/<[^>]+>/g,\"\").replace(/\\s+/g,\" \").trim();/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function FAQDropdown(props){const items=Array.from({length:N},(_,i)=>({q:(props[`q${i+1}`]||\"\").trim(),a:(props[`a${i+1}`]||\"\").trim()})).filter(x=>x.q&&x.a);const schema={\"@context\":\"https://schema.org\",\"@type\":\"FAQPage\",mainEntity:items.map(x=>({\"@type\":\"Question\",name:x.q,acceptedAnswer:{\"@type\":\"Answer\",text:plain(x.a)}}))};return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",boxSizing:\"border-box\",fontFamily:\"Raleway, sans-serif\",background:TINT,borderRadius:16,padding:14,margin:\"8px 0 20px\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n.bfk-faq details{background:#fff;border:1px solid ${ITEM_BORDER};border-radius:16px;margin:0 0 10px}\n.bfk-faq details:last-child{margin-bottom:0}\n.bfk-faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;font-size:18px;font-weight:700;color:${NAVY};line-height:1.35}\n.bfk-faq summary::-webkit-details-marker{display:none}\n.bfk-faq summary:after{content:\"+\";color:${ORANGE};font-size:24px;font-weight:400;line-height:1;transition:transform .2s}\n.bfk-faq details[open] summary:after{transform:rotate(45deg)}\n.bfk-faq .bfk-faq-a{padding:0 16px 14px;font-size:16px;line-height:1.6;color:${TEXT}}\n.bfk-faq .bfk-faq-a p{margin:0 0 8px}.bfk-faq .bfk-faq-a p:last-child{margin:0}\n.bfk-faq .bfk-faq-a ul{margin:0 0 8px;padding-left:18px}.bfk-faq .bfk-faq-a li{margin:0 0 4px}.bfk-faq .bfk-faq-a li p{margin:0}.bfk-faq .bfk-faq-a strong{color:${NAVY}}\n.bfk-faq a{color:rgb(30, 84, 140);text-decoration:none}.bfk-faq a:hover{text-decoration:underline}\n@media (max-width:809px){.bfk-faq .bfk-faq-a{font-size:18px}}\n`}),/*#__PURE__*/_jsx(\"div\",{className:\"bfk-faq\",children:items.map((x,i)=>/*#__PURE__*/_jsxs(\"details\",{children:[/*#__PURE__*/_jsx(\"summary\",{children:x.q}),/*#__PURE__*/_jsx(\"div\",{className:\"bfk-faq-a\",dangerouslySetInnerHTML:{__html:x.a}})]},i))}),items.length?/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:JSON.stringify(schema)}}):null]});}const controls={};for(let i=1;i<=N;i++){controls[`q${i}`]={type:ControlType.String,title:`Question ${i}`};controls[`a${i}`]={type:ControlType.String,title:`Answer ${i} (HTML)`,displayTextArea:true};}addPropertyControls(FAQDropdown,controls)// saved on main 2026-11-15\n;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQDropdown\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQDropdown_6.map"],"mappings":"A,uOAKG,SAAwBS,EAAY,EAAM,CAAC,IAAMC,EAAM,MAAM,KAAK,CAAC,OAAOC,CAAC,GAAG,EAAE,KAAK,CAAC,GAAGC,EAAM,IAAIC,EAAE,MAAM,GAAA,CAAI,KAAK,EAAE,GAAGD,EAAM,IAAIC,EAAE,MAAM,GAAA,CAAI,KAAK,CAAC,EAAE,CAAC,CAAC,OAAO,GAAGC,EAAE,GAAGA,EAAE,CAAC,EAAQC,EAAO,CAAC,WAAW,qBAAqB,QAAQ,UAAU,WAAWL,EAAM,IAAI,IAAI,CAAC,QAAQ,WAAW,KAAKI,EAAE,EAAE,eAAe,CAAC,QAAQ,SAAS,KAAKE,EAAMF,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,MAAoB,gBAAM,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,UAAU,aAAa,WAAW,sBAAsB,WAAWG,EAAK,aAAa,GAAG,QAAQ,GAAG,OAAO,YAAY,EAAE,SAAS,CAAc,gBAAK,QAAQ,CAAC,SAAS;oDACngBC,EAAY;;gLAEgHC,EAAK;;2CAE1IC,EAAO;;+EAE6BC,EAAK;;mKAE+EF,EAAK;;;CAGvK,CAAC,EAAe,gBAAK,MAAM,CAAC,UAAU,UAAU,SAAST,EAAM,KAAK,EAAE,IAAiB,gBAAM,UAAU,CAAC,SAAS,CAAc,gBAAK,UAAU,CAAC,SAASI,EAAE,CAAC,CAAC,EAAe,gBAAK,MAAM,CAAC,UAAU,YAAY,wBAAwB,CAAC,OAAOA,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAED,CAAC,CAAC,CAAC,CAAC,EAAEH,EAAM,OAAoB,gBAAK,SA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