{"version":3,"file":"SchemaJsonLd.D7yakWAt.mjs","names":["useId","useState"],"sources":["https:/framerusercontent.com/modules/f20hqYBq55SiZXQYj1q6/0SNKoHw5056thGiT5ghS/FAQItem.js","https:/framerusercontent.com/modules/sYVXt7vY2pRKAF7rICGa/SriQYmI5EgR2toHy0bnH/SchemaJsonLd.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useId,useState}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";const EVENT=\"meditron-faq-open\";/**\n * One FAQ row. Click to open; opening one row closes the others in the same group.\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function FAQItem(props){const{question=\"Question\",answer=\"Answer\",answerRich,group=\"faq\",defaultOpen=false,textColor=\"rgb(16, 44, 71)\",lineColor=\"rgba(16, 44, 71, 0.2)\",questionFont,answerFont,style}=props;const id=useId();const isStatic=useIsStaticRenderer();const[open,setOpen]=useState(defaultOpen);useEffect(()=>{if(typeof window===\"undefined\")return;const onOpen=e=>{const d=e.detail;if(d&&d.group===group&&d.id!==id)setOpen(false);};window.addEventListener(EVENT,onOpen);return()=>window.removeEventListener(EVENT,onOpen);},[group,id]);const toggle=()=>{const next=!open;setOpen(next);if(next&&typeof window!==\"undefined\"){window.dispatchEvent(new CustomEvent(EVENT,{detail:{group,id}}));}};const showOpen=isStatic?defaultOpen:open;return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",borderBottom:`1px solid ${lineColor}`,...style},children:[/*#__PURE__*/_jsxs(\"button\",{type:\"button\",\"aria-expanded\":showOpen,\"aria-controls\":`${id}-panel`,onClick:toggle,style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",gap:24,width:\"100%\",padding:\"22px 0\",background:\"none\",border:\"none\",cursor:\"pointer\",textAlign:\"left\",color:textColor,...questionFont},children:[/*#__PURE__*/_jsx(\"span\",{style:{flex:1},children:question}),/*#__PURE__*/_jsxs(\"span\",{\"aria-hidden\":\"true\",style:{position:\"relative\",width:22,height:22,flex:\"0 0 22px\",transform:showOpen?\"rotate(45deg)\":\"rotate(0deg)\",transition:\"transform 0.25s ease\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",left:0,top:10,width:22,height:2,background:textColor,borderRadius:2}}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",left:10,top:0,width:2,height:22,background:textColor,borderRadius:2}})]})]}),/*#__PURE__*/_jsx(AnimatePresence,{initial:false,children:showOpen&&/*#__PURE__*/_jsx(motion.div,{id:`${id}-panel`,role:\"region\",initial:{height:0,opacity:0},animate:{height:\"auto\",opacity:1},exit:{height:0,opacity:0},transition:{duration:.28,ease:[.4,0,.2,1]},style:{overflow:\"hidden\"},children:answerRich?/*#__PURE__*/_jsx(\"div\",{className:\"mtr-faq-answer\",style:{padding:\"0 46px 24px 0\",color:textColor,...answerFont},children:answerRich}):/<[a-z][\\s\\S]*>/i.test(answer)?/*#__PURE__*/_jsx(\"div\",{className:\"mtr-faq-answer\",style:{padding:\"0 46px 24px 0\",color:textColor,...answerFont},dangerouslySetInnerHTML:{__html:answer}}):/*#__PURE__*/_jsx(\"div\",{style:{padding:\"0 46px 24px 0\",color:textColor,whiteSpace:\"pre-line\",...answerFont},children:answer})},\"panel\")})]});}addPropertyControls(FAQItem,{question:{type:ControlType.String,title:\"Question\",defaultValue:\"Is Meditron the official Samsung distributor?\"},answerRich:{type:ControlType.RichText,title:\"Answer (rich text)\"},answer:{type:ControlType.String,title:\"Answer\",displayTextArea:true,defaultValue:\"Yes. Meditron has been the official Samsung Healthcare distributor in Switzerland since 2012.\"},group:{type:ControlType.String,title:\"Group\",defaultValue:\"faq\",description:\"Rows with the same group close each other.\"},defaultOpen:{type:ControlType.Boolean,title:\"Open\",defaultValue:false},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"rgb(16, 44, 71)\"},lineColor:{type:ControlType.Color,title:\"Line\",defaultValue:\"rgba(16, 44, 71, 0.2)\"},questionFont:{type:ControlType.Font,title:\"Question font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontFamily:\"Graphik Trial\",fontWeight:500,fontSize:20,lineHeight:\"1.4em\"}},answerFont:{type:ControlType.Font,title:\"Answer font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontFamily:\"Graphik Trial\",fontWeight:400,fontSize:18,lineHeight:\"1.5em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FAQItem\",\"slots\":[\"answerRich\"],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FAQItem.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const SITE=\"https://www.meditron.ch\";/**\n * Emits JSON-LD (Product / Article / BreadcrumbList) for the current CMS item. Renders nothing visible.\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function SchemaJsonLd(props){const{kind=\"product\",name=\"\",description=\"\",brand=\"\",category=\"\",slug=\"\",image,author=\"\",datePublished=\"\"}=props;const base=kind===\"product\"?`${SITE}/products/`:kind===\"article\"?`${SITE}/news-events/`:`${SITE}/solutions/`;const url=base+slug;const crumbs=kind===\"product\"?[[\"Home\",SITE+\"/\"],[\"Products\",SITE+\"/products\"],[name,url]]:kind===\"article\"?[[\"Home\",SITE+\"/\"],[\"News & Events\",SITE+\"/news-events\"],[name,url]]:[[\"Home\",SITE+\"/\"],[\"Solutions\",SITE+\"/solutions/ultrasound\"],[name,url]];const graph=[{\"@type\":\"BreadcrumbList\",itemListElement:crumbs.map(([n,u],i)=>({\"@type\":\"ListItem\",position:i+1,name:n,item:u}))}];if(kind===\"product\"&&name){graph.push({\"@type\":\"Product\",name,description:description||undefined,image:image?.src?[image.src]:undefined,brand:brand?{\"@type\":\"Brand\",name:brand}:undefined,category:category||undefined,url,offers:{\"@type\":\"Offer\",availability:\"https://schema.org/InStock\",priceSpecification:{\"@type\":\"PriceSpecification\",priceCurrency:\"CHF\",description:\"Price on request\"},seller:{\"@type\":\"Organization\",name:\"Meditron SA\",url:SITE},url:SITE+\"/contact\"}});}if(kind===\"article\"&&name){const date=datePublished?String(datePublished).slice(0,10):undefined;graph.push({\"@type\":\"Article\",headline:name,description:description||undefined,image:image?.src?[image.src]:undefined,datePublished:date,dateModified:date,inLanguage:\"en\",author:author?{\"@type\":\"Person\",name:author,worksFor:{\"@id\":SITE+\"/#org\"}}:{\"@type\":\"Organization\",\"@id\":SITE+\"/#org\",name:\"Meditron SA\"},publisher:{\"@type\":\"Organization\",\"@id\":SITE+\"/#org\",name:\"Meditron SA\",logo:{\"@type\":\"ImageObject\",url:\"https://framerusercontent.com/images/Bh1NiA8jHvEeS15K8WcRYSKE0.png\"}},mainEntityOfPage:{\"@type\":\"WebPage\",\"@id\":url},url});}const json=JSON.stringify({\"@context\":\"https://schema.org\",\"@graph\":graph});return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:1,height:1,overflow:\"hidden\",opacity:0,pointerEvents:\"none\"},\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}})});}addPropertyControls(SchemaJsonLd,{kind:{type:ControlType.Enum,title:\"Kind\",options:[\"product\",\"solution\",\"article\"],optionTitles:[\"Product\",\"Solution\",\"Article\"],defaultValue:\"product\"},name:{type:ControlType.String,title:\"Name\",defaultValue:\"\"},description:{type:ControlType.String,title:\"Description\",displayTextArea:true,defaultValue:\"\"},brand:{type:ControlType.String,title:\"Brand\",defaultValue:\"\"},category:{type:ControlType.String,title:\"Category\",defaultValue:\"\"},slug:{type:ControlType.String,title:\"Slug\",defaultValue:\"\"},image:{type:ControlType.ResponsiveImage,title:\"Image\"},author:{type:ControlType.String,title:\"Author\",defaultValue:\"\",hidden:p=>p.kind!==\"article\"},datePublished:{type:ControlType.Date,title:\"Published\",hidden:p=>p.kind!==\"article\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SchemaJsonLd\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SchemaJsonLd.map"],"mappings":"6QAIG,SAAwB,EAAQ,EAAM,CAAC,GAAK,CAAC,WAAS,WAAW,SAAO,SAAS,aAAW,QAAM,MAAM,cAAY,GAAM,YAAU,kBAAkB,YAAU,wBAAwB,eAAa,aAAW,SAAO,EAAY,EAAGA,EAAM,EAAQ,EAAS,EAAoB,EAAO,CAAC,EAAK,GAASC,EAAS,CAAW,EAAE,MAAc,CAAC,GAAU,IAAS,OAAY,OAAO,IAAM,EAAO,GAAG,CAAC,IAAM,EAAE,EAAE,OAAU,GAAG,EAAE,QAAQ,GAAO,EAAE,KAAK,GAAG,EAAQ,EAAK,CAAE,EAAwC,OAAtC,EAAO,iBAAiB,EAAM,CAAM,MAAY,EAAO,oBAAoB,EAAM,CAAM,CAAE,EAAE,CAAC,EAAM,CAAE,CAAC,EAAE,IAAM,MAAW,CAAC,IAAM,EAAK,CAAC,EAAK,EAAQ,CAAI,EAAK,GAAa,IAAS,QAAa,EAAO,cAAc,IAAI,YAAY,EAAM,CAAC,OAAO,CAAC,QAAM,IAAE,CAAC,CAAC,CAAC,CAAG,EAAQ,EAAS,EAAS,EAAY,EAAK,OAAoB,EAAM,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,aAAa,aAAa,IAAY,GAAG,CAAK,EAAE,SAAS,CAAc,EAAM,SAAS,CAAC,KAAK,SAAS,gBAAgB,EAAS,gBAAgB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