{"version":3,"file":"AvoidLayoutJumping_Prod.TWcOjh-C.mjs","names":["addPropertyOverrides","cycleOrder","serializationHash","variantClassNames","transition1","Transition","React.useContext","React.useMemo","humanReadableVariantMap","Variants","React.Fragment","getProps","createLayoutDependency","React.forwardRef","useRef","React.useId","PricingTabsTab","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","useRef","__esmMin","x","pe","init_npm_react_18_3_1","de","oe","p","c","J","init_jsx_runtime","ie","ce","motion","LayoutGroup","MotionConfigContext","init_framer_motion_DhsWWWsN","getFonts","SmartComponentScopedContainer","withCSS","cx","addFonts","RenderTarget","useVariantState","useActiveVariantCallback","useLocaleInfo","ComponentViewportProvider","addPropertyControls","useComponentViewport","ControlType","init_framer_CaDWdxiz","RichText","addPropertyOverrides$1","variants","nextOverrides","variant","overrides","enabledGestures","cycleOrder$1","serializationHash$1","variantClassNames$1","transition1$1","Transition$1","humanReadableVariantMap$1","Variants$1","getProps$1","createLayoutDependency$1","FramerzhbQoWx_F","init_zhbQoWx_F","config","transition","value","contextValue","props","click","title","fallbackRef","refBinding","ref","defaultLayoutId","restProps","layoutDependency","sharedStyleClassNames","baseVariant","onTap17oiptk","activeVariantCallback","args","setGestureState","OEY8UA66h","setVariant","scopingClassNames","layoutId","gestureHandlers","className","classNames","style","gestureVariant","X26usZ0W9","addPropertyOverrides","PricingTabsTabFonts","cycleOrder","serializationHash","variantClassNames","transition1","Transition","Variants","humanReadableVariantMap","getProps","createLayoutDependency","FramerLviDy3WEI","init_LviDy3WEI","componentViewport","onTap1aymghf","XJE1JOrMi","AvoidLayoutJumping","isCanvas","rafId","vertical","direction","horizontal","parent","container","updateSize","rect","init_AvoidLayoutJumping_Prod"],"sources":["https:/framerusercontent.com/modules/xPubIH1JyV6lbSox2dUG/Fa5WynfXeDeEGiOAiSSJ/zhbQoWx_F.js","https:/framerusercontent.com/modules/pBZSLK6AjCQAWa0H2ZXM/NO0sNVgmze7XGCRoI25R/LviDy3WEI.js","https:/framerusercontent.com/modules/h8ioHyt4BUxuvVCE1Q10/aTM6mEMGlM19JjX8exDe/AvoidLayoutJumping_Prod.js"],"sourcesContent":["// Generated by Framer (5186692)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={F6YclDhjG:{hover:true},t5751L8F1:{hover:true}};const cycleOrder=[\"t5751L8F1\",\"F6YclDhjG\"];const serializationHash=\"framer-YfOGh\";const variantClassNames={F6YclDhjG:\"framer-v-4uvqxi\",t5751L8F1:\"framer-v-kgn4bz\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const OEY8UA66h=undefined;const X26usZ0W9=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};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={Idle:\"t5751L8F1\",Selected:\"F6YclDhjG\"};const Variants=motion.create(React.Fragment);const getProps=({click,height,id,title,width,...props})=>{return{...props,OEY8UA66h:click??props.OEY8UA66h,variant:humanReadableVariantMap[props.variant]??props.variant??\"t5751L8F1\",X26usZ0W9:title??props.X26usZ0W9??\"Annually\"};};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,OEY8UA66h,X26usZ0W9,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"t5751L8F1\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap17oiptk=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(OEY8UA66h){const res=await OEY8UA66h(...args);if(res===false)return false;}setVariant(\"F6YclDhjG\");});const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);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.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-kgn4bz\",className,classNames),\"data-framer-name\":\"Idle\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"t5751L8F1\",onTap:onTap17oiptk,ref:refBinding,style:{backgroundColor:\"rgba(255, 255, 255, 0)\",borderBottomLeftRadius:100,borderBottomRightRadius:100,borderTopLeftRadius:100,borderTopRightRadius:100,boxShadow:\"0px 4px 50px 0px rgba(97, 74, 68, 0)\",...style},variants:{\"t5751L8F1-hover\":{backgroundColor:\"rgba(97, 74, 68, 0.06)\"},F6YclDhjG:{backgroundColor:\"rgb(255, 255, 255)\",boxShadow:\"0px 4px 50px 0px rgba(97, 74, 68, 0.06)\"}},...addPropertyOverrides({\"F6YclDhjG-hover\":{\"data-framer-name\":undefined},\"t5751L8F1-hover\":{\"data-framer-name\":undefined},F6YclDhjG:{\"data-framer-name\":\"Selected\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1usj6n1\",\"data-framer-name\":\"Content\",layoutDependency:layoutDependency,layoutId:\"odFKA64hE\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7T3BlbiBSdW5kZSBXZWIgU2VtaWJvbGQ=\",\"--framer-font-family\":'\"Open Runde Web Semibold\", \"Open Runde Web Semibold Placeholder\", sans-serif',\"--framer-font-weight\":\"600\",\"--framer-letter-spacing\":\"0px\",\"--framer-line-height\":\"100%\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-06ca163c-bd22-4ef3-b608-13ad9cff31ab, rgb(26, 22, 21)))\"},children:\"Annually\"})}),className:\"framer-1lcxbuc\",\"data-framer-name\":\"Annual - 20.3%\",fonts:[\"CUSTOMV2;Open Runde Web Semibold\"],layoutDependency:layoutDependency,layoutId:\"waXRcYPMt\",style:{\"--extracted-r6o4lv\":\"var(--token-06ca163c-bd22-4ef3-b608-13ad9cff31ab, rgb(26, 22, 21))\",\"--framer-paragraph-spacing\":\"0px\",opacity:1},text:X26usZ0W9,variants:{\"F6YclDhjG-hover\":{opacity:0},\"t5751L8F1-hover\":{opacity:0}},verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7T3BlbiBSdW5kZSBXZWIgU2VtaWJvbGQ=\",\"--framer-font-family\":'\"Open Runde Web Semibold\", \"Open Runde Web Semibold Placeholder\", sans-serif',\"--framer-font-weight\":\"600\",\"--framer-letter-spacing\":\"0px\",\"--framer-line-height\":\"100%\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-06ca163c-bd22-4ef3-b608-13ad9cff31ab, rgb(26, 22, 21)))\"},children:\"Annually\"})}),className:\"framer-68d0r9\",\"data-framer-name\":\"Annual - 20.3%\",fonts:[\"CUSTOMV2;Open Runde Web Semibold\"],layoutDependency:layoutDependency,layoutId:\"BLRBohT9t\",style:{\"--extracted-r6o4lv\":\"var(--token-06ca163c-bd22-4ef3-b608-13ad9cff31ab, rgb(26, 22, 21))\",\"--framer-paragraph-spacing\":\"0px\",opacity:0},text:X26usZ0W9,variants:{\"F6YclDhjG-hover\":{opacity:1},\"t5751L8F1-hover\":{opacity:1}},verticalAlignment:\"top\",withExternalLayout:true})]})})})})});});const css=[\".framer-YfOGh.framer-1yyu38x, .framer-YfOGh .framer-1yyu38x { display: block; }\",\".framer-YfOGh.framer-kgn4bz { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px; height: 40px; justify-content: center; overflow: hidden; padding: 16px 20px 16px 20px; position: relative; width: 164px; will-change: var(--framer-will-change-override, transform); }\",\".framer-YfOGh .framer-1usj6n1 { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 16px; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 1px; }\",\".framer-YfOGh .framer-1lcxbuc, .framer-YfOGh .framer-68d0r9 { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-YfOGh.framer-v-kgn4bz.hover .framer-1usj6n1, .framer-YfOGh.framer-v-4uvqxi.hover .framer-1usj6n1 { justify-content: flex-end; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 164\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"F6YclDhjG\":{\"layout\":[\"fixed\",\"fixed\"]},\"pNwt_tsWP\":{\"layout\":[\"fixed\",\"fixed\"]},\"WhX7MMGWy\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"OEY8UA66h\":\"click\",\"X26usZ0W9\":\"title\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerzhbQoWx_F=withCSS(Component,css,\"framer-YfOGh\");export default FramerzhbQoWx_F;FramerzhbQoWx_F.displayName=\"Pricing/Tabs - Tab\";FramerzhbQoWx_F.defaultProps={height:40,width:164};addPropertyControls(FramerzhbQoWx_F,{variant:{options:[\"t5751L8F1\",\"F6YclDhjG\"],optionTitles:[\"Idle\",\"Selected\"],title:\"Variant\",type:ControlType.Enum},OEY8UA66h:{title:\"Click\",type:ControlType.EventHandler},X26usZ0W9:{defaultValue:\"Annually\",displayTextArea:false,title:\"Title\",type:ControlType.String},onX26usZ0W9Change:{changes:\"X26usZ0W9\",type:ControlType.ChangeHandler}});addFonts(FramerzhbQoWx_F,[{explicitInter:true,fonts:[{cssFamilyName:\"Open Runde Web Semibold\",source:\"custom\",style:\"normal\",uiFamilyName:\"Open Runde Web\",url:\"https://framerusercontent.com/assets/DKg0q411YbXGUFjRoNPOXcB84s.woff2\",weight:\"600\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerzhbQoWx_F\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"40\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"F6YclDhjG\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"pNwt_tsWP\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"WhX7MMGWy\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicWidth\":\"164\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\",\"framerVariables\":\"{\\\"OEY8UA66h\\\":\\\"click\\\",\\\"X26usZ0W9\\\":\\\"title\\\"}\",\"framerColorSyntax\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./zhbQoWx_F.map","// Generated by Framer (44e0108)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,SmartComponentScopedContainer,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import PricingTabsTab from\"https://framerusercontent.com/modules/xPubIH1JyV6lbSox2dUG/Fa5WynfXeDeEGiOAiSSJ/zhbQoWx_F.js\";const PricingTabsTabFonts=getFonts(PricingTabsTab);const cycleOrder=[\"b3g41sUz1\",\"ndcVLqBeZ\"];const serializationHash=\"framer-96owB\";const variantClassNames={b3g41sUz1:\"framer-v-1gycsgn\",ndcVLqBeZ:\"framer-v-1oiqm06\"};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 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={Annual:\"b3g41sUz1\",Monthly:\"ndcVLqBeZ\"};const getProps=({click,height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"b3g41sUz1\",XJE1JOrMi:click??props.XJE1JOrMi};};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,XJE1JOrMi,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"b3g41sUz1\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap1aymghf=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(XJE1JOrMi){const res=await XJE1JOrMi(...args);if(res===false)return false;}});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1gycsgn\",className,classNames),\"data-framer-name\":\"Annual\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"b3g41sUz1\",onTap:onTap1aymghf,ref:refBinding,style:{backgroundColor:\"var(--token-8ce91be8-4a20-4537-9973-9f2ad4c619f7, rgb(244, 241, 238))\",borderBottomLeftRadius:100,borderBottomRightRadius:100,borderTopLeftRadius:100,borderTopRightRadius:100,...style},...addPropertyOverrides({ndcVLqBeZ:{\"data-framer-name\":\"Monthly\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{height:40,width:`max((${componentViewport?.width||\"100vw\"} - 16px) / 2, 1px)`,y:(componentViewport?.y||0)+(4+((componentViewport?.height||48)-8-40)/2),children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-qaoa7t-container\",layoutDependency:layoutDependency,layoutId:\"ZQkrWVbBh-container\",nodeId:\"ZQkrWVbBh\",rendersWithMotion:true,scopeId:\"LviDy3WEI\",children:/*#__PURE__*/_jsx(PricingTabsTab,{height:\"100%\",id:\"ZQkrWVbBh\",layoutId:\"ZQkrWVbBh\",style:{width:\"100%\"},variant:\"F6YclDhjG\",width:\"100%\",X26usZ0W9:\"Annually\",...addPropertyOverrides({ndcVLqBeZ:{OEY8UA66h:undefined,variant:\"t5751L8F1\"}},baseVariant,gestureVariant)})})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{height:40,width:`max((${componentViewport?.width||\"100vw\"} - 16px) / 2, 1px)`,y:(componentViewport?.y||0)+(4+((componentViewport?.height||48)-8-40)/2),children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-j1acnn-container\",layoutDependency:layoutDependency,layoutId:\"vBfmUzxV4-container\",nodeId:\"vBfmUzxV4\",rendersWithMotion:true,scopeId:\"LviDy3WEI\",children:/*#__PURE__*/_jsx(PricingTabsTab,{height:\"100%\",id:\"vBfmUzxV4\",layoutId:\"vBfmUzxV4\",style:{width:\"100%\"},variant:\"t5751L8F1\",width:\"100%\",X26usZ0W9:\"Monthly\",...addPropertyOverrides({ndcVLqBeZ:{variant:\"F6YclDhjG\"}},baseVariant,gestureVariant)})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-96owB.framer-ooc583, .framer-96owB .framer-ooc583 { display: block; }\",\".framer-96owB.framer-1gycsgn { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px; height: 48px; justify-content: center; overflow: hidden; padding: 4px; position: relative; width: 298px; will-change: var(--framer-will-change-override, transform); }\",\".framer-96owB .framer-qaoa7t-container, .framer-96owB .framer-j1acnn-container { flex: 1 0 0px; height: auto; position: relative; width: 1px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 48\n * @framerIntrinsicWidth 298\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"ndcVLqBeZ\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"XJE1JOrMi\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerLviDy3WEI=withCSS(Component,css,\"framer-96owB\");export default FramerLviDy3WEI;FramerLviDy3WEI.displayName=\"Tabs\";FramerLviDy3WEI.defaultProps={height:48,width:298};addPropertyControls(FramerLviDy3WEI,{variant:{options:[\"b3g41sUz1\",\"ndcVLqBeZ\"],optionTitles:[\"Annual\",\"Monthly\"],title:\"Variant\",type:ControlType.Enum},XJE1JOrMi:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramerLviDy3WEI,[{explicitInter:true,fonts:[]},...PricingTabsTabFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerLviDy3WEI\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"XJE1JOrMi\\\":\\\"click\\\"}\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"48\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"ndcVLqBeZ\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicWidth\":\"298\",\"framerAutoSizeImages\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useRef}from\"react\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n *\n * @framerDisableUnlink\n */export default function AvoidLayoutJumping({direction,style}){const isCanvas=RenderTarget.current()===RenderTarget.canvas;const ref=useRef(null);const rafId=useRef();const vertical=direction===\"vertical\"||direction===\"both\";const horizontal=direction===\"horizontal\"||direction===\"both\";useEffect(()=>{if(isCanvas)return;const parent=ref.current?.parentElement?.parentElement;if(!parent)return;const container=parent.parentElement;if(!container)return;const updateSize=()=>{const rect=parent.getBoundingClientRect();if(horizontal){container.style.width=`${rect.width}px`;}if(vertical){container.style.height=`${rect.height}px`;}rafId.current=requestAnimationFrame(updateSize);};// Start the RAF loop\nrafId.current=requestAnimationFrame(updateSize);return()=>{if(rafId.current){cancelAnimationFrame(rafId.current);}if(container){if(horizontal){container.style.width=\"\";}if(vertical){container.style.height=\"\";}}};},[direction]);return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{...style}});}AvoidLayoutJumping.displayName=\"Layout Jump Preventer\";addPropertyControls(AvoidLayoutJumping,{direction:{type:ControlType.Enum,defaultValue:\"vertical\",options:[\"vertical\",\"horizontal\",\"both\"],optionTitles:[\"Vertical\",\"Horizontal\",\"Both\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\",// @ts-ignore\noptionIcons:[\"direction-vertical\",\"direction-horizontal\",\"direction-all\"],description:\"More components at [Framer University](https://frameruni.link/cc).\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AvoidLayoutJumping\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AvoidLayoutJumping_Prod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