1import{d as l,j as x}from"./react-vendor-BYeqKmV6.js";import{G as S}from"./index-C5_t1zCf.js";import"./ui-vendor-FeF8SYpf.js";import"./data-vendor-JFafzwTy.js";var b=(t,s,i,a,n,r,d,p)=>{let o=document.documentElement,u=["light","dark"];function m(e){(Array.isArray(t)?t:[t]).forEach(c=>{let h=c==="class",v=h&&r?n.map(f=>r[f]||f):n;h?(o.classList.remove(...v),o.classList.add(r&&r[e]?r[e]:e)):o.setAttribute(c,e)}),y(e)}function y(e){p&&u.includes(e)&&(o.style.colorScheme=e)}function g(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(a)m(a);else try{let e=localStorage.getItem(s)||i,c=d&&e==="system"?g():e;m(c)}catch{}},T=l.createContext(void 0),w={setTheme:t=>{},themes:[]},E=()=>{var t;return(t=l.useContext(T))!=null?t:w};l.memo(({forcedTheme:t,storageKey:s,attribute:i,enableSystem:a,enableColorScheme:n,defaultTheme:r,value:d,themes:p,nonce:o,scriptProps:u})=>{let m=JSON.stringify([i,s,r,t,p,d,a,n]).slice(1,-1);return l.createElement("script",{...u,suppressHydrationWarning:!0,nonce:typeof window>"u"?o:"",dangerouslySetInnerHTML:{__html:`(${b.toString()})(${m})`}})});const L=({...t})=>{const{theme:s="system"}=E();return x.jsx(S,{theme:s,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...t})};export{L as Toaster};
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.