{"version":3,"file":"shared-lib.DW7Rw_V0.mjs","names":["React.useId","React.useMemo","w","metadata","metadataVersion","__FramerMetadata__","metadata","siteMetadata"],"sources":["https:/framerusercontent.com/modules/hQ8rCUWcpl49tMMUWSPc/uSTy1ZrL5QB2PyXB5ILK/SelettoreLingua.js","https:/framerusercontent.com/modules/4HN6fsRKq3TiHFCCahYq/AWveRozFXyMCvFIpDegv/weCSPWfKG.js","https:/framerusercontent.com/modules/pB8yrkIjMKYLAZIApYmF/lyhKWzQASyDEo9qcGUzE/augiA20Il.js","https:/framerusercontent.com/modules/hGWQ6DoocusTRlKjXbzF/itczqvbEqpED3jEVlLGI/siteMetadata.js","https:/framerusercontent.com/modules/YDTRSN53cQ37kjhOXy7r/kypY51YzHCeklgwMQRrI/lCkYzmVkK.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Selettore di lingua per la traduzione dell'intera pagina.\n *\n * @framerIntrinsicWidth 160\n * @framerIntrinsicHeight 44\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function SelettoreLingua(props){const{linguaOriginale=\"it\",larghezza=160,style}=props;const reactId=React.useId();const id=React.useMemo(()=>`traduttore-villa-daria-${reactId.replace(/[^a-zA-Z0-9_-]/g,\"\")}`,[reactId]);React.useEffect(()=>{let annullato=false;let tentativi=0;const inizializza=()=>{if(annullato)return;const w=window;const contenitore=document.getElementById(id);if(!contenitore||contenitore.querySelector(\".goog-te-combo\"))return;if(w.google?.translate?.TranslateElement){new w.google.translate.TranslateElement({pageLanguage:linguaOriginale,autoDisplay:false,multilanguagePage:true,layout:w.google.translate.TranslateElement.InlineLayout.SIMPLE},id);return;}tentativi+=1;if(tentativi<80)window.setTimeout(inizializza,250);};const w=window;const eventoPronto=()=>inizializza();window.addEventListener(\"villa-daria-translate-ready\",eventoPronto);if(!document.querySelector('script[data-villa-daria-traduttore=\"true\"]')){w.googleTranslateElementInit=()=>{window.dispatchEvent(new Event(\"villa-daria-translate-ready\"));};const script=document.createElement(\"script\");script.src=\"https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit\";script.async=true;script.setAttribute(\"data-villa-daria-traduttore\",\"true\");document.head.appendChild(script);}inizializza();return()=>{annullato=true;window.removeEventListener(\"villa-daria-translate-ready\",eventoPronto);};},[id,linguaOriginale]);return /*#__PURE__*/_jsxs(\"div\",{style:{...style,width:larghezza,height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},\"aria-label\":\"Seleziona la lingua del sito\",children:[/*#__PURE__*/_jsx(\"style\",{children:`\n        #${id} {\n          width: 100%;\n          display: flex;\n          align-items: center;\n          justify-content: center;\n        }\n        #${id} .goog-te-gadget {\n          width: 100%;\n          font-size: 0;\n          line-height: 1;\n          color: transparent;\n          font-family: Inter, Arial, sans-serif;\n        }\n        #${id} .goog-te-combo {\n          width: 100%;\n          height: 38px;\n          margin: 0 !important;\n          padding: 0 34px 0 12px;\n          border: 1px solid rgba(44, 36, 23, 0.22);\n          border-radius: 6px;\n          background-color: #FAF7F2;\n          color: #2C2417;\n          font: 500 13px/1 Inter, Arial, sans-serif;\n          cursor: pointer;\n          outline: none;\n        }\n        #${id} .goog-te-combo:hover,\n        #${id} .goog-te-combo:focus {\n          border-color: #C85A2A;\n        }\n        .goog-te-banner-frame,\n        iframe.goog-te-banner-frame {\n          display: none !important;\n        }\n        body {\n          top: 0 !important;\n        }\n      `}),/*#__PURE__*/_jsx(\"div\",{id:id})]});}addPropertyControls(SelettoreLingua,{linguaOriginale:{type:ControlType.String,title:\"Lingua origine\",defaultValue:\"it\"},larghezza:{type:ControlType.Number,title:\"Larghezza\",defaultValue:160,min:120,max:240,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SelettoreLingua\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"44\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"160\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SelettoreLingua.map","// Generated by Framer (92deb96)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-DDoFp .framer-styles-preset-67ffxl:not(.rich-text-wrapper), .framer-DDoFp .framer-styles-preset-67ffxl.rich-text-wrapper a { --framer-link-current-text-color: #c85a2a; --framer-link-hover-text-color: #c85a2a; --framer-link-text-color: #4a3a2a; transition-delay: 0s; transition-duration: 0.2s; transition-property: color; transition-timing-function: cubic-bezier(0.44, 0, 0.56, 1); }\"];export const className=\"framer-DDoFp\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (d22cd96)\nexport default function metadata(params,activeLocale){return{breakpoints:[{hash:\"72rtr7\",mediaQuery:\"(min-width: 1200px)\"},{hash:\"1jl6zyg\",mediaQuery:\"(max-width: 1199.98px)\"}],description:\"Villa Daria \\xe8 un'elegante residenza del XVIII secolo nel cuore del Chianti, disponibile per affitti esclusivi. Piscina, giardino, 6 camere da letto e tutti i comfort.\",elements:{dOm4fwRuA:\"appartamenti\",kuChrqqFT:\"contatti\",n68AGPJVS:\"la-villa\",nboootl9T:\"galleria\",yjpVnG9iP:\"hero\",Z7FawhXQE:\"comfort\"},robots:\"max-image-preview:large\",serializationId:\"framer-Yshkm\",title:\"Villa Daria — Affitto Villa in Toscana\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (3ad0d99)\nexport default function metadata(params,activeLocale){return{description:\"Made with Framer\",robots:\"max-image-preview:large\",title:\"My Framer Site\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (a7a4a3d)\nimport siteMetadata from\"#framer/local/siteMetadata/siteMetadata/siteMetadata.js\";export default function metadata(params,activeLocale){return{breakpoints:[{hash:\"1aeulfz\"}],description:siteMetadata(params,activeLocale).description,elements:{},robots:\"max-image-preview:large\",serializationId:\"framer-OQjFx\",title:siteMetadata(params,activeLocale).title||\"Recensioni\",viewport:\"width=1200\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"oNAOG,SAAwB,EAAgB,EAAM,CAAC,GAAK,CAAC,kBAAgB,KAAK,YAAU,IAAI,SAAO,EAAY,EAAQA,GAAa,CAAO,EAAGC,MAAkB,0BAA0B,EAAQ,QAAQ,kBAAkB,GAAG,GAAG,CAAC,EAAQ,CAAC,CAAurC,OAAtrC,MAAoB,CAAC,IAAI,EAAU,GAAU,EAAU,EAAQ,MAAgB,CAAC,GAAG,EAAU,OAAO,IAAMC,EAAE,EAAa,EAAY,SAAS,eAAe,EAAG,CAAI,MAAC,GAAa,EAAY,cAAc,iBAAiB,EAAQ,IAAGA,EAAE,QAAQ,WAAW,iBAAiB,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