1import{t as e}from"./CoucXh9X.js";import{t}from"./7-dG5mu_.js";var s="40rem",a="64rem",r=e=>window.matchMedia(e).matches,i=e=>window.matchMedia(e),o=class{static lightsOut(t=!1){t?localStorage.removeItem("themeBySystem"):localStorage.theme="dark";const s=document.querySelector("html");s.classList.remove("light"),s.classList.add("dark"),e.dispatch({name:"dark-mode",value:"dark"})}static lightsOn(t=!1){t?localStorage.removeItem("themeBySystem"):localStorage.theme="light";const s=document.querySelector("html");s.classList.remove("dark"),s.classList.add("light"),e.dispatch({name:"dark-mode",value:"light"})}static setSystemPreference(){localStorage.removeItem("theme"),localStorage.themeBySystem="true",window.matchMedia("(prefers-color-scheme: dark)").matches?this.lightsOut(!0):this.lightsOn(!0),e.dispatch({name:"dark-mode",value:"system"})}static getTheme(){return localStorage.theme??"system"}static isDark(){return"dark"===this.getTheme()||"light"!==this.getTheme()&&window.matchMedia("(prefers-color-scheme: dark)").matches}static getModeIcon(){return"light"===this.getTheme()?"sun":"dark"===this.getTheme()?"moon":"screen"}},h=class e{static listeners=[];constructor(){window.dataLayer=window.dataLayer||[];const s={uiMode:o.isDark()?"Dark":"Light",device:r("(min-width: 64rem)")?"desktop":"mobile"};e.push(s),t.set("app",s)}static onPush(e){return this.listeners.push(e),()=>{this.listeners=this.listeners.filter(t=>t!==e)}}static push(...e){return this.listeners.forEach(t=>{e.forEach(e=>t(e))}),window.dataLayer.push(...e)}};export{r as a,a as i,o as n,s as o,i as r,h 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.