{"version":3,"file":"qlhrQlbpx.CGuREF25.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/mcfgfrO4Q0BS86OYsc9x/l8noor654uE5Exhdblph/qlhrQlbpx.js"],"sourcesContent":["// Generated by Framer (9cd6ca5)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,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={YrUh8edD3:{hover:true}};const cycleOrder=[\"YrUh8edD3\",\"BZgyz6CkO\"];const serializationHash=\"framer-zfvtj\";const variantClassNames={BZgyz6CkO:\"framer-v-19vj74j\",YrUh8edD3:\"framer-v-19zu1e8\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.4,delay:0,duration:1.5,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={\"Close Button - Phone\":\"BZgyz6CkO\",\"Close Button\":\"YrUh8edD3\"};const getProps=({click,height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"YrUh8edD3\",w1PtplR4j:click??props.w1PtplR4j};};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,w1PtplR4j,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"YrUh8edD3\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap1qx6my1=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(w1PtplR4j){const res=await w1PtplR4j(...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-19zu1e8\",className,classNames),\"data-framer-name\":\"Close Button\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"YrUh8edD3\",onTap:onTap1qx6my1,ref:refBinding,style:{backgroundColor:\"var(--token-804b6400-c758-4081-b8f1-9ea08e1b0532, rgb(72, 72, 72))\",borderBottomLeftRadius:6,borderBottomRightRadius:6,borderTopLeftRadius:6,borderTopRightRadius:6,...style},...addPropertyOverrides({\"YrUh8edD3-hover\":{\"data-framer-name\":undefined},BZgyz6CkO:{\"data-framer-name\":\"Close Button - Phone\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-1bnmjsv\",\"data-framer-name\":\"Line\",layoutDependency:layoutDependency,layoutId:\"TnQOQbMnN\",style:{backgroundColor:\"var(--token-2116835f-eb87-454b-b6b2-e9e1351f2533, rgb(255, 255, 255))\",borderBottomLeftRadius:10,borderBottomRightRadius:10,borderTopLeftRadius:10,borderTopRightRadius:10,rotate:-45},variants:{\"YrUh8edD3-hover\":{rotate:-30}}}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-1mpel7x\",\"data-framer-name\":\"Line\",layoutDependency:layoutDependency,layoutId:\"UZmlXSd6J\",style:{backgroundColor:\"var(--token-2116835f-eb87-454b-b6b2-e9e1351f2533, rgb(255, 255, 255))\",borderBottomLeftRadius:10,borderBottomRightRadius:10,borderTopLeftRadius:10,borderTopRightRadius:10,rotate:45},variants:{\"YrUh8edD3-hover\":{rotate:30}}})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-zfvtj.framer-amv3ko, .framer-zfvtj .framer-amv3ko { display: block; }\",\".framer-zfvtj.framer-19zu1e8 { cursor: pointer; height: 40px; overflow: hidden; position: relative; width: 40px; will-change: var(--framer-will-change-override, transform); }\",\".framer-zfvtj .framer-1bnmjsv, .framer-zfvtj .framer-1mpel7x { flex: none; height: 2px; left: calc(50.00000000000002% - 22px / 2); overflow: hidden; position: absolute; top: calc(50.00000000000002% - 2px / 2); width: 22px; will-change: var(--framer-will-change-override, transform); }\",\".framer-zfvtj.framer-v-19vj74j.framer-19zu1e8 { aspect-ratio: 1 / 1; height: var(--framer-aspect-ratio-supported, 32px); width: 32px; }\",\".framer-zfvtj.framer-v-19vj74j .framer-1bnmjsv, .framer-zfvtj.framer-v-19vj74j .framer-1mpel7x { left: calc(50.00000000000002% - 18px / 2); width: 18px; }\",\".framer-zfvtj.framer-v-19zu1e8.hover.framer-19zu1e8 { aspect-ratio: 1 / 1; height: var(--framer-aspect-ratio-supported, 40px); }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 40\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"BZgyz6CkO\":{\"layout\":[\"fixed\",\"fixed\"]},\"l5oBpxR__\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"w1PtplR4j\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerqlhrQlbpx=withCSS(Component,css,\"framer-zfvtj\");export default FramerqlhrQlbpx;FramerqlhrQlbpx.displayName=\"Close Button\";FramerqlhrQlbpx.defaultProps={height:40,width:40};addPropertyControls(FramerqlhrQlbpx,{variant:{options:[\"YrUh8edD3\",\"BZgyz6CkO\"],optionTitles:[\"Close Button\",\"Close Button - Phone\"],title:\"Variant\",type:ControlType.Enum},w1PtplR4j:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramerqlhrQlbpx,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerqlhrQlbpx\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"40\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"w1PtplR4j\\\":\\\"click\\\"}\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"BZgyz6CkO\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"l5oBpxR__\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"40\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./qlhrQlbpx.map"],"mappings":"yUAC0hB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,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