{"version":3,"file":"Fetch_priority.B7GHnhKn.mjs","names":["useMemo"],"sources":["https:/framerusercontent.com/modules/6gneVunHBmfXyCNFA7F7/WArfes1F2gH7YU6P0WII/Fetch_priority.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useEffect,useMemo}from\"react\";export function withFetchPriority(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,background:{...props.background,fetchPriority:\"high\"}});};}export function withPreloadedSlideshow(Component){return /*#__PURE__*/forwardRef(function WithPreloadedSlideshow(props,ref){const imageUrls=useMemo(()=>[\"https://framerusercontent.com/images/gCrFkqd1WfW2QN009iXLr3MRnE.webp\",\"https://framerusercontent.com/images/fTXzIzj5MV7lPnaxttoaW3OrM.webp\",\"https://framerusercontent.com/images/mGkPrpTdB19mvmTJf8jE5hpUQU.webp\",\"https://framerusercontent.com/images/770oEgBAA83LVTvdRvgJhaJdI40.webp\",\"https://framerusercontent.com/images/4OQXdQheHQeEk4yda5uIOnNqJk.webp\",\"https://framerusercontent.com/images/JRGd9kzfT3SlKxQMwNkGX39qbBk.png\",\"https://framerusercontent.com/images/O8v2yneH2E8RzfAmfBCf3YjIXIw.png\",\"https://framerusercontent.com/images/vv6V0i7Q056OmAy9PWjiknOAOeU.png\",\"https://framerusercontent.com/images/WJmiQ43ljab3f8znQWKABJt2gk.png\",\"https://framerusercontent.com/images/uHHIl3RndZtxGckQ5ZM1N9VmxLE.webp\"],[]);useEffect(()=>{if(typeof window===\"undefined\"){return;}const images=[];imageUrls.forEach(url=>{const img=new Image;img.decoding=\"async\";img.fetchPriority=\"high\";img.src=url;images.push(img);});return()=>{images.forEach(img=>{img.onload=null;img.onerror=null;});};},[imageUrls]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withPreloadedSlideshow\":{\"type\":\"reactHoc\",\"name\":\"withPreloadedSlideshow\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFetchPriority\":{\"type\":\"reactHoc\",\"name\":\"withFetchPriority\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Fetch_priority.map"],"mappings":"8IAA2F,SAAgB,EAAkB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,WAAW,CAAC,GAAG,EAAM,WAAW,cAAc,MAAM,CAAC,CAAC,CAAI,CAAC,SAAgB,EAAuB,EAAU,CAAC,OAAoB,EAAW,SAAgC,EAAM,EAAI,CAAC,IAAM,EAAUA,MAAY,CAAC,uEAAuE,sEAAsE,uEAAuE,wEAAwE,uEAAuE,uEAAuE,uEAAuE,uEAAuE,sEAAsE,uEAAuE,EAAE,CAAC,CAAC,EAAwR,OAAtR,MAAc,CAAC,GAAU,IAAS,OAAa,OAAQ,IAAM,EAAO,CAAC,EAA4H,OAA1H,EAAU,QAAQ,GAAK,CAAC,IAAM,EAAI,IAAI,MAAM,EAAI,SAAS,QAAQ,EAAI,cAAc,OAAO,EAAI,IAAI,EAAI,EAAO,KAAK,CAAG,CAAE,CAAC,MAAY,CAAC,EAAO,QAAQ,GAAK,CAAC,EAAI,OAAO,KAAK,EAAI,QAAQ,IAAK,CAAC,CAAE,CAAE,EAAE,CAAC,CAAS,CAAC,EAAsB,EAAK,EAAU,CAAK,MAAI,GAAG,CAAK,CAAC,CAAE,CAAC,CAAE,qBAAz4C,IAAgD"}