import{M as o,g as i}from"./chunk-F6M2T5MC.js";var n=class e{STORAGE_KEY="balanceHidden";hiddenSubject=new i(localStorage.getItem(this.STORAGE_KEY)==="true");hidden$=this.hiddenSubject.asObservable();get isHidden(){return this.hiddenSubject.value}toggle(){let t=!this.hiddenSubject.value;this.hiddenSubject.next(t),localStorage.setItem(this.STORAGE_KEY,String(t))}static \u0275fac=function(a){return new(a||e)};static \u0275prov=o({token:e,factory:e.\u0275fac,providedIn:"root"})};export{n as a};
