{"version":3,"file":"shared-lib.DdeK4Xta.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","React.useRef","React.useId","RichText"],"sources":["https:/framerusercontent.com/modules/h1v1mbYXKFX0fA2OU8jI/J40uVKOVNksd49AdXpec/XF9aLvqFw.js"],"sourcesContent":["// Generated by Framer (101bcc7)\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*as localizedValues from\"./XF9aLvqFw-0.js\";const cycleOrder=[\"Zy34QnVZ7\",\"N12uUP46u\"];const serializationHash=\"framer-Bibdo\";const variantClassNames={N12uUP46u:\"framer-v-1bkhbt4\",Zy34QnVZ7:\"framer-v-kq0h10\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const valuesByLocaleId={P5tbLPdlI:localizedValues};const getLocalizedValue=(key,locale)=>{while(locale){const values=valuesByLocaleId[locale.id];if(values){const value=values[key];if(value){return value;}}locale=locale.fallback;}};const transition1={damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value!==null&&value!==void 0?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={Close:\"N12uUP46u\",Menu:\"Zy34QnVZ7\"};const getProps=({click,height,id,width,...props})=>{var _humanReadableVariantMap_props_variant,_ref;return{...props,mx9dEszyu:click!==null&&click!==void 0?click:props.mx9dEszyu,variant:(_ref=(_humanReadableVariantMap_props_variant=humanReadableVariantMap[props.variant])!==null&&_humanReadableVariantMap_props_variant!==void 0?_humanReadableVariantMap_props_variant:props.variant)!==null&&_ref!==void 0?_ref:\"Zy34QnVZ7\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,mx9dEszyu,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"Zy34QnVZ7\",variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap18f3dfs=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(mx9dEszyu){const res=await mx9dEszyu(...args);if(res===false)return false;}});const ref1=React.useRef(null);const isDisplayed=()=>{if(baseVariant===\"N12uUP46u\")return true;return false;};const defaultLayoutId=React.useId();const sharedStyleClassNames=[];const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?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(serializationHash,...sharedStyleClassNames,\"framer-kq0h10\",className,classNames),\"data-framer-name\":\"Menu\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"Zy34QnVZ7\",onTap:onTap18f3dfs,ref:ref!==null&&ref!==void 0?ref:ref1,style:{...style},...addPropertyOverrides({N12uUP46u:{\"data-framer-name\":\"Close\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-1wpu5ee\",layoutDependency:layoutDependency,layoutId:\"ljyHAWCAE\",style:{backgroundColor:\"var(--token-375c13a0-d800-4684-9a1c-6994cb9b0ac7, rgb(17, 17, 17))\",rotate:0},variants:{N12uUP46u:{rotate:-45}},children:isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--framer-text-alignment\":\"center\"},children:/*#__PURE__*/_jsx(motion.br,{className:\"trailing-break\"})})}),className:\"framer-12wcb22\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"jypOMuhvS\",verticalAlignment:\"top\",withExternalLayout:true})}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-1tvi1as\",layoutDependency:layoutDependency,layoutId:\"mx0v725Si\",style:{backgroundColor:\"var(--token-375c13a0-d800-4684-9a1c-6994cb9b0ac7, rgb(17, 17, 17))\",rotate:0},variants:{N12uUP46u:{rotate:45}},children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--framer-text-alignment\":\"center\"},children:/*#__PURE__*/_jsx(motion.br,{className:\"trailing-break\"})})}),className:\"framer-10ziuf2\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"xEd6hpLYn\",verticalAlignment:\"top\",withExternalLayout:true})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-Bibdo.framer-x8dtmt, .framer-Bibdo .framer-x8dtmt { display: block; }\",\".framer-Bibdo.framer-kq0h10 { cursor: pointer; height: 40px; overflow: hidden; position: relative; width: 40px; }\",\".framer-Bibdo .framer-1wpu5ee { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 2px; justify-content: center; left: calc(50.00000000000002% - 24px / 2); overflow: hidden; padding: 0px; position: absolute; top: 14px; width: 24px; }\",\".framer-Bibdo .framer-12wcb22, .framer-Bibdo .framer-10ziuf2 { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-Bibdo .framer-1tvi1as { align-content: center; align-items: center; bottom: 14px; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 2px; justify-content: center; left: calc(50.00000000000002% - 24px / 2); overflow: hidden; padding: 0px; position: absolute; width: 24px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-Bibdo .framer-1wpu5ee, .framer-Bibdo .framer-1tvi1as { gap: 0px; } .framer-Bibdo .framer-1wpu5ee > *, .framer-Bibdo .framer-1tvi1as > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-Bibdo .framer-1wpu5ee > :first-child, .framer-Bibdo .framer-1tvi1as > :first-child { margin-left: 0px; } .framer-Bibdo .framer-1wpu5ee > :last-child, .framer-Bibdo .framer-1tvi1as > :last-child { margin-right: 0px; } }\",\".framer-Bibdo.framer-v-1bkhbt4.framer-kq0h10 { aspect-ratio: 1 / 1; height: var(--framer-aspect-ratio-supported, 40px); }\",\".framer-Bibdo.framer-v-1bkhbt4 .framer-1wpu5ee { top: calc(50.00000000000002% - 2px / 2); }\",\".framer-Bibdo.framer-v-1bkhbt4 .framer-1tvi1as { bottom: unset; top: calc(50.00000000000002% - 2px / 2); }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 40\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"N12uUP46u\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"mx9dEszyu\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerXF9aLvqFw=withCSS(Component,css,\"framer-Bibdo\");export default FramerXF9aLvqFw;FramerXF9aLvqFw.displayName=\"toggle\";FramerXF9aLvqFw.defaultProps={height:40,width:40};addPropertyControls(FramerXF9aLvqFw,{variant:{options:[\"Zy34QnVZ7\",\"N12uUP46u\"],optionTitles:[\"Menu\",\"Close\"],title:\"Variant\",type:ControlType.Enum},mx9dEszyu:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramerXF9aLvqFw,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"framer\",style:\"normal\",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\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",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\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/vQyevYAyHtARFwPqUzQGpnDs.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",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\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerXF9aLvqFw\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"mx9dEszyu\\\":\\\"click\\\"}\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicWidth\":\"40\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"N12uUP46u\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicHeight\":\"40\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./XF9aLvqFw.map"],"mappings":"2UAC0gB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAgI,OAA9H,GAAmD,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,qCAAjrB,IAA6J,IAAkE,IAA4B,EAAwD,EAAW,CAAC,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,iBAAiB,EAA+c,EAAY,CAAC,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,UAAU,IAAI,KAAK,QAAQ,EAAQ,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,CAAmB,EAAQ,EAAW,GAAmC,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG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