PageSourceSearch

https://www.foreigntechnologies.com.br/chunk-2D5ZUEUC.js

js foreigntechnologies.com.br collected 2026-09-24 14:34:37 UTC 1,003 bytes, 1 lines download raw bytes

1import{J as r,Tb as i,ga as o}from"./chunk-33F75KQA.js";var n="ft-theme",c=class a{_theme=o(this.readInitial());theme=this._theme.asReadonly();isDark=i(()=>this._theme()==="dark");constructor(){this.applyDom(this._theme())}toggle(){this.set(this._theme()==="dark"?"light":"dark")}set(t){this._theme.set(t),this.applyDom(t);try{localStorage.setItem(n,t)}catch{}}readInitial(){if(typeof window>"u"||typeof localStorage>"u"||typeof localStorage.getItem!="function")return"light";let t=localStorage.getItem(n);return t==="light"||t==="dark"?t:window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}applyDom(t){if(typeof document>"u")return;document.documentElement.setAttribute("data-theme",t),document.documentElement.style.colorScheme=t;let e=document.querySelector('meta[name="theme-color"]');e&&e.setAttribute("content",t==="dark"?"#0a0a0a":"#fff7cf")}static \u0275fac=function(e){return new(e||a)};static \u0275prov=r({token:a,factory:a.\u0275fac,providedIn:"root"})};export{c 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.