{"version":3,"file":"Examples.LQ49OMl_.mjs","names":["FooterLowerWords","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","Image1","useState","useState","useCallback","__esmMin","oe","ie","init_ssg_sandbox_shims","te","ne","x","window","_e","de","init_jsx_runtime","pe","J","c","p","init_npm_react_18_3_1","ce","MotionConfigContext","LayoutGroup","init_framer_motion_DhsWWWsN","motion","addFonts","useVariantState","ResolveLinks","forwardLoader","init_framer_BL70qLPA","cx","withCSS","useRouter","getLoadingLazyAtYPosition","getFonts","Data","Image$1","ComponentViewportProvider","runTasksWithYield","addPropertyControls","SmartComponentScopedContainer","ControlType","useComponentViewport","useObserveData","useLocaleInfo","init_hugL2HiL2","FramerhugL2HiL2","addPropertyOverrides","variants","nextOverrides","variant","overrides","FooterLowerWordsFonts","cycleOrder","serializationHash","variantClassNames","transition1","matchVariant","Transition","humanReadableVariantMap","Variants","getProps","createLayoutDependency","FramerefsZFKfDp","init_efsZFKfDp","args","arg","config","transition","value","contextValue","props","fallbackRef","refBinding","ref","defaultLayoutId","componentViewport","restProps","layoutDependency","scopingClassNames","layoutId","gestureHandlers","className","classNames","style","baseVariant","gestureVariant","resolvedLinks","resolvedLinks1","context","createStore","dataStore","state1","setDataStore","newState","storeState","storeSetters","setStoreState","setter","useStore","state","setState","init_createStore","init_store_js__1_0","centerContent","init_Utils","init_utils_js__0_9","withRevealFooterPointerEvents","pointerEvents","setPointerEvents","updatePointerEvents","viewportHeight","documentHeight","maxScrollY","revealStart","shouldDisablePointerEvents","Component","withRevealFooterVisibility","footerState","setFooterState","updateFooterVisibility","isInRevealWindow","init_Examples"],"sources":["https:/framerusercontent.com/modules/wQph7NdNP5KI9PBCRvK3/osnFfv8forvZImgYOeZY/efsZFKfDp.js","https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js","https:/framer.com/m/framer/utils.js@^0.9.0","https:/framerusercontent.com/modules/vNflQ2FA46FUng93zwoJ/LJdYp2i9hXCxapGCJKR2/Examples.js"],"sourcesContent":["// Generated by Framer (6527f68)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,forwardLoader,getFonts,getLoadingLazyAtYPosition,Image as Image1,ResolveLinks,runTasksWithYield,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useRouter,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import FooterLowerWords from\"https://framerusercontent.com/modules/VcEQj12yaGKEuFjh2mzz/6OYps8lLU7CmyZ9M7Ij7/hugL2HiL2.js\";const FooterLowerWordsFonts=getFonts(FooterLowerWords);const cycleOrder=[\"ATKKLw4X5\",\"Cr538prAM\",\"Qv4h94na5\",\"x90wXbzDf\"];const serializationHash=\"framer-ZKuVT\";const variantClassNames={ATKKLw4X5:\"framer-v-1ddct5r\",Cr538prAM:\"framer-v-1oa9hy6\",Qv4h94na5:\"framer-v-2iet9s\",x90wXbzDf:\"framer-v-zdhk0h\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const matchVariant=(...args)=>{for(const arg of args){if(arg&&typeof arg===\"string\")return arg;}return undefined;};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={\"Desktop 1200\":\"Cr538prAM\",Desktop:\"ATKKLw4X5\",Phone:\"x90wXbzDf\",Tablet:\"Qv4h94na5\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"ATKKLw4X5\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"ATKKLw4X5\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const router=useRouter();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.section,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1ddct5r\",className,classNames),\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"ATKKLw4X5\",ref:refBinding,style:{backgroundColor:\"rgb(0, 0, 0)\",...style},...addPropertyOverrides({Cr538prAM:{\"data-framer-name\":\"Desktop 1200\"},Qv4h94na5:{\"data-framer-name\":\"Tablet\"},x90wXbzDf:{\"data-framer-name\":\"Phone\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-3ilryw\",layoutDependency:layoutDependency,layoutId:\"k4H3JHTuD\",children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-xvthrr\",layoutDependency:layoutDependency,layoutId:\"cW4vMBpBa\",children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-6hbcnn\",layoutDependency:layoutDependency,layoutId:\"g1n364LqC\",children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{height:15,y:(componentViewport?.y||0)+5+0+0+0+0+0+11.5,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1kpcs4q-container\",layoutDependency:layoutDependency,layoutId:\"yCIgFjX8u-container\",nodeId:\"yCIgFjX8u\",rendersWithMotion:true,scopeId:\"efsZFKfDp\",children:/*#__PURE__*/_jsx(FooterLowerWords,{height:\"100%\",id:\"yCIgFjX8u\",layoutId:\"yCIgFjX8u\",style:{height:\"100%\"},variant:matchVariant(\"A9ERseYAt\"),width:\"100%\",yjrTCyPp9:\"Canada  |  English\",...addPropertyOverrides({x90wXbzDf:{variant:matchVariant(\"xYpOKcMRJ\")}},baseVariant,gestureVariant)})})}),/*#__PURE__*/_jsx(ResolveLinks,{links:[{href:{webPageId:\"AibpPuvmv\"},implicitPathVariables:undefined},{href:{webPageId:\"AibpPuvmv\"},implicitPathVariables:undefined},{href:{webPageId:\"AibpPuvmv\"},implicitPathVariables:undefined},{href:{webPageId:\"AibpPuvmv\"},implicitPathVariables:undefined}],children:resolvedLinks=>/*#__PURE__*/_jsx(ComponentViewportProvider,{height:15,y:(componentViewport?.y||0)+5+0+0+0+0+0+11.5,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1hjcper-container\",layoutDependency:layoutDependency,layoutId:\"e3vT11bPm-container\",nodeId:\"e3vT11bPm\",rendersWithMotion:true,scopeId:\"efsZFKfDp\",children:/*#__PURE__*/_jsx(FooterLowerWords,{GJzPCTk9x:resolvedLinks[0],height:\"100%\",id:\"e3vT11bPm\",layoutId:\"e3vT11bPm\",style:{height:\"100%\"},variant:matchVariant(\"A9ERseYAt\"),width:\"100%\",yjrTCyPp9:\"Terms of Service\",...addPropertyOverrides({Cr538prAM:{GJzPCTk9x:resolvedLinks[1]},Qv4h94na5:{GJzPCTk9x:resolvedLinks[2]},x90wXbzDf:{GJzPCTk9x:resolvedLinks[3],variant:matchVariant(\"xYpOKcMRJ\")}},baseVariant,gestureVariant)})})})}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-s8uwet\",layoutDependency:layoutDependency,layoutId:\"DuyXGtUfT\",children:/*#__PURE__*/_jsx(Image1,{background:{alt:\"\",fit:\"fill\",intrinsicHeight:334,intrinsicWidth:1273,loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+5+0+0+0+0+0+7+0),pixelHeight:334,pixelWidth:1273,sizes:\"100px\",src:\"https://framerusercontent.com/images/NjqSTXNRQD9UtIM6K3g8UOIjhY.png?width=1273&height=334\",srcSet:\"https://framerusercontent.com/images/NjqSTXNRQD9UtIM6K3g8UOIjhY.png?scale-down-to=512&width=1273&height=334 512w,https://framerusercontent.com/images/NjqSTXNRQD9UtIM6K3g8UOIjhY.png?scale-down-to=1024&width=1273&height=334 1024w,https://framerusercontent.com/images/NjqSTXNRQD9UtIM6K3g8UOIjhY.png?width=1273&height=334 1273w\"},className:\"framer-9gx7df\",layoutDependency:layoutDependency,layoutId:\"gVXhs8Fh1\"})}),/*#__PURE__*/_jsx(ResolveLinks,{links:[{href:{webPageId:\"JSPu7B7zi\"},implicitPathVariables:undefined},{href:{webPageId:\"JSPu7B7zi\"},implicitPathVariables:undefined},{href:{webPageId:\"JSPu7B7zi\"},implicitPathVariables:undefined},{href:{webPageId:\"JSPu7B7zi\"},implicitPathVariables:undefined}],children:resolvedLinks1=>/*#__PURE__*/_jsx(ComponentViewportProvider,{height:15,y:(componentViewport?.y||0)+5+0+0+0+0+0+11.5,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1fifo6i-container\",layoutDependency:layoutDependency,layoutId:\"r8j_t8wKl-container\",nodeId:\"r8j_t8wKl\",rendersWithMotion:true,scopeId:\"efsZFKfDp\",children:/*#__PURE__*/_jsx(FooterLowerWords,{GJzPCTk9x:resolvedLinks1[0],height:\"100%\",id:\"r8j_t8wKl\",layoutId:\"r8j_t8wKl\",style:{height:\"100%\"},variant:matchVariant(\"A9ERseYAt\"),width:\"100%\",yjrTCyPp9:\"Privacy Policy\",...addPropertyOverrides({Cr538prAM:{GJzPCTk9x:resolvedLinks1[1]},Qv4h94na5:{GJzPCTk9x:resolvedLinks1[2]},x90wXbzDf:{GJzPCTk9x:resolvedLinks1[3],variant:matchVariant(\"xYpOKcMRJ\")}},baseVariant,gestureVariant)})})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{height:13,y:(componentViewport?.y||0)+5+0+0+0+0+0+12.5,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1bw919e-container\",layoutDependency:layoutDependency,layoutId:\"gDxerBcyD-container\",nodeId:\"gDxerBcyD\",rendersWithMotion:true,scopeId:\"efsZFKfDp\",children:/*#__PURE__*/_jsx(FooterLowerWords,{GJzPCTk9x:\"https://help.purchs.io/\",height:\"100%\",id:\"gDxerBcyD\",layoutId:\"gDxerBcyD\",style:{height:\"100%\"},variant:matchVariant(\"A9ERseYAt\"),width:\"100%\",yjrTCyPp9:\"Get Help\",...addPropertyOverrides({x90wXbzDf:{variant:matchVariant(\"xYpOKcMRJ\")}},baseVariant,gestureVariant)})})})]})})})})})})});});const css=[\".framer-ZKuVT.framer-4p2h5e, .framer-ZKuVT .framer-4p2h5e { display: block; }\",\".framer-ZKuVT.framer-1ddct5r { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: flex-start; overflow: var(--overflow-clip-fallback, clip); padding: 5px 0px 5px 0px; position: relative; width: 1440px; }\",\".framer-ZKuVT .framer-3ilryw { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: visible; padding: 0px 70px 6px 70px; position: relative; width: 100%; }\",\".framer-ZKuVT .framer-xvthrr { align-content: flex-end; align-items: flex-end; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; width: 1300px; }\",\".framer-ZKuVT .framer-6hbcnn { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 122px; height: min-content; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 7px 0px 0px 0px; position: relative; width: 1px; }\",\".framer-ZKuVT .framer-1kpcs4q-container, .framer-ZKuVT .framer-1hjcper-container, .framer-ZKuVT .framer-1fifo6i-container { -webkit-user-select: none; flex: none; height: 15px; position: relative; user-select: none; width: auto; }\",\".framer-ZKuVT .framer-s8uwet { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: visible; padding: 0px 56px 0px 0px; position: relative; width: 137px; }\",\".framer-ZKuVT .framer-9gx7df { flex: none; height: 24px; overflow: visible; position: relative; width: 100px; }\",\".framer-ZKuVT .framer-1bw919e-container { -webkit-user-select: none; flex: none; height: 13px; position: relative; user-select: none; width: auto; }\",\".framer-ZKuVT.framer-v-1oa9hy6.framer-1ddct5r { width: 1200px; }\",\".framer-ZKuVT.framer-v-1oa9hy6 .framer-xvthrr { width: 100%; }\",\".framer-ZKuVT.framer-v-2iet9s.framer-1ddct5r, .framer-ZKuVT.framer-v-2iet9s .framer-xvthrr { width: 810px; }\",\".framer-ZKuVT.framer-v-2iet9s .framer-6hbcnn { gap: 78px; }\",\".framer-ZKuVT.framer-v-2iet9s .framer-s8uwet { padding: 0px 48px 0px 0px; }\",\".framer-ZKuVT.framer-v-zdhk0h.framer-1ddct5r, .framer-ZKuVT.framer-v-zdhk0h .framer-xvthrr { width: 390px; }\",\".framer-ZKuVT.framer-v-zdhk0h .framer-6hbcnn { gap: 8px; padding: 7px 15px 0px 0px; }\",\".framer-ZKuVT.framer-v-zdhk0h .framer-s8uwet { justify-content: flex-start; padding: 0px; width: min-content; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 47\n * @framerIntrinsicWidth 1440\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"Cr538prAM\":{\"layout\":[\"fixed\",\"auto\"]},\"Qv4h94na5\":{\"layout\":[\"fixed\",\"auto\"]},\"x90wXbzDf\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerefsZFKfDp=withCSS(Component,css,\"framer-ZKuVT\");export default FramerefsZFKfDp;FramerefsZFKfDp.displayName=\"Footer-Short\";FramerefsZFKfDp.defaultProps={height:47,width:1440};addPropertyControls(FramerefsZFKfDp,{variant:{options:[\"ATKKLw4X5\",\"Cr538prAM\",\"Qv4h94na5\",\"x90wXbzDf\"],optionTitles:[\"Desktop\",\"Desktop 1200\",\"Tablet\",\"Phone\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerefsZFKfDp,[{explicitInter:true,fonts:[]},...FooterLowerWordsFonts],{supportsExplicitInterCodegen:true});FramerefsZFKfDp.loader={load:(props,context)=>{return runTasksWithYield([()=>forwardLoader(FooterLowerWords,{},context)],context);}};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerefsZFKfDp\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicWidth\":\"1440\",\"framerIntrinsicHeight\":\"47\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"Cr538prAM\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"Qv4h94na5\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"x90wXbzDf\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./efsZFKfDp.map","import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","export const centerContent = {\n    display: \"flex\",\n    justifyContent: \"center\",\n    alignItems: \"center\"\n};\nexport const autoSizingText = {\n    width: \"max-content\",\n    wordBreak: \"break-word\",\n    overflowWrap: \"break-word\",\n    overflow: \"hidden\",\n    whiteSpace: \"pre-wrap\",\n    flexShrink: 0\n};\nexport const defaultContainerStyles = {\n    ...centerContent,\n    overflow: \"hidden\"\n};\nexport const containerStyles = defaultContainerStyles;\nexport const randomColor = ()=>\"#\" + Math.floor(Math.random() * 16777215).toString(16)\n;\n\nexport const __FramerMetadata__ = {\"exports\":{\"centerContent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"containerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"autoSizingText\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"defaultContainerStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"randomColor\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}}}}\n//# sourceMappingURL=./Utils.map","/*\n * Utils (framer/utils@0.9.0)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/28rXvpPsrum7FH6cMELS/1jCAazZw1EGHjrG5Nu5D/Utils.js\"\n","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,startTransition,useCallback,useEffect,useState}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{randomColor}from\"https://framer.com/m/framer/utils.js@^0.9.0\";// Learn more: https://www.framer.com/developers/overrides/\nconst useStore=createStore({background:\"#0099FF\"});export function withRotate(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{rotate:90},transition:{duration:2}});});}export function withHover(Component){return /*#__PURE__*/forwardRef((props,ref)=>{return /*#__PURE__*/_jsx(Component,{ref:ref,...props,whileHover:{scale:1.05}});});}export function withRandomColor(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store,setStore]=useStore();return /*#__PURE__*/_jsx(Component,{ref:ref,...props,animate:{background:store.background},onClick:()=>{setStore({background:randomColor()});}});});}export function withRevealFooterPointerEvents(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[pointerEvents,setPointerEvents]=useState(\"auto\");const updatePointerEvents=useCallback(()=>{if(typeof window===\"undefined\"||typeof document===\"undefined\"){startTransition(()=>setPointerEvents(\"auto\"));return;}const viewportHeight=window.innerHeight;const documentHeight=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight);const maxScrollY=Math.max(documentHeight-viewportHeight,0);const revealStart=Math.max(maxScrollY-468,0);const shouldDisablePointerEvents=window.scrollY>=revealStart;startTransition(()=>setPointerEvents(shouldDisablePointerEvents?\"none\":\"auto\"));},[]);useEffect(()=>{updatePointerEvents();if(typeof window===\"undefined\")return;window.addEventListener(\"scroll\",updatePointerEvents,{passive:true});window.addEventListener(\"resize\",updatePointerEvents);return()=>{window.removeEventListener(\"scroll\",updatePointerEvents);window.removeEventListener(\"resize\",updatePointerEvents);};},[updatePointerEvents]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,pointerEvents}});});}export function withRevealFooterVisibility(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[footerState,setFooterState]=useState({opacity:1,pointerEvents:\"auto\"});const updateFooterVisibility=useCallback(()=>{if(typeof window===\"undefined\"||typeof document===\"undefined\"){startTransition(()=>setFooterState({opacity:1,pointerEvents:\"auto\"}));return;}const isDesktop=window.innerWidth>=1200;if(!isDesktop){startTransition(()=>setFooterState({opacity:1,pointerEvents:\"auto\"}));return;}const viewportHeight=window.innerHeight;const documentHeight=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight);const maxScrollY=Math.max(documentHeight-viewportHeight,0);const revealStart=Math.max(maxScrollY-468,0);const isInRevealWindow=window.scrollY>=revealStart;startTransition(()=>setFooterState(isInRevealWindow?{opacity:1,pointerEvents:\"auto\",zIndex:3}:{opacity:0,pointerEvents:\"none\",zIndex:3}));},[]);useEffect(()=>{updateFooterVisibility();if(typeof window===\"undefined\")return;window.addEventListener(\"scroll\",updateFooterVisibility,{passive:true});window.addEventListener(\"resize\",updateFooterVisibility);return()=>{window.removeEventListener(\"scroll\",updateFooterVisibility);window.removeEventListener(\"resize\",updateFooterVisibility);};},[updateFooterVisibility]);return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,opacity:footerState.opacity,pointerEvents:footerState.pointerEvents,...footerState.zIndex!==undefined?{zIndex:footerState.zIndex}:{}}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withRevealFooterPointerEvents\":{\"type\":\"reactHoc\",\"name\":\"withRevealFooterPointerEvents\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withHover\":{\"type\":\"reactHoc\",\"name\":\"withHover\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRotate\":{\"type\":\"reactHoc\",\"name\":\"withRotate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRevealFooterVisibility\":{\"type\":\"reactHoc\",\"name\":\"withRevealFooterVisibility\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withRandomColor\":{\"type\":\"reactHoc\",\"name\":\"withRandomColor\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Examples.map"],"mappings":"A,yfACs3B,SAASsD,EAAqB,EAAU,GAAGC,EAAS,CAAC,IAAMC,EAAc,CAAC,EAAuF,OAArFD,GAAU,QAAQ,GAASE,GAAS,OAAO,OAAOD,EAAcE,EAAUD,EAAQ,CAAC,EAASD,CAAc,C,8EAA7d,EAAsBf,GAASzC,CAAgB,EAAQ,EAAW,CAAC,YAAY,YAAY,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,mBAAmB,UAAU,kBAAkB,UA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