{"version":3,"file":"hWWNw37nP.CIami4VR.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/VjUDpkoiHVPl8GR18jx3/JBgTLcYpYNpFUJLKiaT9/hWWNw37nP.js"],"sourcesContent":["// Generated by Framer (6aa4fc0)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const MotionDivWithFX=withFX(motion.div);const cycleOrder=[\"sjiw0MANq\",\"vRCFjdHjw\",\"WoI74AIr3\"];const serializationHash=\"framer-4sill\";const variantClassNames={sjiw0MANq:\"framer-v-2ywfra\",vRCFjdHjw:\"framer-v-1ps8yxh\",WoI74AIr3:\"framer-v-hi9nnq\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.3,type:\"spring\"};const transition2={delay:0,duration:3,ease:[0,0,1,1],type:\"tween\"};const animation={opacity:1,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:82,y:0};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={\"Active done\":\"WoI74AIr3\",Active:\"vRCFjdHjw\",Inactive:\"sjiw0MANq\"};const getProps=({click,height,id,width,...props})=>{return{...props,MfGYkjuZx:click??props.MfGYkjuZx,variant:humanReadableVariantMap[props.variant]??props.variant??\"sjiw0MANq\"};};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,MfGYkjuZx,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"sjiw0MANq\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTapptelrr=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(MfGYkjuZx){const res=await MfGYkjuZx(...args);if(res===false)return false;}});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"vRCFjdHjw\")return true;return false;};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-2ywfra\",className,classNames),\"data-framer-name\":\"Inactive\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"sjiw0MANq\",onTap:onTapptelrr,ref:refBinding,style:{backgroundColor:\"var(--token-0832896e-500d-4cda-b782-3672c9d7eb0f, rgba(11, 11, 11, 0.2))\",...style},variants:{WoI74AIr3:{backgroundColor:\"var(--token-f5a10334-32be-4fb0-87c9-efe3ebe17f56, rgb(146, 95, 255))\"}},...addPropertyOverrides({vRCFjdHjw:{\"data-framer-name\":\"Active\"},WoI74AIr3:{\"data-framer-name\":\"Active done\"}},baseVariant,gestureVariant),children:isDisplayed()&&/*#__PURE__*/_jsx(MotionDivWithFX,{__framer__loop:animation,__framer__loopEffectEnabled:true,__framer__loopRepeatDelay:0,__framer__loopRepeatType:\"loop\",__framer__loopTransition:transition2,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:\"framer-8cpc34\",layoutDependency:layoutDependency,layoutId:\"VFQ7ye3gQ\",style:{backgroundColor:\"var(--token-f5a10334-32be-4fb0-87c9-efe3ebe17f56, rgb(146, 95, 255))\",mask:\"linear-gradient(90deg, rgba(0,0,0,0) 0%, rgb(0, 0, 0) 10.81081081081081%, rgba(0,0,0,1) 92.5095016891892%, rgba(0, 0, 0, 0) 100.9009009009009%) intersect, linear-gradient(180deg, rgba(0,0,0,0) 0%, rgb(0, 0, 0) 49.22402871621622%, rgba(0, 0, 0, 0) 100%) add\",WebkitMask:\"linear-gradient(90deg, rgba(0,0,0,0) 0%, rgb(0, 0, 0) 10.81081081081081%, rgba(0,0,0,1) 92.5095016891892%, rgba(0, 0, 0, 0) 100.9009009009009%) intersect, linear-gradient(180deg, rgba(0,0,0,0) 0%, rgb(0, 0, 0) 49.22402871621622%, rgba(0, 0, 0, 0) 100%) add\"}})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-4sill.framer-10dydpb, .framer-4sill .framer-10dydpb { display: block; }\",\".framer-4sill.framer-2ywfra { cursor: pointer; height: 2px; overflow: hidden; position: relative; width: 80px; }\",\".framer-4sill .framer-8cpc34 { bottom: -2px; flex: none; left: -82px; overflow: visible; position: absolute; top: -2px; width: 80px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 2\n * @framerIntrinsicWidth 80\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"vRCFjdHjw\":{\"layout\":[\"fixed\",\"fixed\"]},\"WoI74AIr3\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"MfGYkjuZx\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerhWWNw37nP=withCSS(Component,css,\"framer-4sill\");export default FramerhWWNw37nP;FramerhWWNw37nP.displayName=\"Progress bar\";FramerhWWNw37nP.defaultProps={height:2,width:80};addPropertyControls(FramerhWWNw37nP,{variant:{options:[\"sjiw0MANq\",\"vRCFjdHjw\",\"WoI74AIr3\"],optionTitles:[\"Inactive\",\"Active\",\"Active done\"],title:\"Variant\",type:ControlType.Enum},MfGYkjuZx:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramerhWWNw37nP,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerhWWNw37nP\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerVariables\":\"{\\\"MfGYkjuZx\\\":\\\"click\\\"}\",\"framerAutoSizeImages\":\"true\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"80\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"vRCFjdHjw\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"WoI74AIr3\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"2\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./hWWNw37nP.map"],"mappings":"0UACojB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,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