{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/R13NUR0GYp56wCxR2IBJ/wXoTaoy1YleHUvYdKY9p/Switch.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{Frame}from\"framer\";export function ThemeSwitch(){const[currentTheme,setCurrentTheme]=React.useState(\"light\");React.useEffect(()=>{const stored=localStorage.getItem(\"currentToggleState\");if(stored){setCurrentTheme(stored);applyTheme(stored);}},[]);const applyTheme=theme=>{setCurrentTheme(theme);localStorage.setItem(\"currentToggleState\",theme);document.documentElement.setAttribute(\"data-theme\",theme);window.dispatchEvent(new CustomEvent(\"themeChange\"));};return /*#__PURE__*/_jsx(Frame,{background:\"transparent\",width:\"auto\",height:\"auto\",style:{display:\"flex\",gap:\"12px\",fontSize:\"20px\",fontWeight:600,fontFamily:\"sans-serif\"},children:[\"light\",\"dark\"].map(theme=>{const isActive=currentTheme===theme;return /*#__PURE__*/_jsx(\"div\",{onClick:()=>applyTheme(theme),style:{padding:\"8px 16px\",borderRadius:\"8px\",backgroundColor:isActive?\"#0047FF\":\"transparent\",color:isActive?\"#fff\":\"#0047FF\",cursor:\"pointer\",transition:\"all 0.2s\"},children:theme.toUpperCase()},theme);})});}\nexport const __FramerMetadata__ = {\"exports\":{\"ThemeSwitch\":{\"type\":\"reactComponent\",\"name\":\"ThemeSwitch\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Switch.map"],
  "mappings": "uGAAwG,SAASA,GAAa,CAAC,GAAK,CAACC,EAAaC,CAAe,EAAQC,EAAS,OAAO,EAAQC,EAAU,IAAI,CAAC,IAAMC,EAAO,aAAa,QAAQ,oBAAoB,EAAKA,IAAQH,EAAgBG,CAAM,EAAEC,EAAWD,CAAM,EAAG,EAAE,CAAC,CAAC,EAAE,IAAMC,EAAWC,GAAO,CAACL,EAAgBK,CAAK,EAAE,aAAa,QAAQ,qBAAqBA,CAAK,EAAE,SAAS,gBAAgB,aAAa,aAAaA,CAAK,EAAEC,EAAO,cAAc,IAAI,YAAY,aAAa,CAAC,CAAE,EAAE,OAAoBC,EAAKC,EAAM,CAAC,WAAW,cAAc,MAAM,OAAO,OAAO,OAAO,MAAM,CAAC,QAAQ,OAAO,IAAI,OAAO,SAAS,OAAO,WAAW,IAAI,WAAW,YAAY,EAAE,SAAS,CAAC,QAAQ,MAAM,EAAE,IAAIH,GAAO,CAAC,IAAMI,EAASV,IAAeM,EAAM,OAAoBE,EAAK,MAAM,CAAC,QAAQ,IAAIH,EAAWC,CAAK,EAAE,MAAM,CAAC,QAAQ,WAAW,aAAa,MAAM,gBAAgBI,EAAS,UAAU,cAAc,MAAMA,EAAS,OAAO,UAAU,OAAO,UAAU,WAAW,UAAU,EAAE,SAASJ,EAAM,YAAY,CAAC,EAAEA,CAAK,CAAE,CAAC,CAAC,CAAC,CAAE",
  "names": ["ThemeSwitch", "currentTheme", "setCurrentTheme", "ye", "ue", "stored", "applyTheme", "theme", "window", "p", "Frame", "isActive"]
}
