1import{v as a}from"./chunk-VVEN2G4H.js";var i="zenphi.chat.theme",o=(()=>{let t=class t{constructor(){this.media=window.matchMedia?.("(prefers-color-scheme: dark)")??null}getPreference(){let e=localStorage.getItem(i);return e==="light"||e==="dark"||e==="system"?e:"system"}setPreference(e){localStorage.setItem(i,e),this.applyPreference(e)}init(){let e=this.getPreference();this.applyPreference(e),this.media&&this.media.addEventListener?.("change",()=>{this.getPreference()==="system"&&this.applyPreference("system")})}applyPreference(e){let r=document.documentElement;if(r.classList.remove("dark","theme-light"),e==="dark"){r.classList.add("dark");return}if(e==="light"){r.classList.add("theme-light");return}(this.media?.matches??!1)&&r.classList.add("dark")}};t.\u0275fac=function(r){return new(r||t)},t.\u0275prov=a({token:t,factory:t.\u0275fac,providedIn:"root"});let s=t;return s})();export{o as a};
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.