{"version":3,"file":"Frame_height_change.CT_gt-Rv.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","sharedStyle1.className","sharedStyle2.className","sharedStyle3.className","className","RichText","sharedStyle.css","sharedStyle1.css","sharedStyle2.css","sharedStyle3.css","sharedStyle.fonts","sharedStyle1.fonts","sharedStyle2.fonts","sharedStyle3.fonts","useStore","useState","useRef","useState"],"sources":["https:/framerusercontent.com/modules/5uPvDmYlLBhzBbsjnwW8/yhCHP8EzIEoEb735Zn5A/LGvAWBCZM.js","https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/x9NpURBoSGDlILR8aiFS/LLgZ2Z0fH1ClNeGnJEth/Frame_height_change.js"],"sourcesContent":["// Generated by Framer (62e9832)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getFontsFromSharedStyle,Link,RichText,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import ImageParallaxVerticalNoize from\"https://framerusercontent.com/modules/yarku8LTZ02Y0mC0mJOV/0ndd9ryHcKjrVbdaRkvV/ImageParallaxVerticalNoize.js\";import*as sharedStyle1 from\"https://framerusercontent.com/modules/3WBj1apAWDSa6gKpu8GG/IyuiUwNkHsayqNxakWqz/akdhtV_c0.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/sZof2ysG2jzVVn9i48If/CNiFpu8ThITcO56blC6v/DAqIf75oI.js\";import*as sharedStyle2 from\"https://framerusercontent.com/modules/9zzQzOiRb3lgakApQhDh/GdvDxWaGDTvPyylwzKfj/xu7DJ8m9Z.js\";import*as sharedStyle3 from\"https://framerusercontent.com/modules/wU3wKOhJHQjj00sRz77X/3K8KcH1oPVJDpX11MaSX/yExNaRgjr.js\";const ImageParallaxVerticalNoizeFonts=getFonts(ImageParallaxVerticalNoize);const enabledGestures={VOyURVOE3:{hover:true}};const cycleOrder=[\"VOyURVOE3\",\"OnnmywWso\"];const serializationHash=\"framer-QC0Qb\";const variantClassNames={OnnmywWso:\"framer-v-urcdam\",VOyURVOE3:\"framer-v-mi53us\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const BvQdXLu3_=undefined;const UDBi06cDy=undefined;const LSIkzmq9B=undefined;const qnwE2mFVn=undefined;const bDvWDMS7e=undefined;const KUdRHkmuZ=undefined;const transition1={bounce:0,delay:0,duration:.6,type:\"spring\"};const transformTemplate1=(_,t)=>`translate(-50%, -50%) ${t}`;const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}: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 Variants=motion.create(React.Fragment);const humanReadableVariantMap={Desktop:\"VOyURVOE3\",Touch:\"OnnmywWso\"};const getProps=({cardName,cardText,height,id,image,link,linkText,parallaxIntensity,width,...props})=>{return{...props,bDvWDMS7e:cardText??props.bDvWDMS7e??\"Goal-focused sessions to build direction, motivation, and confidence.\",BvQdXLu3_:link??props.BvQdXLu3_,KUdRHkmuZ:linkText??props.KUdRHkmuZ??\"read more\",LSIkzmq9B:parallaxIntensity??props.LSIkzmq9B??200,qnwE2mFVn:cardName??props.qnwE2mFVn??/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsxs(motion.h3,{children:[\"Card\",/*#__PURE__*/_jsx(motion.br,{}),\"Name\"]})}),UDBi06cDy:image??props.UDBi06cDy??{pixelHeight:2048,pixelWidth:2048,src:\"https://framerusercontent.com/images/y94RCjOhYx75EzHuMRGuc9MNnM.jpg?width=2048&height=2048\",srcSet:\"https://framerusercontent.com/images/y94RCjOhYx75EzHuMRGuc9MNnM.jpg?scale-down-to=512&width=2048&height=2048 512w,https://framerusercontent.com/images/y94RCjOhYx75EzHuMRGuc9MNnM.jpg?scale-down-to=1024&width=2048&height=2048 1024w,https://framerusercontent.com/images/y94RCjOhYx75EzHuMRGuc9MNnM.jpg?width=2048&height=2048 2048w\"},variant:humanReadableVariantMap[props.variant]??props.variant??\"VOyURVOE3\"};};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,qnwE2mFVn,bDvWDMS7e,UDBi06cDy,LSIkzmq9B,BvQdXLu3_,KUdRHkmuZ,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"VOyURVOE3\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className,sharedStyle1.className,sharedStyle2.className,sharedStyle3.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(gestureVariant===\"VOyURVOE3-hover\")return true;return false;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Link,{href:BvQdXLu3_,motionChild:true,nodeId:\"VOyURVOE3\",openInNewTab:false,scopeId:\"LGvAWBCZM\",children:/*#__PURE__*/_jsxs(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-mi53us\",className,classNames)} framer-x2yilv`,\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"VOyURVOE3\",ref:refBinding,style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:24,borderBottomRightRadius:24,borderTopLeftRadius:24,borderTopRightRadius:24,...style},...addPropertyOverrides({\"VOyURVOE3-hover\":{\"data-framer-name\":undefined},OnnmywWso:{\"data-framer-name\":\"Touch\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-pt47h1-container\",\"data-code-component-plugin-id\":\"84d4c1\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"aV4QLH00c-container\",nodeId:\"aV4QLH00c\",rendersWithMotion:true,scopeId:\"LGvAWBCZM\",transformTemplate:transformTemplate1,...addPropertyOverrides({OnnmywWso:{transformTemplate:undefined}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(ImageParallaxVerticalNoize,{height:\"100%\",id:\"aV4QLH00c\",image:toResponsiveImage(UDBi06cDy),layoutId:\"aV4QLH00c\",noizeOpacity:.15,noizeVisible:true,parallax:200,style:{height:\"100%\",width:\"100%\"},width:\"100%\",...addPropertyOverrides({OnnmywWso:{parallax:LSIkzmq9B}},baseVariant,gestureVariant)})})}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:qnwE2mFVn,className:\"framer-xq3ulf\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"eVinguT5z\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},stylesPresetsClassNames:{h3:\"framer-styles-preset-rrkxdq\",h6:\"framer-styles-preset-mawzlw\"},verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-16d9zrm\",\"data-framer-name\":\"Container\",layoutDependency:layoutDependency,layoutId:\"rLsbOL0lN\",children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-k1gzgo\",\"data-styles-preset\":\"xu7DJ8m9Z\",style:{\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-15d296e7-c5d1-416d-add7-be3f4225afa3, rgb(255, 255, 255)))\"},children:\"Goal-focused sessions to build direction, motivation, and confidence.\"})}),className:\"framer-1hj17iu\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"CrQJvaQ4R\",style:{\"--extracted-r6o4lv\":\"var(--token-15d296e7-c5d1-416d-add7-be3f4225afa3, rgb(255, 255, 255))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:bDvWDMS7e,verticalAlignment:\"top\",withExternalLayout:true})}),isDisplayed()&&/*#__PURE__*/_jsxs(motion.div,{className:\"framer-10o4hoe\",\"data-framer-name\":\"Read More\",layoutDependency:layoutDependency,layoutId:\"IW4Dm4U6J\",children:[/*#__PURE__*/_jsx(motion.section,{className:\"framer-znzw0a\",\"data-framer-name\":\"Circle A\",layoutDependency:layoutDependency,layoutId:\"Ij1XhD03Z\",style:{backgroundColor:\"var(--token-15d296e7-c5d1-416d-add7-be3f4225afa3, rgb(255, 255, 255))\",borderBottomLeftRadius:999,borderBottomRightRadius:999,borderTopLeftRadius:999,borderTopRightRadius:999}}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-9azdev\",\"data-styles-preset\":\"yExNaRgjr\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-15d296e7-c5d1-416d-add7-be3f4225afa3, rgb(255, 255, 255)))\"},children:\"read more\"})}),className:\"framer-tnmb2c\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"bu_a1eOkp\",style:{\"--extracted-r6o4lv\":\"var(--token-15d296e7-c5d1-416d-add7-be3f4225afa3, rgb(255, 255, 255))\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:KUdRHkmuZ,verticalAlignment:\"top\",withExternalLayout:true})]})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-QC0Qb.framer-x2yilv, .framer-QC0Qb .framer-x2yilv { display: block; }\",\".framer-QC0Qb.framer-mi53us { cursor: pointer; height: 560px; overflow: hidden; position: relative; text-decoration: none; width: 261px; will-change: var(--framer-will-change-override, transform); }\",\".framer-QC0Qb .framer-pt47h1-container { -webkit-user-select: none; aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 560px); left: 50%; position: absolute; top: 50%; user-select: none; width: 560px; }\",\".framer-QC0Qb .framer-xq3ulf { -webkit-user-select: none; flex: none; height: auto; left: 32px; position: absolute; right: 32px; top: 32px; user-select: none; white-space: pre-wrap; word-break: break-word; word-wrap: break-word; }\",\".framer-QC0Qb .framer-16d9zrm { bottom: 32px; flex: none; height: 240px; left: 32px; overflow: visible; position: absolute; right: 32px; }\",\".framer-QC0Qb .framer-1hj17iu { -webkit-user-select: none; bottom: 0px; flex: none; height: auto; left: 0px; position: absolute; right: 0px; user-select: none; white-space: pre-wrap; word-break: break-word; word-wrap: break-word; }\",\".framer-QC0Qb .framer-10o4hoe { align-content: center; align-items: center; bottom: 32px; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 16px; height: min-content; justify-content: center; left: 24px; overflow: hidden; padding: 1px 0px 0px 0px; position: absolute; width: min-content; }\",\".framer-QC0Qb .framer-znzw0a { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 4px); overflow: visible; position: relative; width: 4px; z-index: 1; }\",\".framer-QC0Qb .framer-tnmb2c { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-QC0Qb.framer-v-urcdam.framer-mi53us { cursor: unset; height: 320px; width: 390px; }\",\".framer-QC0Qb.framer-v-urcdam .framer-pt47h1-container { aspect-ratio: unset; bottom: 0px; height: unset; left: 0px; right: 0px; top: 0px; width: unset; }\",\".framer-QC0Qb.framer-v-urcdam .framer-16d9zrm { height: unset; top: 143px; }\",\".framer-QC0Qb.framer-v-mi53us.hover .framer-16d9zrm { bottom: 72px; }\",...sharedStyle.css,...sharedStyle1.css,...sharedStyle2.css,...sharedStyle3.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 560\n * @framerIntrinsicWidth 261\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"OnnmywWso\":{\"layout\":[\"fixed\",\"fixed\"]},\"yI5TJPxbw\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"qnwE2mFVn\":\"cardName\",\"bDvWDMS7e\":\"cardText\",\"UDBi06cDy\":\"image\",\"LSIkzmq9B\":\"parallaxIntensity\",\"BvQdXLu3_\":\"link\",\"KUdRHkmuZ\":\"linkText\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerLGvAWBCZM=withCSS(Component,css,\"framer-QC0Qb\");export default FramerLGvAWBCZM;FramerLGvAWBCZM.displayName=\"Service Card\";FramerLGvAWBCZM.defaultProps={height:560,width:261};addPropertyControls(FramerLGvAWBCZM,{variant:{options:[\"VOyURVOE3\",\"OnnmywWso\"],optionTitles:[\"Desktop\",\"Touch\"],title:\"Variant\",type:ControlType.Enum},qnwE2mFVn:{defaultValue:\"<h3>Card<br>Name</h3>\",title:\"Card Name\",type:ControlType.RichText},bDvWDMS7e:{defaultValue:\"Goal-focused sessions to build direction, motivation, and confidence.\",displayTextArea:false,title:\"Card Text\",type:ControlType.String},UDBi06cDy:{__defaultAssetReference:\"data:framer/asset-reference,y94RCjOhYx75EzHuMRGuc9MNnM.jpg?originalFilename=drukarov_httpss.mj.runGRaWs6jcz40_Minimalistic_photography_of_a_060cc6b8-f246-4f0c-83fc-48f1416e5a07.jpg&preferredSize=auto\",title:\"Image\",type:ControlType.ResponsiveImage},LSIkzmq9B:{defaultValue:200,max:500,min:0,step:10,title:\"Parallax Intensity\",type:ControlType.Number},BvQdXLu3_:{title:\"Link\",type:ControlType.Link},KUdRHkmuZ:{defaultValue:\"read more\",displayTextArea:false,title:\"Link text\",type:ControlType.String}});addFonts(FramerLGvAWBCZM,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...ImageParallaxVerticalNoizeFonts,...getFontsFromSharedStyle(sharedStyle.fonts),...getFontsFromSharedStyle(sharedStyle1.fonts),...getFontsFromSharedStyle(sharedStyle2.fonts),...getFontsFromSharedStyle(sharedStyle3.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerLGvAWBCZM\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"qnwE2mFVn\\\":\\\"cardName\\\",\\\"bDvWDMS7e\\\":\\\"cardText\\\",\\\"UDBi06cDy\\\":\\\"image\\\",\\\"LSIkzmq9B\\\":\\\"parallaxIntensity\\\",\\\"BvQdXLu3_\\\":\\\"link\\\",\\\"KUdRHkmuZ\\\":\\\"linkText\\\"}\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicHeight\":\"560\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"OnnmywWso\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"yI5TJPxbw\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"261\",\"framerColorSyntax\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LGvAWBCZM.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","import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useEffect,useRef,useState}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{useMotionValue,useSpring}from\"framer\";// Create a store for configuration\nconst useStore=createStore({maxHeight:560,minHeight:440,maxDistance:640});export function withMouseDistanceHeight(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const[store]=useStore();const frameRef=useRef(null);const[isLargeScreen,setIsLargeScreen]=useState(false);const targetHeight=useMotionValue(store.maxHeight);const smoothHeight=useSpring(targetHeight,{damping:25,stiffness:150});// Check screen size\nuseEffect(()=>{const checkScreenSize=()=>{setIsLargeScreen(window.innerWidth>=1200);};// Initial check\ncheckScreenSize();// Listen for resize events\nwindow.addEventListener(\"resize\",checkScreenSize);return()=>window.removeEventListener(\"resize\",checkScreenSize);},[]);useEffect(()=>{// Only add mouse move listener on large screens\nif(!isLargeScreen){// Reset height to default when not on large screen\ntargetHeight.set(store.maxHeight);return;}const handleMouseMove=e=>{if(!frameRef.current)return;const frameRect=frameRef.current.getBoundingClientRect();const frameCenterX=frameRect.left+frameRect.width/2;const mouseX=e.clientX;const distance=Math.abs(mouseX-frameCenterX);const clampedDistance=Math.min(distance,store.maxDistance);const heightDiff=store.maxHeight-store.minHeight;const newHeight=store.maxHeight-clampedDistance/store.maxDistance*heightDiff;targetHeight.set(newHeight);};document.addEventListener(\"mousemove\",handleMouseMove);return()=>{document.removeEventListener(\"mousemove\",handleMouseMove);};},[store.maxHeight,store.minHeight,store.maxDistance,isLargeScreen]);return /*#__PURE__*/_jsx(Component,{ref:node=>{frameRef.current=node;if(typeof ref===\"function\"){ref(node);}else if(ref){ref.current=node;}},...props,style:{...props.style,height:isLargeScreen?smoothHeight:undefined}});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withMouseDistanceHeight\":{\"type\":\"reactHoc\",\"name\":\"withMouseDistanceHeight\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Frame_height_change.map"],"mappings":"+tBAC8yC,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,kDAA75C,IAAkO,IAAkE,IAA4B,KAAgL,KAA0H,KAAyH,IAA0H,KAA0H,CAAM,EAAgC,EAAS,EAA2B,CAAO,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,kBAAkB,CAA0V,EAAY,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,GAAoB,EAAE,IAAI,yBAAyB,IAAU,EAAkB,GAAW,OAAO,GAAQ,UAAU,GAAc,OAAO,EAAM,KAAM,SAAiB,EAAc,OAAO,GAAQ,SAAS,CAAC,IAAI,EAAM,CAAC,IAAA,GAAkB,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAAS,EAAS,EAAO,OAAOC,EAAe,CAAO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