{"version":3,"file":"shared-lib.C2ep2il9.mjs","names":["createOrUpdateStyleElement","createWithCustomFontSize"],"sources":["https:/framerusercontent.com/modules/g19Ll0hdbIqGpX987Ttd/yzPRZ4N1LRRJHrCYPBZx/Buttons.js","https:/framerusercontent.com/modules/bICuVVPXoQIuY8RyNaaU/TlLdpFAuw05pVF9JFJvE/BodyP0.js","https:/framerusercontent.com/modules/Hy7IGFVJl3rFVEIb4UYq/vBd7O5kRHW7hWyI8u9yA/Snap.js","https:/framerusercontent.com/modules/A9HoP5yKw6u4m7wx38DJ/9KMGUqMKGu0IOtATWNWr/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";// Helper function to create the style element if it doesn't exist\nfunction createOrUpdateStyleElement(id,content){if(typeof document===\"undefined\")return;// Avoid SSR error\nlet styleElement=document.getElementById(id);if(!styleElement){styleElement=document.createElement(\"style\");styleElement.id=id;document.head.appendChild(styleElement);}styleElement.textContent=content;}// Main function for creating responsive font sizes\nfunction createWithCustomFontSize(fontSizeInRem,className){const customFontSizeStyle=`\n    html {\n      font-size: 16px;\n    }\n\n    .${className} p, .${className} span {\n      font-size: ${fontSizeInRem} !important;\n    }\n\n    @media (min-width: 300px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 0.9) !important;\n      }\n    }\n\n    @media (min-width: 576px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 0.9) !important;\n      }\n    }\n\n    @media (min-width: 768px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 0.9) !important;\n      }\n    }\n\n    @media (min-width: 992px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 1) !important;\n      }\n    }\n\n    @media (min-width: 1200px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 1) !important;\n      }\n    }\n\n    @media (min-width: 1400px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 1) !important;\n      }\n    }\n\n    @media (min-width: 1600px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 1.1) !important;\n      }\n    }\n\n    @media (min-width: 1920px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 1.2) !important;\n      }\n    }\n\n    @media (min-width: 2560px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 1.3) !important;\n      }\n    }\n\n    @media (min-width: 3840px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 1.3) !important;\n      }\n    }\n  `;createOrUpdateStyleElement(`custom-font-size-style-${className}`,customFontSizeStyle);}// Override function for H1 custom font size\nexport function withCustomFontSizeTextButtons(Component){return props=>{useEffect(()=>{createWithCustomFontSize(\"1rem\",\"custom-font-size-TextButtons\");},[]);return /*#__PURE__*/_jsx(\"div\",{className:\"custom-font-size-TextButtons\",children:/*#__PURE__*/_jsx(Component,{...props})});};}export function withCustomFontSizeBoxButtons(Component){return props=>{useEffect(()=>{createWithCustomFontSize(\"0.875rem\",\"custom-font-size-BoxButtons\");},[]);return /*#__PURE__*/_jsx(\"div\",{className:\"custom-font-size-BoxButtons\",children:/*#__PURE__*/_jsx(Component,{...props})});};}export function withCustomFontSizeSmallTextButtons(Component){return props=>{useEffect(()=>{createWithCustomFontSize(\"0.875rem\",\"custom-font-size-SmallTextButtons\");},[]);return /*#__PURE__*/_jsx(\"div\",{className:\"custom-font-size-SmallTextButtons\",children:/*#__PURE__*/_jsx(Component,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withCustomFontSizeSmallTextButtons\":{\"type\":\"reactHoc\",\"name\":\"withCustomFontSizeSmallTextButtons\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCustomFontSizeBoxButtons\":{\"type\":\"reactHoc\",\"name\":\"withCustomFontSizeBoxButtons\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCustomFontSizeTextButtons\":{\"type\":\"reactHoc\",\"name\":\"withCustomFontSizeTextButtons\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Buttons.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";// Helper function to create the style element if it doesn't exist\nfunction createOrUpdateStyleElement(id,content){if(typeof document===\"undefined\")return;// Avoid SSR error\nlet styleElement=document.getElementById(id);if(!styleElement){styleElement=document.createElement(\"style\");styleElement.id=id;document.head.appendChild(styleElement);}styleElement.textContent=content;}// Main function for creating responsive font sizes\nfunction createWithCustomFontSize(fontSizeInRem,className){const customFontSizeStyle=`\n    html {\n      font-size: 16px;\n    }\n\n    .${className} p, .${className} span {\n      font-size: ${fontSizeInRem} !important;\n    }\n\n    @media (min-width: 300px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 0.9) !important;\n      }\n    }\n\n    @media (min-width: 576px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 0.9) !important;\n      }\n    }\n\n    @media (min-width: 768px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 0.9) !important;\n      }\n    }\n\n    @media (min-width: 992px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 1) !important;\n      }\n    }\n\n    @media (min-width: 1200px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 1) !important;\n      }\n    }\n\n    @media (min-width: 1400px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 1) !important;\n      }\n    }\n\n    @media (min-width: 1600px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 1.1) !important;\n      }\n    }\n\n    @media (min-width: 1920px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 1.1) !important;\n      }\n    }\n\n    @media (min-width: 2560px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 1.1) !important;\n      }\n    }\n\n    @media (min-width: 3840px) {\n      .${className} p, .${className} span {\n        font-size: calc(${fontSizeInRem} * 1.1) !important;\n      }\n    }\n  `;createOrUpdateStyleElement(`custom-font-size-style-${className}`,customFontSizeStyle);}// Override function for H1 custom font size\nexport function withCustomFontSizeBodyP0(Component){return props=>{useEffect(()=>{createWithCustomFontSize(\"0.875rem\",\"custom-font-size-BodyP0\");},[]);return /*#__PURE__*/_jsx(\"div\",{className:\"custom-font-size-BodyP0\",children:/*#__PURE__*/_jsx(Component,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withCustomFontSizeBodyP0\":{\"type\":\"reactHoc\",\"name\":\"withCustomFontSizeBodyP0\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BodyP0.map","import{jsx as _jsx}from\"react/jsx-runtime\";const style={scrollSnapAlign:\"start\",scrollSnapStop:\"always\"};export const myCodeOverride=Component=>{return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:style});};};\nexport const __FramerMetadata__ = {\"exports\":{\"myCodeOverride\":{\"type\":\"reactHoc\",\"name\":\"myCodeOverride\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Snap.map","// Generated by Framer (9312833)\nexport default function metadata(params,activeLocale){return{customHTMLBodyStart:'<!-- Google Tag Manager (noscript) -->\\n<noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-W6HCLNNB\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>\\n<!-- End Google Tag Manager (noscript) -->',customHTMLHeadEnd:\"<style>\\n/* hide show-on-submit by default */\\n.show-on-submit {\\n  opacity: 0 !important;\\n  height: 0 !important;\\n  overflow: hidden !important;\\n  pointer-events: none !important;\\n}\\n.is-hidden {\\n  opacity: 0 !important;\\n  height: 0 !important;\\n  overflow: hidden !important;\\n  pointer-events: none !important;\\n  transition: all 0.3s ease;\\n}\\n.is-visible {\\n  opacity: 1 !important;\\n  height: auto !important;\\n  pointer-events: auto !important;\\n}\\n\\n</style>\\n\",customHTMLHeadStart:\"<!-- Google Tag Manager -->\\n<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\\n'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\\n})(window,document,'script','dataLayer','GTM-W6HCLNNB');</script>\\n<!-- End Google Tag Manager -->\\n\",description:\"Alcove crafts luxury residential communities designed for modern living—where thoughtful design, natural surroundings, and elegance come together effortlessly.\",favicon:\"https://framerusercontent.com/assets/77KxrauNUVJyz2a1JyC1ITDRno.png\",robots:\"max-image-preview:large\",title:\"Alcove Properties\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"kHACA,SAASA,EAA2B,EAAG,EAAQ,CAAC,GAAG,OAAO,SAAW,IAAY,OACjF,IAAI,EAAa,SAAS,eAAe,CAAE,EAAM,IAAc,EAAa,SAAS,cAAc,OAAO,EAAE,EAAa,GAAG,EAAG,SAAS,KAAK,YAAY,CAAY,GAAG,EAAa,YAAY,CAAQ,CACzM,SAASC,EAAyB,EAAc,EAAU,CAAC,IAAM,EAAoB;;;;;OAK9E,EAAU,OAAO,EAAU;mBACf,EAAc;;;;SAIxB,EAAU,OAAO,EAAU;0BACV,EAAc;;;;;SAK/B,EAAU,OAAO,EAAU;0BACV,EAAc;;;;;SAK/B,EAAU,OAAO,EAAU;0BACV,EAAc;;;;;SAK/B,EAAU,OAAO,EAAU;0BACV,EAAc;;;;;SAK/B,EAAU,OAAO,EAAU;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