{"version":3,"file":"AvoidLayoutJumping_Prod.B533HQSD.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/NsP51F9bS56orCEt5kod/ePv3Ia1d5jxFRIqhdcxP/kpXCVTXLu.js","https:/framerusercontent.com/modules/h8ioHyt4BUxuvVCE1Q10/aTM6mEMGlM19JjX8exDe/AvoidLayoutJumping_Prod.js"],"sourcesContent":["// Generated by Framer (d1bc2d2)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"Inter-Variable\",\"Inter-VariableVF=Im9wc3oiIDE0LCAid2dodCIgNjAw\",\"Inter-VariableVF=Im9wc3oiIDE0LCAid2dodCIgNjAw\",\"Inter-VariableVF=Im9wc3oiIDE0LCAid2dodCIgNjAw\"]);const variationAxes=[{defaultValue:14,maxValue:32,minValue:14,name:\"Optical size\",tag:\"opsz\"},{defaultValue:400,maxValue:900,minValue:100,name:\"Weight\",tag:\"wght\"}];export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Inter Variable\",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/mYcqTSergLb16PdbJJQMl9ebYm4.woff2\",variationAxes,weight:\"400\"},{cssFamilyName:\"Inter Variable\",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/ZRl8AlxwsX1m7xS1eJCiSPbztg.woff2\",variationAxes,weight:\"400\"},{cssFamilyName:\"Inter Variable\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/nhSQpBRqFmXNUBY2p5SENQ8NplQ.woff2\",variationAxes,weight:\"400\"},{cssFamilyName:\"Inter Variable\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/DYHjxG0qXjopUuruoacfl5SA.woff2\",variationAxes,weight:\"400\"},{cssFamilyName:\"Inter Variable\",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/s7NH6sl7w4NU984r5hcmo1tPSYo.woff2\",variationAxes,weight:\"400\"},{cssFamilyName:\"Inter Variable\",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/7lw0VWkeXrGYJT05oB3DsFy8BaY.woff2\",variationAxes,weight:\"400\"},{cssFamilyName:\"Inter Variable\",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/wx5nfqEgOXnxuFaxB0Mn9OhmcZA.woff2\",variationAxes,weight:\"400\"}]}];export const css=['.framer-cpbew .framer-styles-preset-ez3tbk:not(.rich-text-wrapper), .framer-cpbew .framer-styles-preset-ez3tbk.rich-text-wrapper h3 { --framer-font-family: \"Inter Variable\", \"Inter Variable Placeholder\", sans-serif; --framer-font-family-bold: \"Inter Variable\", \"Inter Variable Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Inter Variable\", \"Inter Variable Placeholder\", sans-serif; --framer-font-family-italic: \"Inter Variable\", \"Inter Variable Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 30px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: normal; --framer-font-style-italic: normal; --framer-font-variation-axes: \"opsz\" 14, \"wght\" 600; --framer-font-variation-axes-bold: \"opsz\" 14, \"wght\" 600; --framer-font-variation-axes-bold-italic: \"opsz\" 14, \"wght\" 600; --framer-font-variation-axes-italic: \"opsz\" 14, \"wght\" 600; --framer-font-weight: 400; --framer-font-weight-bold: 400; --framer-font-weight-bold-italic: 400; --framer-font-weight-italic: 400; --framer-letter-spacing: -0.03em; --framer-line-height: 1.3em; --framer-paragraph-spacing: 40px; --framer-text-alignment: left; --framer-text-color: var(--token-42f80aff-dba9-4139-a7fa-d3b714fb3c4c, #141414); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-cpbew .framer-styles-preset-ez3tbk:not(.rich-text-wrapper), .framer-cpbew .framer-styles-preset-ez3tbk.rich-text-wrapper h3 { --framer-font-family: \"Inter Variable\", \"Inter Variable Placeholder\", sans-serif; --framer-font-family-bold: \"Inter Variable\", \"Inter Variable Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Inter Variable\", \"Inter Variable Placeholder\", sans-serif; --framer-font-family-italic: \"Inter Variable\", \"Inter Variable Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 25px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: normal; --framer-font-style-italic: normal; --framer-font-variation-axes: \"opsz\" 14, \"wght\" 600; --framer-font-variation-axes-bold: \"opsz\" 14, \"wght\" 600; --framer-font-variation-axes-bold-italic: \"opsz\" 14, \"wght\" 600; --framer-font-variation-axes-italic: \"opsz\" 14, \"wght\" 600; --framer-font-weight: 400; --framer-font-weight-bold: 400; --framer-font-weight-bold-italic: 400; --framer-font-weight-italic: 400; --framer-letter-spacing: -0.02em; --framer-line-height: 1.3em; --framer-paragraph-spacing: 30px; --framer-text-alignment: left; --framer-text-color: var(--token-42f80aff-dba9-4139-a7fa-d3b714fb3c4c, #141414); --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-cpbew .framer-styles-preset-ez3tbk:not(.rich-text-wrapper), .framer-cpbew .framer-styles-preset-ez3tbk.rich-text-wrapper h3 { --framer-font-family: \"Inter Variable\", \"Inter Variable Placeholder\", sans-serif; --framer-font-family-bold: \"Inter Variable\", \"Inter Variable Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Inter Variable\", \"Inter Variable Placeholder\", sans-serif; --framer-font-family-italic: \"Inter Variable\", \"Inter Variable Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 25px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: normal; --framer-font-style-italic: normal; --framer-font-variation-axes: \"opsz\" 14, \"wght\" 600; --framer-font-variation-axes-bold: \"opsz\" 14, \"wght\" 600; --framer-font-variation-axes-bold-italic: \"opsz\" 14, \"wght\" 600; --framer-font-variation-axes-italic: \"opsz\" 14, \"wght\" 600; --framer-font-weight: 400; --framer-font-weight-bold: 400; --framer-font-weight-bold-italic: 400; --framer-font-weight-italic: 400; --framer-letter-spacing: -0.02em; --framer-line-height: 1.3em; --framer-paragraph-spacing: 40px; --framer-text-alignment: left; --framer-text-color: var(--token-42f80aff-dba9-4139-a7fa-d3b714fb3c4c, #141414); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-cpbew\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"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":"uNAC6B,EAAC,EAAU,UAAU,CAAC,iBAAiB,gDAAgD,gDAAgD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