{"version":3,"file":"GlobalFormFontFix.B8BKhZRo.mjs","names":["__esmMin","init_jsx_runtime","c","init_npm_react_18_3_1","ce","GlobalFormFontFix","id","style","init_GlobalFormFontFix"],"sources":["https:/framerusercontent.com/modules/Psyd1ckRHekbJSGGXNFq/i0IUpglzmKxMoKUjct4g/GlobalFormFontFix.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";/**\n * Invisible utility component.\n *\n * iOS Safari auto-zooms the whole page when a form field is focused if that\n * field's font-size is below 16px. This injects a small global stylesheet\n * (once per page load) that forces every input/textarea/select on the site\n * to render at 16px, so the zoom-on-focus never triggers — without having to\n * manually edit the font size of every individual field.\n *\n * The same stylesheet also removes rounded corners from every form field\n * (input, textarea, select), since the radius of the fields inside a Framer\n * form is not reachable from the layer tree.\n *\n * Place one instance of this component anywhere on any page that has a\n * form (it renders nothing visible, size is fixed at 1x1px).\n *\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function GlobalFormFontFix(){React.useEffect(()=>{if(typeof document===\"undefined\")return;const id=\"global-form-font-fix\";if(document.getElementById(id))return;const style=document.createElement(\"style\");style.id=id;style.innerHTML=\"input, textarea, select { font-size: 16px !important; border-radius: 0 !important; }\";document.head.appendChild(style);},[]);return /*#__PURE__*/_jsx(\"div\",{style:{width:1,height:1}});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GlobalFormFontFix\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GlobalFormFontFix.map"],"mappings":"A,kHAoBG,SAAwBK,GAAmB,CAA0U,OAAzUD,MAAoB,CAAC,GAAG,OAAO,SAAW,IAAY,OAAO,IAAME,EAAG,uBAAuB,GAAG,SAAS,eAAeA,CAAE,EAAE,OAAO,IAAMC,EAAM,SAAS,cAAc,OAAO,EAAE,EAAM,GAAGD,EAAG,EAAM,UAAU,uFAAuF,SAAS,KAAK,YAAYC,CAAK,CAAE,EAAE,CAAC,CAAC,EAAsB,gBAAK,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAE,C"}