{"version":3,"file":"ImageOverrides.DqwTVgab.mjs","names":["__esmMin","init_npm_react_18_3_1","init_jsx_runtime","J","c","withLazyLoad","Component","props","withEagerLoad","init_ImageOverrides"],"sources":["https:/framerusercontent.com/modules/Qw5GYbkJ7t7wScJd59dM/kJbpYTDo7O7YiddkSR89/ImageOverrides.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";/**\n * Force LAZY loading (for below-the-fold images)\n */export function withLazyLoad(Component){return /*#__PURE__*/React.forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,loading:\"lazy\",decoding:\"async\"});});}/**\n * Force EAGER loading (for hero / above-the-fold images)\n */export function withEagerLoad(Component){return /*#__PURE__*/React.forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,loading:\"eager\",fetchPriority:\"high\",decoding:\"async\"});});}/**\n * Smart loading:\n * First few images = eager\n * Rest = lazy\n */let imageCount=0;export function withSmartLoad(Component){return /*#__PURE__*/React.forwardRef((props,ref)=>{imageCount++;const isAboveFold=imageCount<=3;return /*#__PURE__*/_jsx(Component,{ref:ref,...props,loading:isAboveFold?\"eager\":\"lazy\",fetchPriority:isAboveFold?\"high\":\"auto\",decoding:\"async\"});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withSmartLoad\":{\"type\":\"reactHoc\",\"name\":\"withSmartLoad\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withEagerLoad\":{\"type\":\"reactHoc\",\"name\":\"withEagerLoad\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLazyLoad\":{\"type\":\"reactHoc\",\"name\":\"withLazyLoad\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ImageOverrides.map"],"mappings":"A,kHAEG,SAAgBK,EAAa,EAAU,CAAC,MAAoB,iBAAkB,EAAM,IAA2B,gBAAKC,EAAU,CAAK,MAAI,GAAGC,EAAM,QAAQ,OAAO,SAAS,OAAO,CAAC,CAAG,CAAE,CAErL,SAAgBC,EAAc,EAAU,CAAC,MAAoB,iBAAkB,EAAM,IAA2B,gBAAKF,EAAU,CAAK,MAAI,GAAGC,EAAM,QAAQ,QAAQ,cAAc,OAAO,SAAS,OAAO,CAAC,CAAG,CAAE,C"}