{"version":3,"file":"StructuredData.CfzfneK5.mjs","names":["__esmMin","p","c","init_jsx_runtime","addPropertyControls","RenderTarget","init_framer_BisrWwwE","ControlType","StructuredData","props","isCanvas","items","faq","q","base","providerUrl","orgId","websiteId","org","providerName","orgDescription","knowsAbout","sameAs","graph","mode","url","serviceName","serviceDescription","json","style","init_StructuredData"],"sources":["https:/framerusercontent.com/modules/bQcxysULEHQbAlUJ0kVm/BN6wwWIDWDNXJS0lbpmS/StructuredData.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * Rendert JSON-LD (Service + FAQPage) in de HTML. Onzichtbaar op de site.\n * Houd de FAQ-tekst gelijk aan de zichtbare FAQ op de pagina.\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function StructuredData(props){const{mode,orgDescription,sameAs,knowsAbout,serviceName,serviceDescription,url,providerName,providerUrl,areaServed,faq,style}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const items=(faq||[]).filter(q=>q.question&&q.answer);const base=(providerUrl||\"https://www.epartment.nl\").replace(/\\/+$/,\"\");const orgId=base+\"/#organization\";const websiteId=base+\"/#website\";const profiles=[\"https://www.linkedin.com/company/epartment/\",\"https://www.instagram.com/epartmentnl/\",\"https://www.facebook.com/epartmentBV\",\"https://github.com/epartment\",\"https://www.google.com/maps?cid=1698640786657905494\"];const org={\"@type\":\"Organization\",\"@id\":orgId,name:providerName,url:base+\"/\",logo:{\"@type\":\"ImageObject\",url:\"https://framerusercontent.com/images/DJaIkeZ2moitXEnGLXGl3ijy0A.png\"},description:orgDescription||undefined,foundingDate:\"2014\",numberOfEmployees:{\"@type\":\"QuantitativeValue\",minValue:25},identifier:{\"@type\":\"PropertyValue\",propertyID:\"KvK\",value:\"57357609\"},telephone:\"+31854014722\",email:\"sales@epartment.nl\",address:{\"@type\":\"PostalAddress\",streetAddress:\"Prins Bernhardplantsoen 102\",postalCode:\"7551 HT\",addressLocality:\"Hengelo\",addressCountry:\"NL\"},areaServed,knowsAbout:(knowsAbout||[]).filter(Boolean),sameAs:Array.from(new Set([...profiles,...(sameAs||[]).filter(Boolean)]))};const graph=mode===\"organization\"?[org,{\"@type\":\"WebSite\",\"@id\":websiteId,url:base+\"/\",name:providerName,inLanguage:\"nl-NL\",publisher:{\"@id\":orgId}}]:[{\"@type\":\"Service\",\"@id\":url+\"#service\",name:serviceName,description:serviceDescription,url,serviceType:\"B2B e-commerce\",areaServed:areaServed,provider:{\"@id\":orgId}}];if(mode===\"faq\")graph.length=0;if(items.length>0){graph.push({\"@type\":\"FAQPage\",\"@id\":url+\"#faq\",mainEntity:items.map(q=>({\"@type\":\"Question\",name:q.question,acceptedAnswer:{\"@type\":\"Answer\",text:q.answer}}))});}const json=JSON.stringify({\"@context\":\"https://schema.org\",\"@graph\":graph}).replace(/</g,\"\\\\u003c\");return /*#__PURE__*/_jsxs(\"div\",{style:{...style,overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:json}}),isCanvas&&/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:11,color:\"#A1A1AA\",fontFamily:\"Inter, sans-serif\",padding:6,border:\"1px dashed #52525B\"},children:[\"JSON-LD: \",mode===\"organization\"?\"Organization + WebSite\":mode===\"faq\"?\"\":\"Service\",items.length>0?\" + FAQPage (\"+items.length+\")\":\"\"]})]});}StructuredData.defaultProps={mode:\"service\",orgDescription:\"\",sameAs:[],knowsAbout:[\"Magento\",\"Adobe Commerce\",\"Hyv\\xe4\",\"B2B e-commerce\",\"ERP-koppeling\",\"PIM\",\"OCI Punchout\"],serviceName:\"Hyv\\xe4 B2B Suite\",serviceDescription:\"\",url:\"https://www.epartment.nl/hyva-b2bsuite\",providerName:\"Epartment\",providerUrl:\"https://www.epartment.nl\",areaServed:\"NL\",faq:[]};addPropertyControls(StructuredData,{mode:{type:ControlType.Enum,title:\"Type\",options:[\"service\",\"organization\",\"faq\"],optionTitles:[\"Dienst\",\"Organisatie\",\"Alleen FAQ\"],defaultValue:\"service\"},orgDescription:{type:ControlType.String,title:\"Org. omschrijving\",displayTextArea:true,defaultValue:\"\",hidden:p=>p.mode!==\"organization\"},knowsAbout:{type:ControlType.Array,title:\"Expertise\",control:{type:ControlType.String},defaultValue:[\"Magento\",\"Adobe Commerce\",\"Hyv\\xe4\",\"B2B e-commerce\",\"ERP-koppeling\",\"PIM\",\"OCI Punchout\"],hidden:p=>p.mode!==\"organization\"},sameAs:{type:ControlType.Array,title:\"Profielen (sameAs)\",control:{type:ControlType.String},defaultValue:[],hidden:p=>p.mode!==\"organization\"},serviceName:{type:ControlType.String,title:\"Dienst\",defaultValue:\"Hyv\\xe4 B2B Suite\"},serviceDescription:{type:ControlType.String,title:\"Omschrijving\",displayTextArea:true,defaultValue:\"\"},url:{type:ControlType.String,title:\"URL\",defaultValue:\"https://www.epartment.nl/hyva-b2bsuite\"},providerName:{type:ControlType.String,title:\"Aanbieder\",defaultValue:\"Epartment\"},providerUrl:{type:ControlType.String,title:\"Aanbieder URL\",defaultValue:\"https://www.epartment.nl\"},areaServed:{type:ControlType.String,title:\"Gebied\",defaultValue:\"NL\"},faq:{type:ControlType.Array,title:\"FAQ\",control:{type:ControlType.Object,controls:{question:{type:ControlType.String,title:\"Vraag\",defaultValue:\"\"},answer:{type:ControlType.String,title:\"Antwoord\",displayTextArea:true,defaultValue:\"\"}}},defaultValue:[]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"StructuredData\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StructuredData.map"],"mappings":"A,2KAKG,SAAwBQ,EAAe,EAAM,CAAC,GAAK,CAAC,OAAK,iBAAe,SA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