{"version":3,"file":"Main.JZ7pPyRM.mjs","names":["useState","__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/Uacg4qyNvAYjjTT43TYx/NwnuCr5I0RafrjPZYl7k/Main.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";import{AnimatePresence}from\"framer-motion\";import{useEffect,useState}from\"react\";export function withSearchParams(Component){const urlParams=new URLSearchParams(window.location.search);const type=urlParams.get(\"type\");const variant=type??\"default\";if(variant===null)return null;return props=>{return /*#__PURE__*/_jsx(Component,{...props,variant:variant});};}export function withAnimatedHeight(Component){return props=>{return /*#__PURE__*/_jsx(AnimatePresence,{children:/*#__PURE__*/_jsx(Component,{...props,layout:true})});};}export function withSquare(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style,aspectRatio:1/1}});};}export function with50vhBottomPadding(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,paddingBottom:\"50vh\"}});});}export function withViewportHeight(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,height:\"100vh\"}});});}export function withMaxViewportWidth(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,maxWidth:\"100vw\"}});});}export function withViewportWidth(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,width:\"100vw\"}});});}export function withSlideIn(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,style:{...props.style},initial:{opacity:0,transform:\"translateX(64px)\"},animate:{opacity:1,transform:\"translateX(0px)\"}});};}export function withLayout(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,initial:{scaleX:1},animate:{scaleX:.5}});};}export function ResponsivePadding(){const[padding,setPadding]=useState(\"64px\");useEffect(()=>{const updatePadding=()=>{const newPadding=window.innerWidth<1200?\"32px\":\"64px\";setPadding(newPadding);};// Initial check\nupdatePadding();// Add event listener\nwindow.addEventListener(\"resize\",updatePadding);// Clean up\nreturn()=>window.removeEventListener(\"resize\",updatePadding);},[]);return{style:{padding:padding,maxWidth:\"100vw\"}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withResponsivePadding(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ResponsivePadding(props)});};}withResponsivePadding.displayName=\"ResponsivePadding\";\nexport const __FramerMetadata__ = {\"exports\":{\"withMaxViewportWidth\":{\"type\":\"reactHoc\",\"name\":\"withMaxViewportWidth\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLayout\":{\"type\":\"reactHoc\",\"name\":\"withLayout\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSquare\":{\"type\":\"reactHoc\",\"name\":\"withSquare\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"with50vhBottomPadding\":{\"type\":\"reactHoc\",\"name\":\"with50vhBottomPadding\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSearchParams\":{\"type\":\"reactHoc\",\"name\":\"withSearchParams\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withResponsivePadding\":{\"type\":\"reactHoc\",\"name\":\"withResponsivePadding\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withViewportWidth\":{\"type\":\"reactHoc\",\"name\":\"withViewportWidth\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withSlideIn\":{\"type\":\"reactHoc\",\"name\":\"withSlideIn\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAnimatedHeight\":{\"type\":\"reactHoc\",\"name\":\"withAnimatedHeight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ResponsivePadding\":{\"type\":\"override\",\"name\":\"ResponsivePadding\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withViewportHeight\":{\"type\":\"reactHoc\",\"name\":\"withViewportHeight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Main.map"],"mappings":"yYAA0J,SAAgB,EAAiB,EAAU,CAA8F,IAAM,EAAnF,IAAI,gBAAgB,EAAO,SAAS,OAAO,CAAsB,IAAI,OAAO,EAAqB,UAAwC,OAA3B,IAAU,KAAY,KAAY,GAA4B,EAAK,EAAU,CAAC,GAAG,EAAc,UAAQ,CAAC,CAAI,SAAgB,EAAmB,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAgB,CAAC,SAAsB,EAAK,EAAU,CAAC,GAAG,EAAM,OAAO,GAAK,CAAC,CAAC,CAAC,CAAI,SAAgB,EAAW,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,YAAY,EAAE,EAAE,CAAC,CAAC,CAAI,SAAgB,EAAsB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAA2B,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,cAAc,OAAO,CAAC,CAAC,CAAG,CAAE,SAAgB,EAAmB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAA2B,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,OAAO,QAAQ,CAAC,CAAC,CAAG,CAAE,SAAgB,EAAqB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAA2B,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,SAAS,QAAQ,CAAC,CAAC,CAAG,CAAE,SAAgB,EAAkB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAA2B,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,MAAM,QAAQ,CAAC,C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