{"version":3,"file":"JsonLdScript.BGaEWbbr.mjs","names":["_jsx","__esmMin","c","init_jsx_runtime","init_framer_ChujFWHC","ControlType","addPropertyControls","JsonLdScript","props","json","init_JsonLdScript"],"sources":["https:/framerusercontent.com/modules/PyLnW9YgX8ky6jfGeBRz/lyY1JXOT1nkxrMq237Bc/JsonLdScript.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * 輸出一段 JSON-LD 結構化資料（例如 FAQPage）。不顯示任何畫面內容。\n * JSON 格式錯誤時不輸出，避免產生無效標記。\n * 注意：FAQ 文字若修改，這裡的 JSON 也要同步更新。\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function JsonLdScript(props){let json=\"\";try{json=JSON.stringify(JSON.parse(props.json||\"\")).replace(/</g,\"\\\\u003c\");}catch(e){json=\"\";}return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{width:1,height:1,overflow:\"hidden\",pointerEvents:\"none\"},children:json?/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}}):null});}JsonLdScript.defaultProps={json:\"\"};addPropertyControls(JsonLdScript,{json:{type:ControlType.String,title:\"JSON-LD\",displayTextArea:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"JsonLdScript\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./JsonLdScript.map"],"mappings":"A,4JAOG,SAAwBO,EAAaC,EAAM,CAAC,IAAIC,EAAK,GAAG,GAAG,CAACA,EAAK,KAAK,UAAU,KAAK,MAAMD,EAAM,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,KAAK,SAAS,CAAE,MAAS,CAACC,EAAK,EAAG,CAAC,MAAoBT,gBAAK,MAAM,CAAC,cAAc,OAAO,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,SAAS,SAAS,cAAc,MAAM,EAAE,SAASS,EAAkBT,gBAAK,SAAS,CAAC,KAAK,sBAAsB,wBAAwB,CAAC,OAAOS,CAAI,CAAC,CAAC,EAAE,IAAI,CAAC,CAAE,C,sCAACF,EAAa,aAAa,CAAC,KAAK,EAAE,EAAED,EAAoBC,EAAa,CAAC,KAAK,CAAC,KAAKF,EAAY,OAAO,MAAM,UAAU,gBAAgB,EAAI,CAAC,CAAC,C"}