{"version":3,"file":"t7jYiCaC4.C0lcQtPy.mjs","names":["Phosphor","React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/iMCVl19bVvqGLzAo2HOw/06hEtULlQMeRjmdusp9N/t7jYiCaC4.js"],"sourcesContent":["// Generated by Framer (50fb820)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getPropertyControls,Link,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{Icon as Phosphor}from\"https://framerusercontent.com/modules/tYScH7LTqUtz5KUaUAYP/p8dptk4UIND8hbFWz9V7/Phosphor.js\";const PhosphorFonts=getFonts(Phosphor);const PhosphorControls=getPropertyControls(Phosphor);const serializationHash=\"framer-QdTQC\";const variantClassNames={iXv9AoqIh:\"framer-v-1er590z\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const VYbIZJWAL=undefined;const nrZk6fP1E=undefined;const ThsPwipLO=undefined;const C8mafFweC=undefined;const n4k0gTNc9=undefined;const transition1={damping:60,delay:0,mass:1,stiffness:500,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 getProps=({ariaLabel,color,height,icon1,id,link,newTab,width,...props})=>{return{...props,C8mafFweC:icon1??props.C8mafFweC??\"Moon\",n4k0gTNc9:color??props.n4k0gTNc9??\"var(--token-9c3ccc1d-4431-4912-a1fa-5f3475a4fa1c, rgb(140, 140, 140))\",nrZk6fP1E:link??props.nrZk6fP1E,ThsPwipLO:newTab??props.ThsPwipLO,VYbIZJWAL:ariaLabel??props.VYbIZJWAL};};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,C8mafFweC,n4k0gTNc9,nrZk6fP1E,ThsPwipLO,VYbIZJWAL,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"iXv9AoqIh\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);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__*/_jsx(Link,{href:nrZk6fP1E,motionChild:true,nodeId:\"iXv9AoqIh\",openInNewTab:ThsPwipLO,scopeId:\"t7jYiCaC4\",children:/*#__PURE__*/_jsx(motion.a,{...restProps,...gestureHandlers,\"aria-label\":VYbIZJWAL,className:`${cx(scopingClassNames,\"framer-1er590z\",className,classNames)} framer-1komk54`,\"data-framer-name\":\"Lignt\",layoutDependency:layoutDependency,layoutId:\"iXv9AoqIh\",ref:refBinding,style:{borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8,...style},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-13sw89n\",layoutDependency:layoutDependency,layoutId:\"qVwh1wW65\",children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-i4s7zd-container\",\"data-framer-name\":\"icon 1\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"ojdhibIbb-container\",name:\"icon 1\",nodeId:\"ojdhibIbb\",rendersWithMotion:true,scopeId:\"t7jYiCaC4\",children:/*#__PURE__*/_jsx(Phosphor,{color:n4k0gTNc9,height:\"100%\",iconSearch:\"House\",iconSelection:C8mafFweC,id:\"ojdhibIbb\",layoutId:\"ojdhibIbb\",mirrored:false,name:\"icon 1\",selectByList:true,style:{height:\"100%\",width:\"100%\"},weight:\"fill\",width:\"100%\"})})})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-QdTQC.framer-1komk54, .framer-QdTQC .framer-1komk54 { display: block; }\",\".framer-QdTQC.framer-1er590z { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; text-decoration: none; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-QdTQC .framer-13sw89n { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: min-content; }\",\".framer-QdTQC .framer-i4s7zd-container { flex: none; height: 24px; position: relative; width: 24px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 24\n * @framerIntrinsicWidth 24\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"C8mafFweC\":\"icon1\",\"n4k0gTNc9\":\"color\",\"nrZk6fP1E\":\"link\",\"ThsPwipLO\":\"newTab\",\"VYbIZJWAL\":\"ariaLabel\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framert7jYiCaC4=withCSS(Component,css,\"framer-QdTQC\");export default Framert7jYiCaC4;Framert7jYiCaC4.displayName=\"ThemeToggle\";Framert7jYiCaC4.defaultProps={height:24,width:24};addPropertyControls(Framert7jYiCaC4,{C8mafFweC:PhosphorControls?.[\"iconSelection\"]&&{...PhosphorControls[\"iconSelection\"],defaultValue:\"Moon\",description:undefined,hidden:undefined,title:\"Icon 1\"},onC8mafFweCChange:{changes:\"C8mafFweC\",type:ControlType.ChangeHandler},n4k0gTNc9:{defaultValue:'var(--token-9c3ccc1d-4431-4912-a1fa-5f3475a4fa1c, rgb(140, 140, 140)) /* {\"name\":\"Body Gray\"} */',title:\"Color\",type:ControlType.Color},nrZk6fP1E:{title:\"Link\",type:ControlType.Link},ThsPwipLO:{defaultValue:false,title:\"New Tab\",type:ControlType.Boolean},onThsPwipLOChange:{changes:\"ThsPwipLO\",type:ControlType.ChangeHandler},VYbIZJWAL:{defaultValue:\"\",title:\"Aria Label\",type:ControlType.String},onVYbIZJWALChange:{changes:\"VYbIZJWAL\",type:ControlType.ChangeHandler}});addFonts(Framert7jYiCaC4,[{explicitInter:true,fonts:[]},...PhosphorFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Framert7jYiCaC4\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerVariables\":\"{\\\"C8mafFweC\\\":\\\"icon1\\\",\\\"n4k0gTNc9\\\":\\\"color\\\",\\\"nrZk6fP1E\\\":\\\"link\\\",\\\"ThsPwipLO\\\":\\\"newTab\\\",\\\"VYbIZJWAL\\\":\\\"ariaLabel\\\"}\",\"framerAutoSizeImages\":\"true\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"24\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicWidth\":\"24\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"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