PageSourceSearch

https://app.zyles.ai/assets/theme-toggle-BbRb8Gol.js

js zyles.ai collected 2026-10-05 13:59:00 UTC 1,548 bytes, 1 lines download raw bytes

1import{r as e}from"./chunk-BjdzxvGc.js";import{n as t,t as n}from"./jsx-runtime-DnW1zWcO.js";var r=e(t(),1),i=n();function a(){let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{t(document.documentElement.getAttribute(`data-theme`)===`dark`)},[]),(0,i.jsx)(`button`,{type:`button`,className:`theme-toggle`,onClick:()=>{let n=!e;t(n),n?(document.documentElement.setAttribute(`data-theme`,`dark`),localStorage.setItem(`zyles-theme`,`dark`)):(document.documentElement.removeAttribute(`data-theme`),localStorage.setItem(`zyles-theme`,`light`))},"aria-label":e?`Zum hellen Modus wechseln`:`Zum dunklen Modus wechseln`,children:e?(0,i.jsxs)(`svg`,{viewBox:`0 0 24 24`,width:`16`,height:`16`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,i.jsx)(`circle`,{cx:`12`,cy:`12`,r:`5`}),(0,i.jsx)(`line`,{x1:`12`,y1:`1`,x2:`12`,y2:`3`}),(0,i.jsx)(`line`,{x1:`12`,y1:`21`,x2:`12`,y2:`23`}),(0,i.jsx)(`line`,{x1:`4.22`,y1:`4.22`,x2:`5.64`,y2:`5.64`}),(0,i.jsx)(`line`,{x1:`18.36`,y1:`18.36`,x2:`19.78`,y2:`19.78`}),(0,i.jsx)(`line`,{x1:`1`,y1:`12`,x2:`3`,y2:`12`}),(0,i.jsx)(`line`,{x1:`21`,y1:`12`,x2:`23`,y2:`12`}),(0,i.jsx)(`line`,{x1:`4.22`,y1:`19.78`,x2:`5.64`,y2:`18.36`}),(0,i.jsx)(`line`,{x1:`18.36`,y1:`5.64`,x2:`19.78`,y2:`4.22`})]}):(0,i.jsx)(`svg`,{viewBox:`0 0 24 24`,width:`16`,height:`16`,fill:`none`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:(0,i.jsx)(`path`,{d:`M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z`})})})}export{a as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.