{"version":3,"file":"Gap_System.BQ3t2_TC.mjs","names":["useState","__esmMin","init_ssg_sandbox_shims","_e","init_jsx_runtime","c","init_npm_react_18_3_1","ce","window","withResponsiveGap","gapValue","setGapValue","updateGap","width","Component","props","init_Gap_System"],"sources":["https:/framerusercontent.com/modules/GtAQ3XEKfVSblwDzpMiT/odSIVYm14yJSlG649ZCk/Gap_System.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";export function withResponsiveGap(Component){return props=>{const[gapValue,setGapValue]=useState(15);useEffect(()=>{const updateGap=()=>{const width=window.innerWidth;if(width>=1650){setGapValue(15)// Desktop 1920+\n;}else if(width>=1320){setGapValue(12)// Desktop 1440\n;}else if(width>=1024){setGapValue(14)// Tablet 1024\n;}else if(width>=810){setGapValue(14)// Tablet 810\n;}else{setGapValue(15)// Phone\n;}};updateGap();window.addEventListener(\"resize\",updateGap);return()=>window.removeEventListener(\"resize\",updateGap);},[]);return /*#__PURE__*/_jsx(Component,{...props,gap:gapValue,style:{...props.style,display:\"flex\",gap:gapValue}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withResponsiveGap\":{\"type\":\"reactHoc\",\"name\":\"withResponsiveGap\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Gap_System.map"],"mappings":"A,uIAAiF,SAAgBS,EAAkB,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAACC,EAASC,GAAaX,EAAS,EAAE,EAKzD,OAL2DO,MAAc,CAAC,IAAMK,MAAc,CAAC,IAAMC,EAAML,EAAO,WAA2BG,EAAbE,GAAO,KAAkB,GAC1QA,GAAO,KAAkB,GACzBA,GAAO,MACPA,GAAO,IADkB,GAEhB,EAAE,CACnB,EAA0D,OAAxDD,EAAU,EAAEJ,EAAO,iBAAiB,SAASI,CAAS,MAAYJ,EAAO,oBAAoB,SAASI,CAAS,CAAE,EAAE,CAAC,CAAC,EAAsB,gBAAKE,EAAU,CAAC,GAAGC,EAAM,IAAIL,EAAS,MAAM,CAAC,GAAGK,EAAM,MAAM,QAAQ,OAAO,IAAIL,CAAQ,CAAC,CAAC,CAAE,CAAE,C"}