{"version":3,"file":"d4zmLDt16.vNMmOgUW.mjs","names":["useState","__esmMin","init_npm_react_18_3_1","init_ssg_sandbox_shims","window","_e","p","ce","addPropertyControls","init_framer_BWFVvmND","fontStore","ControlType","useIsStaticRenderer","LegalPolicy","props","isStatic","html","setHtml","failed","setFailed","base","endpoint","policy","hostedUrl","cancelled","r","d","hash","el","shell","style","CSS","init_LegalPolicy","init_jsx_runtime","fonts","css","className","init_d4zmLDt16"],"sources":["https:/framerusercontent.com/modules/WQsvEnJmSONBe5D6yIcu/dUuQMrCyXnlUJmfi2tc1/LegalPolicy.js","https:/framerusercontent.com/modules/ZseBHDL6tYyQMQf0IaU0/MntNuMUBv6j2ELKSSQvL/d4zmLDt16.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";const CSS=[\".pli-legal{color:var(--token-e1bc9e3a-bc04-42e7-a0e8-02510d5c00d9,#000);font-family:'FK Grotesk Regular','FK Grotesk',Inter,sans-serif;font-size:18px;font-weight:400;line-height:1.55;letter-spacing:-0.01em;-webkit-font-smoothing:antialiased;}\",\".pli-legal h1{display:none;}\",\".pli-legal h2{font-size:40px;font-weight:400;line-height:1.15;letter-spacing:-0.03em;margin:48px 0 16px;}\",\".pli-legal h3{font-size:32px;font-weight:400;line-height:1.15;letter-spacing:-0.01em;margin:36px 0 12px;}\",\".pli-legal h4,.pli-legal h5,.pli-legal h6{font-size:24px;font-weight:400;line-height:1.15;margin:28px 0 10px;}\",\".pli-legal p{margin:0 0 16px;}\",\".pli-legal ul,.pli-legal ol{padding-left:22px;margin:0 0 16px;}\",\".pli-legal li{margin:0 0 6px;}\",\".pli-legal a{color:inherit;text-decoration:underline;text-underline-offset:2px;}\",\".pli-legal strong,.pli-legal b{font-family:'FK Grotesk Medium','FK Grotesk',Inter,sans-serif;font-weight:500;}\",\".pli-legal hr{border:none;border-top:1px solid rgba(0,0,0,0.15);margin:36px 0;}\",\".pli-legal .iub_footer{font-size:14px;line-height:1.6;color:rgba(0,0,0,0.6);border-top:1px solid rgba(0,0,0,0.15);padding-top:24px;margin-top:48px;}\",\".pli-legal img{max-width:100%;height:auto;}\",\".pli-legal ul:has(> li > details){list-style:none;padding-left:0;margin:0 0 16px;}\",\".pli-legal li:has(> details){margin:0 0 10px;}\",\".pli-legal details{border:1px solid rgba(0,0,0,0.15);border-radius:12px;padding:14px 18px;background:rgba(255,255,255,0.5);}\",\".pli-legal summary{display:flex;align-items:center;gap:14px;cursor:pointer;list-style:none;}\",\".pli-legal summary::-webkit-details-marker{display:none;}\",\".pli-legal summary::marker{content:none;}\",\".pli-legal summary::after{content:'';width:8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-left:auto;flex:none;transition:transform 0.2s ease;}\",\".pli-legal details[open]>summary::after{transform:rotate(-135deg);}\",\".pli-legal summary figure{margin:0;flex:none;width:32px;height:32px;display:flex;align-items:center;justify-content:center;}\",\".pli-legal summary figure img{width:32px;height:32px;object-fit:contain;}\",\".pli-legal summary h4{margin:0 0 2px;font-size:18px;line-height:1.3;}\",\".pli-legal summary p{margin:0;font-size:14px;line-height:1.45;color:rgba(0,0,0,0.6);}\",\".pli-legal summary>div>div{display:flex;flex-wrap:wrap;gap:2px 14px;}\",\".pli-legal details>*:not(summary){margin-top:12px;}\",\".pli-legal details[open]>summary{margin-bottom:4px;}\",\"@media (max-width:809px){.pli-legal{font-size:16px;}.pli-legal h2{font-size:32px;}.pli-legal h3{font-size:24px;}.pli-legal h4,.pli-legal h5,.pli-legal h6{font-size:20px;}}\"].join(\"\");/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function LegalPolicy(props){const{policy=\"privacy\",style}=props;const isStatic=useIsStaticRenderer();const[html,setHtml]=useState(\"\");const[failed,setFailed]=useState(false);const base=\"https://www.iubenda.com/api/privacy-policy/68874576\";const endpoint=policy===\"cookie\"?base+\"/cookie-policy/no-markup\":base+\"/no-markup\";const hostedUrl=policy===\"cookie\"?\"https://www.iubenda.com/privacy-policy/68874576/cookie-policy\":\"https://www.iubenda.com/privacy-policy/68874576\";useEffect(()=>{if(isStatic)return;let cancelled=false;fetch(endpoint).then(function(r){return r.json();}).then(function(d){if(cancelled)return;if(d&&d.content)setHtml(d.content);else setFailed(true);}).catch(function(){if(!cancelled)setFailed(true);});return function(){cancelled=true;};},[endpoint,isStatic]);useEffect(()=>{if(!html||typeof window===\"undefined\")return;const hash=window.location.hash;if(hash){const el=document.getElementById(hash.slice(1));if(el)el.scrollIntoView();}},[html]);const shell={position:\"relative\",width:\"100%\",...style};if(isStatic){return /*#__PURE__*/_jsxs(\"div\",{style:{...shell,minHeight:300,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:\"rgba(0,0,0,0.5)\",fontFamily:\"Inter, sans-serif\"},children:[\"iubenda legal text (\",policy,\" policy) renders here on the published site\"]});}return /*#__PURE__*/_jsxs(\"div\",{className:\"pli-legal\",style:shell,children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),failed?/*#__PURE__*/_jsx(\"div\",{className:\"pli-legal-inner\",children:/*#__PURE__*/_jsxs(\"p\",{children:[\"The policy text could not be loaded right now.\",\" \",/*#__PURE__*/_jsx(\"a\",{href:hostedUrl,target:\"_blank\",rel:\"noopener noreferrer\",children:\"Read it on iubenda\"}),\".\"]})}):html?/*#__PURE__*/_jsx(\"div\",{className:\"pli-legal-inner\",dangerouslySetInnerHTML:{__html:html}}):/*#__PURE__*/_jsx(\"div\",{className:\"pli-legal-inner\",style:{minHeight:\"40vh\",color:\"rgba(0,0,0,0.5)\"},children:\"Loading policy…\"})]});}addPropertyControls(LegalPolicy,{policy:{type:ControlType.Enum,title:\"Policy\",options:[\"privacy\",\"cookie\"],optionTitles:[\"Privacy Policy\",\"Cookie Policy\"],defaultValue:\"privacy\",displaySegmentedControl:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LegalPolicy\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LegalPolicy.map","// Generated by Framer (293632e)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOMV2;FK Grotesk Mono Medium\",\"CUSTOMV2;FK Grotesk Mono Bold Italic\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"FK Grotesk Mono Medium\",source:\"custom\",style:\"normal\",uiFamilyName:\"FK Grotesk Mono\",url:\"https://framerusercontent.com/assets/lMafhtk8lbKx0B9YCLU6Q4wtQ3Y.woff2\",weight:\"500\"},{cssFamilyName:\"FK Grotesk Mono Bold Italic\",source:\"custom\",style:\"normal\",uiFamilyName:\"FK Grotesk Mono\",url:\"https://framerusercontent.com/assets/dm1ysNqToz4NFn6STp7ry9z6MQ.woff2\",weight:\"700\"}]}];export const css=[\".framer-dw75p .framer-styles-preset-1brwv82:not(.rich-text-wrapper), .framer-dw75p .framer-styles-preset-1brwv82.rich-text-wrapper p { --framer-font-family: \\\"FK Grotesk Mono Medium\\\", \\\"FK Grotesk Mono Medium Placeholder\\\", monospace; --framer-font-family-bold: \\\"FK Grotesk Mono Bold Italic\\\", \\\"FK Grotesk Mono Bold Italic Placeholder\\\", monospace; --framer-font-open-type-features: 'blwf' on, 'cv09' on, 'cv03' on, 'cv04' on, 'cv11' on; --framer-font-size: 12px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 500; --framer-font-weight-bold: 700; --framer-letter-spacing: 0em; --framer-line-height: 200%; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-571701d2-4266-4fd9-8033-28ba2a10e13e, #ffffff); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }\",\"@media (max-width: 1439px) and (min-width: 1026px) { .framer-dw75p .framer-styles-preset-1brwv82:not(.rich-text-wrapper), .framer-dw75p .framer-styles-preset-1brwv82.rich-text-wrapper p { --framer-font-family: \\\"FK Grotesk Mono Medium\\\", \\\"FK Grotesk Mono Medium Placeholder\\\", monospace; --framer-font-family-bold: \\\"FK Grotesk Mono Bold Italic\\\", \\\"FK Grotesk Mono Bold Italic Placeholder\\\", monospace; --framer-font-open-type-features: 'blwf' on, 'cv09' on, 'cv03' on, 'cv04' on, 'cv11' on; --framer-font-size: 12px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 500; --framer-font-weight-bold: 700; --framer-letter-spacing: 0em; --framer-line-height: 200%; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-571701d2-4266-4fd9-8033-28ba2a10e13e, #ffffff); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }\",\"@media (max-width: 1025px) and (min-width: 810px) { .framer-dw75p .framer-styles-preset-1brwv82:not(.rich-text-wrapper), .framer-dw75p .framer-styles-preset-1brwv82.rich-text-wrapper p { --framer-font-family: \\\"FK Grotesk Mono Medium\\\", \\\"FK Grotesk Mono Medium Placeholder\\\", monospace; --framer-font-family-bold: \\\"FK Grotesk Mono Bold Italic\\\", \\\"FK Grotesk Mono Bold Italic Placeholder\\\", monospace; --framer-font-open-type-features: 'blwf' on, 'cv09' on, 'cv03' on, 'cv04' on, 'cv11' on; --framer-font-size: 12px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 500; --framer-font-weight-bold: 700; --framer-letter-spacing: 0em; --framer-line-height: 200%; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-571701d2-4266-4fd9-8033-28ba2a10e13e, #ffffff); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }\",\"@media (max-width: 809px) and (min-width: 0px) { .framer-dw75p .framer-styles-preset-1brwv82:not(.rich-text-wrapper), .framer-dw75p .framer-styles-preset-1brwv82.rich-text-wrapper p { --framer-font-family: \\\"FK Grotesk Mono Medium\\\", \\\"FK Grotesk Mono Medium Placeholder\\\", monospace; --framer-font-family-bold: \\\"FK Grotesk Mono Bold Italic\\\", \\\"FK Grotesk Mono Bold Italic Placeholder\\\", monospace; --framer-font-open-type-features: 'blwf' on, 'cv09' on, 'cv03' on, 'cv04' on, 'cv11' on; --framer-font-size: 12px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 500; --framer-font-weight-bold: 700; --framer-letter-spacing: 0.1em; --framer-line-height: 200%; --framer-paragraph-spacing: 0px; --framer-text-alignment: start; --framer-text-color: var(--token-571701d2-4266-4fd9-8033-28ba2a10e13e, #ffffff); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }\"];export const className=\"framer-dw75p\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,2MAGG,SAAwBa,EAAY,EAAM,CAAC,GAAK,CAAC,SAAO,UAAU,SAAOC,EAAYC,EAASH,EAAoB,EAAO,CAACI,EAAKC,GAASjB,EAAS,EAAE,EAAO,CAACkB,EAAOC,GAAWnB,EAAS,EAAK,EAAQoB,EAAK,sDAA4DC,EAASC,IAAS,SAASF,EAAK,2BAA2BA,EAAK,aAAmBG,EAAUD,IAAS,SAAS,gEAAgE,kDAAkDf,MAAc,CAAC,GAAGQ,EAAS,OAAO,IAAIS,EAAU,GAA4M,OAAtM,MAAMH,CAAQ,C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