<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import{a as r}from"./chunk-ZM4QNGAL.js";import{a as u}from"./chunk-4OUPVYIO.js";import{h}from"./chunk-FFBRLYPN.js";import{Fd as g,Na as c,Xa as n,h as l,ua as f}from"./chunk-X3GFYMIQ.js";f();g();var S=(()=&gt;{class i{constructor(t,e){this.http=t,this.cookieService=e,this.translations={},this.currentLang="en",this.languageChanged=new l(null),this.env=r}loadTranslations(t){}changeLanguage(t,e){let o=e+"-"+t;this.loadTranslations(o)}setLanguage(t){let e=""+t.split("-")[1];this.cookieService.setCookie("un_lang",e,31536e6),this.currentLang=t.split("-")[1]}loadDefault(t){if(console.log(t),!this.cookieService.getCookie("un_lang"))this.loadTranslations(t);else{let e=t.split("-")[0]+"-"+this.cookieService.getCookie("un_lang");this.loadTranslations(e)}}translate(t,e){let o=t.split("."),s=this.translations;for(let a of o)if(s[a]!==void 0)s=s[a];else return e||t;return typeof s=="string"?s:e||t}static{this.\u0275fac=function(e){return new(e||i)(n(h),n(u))}}static{this.\u0275prov=c({token:i,factory:i.\u0275fac})}}return i})();export{S as a};
</pre></body></html>