{"version":3,"file":"WithDynamicViewportHeight.DHVsCNPm.mjs","names":["__esmMin","c","init_jsx_runtime","withDynamicViewportHeight","incomingHeight","props","height","Component","init_WithDynamicViewportHeight"],"sources":["https:/framerusercontent.com/modules/sWAP2O0hirCejCY9g1Dh/bIV4LeEYctioARQelhj7/WithDynamicViewportHeight.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function withDynamicViewportHeight(Component){return props=>{const incomingHeight=props.style?.height;const height=typeof incomingHeight===\"string\"&&/vh|dvh/i.test(incomingHeight)?\"100dvh\":incomingHeight;return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,...height!=null?{height}:{}}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withDynamicViewportHeight\":{\"type\":\"reactHoc\",\"name\":\"withDynamicViewportHeight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithDynamicViewportHeight.map"],"mappings":"A,oGAA2C,SAAgBG,EAA0B,EAAU,CAAC,MAAO,IAAO,CAAC,IAAMC,EAAeC,EAAM,OAAO,OAAaC,EAAO,OAAOF,GAAiB,UAAU,UAAU,KAAKA,CAAc,EAAE,SAASA,EAAe,MAAoB,gBAAKG,EAAU,CAAC,GAAGF,EAAM,MAAM,CAAC,GAAGA,EAAM,MAAM,GAAGC,GAAQ,KAAc,CAAC,EAAV,CAAC,QAAM,CAAI,CAAC,CAAC,CAAE,CAAE,C"}