{"version":3,"file":"AvoidLayoutJumping_Prod.Dct62_bF.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/IrSMKpeOiOOmRXZazUPx/qcsYslMbl6bM5z7HXWEI/zelTgHntX.js","https:/framerusercontent.com/modules/h8ioHyt4BUxuvVCE1Q10/aTM6mEMGlM19JjX8exDe/AvoidLayoutJumping_Prod.js"],"sourcesContent":["// Generated by Framer (ff92f61)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"BI;BDO Grotesk/variable/v0\",\"BI;BDO Grotesk/variable/v0VF=IndnaHQiIDM1MA==\",\"BI;BDO Grotesk/variable/v0VF=IndnaHQiIDM1MA==\",\"BI;BDO Grotesk/variable/v0VF=IndnaHQiIDM1MA==\"]);const variationAxes=[{defaultValue:400,maxValue:900,minValue:300,name:\"Weight\",tag:\"wght\"}];export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"BDO Grotesk Variable\",source:\"builtIn\",style:\"normal\",uiFamilyName:\"BDO Grotesk\",url:\"https://framerusercontent.com/assets/FcybOZJ2ipUdK2dQmwN3gFVAvuk.woff2\",variationAxes,weight:\"1000\"}]}];export const css=['.framer-pC0UV .framer-styles-preset-77o5kw:not(.rich-text-wrapper), .framer-pC0UV .framer-styles-preset-77o5kw.rich-text-wrapper p { --framer-font-family: \"BDO Grotesk Variable\", sans-serif; --framer-font-family-bold: \"BDO Grotesk Variable\", sans-serif; --framer-font-family-bold-italic: \"BDO Grotesk Variable\", sans-serif; --framer-font-family-italic: \"BDO Grotesk Variable\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 11.9048px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: normal; --framer-font-style-italic: normal; --framer-font-variation-axes: \"wght\" 350; --framer-font-variation-axes-bold: \"wght\" 350; --framer-font-variation-axes-bold-italic: \"wght\" 350; --framer-font-variation-axes-italic: \"wght\" 350; --framer-font-weight: 1000; --framer-font-weight-bold: 1000; --framer-font-weight-bold-italic: 1000; --framer-font-weight-italic: 1000; --framer-letter-spacing: 0em; --framer-line-height: 1.5em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-6064d0f1-9ce9-4751-a1f9-aac9223b42be, rgba(255, 255, 255, 0.7)); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 1137px) and (min-width: 810px) { .framer-pC0UV .framer-styles-preset-77o5kw:not(.rich-text-wrapper), .framer-pC0UV .framer-styles-preset-77o5kw.rich-text-wrapper p { --framer-font-family: \"BDO Grotesk Variable\", sans-serif; --framer-font-family-bold: \"BDO Grotesk Variable\", sans-serif; --framer-font-family-bold-italic: \"BDO Grotesk Variable\", sans-serif; --framer-font-family-italic: \"BDO Grotesk Variable\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 12.605px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: normal; --framer-font-style-italic: normal; --framer-font-variation-axes: \"wght\" 350; --framer-font-variation-axes-bold: \"wght\" 350; --framer-font-variation-axes-bold-italic: \"wght\" 350; --framer-font-variation-axes-italic: \"wght\" 350; --framer-font-weight: 1000; --framer-font-weight-bold: 1000; --framer-font-weight-bold-italic: 1000; --framer-font-weight-italic: 1000; --framer-letter-spacing: 0em; --framer-line-height: 1.5em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-6064d0f1-9ce9-4751-a1f9-aac9223b42be, rgba(255, 255, 255, 0.7)); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-pC0UV .framer-styles-preset-77o5kw:not(.rich-text-wrapper), .framer-pC0UV .framer-styles-preset-77o5kw.rich-text-wrapper p { --framer-font-family: \"BDO Grotesk Variable\", sans-serif; --framer-font-family-bold: \"BDO Grotesk Variable\", sans-serif; --framer-font-family-bold-italic: \"BDO Grotesk Variable\", sans-serif; --framer-font-family-italic: \"BDO Grotesk Variable\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 11.7647px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: normal; --framer-font-style-italic: normal; --framer-font-variation-axes: \"wght\" 350; --framer-font-variation-axes-bold: \"wght\" 350; --framer-font-variation-axes-bold-italic: \"wght\" 350; --framer-font-variation-axes-italic: \"wght\" 350; --framer-font-weight: 1000; --framer-font-weight-bold: 1000; --framer-font-weight-bold-italic: 1000; --framer-font-weight-italic: 1000; --framer-letter-spacing: 0em; --framer-line-height: 1.5em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-6064d0f1-9ce9-4751-a1f9-aac9223b42be, rgba(255, 255, 255, 0.7)); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-pC0UV\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"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.map"],"mappings":"wNAC8B,GAAU,UAAU,CAAC,6BAA6B,gDAAgD,gDAAgD,gDAAgD,CAAC,CAAO,EAAc,CAAC,CAAC,aAAa,IAAI,SAAS,IAAI,SAAS,IAAI,KAAK,SAAS,IAAI,OAAO,CAAC,CAAc,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,cAAc,uBAAuB,OAAO,UAAU,MAAM,SAAS,aAAa,cAAc,IAAI,yEAAyE,gBAAc,OAAO,OAAO,CAAC,CAAC,CAAC,CAAc,EAAI,CAAC,8wCAA8wC,m0CAAm0C,i0CAAi0C,CAAc,EAAU,kBCIp/I,SAAwB,EAAmB,CAAC,YAAU,SAAO,CAAC,IAAM,EAAS,EAAa,SAAS,GAAG,EA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