homebridge-config-ui-x 5.12.1-beta.2 → 5.12.1-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -4
- package/package.json +6 -6
- package/public/chunk-2FXKHKRF.js +1 -0
- package/public/chunk-2J2ADNZ3.js +2 -0
- package/public/chunk-2ZERFNLG.js +1 -0
- package/public/chunk-3IQMKSYT.js +1 -0
- package/public/chunk-3LXZS65D.js +1 -0
- package/public/{chunk-CELBAHUT.js → chunk-5ADKC7QH.js} +1 -1
- package/public/chunk-5GJ7VEN2.js +1 -0
- package/public/chunk-5J5BKS6V.js +1 -0
- package/public/{chunk-XAUQZEVR.js → chunk-5JY2IGJ4.js} +1 -1
- package/public/chunk-5LEUA5ML.js +1 -0
- package/public/{chunk-G53OXLP6.js → chunk-5QQ2XMII.js} +1 -1
- package/public/{chunk-MBM625YK.js → chunk-627DHRQR.js} +1 -1
- package/public/{chunk-N2C63RVR.js → chunk-6JORSDRO.js} +1 -1
- package/public/{chunk-DDJZVSZF.js → chunk-7DSHUQQE.js} +1 -1
- package/public/{chunk-ZDKU7C7X.js → chunk-7O34GFCK.js} +1 -1
- package/public/chunk-7SG2F2V4.js +1 -0
- package/public/chunk-7YP6YRCQ.js +1 -0
- package/public/chunk-A6ZF4UAT.js +1 -0
- package/public/{chunk-TEU5YY42.js → chunk-AGMIR63R.js} +1 -1
- package/public/chunk-ANHKZLHH.js +1 -0
- package/public/chunk-ANK4KDVK.js +1 -0
- package/public/chunk-AUQDKQJK.js +1 -0
- package/public/chunk-BUH4KDH4.js +1 -0
- package/public/{chunk-GTDQP2AN.js → chunk-C64AHVUO.js} +1 -1
- package/public/{chunk-U6VZTQOE.js → chunk-CJ4RHJAH.js} +1 -1
- package/public/chunk-CRZNK2EK.js +1 -0
- package/public/{chunk-VOS6USVC.js → chunk-CSG2SHBW.js} +1 -1
- package/public/chunk-D5VO4XPO.js +1 -0
- package/public/chunk-DJ2EJOEH.js +1 -0
- package/public/{chunk-VXY7XPAX.js → chunk-DZ4GN7CJ.js} +1 -1
- package/public/chunk-E6DYTMWA.js +1 -0
- package/public/chunk-E7TDUWKH.js +1 -0
- package/public/chunk-EQED4CZQ.js +1 -0
- package/public/chunk-F5MBSCH4.js +4 -0
- package/public/chunk-FE2ZONWW.js +1 -0
- package/public/{chunk-AKBDMFNY.js → chunk-FNRDBHYN.js} +1 -1
- package/public/chunk-FPSFZSJ3.js +1 -0
- package/public/{chunk-M4AG6QQU.js → chunk-G26XQPM7.js} +1 -1
- package/public/chunk-G2NY3ZCN.js +1 -0
- package/public/chunk-GEGSB4GN.js +1 -0
- package/public/chunk-GN7QPRR6.js +1 -0
- package/public/{chunk-TS4TGXTB.js → chunk-HH2FDI7W.js} +1 -1
- package/public/chunk-HH2POB4I.js +1 -0
- package/public/{chunk-DPOOINVO.js → chunk-HMF2EYMY.js} +1 -1
- package/public/chunk-HWDBPX2Z.js +1 -0
- package/public/{chunk-ZKWE65PF.js → chunk-I4UJLAVJ.js} +1 -1
- package/public/chunk-IDS6VUDM.js +1 -0
- package/public/{chunk-NJRKOKSU.js → chunk-IHAA5URA.js} +1 -1
- package/public/chunk-IR6ZCGVC.js +1 -0
- package/public/{chunk-4MY4WY4Y.js → chunk-JBCO5ZGG.js} +1 -1
- package/public/{chunk-XW47YBLS.js → chunk-JDMMT5L4.js} +1 -1
- package/public/{chunk-L4IWIWT2.js → chunk-JXGR2UI3.js} +1 -1
- package/public/{chunk-PXHERBFM.js → chunk-K3WEJJSS.js} +1 -1
- package/public/chunk-K6KSPMJA.js +1 -0
- package/public/chunk-KB7D5SFS.js +1 -0
- package/public/{chunk-MOJIJ4KI.js → chunk-KEESKHLN.js} +1 -1
- package/public/chunk-KJJHXJSC.js +1 -0
- package/public/{chunk-LJ2TL6FU.js → chunk-KQSUQYOI.js} +1 -1
- package/public/{chunk-AG63JY5Y.js → chunk-KU7MI4EL.js} +1 -1
- package/public/chunk-LBYOA4VH.js +1 -0
- package/public/chunk-LJ22FMGM.js +1 -0
- package/public/{chunk-XGVNG2RP.js → chunk-LKA3HBCU.js} +1 -1
- package/public/{chunk-PUHVTSJH.js → chunk-LNVODE7E.js} +1 -1
- package/public/chunk-LXQKJPCB.js +1 -0
- package/public/{chunk-QMG4EHL7.js → chunk-MAQWGSNZ.js} +1 -1
- package/public/chunk-NEMS53PP.js +1 -0
- package/public/chunk-NNZ55R3M.js +1 -0
- package/public/chunk-NP4HRPHU.js +1 -0
- package/public/{chunk-WR3QTFHE.js → chunk-NSDUWTNB.js} +1 -1
- package/public/{chunk-E6JKJ4SR.js → chunk-O7ASY26P.js} +1 -1
- package/public/chunk-OEWYBM4X.js +1 -0
- package/public/chunk-OOIPUQER.js +1 -0
- package/public/{chunk-6BJX5CLA.js → chunk-OTMZDL7S.js} +1 -1
- package/public/chunk-P2GGGU2Y.js +1 -0
- package/public/{chunk-UCN23NIX.js → chunk-PIZ742XO.js} +2 -2
- package/public/{chunk-SWNRIKJQ.js → chunk-Q4ALB4PG.js} +1 -1
- package/public/chunk-QAK4LTJK.js +1 -0
- package/public/chunk-QKVFC7F5.js +1 -0
- package/public/{chunk-DYMBIGE6.js → chunk-RDHUW73W.js} +1 -1
- package/public/chunk-RVX73CVN.js +1 -0
- package/public/{chunk-YTS2HZ4E.js → chunk-S2NF675V.js} +1 -1
- package/public/chunk-SJDRQIN5.js +1 -0
- package/public/chunk-SKRVTKE3.js +68 -0
- package/public/{chunk-4KYVVTGG.js → chunk-SKTRHOM7.js} +1 -1
- package/public/chunk-T6FOXECG.js +1 -0
- package/public/{chunk-H7VV626G.js → chunk-TIETFXW3.js} +1 -1
- package/public/{chunk-WBOY7NZ2.js → chunk-TXSHVS35.js} +1 -1
- package/public/chunk-U5PCRNWX.js +1 -0
- package/public/chunk-UB77D3LN.js +1 -0
- package/public/{chunk-O4N7TQYF.js → chunk-UHG23NUX.js} +1 -1
- package/public/{chunk-Z6WBGM7E.js → chunk-UQTV3KLJ.js} +1 -1
- package/public/chunk-USNKVK3T.js +1 -0
- package/public/{chunk-7ZXYLVBT.js → chunk-UTK5QYBZ.js} +1 -1
- package/public/{chunk-LBHYTPQT.js → chunk-UU4H7O22.js} +12 -12
- package/public/{chunk-NXZQXLGL.js → chunk-UVWXUC5Y.js} +1 -1
- package/public/chunk-VCQXRYFP.js +1 -0
- package/public/{chunk-BOC4GPPW.js → chunk-VCWYDWAJ.js} +1 -1
- package/public/chunk-VF77U6IG.js +1 -0
- package/public/chunk-VS2RZZM2.js +1 -0
- package/public/{chunk-FKOFLPTH.js → chunk-VZQ3UMBD.js} +1 -1
- package/public/chunk-WLG7PGUZ.js +1 -0
- package/public/{chunk-YCP75D2G.js → chunk-X66UFY6K.js} +1 -1
- package/public/chunk-XFEUNVVJ.js +1 -0
- package/public/{chunk-UZAMPJXO.js → chunk-XFKYZXKP.js} +1 -1
- package/public/{chunk-KJCR3URD.js → chunk-Y6DNZAC2.js} +1 -1
- package/public/chunk-Y7EASXJH.js +1 -0
- package/public/chunk-YM24O4KE.js +1 -0
- package/public/{chunk-NIIKMOHL.js → chunk-YUXVWURK.js} +1 -1
- package/public/{chunk-ET2AGGLD.js → chunk-Z56QIJS3.js} +1 -1
- package/public/{chunk-2HVLTYRG.js → chunk-ZBIB5CY4.js} +1 -1
- package/public/{chunk-RB55HUXA.js → chunk-ZBNB3EPH.js} +1 -1
- package/public/chunk-ZR36K7FI.js +1 -0
- package/public/index.html +1 -1
- package/public/{main-E4NWGQN5.js → main-B3YXUAIV.js} +1 -1
- package/public/chunk-2OYRXBN2.js +0 -1
- package/public/chunk-2RZGQOIV.js +0 -1
- package/public/chunk-2TYRSR7L.js +0 -1
- package/public/chunk-2ZONQRJY.js +0 -1
- package/public/chunk-346MBK4E.js +0 -2
- package/public/chunk-3SEP5DLZ.js +0 -1
- package/public/chunk-3Z2ANIU6.js +0 -1
- package/public/chunk-3ZAUWVFS.js +0 -1
- package/public/chunk-4SYWCOWD.js +0 -1
- package/public/chunk-5BNEKASD.js +0 -1
- package/public/chunk-5GLW5TDA.js +0 -1
- package/public/chunk-5RBSEAWH.js +0 -1
- package/public/chunk-6J2OZXHX.js +0 -1
- package/public/chunk-6JD6QYDM.js +0 -1
- package/public/chunk-6PJ56ZYO.js +0 -1
- package/public/chunk-6TVBUEIO.js +0 -1
- package/public/chunk-725QXWIS.js +0 -1
- package/public/chunk-7UVP7RXM.js +0 -1
- package/public/chunk-AMYBOLIJ.js +0 -1
- package/public/chunk-AVNUTXZU.js +0 -1
- package/public/chunk-B7HJCRSF.js +0 -1
- package/public/chunk-B7M44SMZ.js +0 -1
- package/public/chunk-DIANFPJO.js +0 -1
- package/public/chunk-DIV6SBSA.js +0 -1
- package/public/chunk-EGSAGFD6.js +0 -1
- package/public/chunk-ELBRHYEQ.js +0 -1
- package/public/chunk-FE2B7I65.js +0 -1
- package/public/chunk-GTYX4TNN.js +0 -68
- package/public/chunk-GUGASWDS.js +0 -1
- package/public/chunk-HBKEAKUY.js +0 -1
- package/public/chunk-HPMVQQCQ.js +0 -1
- package/public/chunk-HYXVTKH5.js +0 -1
- package/public/chunk-IEA4TRJP.js +0 -1
- package/public/chunk-KII4A2TO.js +0 -1
- package/public/chunk-LHNLN7G4.js +0 -1
- package/public/chunk-MQYFARVS.js +0 -1
- package/public/chunk-N5RLFJCF.js +0 -1
- package/public/chunk-NE5TKDBZ.js +0 -1
- package/public/chunk-OEMJNAOZ.js +0 -1
- package/public/chunk-OKDYJSK3.js +0 -1
- package/public/chunk-OMS2DGGK.js +0 -1
- package/public/chunk-OXW7WUD2.js +0 -1
- package/public/chunk-OYAUZ7WO.js +0 -1
- package/public/chunk-P36LCHFC.js +0 -1
- package/public/chunk-P46NZURT.js +0 -1
- package/public/chunk-PQBOVKF6.js +0 -1
- package/public/chunk-STYJ7GX2.js +0 -1
- package/public/chunk-T5HDXHUI.js +0 -1
- package/public/chunk-TJM4IBUQ.js +0 -1
- package/public/chunk-TKQVPB3N.js +0 -1
- package/public/chunk-TNHQCJ4K.js +0 -1
- package/public/chunk-UQ6A4TOF.js +0 -1
- package/public/chunk-UX5CFJ7O.js +0 -4
- package/public/chunk-W4IPMDNP.js +0 -1
- package/public/chunk-XO4RLEIC.js +0 -1
- package/public/chunk-XYOWFUTO.js +0 -1
- package/public/chunk-Z5ETX2UJ.js +0 -1
- package/public/chunk-ZO7KUAS7.js +0 -1
- package/public/chunk-ZSOLIIEA.js +0 -1
- package/public/chunk-ZTOOYWTR.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,10 +9,6 @@ All notable changes to `homebridge-config-ui-x` will be documented in this file.
|
|
|
9
9
|
- Updated minimum browser requirements to align with Angular 21:
|
|
10
10
|
- now targeting the last 2 versions of Chrome, Edge, Firefox and Safari
|
|
11
11
|
|
|
12
|
-
### UI Changes
|
|
13
|
-
|
|
14
|
-
- Expose uniqueId on Accessory Information modal #2669 / #2668
|
|
15
|
-
|
|
16
12
|
### Homebridge Dependencies
|
|
17
13
|
|
|
18
14
|
- `@homebridge/hap-client` @ `v3.1.2`
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "homebridge-config-ui-x",
|
|
3
3
|
"displayName": "Homebridge UI",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "5.12.1-beta.
|
|
5
|
+
"version": "5.12.1-beta.3",
|
|
6
6
|
"description": "A web based management, configuration and control platform for Homebridge.",
|
|
7
7
|
"author": "oznu <dev@oz.nu>",
|
|
8
8
|
"license": "MIT",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"commander": "14.0.2",
|
|
102
102
|
"dayjs": "1.11.19",
|
|
103
103
|
"fastify": "5.6.2",
|
|
104
|
-
"fs-extra": "11.3.
|
|
104
|
+
"fs-extra": "^11.3.3",
|
|
105
105
|
"jsonwebtoken": "9.0.3",
|
|
106
106
|
"lodash": "4.17.21",
|
|
107
107
|
"node-cache": "5.1.2",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"reflect-metadata": "0.2.2",
|
|
116
116
|
"rxjs": "7.8.2",
|
|
117
117
|
"semver": "7.7.3",
|
|
118
|
-
"systeminformation": "5.27.
|
|
118
|
+
"systeminformation": "^5.27.14",
|
|
119
119
|
"tail": "2.2.6",
|
|
120
120
|
"tar": "7.5.2",
|
|
121
121
|
"tcp-port-used": "1.0.2",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"@prettier/plugin-xml": "^3.4.2",
|
|
128
128
|
"@types/fs-extra": "^11.0.4",
|
|
129
129
|
"@types/lodash": "^4.17.21",
|
|
130
|
-
"@types/node": "^25.0.
|
|
130
|
+
"@types/node": "^25.0.3",
|
|
131
131
|
"@types/node-forge": "^1.3.14",
|
|
132
132
|
"@types/node-schedule": "^2.1.8",
|
|
133
133
|
"@types/passport-jwt": "^4.0.1",
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"@types/tail": "^2.2.3",
|
|
136
136
|
"@types/tcp-port-used": "^1.0.4",
|
|
137
137
|
"@types/unzipper": "^0.10.11",
|
|
138
|
-
"@vitest/coverage-v8": "^4.0.
|
|
138
|
+
"@vitest/coverage-v8": "^4.0.16",
|
|
139
139
|
"concurrently": "^9.2.1",
|
|
140
140
|
"eslint-plugin-format": "^1.1.0",
|
|
141
141
|
"form-data": "^4.0.5",
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"tsx": "^4.21.0",
|
|
145
145
|
"typescript": "^5.9.3",
|
|
146
146
|
"unplugin-swc": "^1.5.9",
|
|
147
|
-
"vitest": "^4.0.
|
|
147
|
+
"vitest": "^4.0.16"
|
|
148
148
|
},
|
|
149
149
|
"overrides": {
|
|
150
150
|
"@homebridge/hap-client": {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-U5PCRNWX.js";import"./chunk-B4AJQJMI.js";export default a();
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$ as p,$a as mi,Aa as _e,Ba as oi,Ca as cn,Da as ai,E as ft,Ea as Dt,Fb as P,G as ke,Ga as ln,Gb as V,Ha as ui,Hb as q,Ia as dn,Ib as Ge,Ja as yt,Jc as yn,K as tn,Ka as de,La as Ae,Ma as ci,Mb as gn,N as nn,Na as li,Nb as mn,Oa as di,Pa as hi,Q as Be,Qa as fi,Ra as pi,Rb as Dn,Rc as Ye,Sa as gi,Sc as vn,Ta as J,Tb as bi,Tc as Ei,U as v,Ua as hn,Ub as Ci,Uc as Ke,V as je,Vb as B,Vc as wn,Wb as I,X as f,Xb as Ze,Y as De,Za as R,Zb as j,Zc as bn,_ as b,_a as ye,_c as bt,aa as h,ab as vt,ad as We,ba as Ue,bb as Di,bd as Xe,c as qt,cd as Ct,d as N,da as ri,ea as rn,eb as yi,fa as si,fb as vi,ga as sn,gb as wi,ha as on,hb as wt,hc as we,i as ae,ib as O,jc as Q,k as me,ka as ce,kb as fn,kc as ee,la as S,ma as pt,mc as be,n as Te,nb as pn,o as ue,ob as ve,pa as le,pb as he,qa as an,qb as fe,s as Qt,sa as $e,t as en,tb as He,u as ni,ua as un,xa as gt,xb as Ve,ya as mt,yb as ze,z as ii}from"./chunk-F5MBSCH4.js";import{a as _,b as G,h as ht}from"./chunk-B4AJQJMI.js";var Ti=null;function te(){return Ti}function Cn(t){Ti??=t}var Je=class{},Se=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=f({token:t,factory:()=>h(_i),providedIn:"platform"})}return t})();var _i=(()=>{class t extends Se{_location;_history;_doc=h(S);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return te().getBaseHref(this._doc)}onPopState(e){let n=te().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){let n=te().getGlobalEventTarget(this._doc,"window");return n.addEventListener("hashchange",e,!1),()=>n.removeEventListener("hashchange",e)}get href(){return this._location.href}get protocol(){return this._location.protocol}get hostname(){return this._location.hostname}get port(){return this._location.port}get pathname(){return this._location.pathname}get search(){return this._location.search}get hash(){return this._location.hash}set pathname(e){this._location.pathname=e}pushState(e,n,r){this._history.pushState(e,n,r)}replaceState(e,n,r){this._history.replaceState(e,n,r)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static \u0275fac=function(n){return new(n||t)};static \u0275prov=f({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function Fi(t,i){return t?i?t.endsWith("/")?i.startsWith("/")?t+i.slice(1):t+i:i.startsWith("/")?t+i:`${t}/${i}`:t:i}function Ai(t){let i=t.search(/#|\?|$/);return t[i-1]==="/"?t.slice(0,i-1)+t.slice(i):t}function pe(t){return t&&t[0]!=="?"?`?${t}`:t}var Et=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=f({token:t,factory:()=>h(Fr),providedIn:"root"})}return t})(),Sr=new b(""),Fr=(()=>{class t extends Et{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??h(S).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return Fi(this._baseHref,e)}path(e=!1){let n=this._platformLocation.pathname+pe(this._platformLocation.search),r=this._platformLocation.hash;return r&&e?`${n}${r}`:n}pushState(e,n,r,s){let o=this.prepareExternalUrl(r+pe(s));this._platformLocation.pushState(e,n,o)}replaceState(e,n,r,s){let o=this.prepareExternalUrl(r+pe(s));this._platformLocation.replaceState(e,n,o)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static \u0275fac=function(n){return new(n||t)(p(Se),p(Sr,8))};static \u0275prov=f({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Ii=(()=>{class t{_subject=new N;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let n=this._locationStrategy.getBaseHref();this._basePath=Rr(Ai(Si(n))),this._locationStrategy.onPopState(r=>{this._subject.next({url:this.path(!0),pop:!0,state:r.state,type:r.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,n=""){return this.path()==this.normalize(e+pe(n))}normalize(e){return t.stripTrailingSlash(Mr(this._basePath,Si(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",r=null){this._locationStrategy.pushState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+pe(n)),r)}replaceState(e,n="",r=null){this._locationStrategy.replaceState(r,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+pe(n)),r)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription??=this.subscribe(n=>{this._notifyUrlChangeListeners(n.url,n.state)}),()=>{let n=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(n,1),this._urlChangeListeners.length===0&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",n){this._urlChangeListeners.forEach(r=>r(e,n))}subscribe(e,n,r){return this._subject.subscribe({next:e,error:n??void 0,complete:r??void 0})}static normalizeQueryParams=pe;static joinWithSlash=Fi;static stripTrailingSlash=Ai;static \u0275fac=function(n){return new(n||t)(p(Et))};static \u0275prov=f({token:t,factory:()=>Ir(),providedIn:"root"})}return t})();function Ir(){return new Ii(p(Et))}function Mr(t,i){if(!t||!i.startsWith(t))return i;let e=i.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:i}function Si(t){return t.replace(/\/index.html$/,"")}function Rr(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var Fn=(function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t})(Fn||{});var L=(function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t})(L||{}),w=(function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t})(w||{}),x=(function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t})(x||{}),k={Decimal:0,Group:1,List:2,PercentSign:3,PlusSign:4,MinusSign:5,Exponential:6,SuperscriptingExponent:7,PerMille:8,Infinity:9,NaN:10,TimeSeparator:11,CurrencyDecimal:12,CurrencyGroup:13};function Pi(t){return B(t)[I.LocaleId]}function Ni(t,i,e){let n=B(t),r=[n[I.DayPeriodsFormat],n[I.DayPeriodsStandalone]],s=U(r,i);return U(s,e)}function xi(t,i,e){let n=B(t),r=[n[I.DaysFormat],n[I.DaysStandalone]],s=U(r,i);return U(s,e)}function ki(t,i,e){let n=B(t),r=[n[I.MonthsFormat],n[I.MonthsStandalone]],s=U(r,i);return U(s,e)}function Bi(t,i){let n=B(t)[I.Eras];return U(n,i)}function qe(t,i){let e=B(t);return U(e[I.DateFormat],i)}function Qe(t,i){let e=B(t);return U(e[I.TimeFormat],i)}function et(t,i){let n=B(t)[I.DateTimeFormat];return U(n,i)}function Y(t,i){let e=B(t),n=e[I.NumberSymbols][i];if(typeof n>"u"){if(i===k.CurrencyDecimal)return e[I.NumberSymbols][k.Decimal];if(i===k.CurrencyGroup)return e[I.NumberSymbols][k.Group]}return n}function ji(t,i){return B(t)[I.NumberFormats][i]}function Ui(t){if(!t[I.ExtraData])throw new v(2303,!1)}function $i(t){let i=B(t);return Ui(i),(i[I.ExtraData][2]||[]).map(n=>typeof n=="string"?En(n):[En(n[0]),En(n[1])])}function Hi(t,i,e){let n=B(t);Ui(n);let r=[n[I.ExtraData][0],n[I.ExtraData][1]],s=U(r,i)||[];return U(s,e)||[]}function U(t,i){for(let e=i;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new v(2304,!1)}function En(t){let[i,e]=t.split(":");return{hours:+i,minutes:+e}}var Or=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Tt={},Lr=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;function Vi(t,i,e,n){let r=Hr(t);i=ne(e,i)||i;let o=[],a;for(;i;)if(a=Lr.exec(i),a){o=o.concat(a.slice(1));let d=o.pop();if(!d)break;i=d}else{o.push(i);break}let u=r.getTimezoneOffset();n&&(u=Gi(n,u),r=$r(r,n));let c="";return o.forEach(d=>{let l=jr(d);c+=l?l(r,e,u):d==="''"?"'":d.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function It(t,i,e){let n=new Date(0);return n.setFullYear(t,i,e),n.setHours(0,0,0),n}function ne(t,i){let e=Pi(t);if(Tt[e]??={},Tt[e][i])return Tt[e][i];let n="";switch(i){case"shortDate":n=qe(t,x.Short);break;case"mediumDate":n=qe(t,x.Medium);break;case"longDate":n=qe(t,x.Long);break;case"fullDate":n=qe(t,x.Full);break;case"shortTime":n=Qe(t,x.Short);break;case"mediumTime":n=Qe(t,x.Medium);break;case"longTime":n=Qe(t,x.Long);break;case"fullTime":n=Qe(t,x.Full);break;case"short":let r=ne(t,"shortTime"),s=ne(t,"shortDate");n=_t(et(t,x.Short),[r,s]);break;case"medium":let o=ne(t,"mediumTime"),a=ne(t,"mediumDate");n=_t(et(t,x.Medium),[o,a]);break;case"long":let u=ne(t,"longTime"),c=ne(t,"longDate");n=_t(et(t,x.Long),[u,c]);break;case"full":let d=ne(t,"fullTime"),l=ne(t,"fullDate");n=_t(et(t,x.Full),[d,l]);break}return n&&(Tt[e][i]=n),n}function _t(t,i){return i&&(t=t.replace(/\{([^}]+)}/g,function(e,n){return i!=null&&n in i?i[n]:e})),t}function z(t,i,e="-",n,r){let s="";(t<0||r&&t<=0)&&(r?t=-t+1:(t=-t,s=e));let o=String(t);for(;o.length<i;)o="0"+o;return n&&(o=o.slice(o.length-i)),s+o}function Pr(t,i){return z(t,3).substring(0,i)}function M(t,i,e=0,n=!1,r=!1){return function(s,o){let a=Nr(t,s);if((e>0||a>-e)&&(a+=e),t===3)a===0&&e===-12&&(a=12);else if(t===6)return Pr(a,i);let u=Y(o,k.MinusSign);return z(a,i,u,n,r)}}function Nr(t,i){switch(t){case 0:return i.getFullYear();case 1:return i.getMonth();case 2:return i.getDate();case 3:return i.getHours();case 4:return i.getMinutes();case 5:return i.getSeconds();case 6:return i.getMilliseconds();case 7:return i.getDay();default:throw new v(2301,!1)}}function E(t,i,e=L.Format,n=!1){return function(r,s){return xr(r,s,t,i,e,n)}}function xr(t,i,e,n,r,s){switch(e){case 2:return ki(i,r,n)[t.getMonth()];case 1:return xi(i,r,n)[t.getDay()];case 0:let o=t.getHours(),a=t.getMinutes();if(s){let c=$i(i),d=Hi(i,r,n),l=c.findIndex(m=>{if(Array.isArray(m)){let[D,T]=m,A=o>=D.hours&&a>=D.minutes,g=o<T.hours||o===T.hours&&a<T.minutes;if(D.hours<T.hours){if(A&&g)return!0}else if(A||g)return!0}else if(m.hours===o&&m.minutes===a)return!0;return!1});if(l!==-1)return d[l]}return Ni(i,r,n)[o<12?0:1];case 3:return Bi(i,n)[t.getFullYear()<=0?0:1];default:let u=e;throw new v(2302,!1)}}function At(t){return function(i,e,n){let r=-1*n,s=Y(e,k.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(t){case 0:return(r>=0?"+":"")+z(o,2,s)+z(Math.abs(r%60),2,s);case 1:return"GMT"+(r>=0?"+":"")+z(o,1,s);case 2:return"GMT"+(r>=0?"+":"")+z(o,2,s)+":"+z(Math.abs(r%60),2,s);case 3:return n===0?"Z":(r>=0?"+":"")+z(o,2,s)+":"+z(Math.abs(r%60),2,s);default:throw new v(2310,!1)}}}var kr=0,Ft=4;function Br(t){let i=It(t,kr,1).getDay();return It(t,0,1+(i<=Ft?Ft:Ft+7)-i)}function zi(t){let i=t.getDay(),e=i===0?-3:Ft-i;return It(t.getFullYear(),t.getMonth(),t.getDate()+e)}function Tn(t,i=!1){return function(e,n){let r;if(i){let s=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,o=e.getDate();r=1+Math.floor((o+s)/7)}else{let s=zi(e),o=Br(s.getFullYear()),a=s.getTime()-o.getTime();r=1+Math.round(a/6048e5)}return z(r,t,Y(n,k.MinusSign))}}function St(t,i=!1){return function(e,n){let s=zi(e).getFullYear();return z(s,t,Y(n,k.MinusSign),i)}}var _n={};function jr(t){if(_n[t])return _n[t];let i;switch(t){case"G":case"GG":case"GGG":i=E(3,w.Abbreviated);break;case"GGGG":i=E(3,w.Wide);break;case"GGGGG":i=E(3,w.Narrow);break;case"y":i=M(0,1,0,!1,!0);break;case"yy":i=M(0,2,0,!0,!0);break;case"yyy":i=M(0,3,0,!1,!0);break;case"yyyy":i=M(0,4,0,!1,!0);break;case"Y":i=St(1);break;case"YY":i=St(2,!0);break;case"YYY":i=St(3);break;case"YYYY":i=St(4);break;case"M":case"L":i=M(1,1,1);break;case"MM":case"LL":i=M(1,2,1);break;case"MMM":i=E(2,w.Abbreviated);break;case"MMMM":i=E(2,w.Wide);break;case"MMMMM":i=E(2,w.Narrow);break;case"LLL":i=E(2,w.Abbreviated,L.Standalone);break;case"LLLL":i=E(2,w.Wide,L.Standalone);break;case"LLLLL":i=E(2,w.Narrow,L.Standalone);break;case"w":i=Tn(1);break;case"ww":i=Tn(2);break;case"W":i=Tn(1,!0);break;case"d":i=M(2,1);break;case"dd":i=M(2,2);break;case"c":case"cc":i=M(7,1);break;case"ccc":i=E(1,w.Abbreviated,L.Standalone);break;case"cccc":i=E(1,w.Wide,L.Standalone);break;case"ccccc":i=E(1,w.Narrow,L.Standalone);break;case"cccccc":i=E(1,w.Short,L.Standalone);break;case"E":case"EE":case"EEE":i=E(1,w.Abbreviated);break;case"EEEE":i=E(1,w.Wide);break;case"EEEEE":i=E(1,w.Narrow);break;case"EEEEEE":i=E(1,w.Short);break;case"a":case"aa":case"aaa":i=E(0,w.Abbreviated);break;case"aaaa":i=E(0,w.Wide);break;case"aaaaa":i=E(0,w.Narrow);break;case"b":case"bb":case"bbb":i=E(0,w.Abbreviated,L.Standalone,!0);break;case"bbbb":i=E(0,w.Wide,L.Standalone,!0);break;case"bbbbb":i=E(0,w.Narrow,L.Standalone,!0);break;case"B":case"BB":case"BBB":i=E(0,w.Abbreviated,L.Format,!0);break;case"BBBB":i=E(0,w.Wide,L.Format,!0);break;case"BBBBB":i=E(0,w.Narrow,L.Format,!0);break;case"h":i=M(3,1,-12);break;case"hh":i=M(3,2,-12);break;case"H":i=M(3,1);break;case"HH":i=M(3,2);break;case"m":i=M(4,1);break;case"mm":i=M(4,2);break;case"s":i=M(5,1);break;case"ss":i=M(5,2);break;case"S":i=M(6,1);break;case"SS":i=M(6,2);break;case"SSS":i=M(6,3);break;case"Z":case"ZZ":case"ZZZ":i=At(0);break;case"ZZZZZ":i=At(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=At(1);break;case"OOOO":case"ZZZZ":case"zzzz":i=At(2);break;default:return null}return _n[t]=i,i}function Gi(t,i){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?i:e}function Ur(t,i){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+i),t}function $r(t,i,e){let r=t.getTimezoneOffset(),s=Gi(i,r);return Ur(t,-1*(s-r))}function Hr(t){if(Mi(t))return t;if(typeof t=="number"&&!isNaN(t))return new Date(t);if(typeof t=="string"){if(t=t.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(t)){let[r,s=1,o=1]=t.split("-").map(a=>+a);return It(r,s-1,o)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(Or))return Vr(n)}let i=new Date(t);if(!Mi(i))throw new v(2311,!1);return i}function Vr(t){let i=new Date(0),e=0,n=0,r=t[8]?i.setUTCFullYear:i.setFullYear,s=t[8]?i.setUTCHours:i.setHours;t[9]&&(e=Number(t[9]+t[10]),n=Number(t[9]+t[11])),r.call(i,Number(t[1]),Number(t[2])-1,Number(t[3]));let o=Number(t[4]||0)-e,a=Number(t[5]||0)-n,u=Number(t[6]||0),c=Math.floor(parseFloat("0."+(t[7]||0))*1e3);return s.call(i,o,a,u,c),i}function Mi(t){return t instanceof Date&&!isNaN(t.valueOf())}var zr=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Ri=22,Mt=".",tt="0",Gr=";",Zr=",",An="#";function Yr(t,i,e,n,r,s,o=!1){let a="",u=!1;if(!isFinite(t))a=Y(e,k.Infinity);else{let c=Xr(t);o&&(c=Wr(c));let d=i.minInt,l=i.minFrac,m=i.maxFrac;if(s){let F=s.match(zr);if(F===null)throw new v(2306,!1);let $=F[1],C=F[3],H=F[5];$!=null&&(d=Sn($)),C!=null&&(l=Sn(C)),H!=null?m=Sn(H):C!=null&&l>m&&(m=l)}Jr(c,l,m);let D=c.digits,T=c.integerLen,A=c.exponent,g=[];for(u=D.every(F=>!F);T<d;T++)D.unshift(0);for(;T<0;T++)D.unshift(0);T>0?g=D.splice(T,D.length):(g=D,D=[0]);let y=[];for(D.length>=i.lgSize&&y.unshift(D.splice(-i.lgSize,D.length).join(""));D.length>i.gSize;)y.unshift(D.splice(-i.gSize,D.length).join(""));D.length&&y.unshift(D.join("")),a=y.join(Y(e,n)),g.length&&(a+=Y(e,r)+g.join("")),A&&(a+=Y(e,k.Exponential)+"+"+A)}return t<0&&!u?a=i.negPre+a+i.negSuf:a=i.posPre+a+i.posSuf,a}function Zi(t,i,e){let n=ji(i,Fn.Decimal),r=Kr(n,Y(i,k.MinusSign));return Yr(t,r,i,k.Group,k.Decimal,e)}function Kr(t,i="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(Gr),r=n[0],s=n[1],o=r.indexOf(Mt)!==-1?r.split(Mt):[r.substring(0,r.lastIndexOf(tt)+1),r.substring(r.lastIndexOf(tt)+1)],a=o[0],u=o[1]||"";e.posPre=a.substring(0,a.indexOf(An));for(let d=0;d<u.length;d++){let l=u.charAt(d);l===tt?e.minFrac=e.maxFrac=d+1:l===An?e.maxFrac=d+1:e.posSuf+=l}let c=a.split(Zr);if(e.gSize=c[1]?c[1].length:0,e.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,s){let d=r.length-e.posPre.length-e.posSuf.length,l=s.indexOf(An);e.negPre=s.substring(0,l).replace(/'/g,""),e.negSuf=s.slice(l+d).replace(/'/g,"")}else e.negPre=i+e.posPre,e.negSuf=e.posSuf;return e}function Wr(t){if(t.digits[0]===0)return t;let i=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(i===0?t.digits.push(0,0):i===1&&t.digits.push(0),t.integerLen+=2),t}function Xr(t){let i=Math.abs(t)+"",e=0,n,r,s,o,a;for((r=i.indexOf(Mt))>-1&&(i=i.replace(Mt,"")),(s=i.search(/e/i))>0?(r<0&&(r=s),r+=+i.slice(s+1),i=i.substring(0,s)):r<0&&(r=i.length),s=0;i.charAt(s)===tt;s++);if(s===(a=i.length))n=[0],r=1;else{for(a--;i.charAt(a)===tt;)a--;for(r-=s,n=[],o=0;s<=a;s++,o++)n[o]=Number(i.charAt(s))}return r>Ri&&(n=n.splice(0,Ri-1),e=r-1,r=1),{digits:n,exponent:e,integerLen:r}}function Jr(t,i,e){if(i>e)throw new v(2307,!1);let n=t.digits,r=n.length-t.integerLen,s=Math.min(Math.max(i,r),e),o=s+t.integerLen,a=n[o];if(o>0){n.splice(Math.max(t.integerLen,o));for(let l=o;l<n.length;l++)n[l]=0}else{r=Math.max(0,r),t.integerLen=1,n.length=Math.max(1,o=s+1),n[0]=0;for(let l=1;l<o;l++)n[l]=0}if(a>=5)if(o-1<0){for(let l=0;l>o;l--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[o-1]++;for(;r<Math.max(0,s);r++)n.push(0);let u=s!==0,c=i+t.integerLen,d=n.reduceRight(function(l,m,D,T){return m=m+l,T[D]=m<10?m:m-10,u&&(T[D]===0&&D>=c?T.pop():u=!1),m>=10?1:0},0);d&&(n.unshift(d),t.integerLen++)}function Sn(t){let i=parseInt(t);if(isNaN(i))throw new v(2305,!1);return i}var Ot=(()=>{class t{_viewContainer;_context=new Rt;_thenTemplateRef=null;_elseTemplateRef=null;_thenViewRef=null;_elseViewRef=null;constructor(e,n){this._viewContainer=e,this._thenTemplateRef=n}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){Oi(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Oi(e,!1),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngIfUseIfTypeGuard;static ngTemplateGuard_ngIf;static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(O(fn),O(yi))};static \u0275dir=he({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),Rt=class{$implicit=null;ngIf=null};function Oi(t,i){if(t&&!t.createEmbeddedView)throw new v(2020,!1)}var qr=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,n,r){this._ngEl=e,this._differs=n,this._renderer=r}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){let e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,n){let[r,s]=e.split("."),o=r.indexOf("-")===-1?void 0:ye.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,r,s?`${n}${s}`:n,o):this._renderer.removeStyle(this._ngEl.nativeElement,r,o)}_applyChanges(e){e.forEachRemovedItem(n=>this._setStyle(n.key,null)),e.forEachAddedItem(n=>this._setStyle(n.key,n.currentValue)),e.forEachChangedItem(n=>this._setStyle(n.key,n.currentValue))}static \u0275fac=function(n){return new(n||t)(O(_e),O(vn),O(wt))};static \u0275dir=he({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),Qr=(()=>{class t{_viewContainerRef;_viewRef=null;ngTemplateOutletContext=null;ngTemplateOutlet=null;ngTemplateOutletInjector=null;constructor(e){this._viewContainerRef=e}ngOnChanges(e){if(this._shouldRecreateView(e)){let n=this._viewContainerRef;if(this._viewRef&&n.remove(n.indexOf(this._viewRef)),!this.ngTemplateOutlet){this._viewRef=null;return}let r=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,r,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,n,r)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,r):!1,get:(e,n,r)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,r)}})}static \u0275fac=function(n){return new(n||t)(O(fn))};static \u0275dir=he({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[gt]})}return t})();function Lt(t,i){return new v(2100,!1)}var es=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g,ts=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Lt(t,e);return e.replace(es,n=>n[0].toUpperCase()+n.slice(1).toLowerCase())}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=fe({name:"titlecase",type:t,pure:!0})}return t})(),ns=(()=>{class t{transform(e){if(e==null)return null;if(typeof e!="string")throw Lt(t,e);return e.toUpperCase()}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=fe({name:"uppercase",type:t,pure:!0})}return t})(),is="mediumDate",Yi=new b(""),Ki=new b(""),rs=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,n,r){this.locale=e,this.defaultTimezone=n,this.defaultOptions=r}transform(e,n,r,s){if(e==null||e===""||e!==e)return null;try{let o=n??this.defaultOptions?.dateFormat??is,a=r??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Vi(e,o,s||this.locale,a)}catch(o){throw Lt(t,o.message)}}static \u0275fac=function(n){return new(n||t)(O(yn,16),O(Yi,24),O(Ki,24))};static \u0275pipe=fe({name:"date",type:t,pure:!0})}return t})();function ss(t,i){return{key:t,value:i}}var os=(()=>{class t{differs;constructor(e){this.differs=e}differ;keyValues=[];compareFn=Li;transform(e,n=Li){if(!e||!(e instanceof Map)&&typeof e!="object")return null;this.differ??=this.differs.find(e).create();let r=this.differ.diff(e),s=n!==this.compareFn;return r&&(this.keyValues=[],r.forEachItem(o=>{this.keyValues.push(ss(o.key,o.currentValue))})),(r||s)&&(n&&this.keyValues.sort(n),this.compareFn=n),this.keyValues}static \u0275fac=function(n){return new(n||t)(O(vn,16))};static \u0275pipe=fe({name:"keyvalue",type:t,pure:!1})}return t})();function Li(t,i){let e=t.key,n=i.key;if(e===n)return 0;if(e==null)return 1;if(n==null)return-1;if(typeof e=="string"&&typeof n=="string")return e<n?-1:1;if(typeof e=="number"&&typeof n=="number")return e-n;if(typeof e=="boolean"&&typeof n=="boolean")return e<n?-1:1;let r=String(e),s=String(n);return r==s?0:r<s?-1:1}var as=(()=>{class t{_locale;constructor(e){this._locale=e}transform(e,n,r){if(!us(e))return null;r||=this._locale;try{let s=cs(e);return Zi(s,r,n)}catch(s){throw Lt(t,s.message)}}static \u0275fac=function(n){return new(n||t)(O(yn,16))};static \u0275pipe=fe({name:"number",type:t,pure:!0})}return t})();function us(t){return!(t==null||t===""||t!==t)}function cs(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new v(2309,!1);return t}var Wi=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=ve({type:t});static \u0275inj=De({})}return t})();function nt(t,i){i=encodeURIComponent(i);for(let e of t.split(";")){let n=e.indexOf("="),[r,s]=n==-1?[e,""]:[e.slice(0,n),e.slice(n+1)];if(r.trim()===i)return decodeURIComponent(s)}return null}var Ce=class{};function cu(t,i,e){return Ci(t,i,e)}var Mn="browser";function lu(t){return t===Mn}var du=(()=>{class t{static \u0275prov=f({token:t,providedIn:"root",factory:()=>new In(h(S),window)})}return t})(),In=class{document;window;offset=()=>[0,0];constructor(i,e){this.document=i,this.window=e}setOffset(i){Array.isArray(i)?this.offset=()=>i:this.offset=i}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(i,e){this.window.scrollTo(G(_({},e),{left:i[0],top:i[1]}))}scrollToAnchor(i,e){let n=hs(this.document,i);n&&(this.scrollToElement(n,e),n.focus())}setHistoryScrollRestoration(i){try{this.window.history.scrollRestoration=i}catch{console.warn(je(2400,!1))}}scrollToElement(i,e){let n=i.getBoundingClientRect(),r=n.left+this.window.pageXOffset,s=n.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(G(_({},e),{left:r-o[0],top:s-o[1]}))}};function hs(t,i){let e=t.getElementById(i)||t.getElementsByName(i)[0];if(e)return e;if(typeof t.createTreeWalker=="function"&&t.body&&typeof t.body.attachShadow=="function"){let n=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT),r=n.currentNode;for(;r;){let s=r.shadowRoot;if(s){let o=s.getElementById(i)||s.querySelector(`[name="${i}"]`);if(o)return o}r=n.nextNode()}}return null}var Ji=t=>t.src,fs=new b("",{factory:()=>Ji});var Xi=/^((\s*\d+w\s*(,|$)){1,})$/;var ps=[1,2],gs=640;var ms=1920,Ds=1080;var hu=(()=>{class t{imageLoader=h(fs);config=ys(h(dn));renderer=h(wt);imgElement=h(_e).nativeElement;injector=h(ce);destroyRef=h(pt);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;decoding;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){}ngOnInit(){Di("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("decoding",this.getDecoding()),this.setHostAttribute("ng-img","true");let e=this.updateSrcAndSrcset();this.sizes?this.getLoadingBehavior()==="lazy"?this.setHostAttribute("sizes","auto, "+this.sizes):this.setHostAttribute("sizes",this.sizes):this.ngSrcset&&Xi.test(this.ngSrcset)&&this.getLoadingBehavior()==="lazy"&&this.setHostAttribute("sizes","auto, 100vw")}ngOnChanges(e){if(e.ngSrc&&!e.ngSrc.isFirstChange()){let n=this._renderedSrc;this.updateSrcAndSrcset(!0)}}callImageLoader(e){let n=e;return this.loaderParams&&(n.loaderParams=this.loaderParams),this.imageLoader(n)}getLoadingBehavior(){return!this.priority&&this.loading!==void 0?this.loading:this.priority?"eager":"lazy"}getFetchPriority(){return this.priority?"high":"auto"}getDecoding(){return this.priority?"sync":this.decoding??"auto"}getRewrittenSrc(){if(!this._renderedSrc){let e={src:this.ngSrc};this._renderedSrc=this.callImageLoader(e)}return this._renderedSrc}getRewrittenSrcset(){let e=Xi.test(this.ngSrcset);return this.ngSrcset.split(",").filter(r=>r!=="").map(r=>{r=r.trim();let s=e?parseFloat(r):parseFloat(r)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:s})} ${r}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){let{breakpoints:e}=this.config,n=e;return this.sizes?.trim()==="100vw"&&(n=e.filter(s=>s>=gs)),n.map(s=>`${this.callImageLoader({src:this.ngSrc,width:s})} ${s}w`).join(", ")}updateSrcAndSrcset(e=!1){e&&(this._renderedSrc=null);let n=this.getRewrittenSrc();this.setHostAttribute("src",n);let r;return this.ngSrcset?r=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(r=this.getAutomaticSrcset()),r&&this.setHostAttribute("srcset",r),r}getFixedSrcset(){return ps.map(n=>`${this.callImageLoader({src:this.ngSrc,width:this.width*n})} ${n}x`).join(", ")}shouldGenerateAutomaticSrcset(){let e=!1;return this.sizes||(e=this.width>ms||this.height>Ds),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Ji&&!e}generatePlaceholder(e){let{placeholderResolution:n}=this.config;return e===!0?`url(${this.callImageLoader({src:this.ngSrc,width:n,isPlaceholder:!0})})`:typeof e=="string"?`url(${e})`:null}shouldBlurPlaceholder(e){return!e||!e.hasOwnProperty("blur")?!0:!!e.blur}removePlaceholderOnLoad(e){let n=()=>{let o=this.injector.get(Ye);r(),s(),this.placeholder=!1,o.markForCheck()},r=this.renderer.listen(e,"load",n),s=this.renderer.listen(e,"error",n);this.destroyRef.onDestroy(()=>{r(),s()}),vs(e,n)}setHostAttribute(e,n){this.renderer.setAttribute(this.imgElement,e,n)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=he({type:t,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(n,r){n&2&&we("position",r.fill?"absolute":null)("width",r.fill?"100%":null)("height",r.fill?"100%":null)("inset",r.fill?"0":null)("background-size",r.placeholder?"cover":null)("background-position",r.placeholder?"50% 50%":null)("background-repeat",r.placeholder?"no-repeat":null)("background-image",r.placeholder?r.generatePlaceholder(r.placeholder):null)("filter",r.placeholder&&r.shouldBlurPlaceholder(r.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",ws],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",wn],height:[2,"height","height",wn],decoding:"decoding",loading:"loading",priority:[2,"priority","priority",Ke],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",Ke],fill:[2,"fill","fill",Ke],placeholder:[2,"placeholder","placeholder",bs],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[gt]})}return t})();function ys(t){let i={};return t.breakpoints&&(i.breakpoints=t.breakpoints.sort((e,n)=>e-n)),Object.assign({},ui,t,i)}function vs(t,i){t.complete&&t.naturalWidth&&i()}function ws(t){return typeof t=="string"?t:de(t)}function bs(t){return typeof t=="string"&&t!=="true"&&t!=="false"&&t!==""?t:Ke(t)}var it=class{_doc;constructor(i){this._doc=i}manager},Pt=(()=>{class t extends it{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,r,s){return e.addEventListener(n,r,s),()=>this.removeEventListener(e,n,r,s)}removeEventListener(e,n,r,s){return e.removeEventListener(n,r,s)}static \u0275fac=function(n){return new(n||t)(p(S))};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})(),kt=new b(""),Pn=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(o=>{o.manager=this});let r=e.filter(o=>!(o instanceof Pt));this._plugins=r.slice().reverse();let s=e.find(o=>o instanceof Pt);s&&this._plugins.push(s)}addEventListener(e,n,r,s){return this._findPluginFor(n).addEventListener(e,n,r,s)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(s=>s.supports(e)),!n)throw new v(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(p(kt),p(le))};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})(),Rn="ng-app-id";function qi(t){for(let i of t)i.remove()}function Qi(t,i){let e=i.createElement("style");return e.textContent=t,e}function Cs(t,i,e,n){let r=t.head?.querySelectorAll(`style[${Rn}="${i}"],link[${Rn}="${i}"]`);if(r)for(let s of r)s.removeAttribute(Rn),s instanceof HTMLLinkElement?n.set(s.href.slice(s.href.lastIndexOf("/")+1),{usage:0,elements:[s]}):s.textContent&&e.set(s.textContent,{usage:0,elements:[s]})}function Ln(t,i){let e=i.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var Nn=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;constructor(e,n,r,s={}){this.doc=e,this.appId=n,this.nonce=r,Cs(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let r of e)this.addUsage(r,this.inline,Qi);n?.forEach(r=>this.addUsage(r,this.external,Ln))}removeStyles(e,n){for(let r of e)this.removeUsage(r,this.inline);n?.forEach(r=>this.removeUsage(r,this.external))}addUsage(e,n,r){let s=n.get(e);s?s.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(o=>this.addElement(o,r(e,this.doc)))})}removeUsage(e,n){let r=n.get(e);r&&(r.usage--,r.usage<=0&&(qi(r.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])qi(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:r}]of this.inline)r.push(this.addElement(e,Qi(n,this.doc)));for(let[n,{elements:r}]of this.external)r.push(this.addElement(e,Ln(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(p(S),p(cn),p(ln,8),p(Dt))};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})(),On={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/Math/MathML"},xn=/%COMP%/g;var tr="%COMP%",Es=`_nghost-${tr}`,Ts=`_ngcontent-${tr}`,_s=!0,As=new b("",{factory:()=>_s});function Ss(t){return Ts.replace(xn,t)}function Fs(t){return Es.replace(xn,t)}function nr(t,i){return i.map(e=>e.replace(xn,t))}var kn=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;constructor(e,n,r,s,o,a,u=null,c=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=r,this.removeStylesOnCompDestroy=s,this.doc=o,this.ngZone=a,this.nonce=u,this.tracingService=c,this.defaultRenderer=new rt(e,o,a,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;let r=this.getOrCreateRenderer(e,n);return r instanceof xt?r.applyToHost(e):r instanceof st&&r.applyStyles(),r}getOrCreateRenderer(e,n){let r=this.rendererByCompId,s=r.get(n.id);if(!s){let o=this.doc,a=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,d=this.removeStylesOnCompDestroy,l=this.tracingService;switch(n.encapsulation){case yt.Emulated:s=new xt(u,c,n,this.appId,d,o,a,l);break;case yt.ShadowDom:return new Nt(u,e,n,o,a,this.nonce,l,c);case yt.ExperimentalIsolatedShadowDom:return new Nt(u,e,n,o,a,this.nonce,l);default:s=new st(u,c,n,d,o,a,l);break}r.set(n.id,s)}return s}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||t)(p(Pn),p(Nn),p(cn),p(As),p(S),p(le),p(ln),p(vt,8))};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})(),rt=class{eventManager;doc;ngZone;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(i,e,n,r){this.eventManager=i,this.doc=e,this.ngZone=n,this.tracingService=r}destroy(){}destroyNode=null;createElement(i,e){return e?this.doc.createElementNS(On[e]||e,i):this.doc.createElement(i)}createComment(i){return this.doc.createComment(i)}createText(i){return this.doc.createTextNode(i)}appendChild(i,e){(er(i)?i.content:i).appendChild(e)}insertBefore(i,e,n){i&&(er(i)?i.content:i).insertBefore(e,n)}removeChild(i,e){e.remove()}selectRootElement(i,e){let n=typeof i=="string"?this.doc.querySelector(i):i;if(!n)throw new v(-5104,!1);return e||(n.textContent=""),n}parentNode(i){return i.parentNode}nextSibling(i){return i.nextSibling}setAttribute(i,e,n,r){if(r){e=r+":"+e;let s=On[r];s?i.setAttributeNS(s,e,n):i.setAttribute(e,n)}else i.setAttribute(e,n)}removeAttribute(i,e,n){if(n){let r=On[n];r?i.removeAttributeNS(r,e):i.removeAttribute(`${n}:${e}`)}else i.removeAttribute(e)}addClass(i,e){i.classList.add(e)}removeClass(i,e){i.classList.remove(e)}setStyle(i,e,n,r){r&(ye.DashCase|ye.Important)?i.style.setProperty(e,n,r&ye.Important?"important":""):i.style[e]=n}removeStyle(i,e,n){n&ye.DashCase?i.style.removeProperty(e):i.style[e]=""}setProperty(i,e,n){i!=null&&(i[e]=n)}setValue(i,e){i.nodeValue=e}listen(i,e,n,r){if(typeof i=="string"&&(i=te().getGlobalEventTarget(this.doc,i),!i))throw new v(5102,!1);let s=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(s=this.tracingService.wrapEventListener(i,e,s)),this.eventManager.addEventListener(i,e,s,r)}decoratePreventDefault(i){return e=>{if(e==="__ngUnwrap__")return i;i(e)===!1&&e.preventDefault()}}};function er(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Nt=class extends rt{hostEl;sharedStylesHost;shadowRoot;constructor(i,e,n,r,s,o,a,u){super(i,r,s,a),this.hostEl=e,this.sharedStylesHost=u,this.shadowRoot=e.attachShadow({mode:"open"}),this.sharedStylesHost&&this.sharedStylesHost.addHost(this.shadowRoot);let c=n.styles;c=nr(n.id,c);for(let l of c){let m=document.createElement("style");o&&m.setAttribute("nonce",o),m.textContent=l,this.shadowRoot.appendChild(m)}let d=n.getExternalStyles?.();if(d)for(let l of d){let m=Ln(l,r);o&&m.setAttribute("nonce",o),this.shadowRoot.appendChild(m)}}nodeOrShadowRoot(i){return i===this.hostEl?this.shadowRoot:i}appendChild(i,e){return super.appendChild(this.nodeOrShadowRoot(i),e)}insertBefore(i,e,n){return super.insertBefore(this.nodeOrShadowRoot(i),e,n)}removeChild(i,e){return super.removeChild(null,e)}parentNode(i){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(i)))}destroy(){this.sharedStylesHost&&this.sharedStylesHost.removeHost(this.shadowRoot)}},st=class extends rt{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(i,e,n,r,s,o,a,u){super(i,s,o,a),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=r;let c=n.styles;this.styles=u?nr(u,c):c,this.styleUrls=n.getExternalStyles?.(u)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&mi.size===0&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},xt=class extends st{contentAttr;hostAttr;constructor(i,e,n,r,s,o,a,u){let c=r+"-"+n.id;super(i,e,n,s,o,a,u,c),this.contentAttr=Ss(c),this.hostAttr=Fs(c)}applyToHost(i){this.applyStyles(),this.setAttribute(i,this.hostAttr,"")}createElement(i,e){let n=super.createElement(i,e);return super.setAttribute(n,this.contentAttr,""),n}};var Bt=class t extends Je{supportsDOMEvents=!0;static makeCurrent(){Cn(new t)}onAndCancel(i,e,n,r){return i.addEventListener(e,n,r),()=>{i.removeEventListener(e,n,r)}}dispatchEvent(i,e){i.dispatchEvent(e)}remove(i){i.remove()}createElement(i,e){return e=e||this.getDefaultDocument(),e.createElement(i)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(i){return i.nodeType===Node.ELEMENT_NODE}isShadowRoot(i){return i instanceof DocumentFragment}getGlobalEventTarget(i,e){return e==="window"?window:e==="document"?i:e==="body"?i.body:null}getBaseHref(i){let e=Ms();return e==null?null:Rs(e)}resetBaseElement(){ot=null}getUserAgent(){return window.navigator.userAgent}getCookie(i){return nt(document.cookie,i)}},ot=null;function Ms(){return ot=ot||document.head.querySelector("base"),ot?ot.getAttribute("href"):null}function Rs(t){return new URL(t,document.baseURI).pathname}var Os=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})(),ir=["alt","control","meta","shift"],Ls={"\b":"Backspace"," ":"Tab","\x7F":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Ps={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},rr=(()=>{class t extends it{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,r,s){let o=t.parseEventName(n),a=t.eventCallback(o.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>te().onAndCancel(e,o.domEventName,a,s))}static parseEventName(e){let n=e.toLowerCase().split("."),r=n.shift();if(n.length===0||!(r==="keydown"||r==="keyup"))return null;let s=t._normalizeKey(n.pop()),o="",a=n.indexOf("code");if(a>-1&&(n.splice(a,1),o="code."),ir.forEach(c=>{let d=n.indexOf(c);d>-1&&(n.splice(d,1),o+=c+".")}),o+=s,n.length!=0||s.length===0)return null;let u={};return u.domEventName=r,u.fullKey=o,u}static matchEventFullKeyCode(e,n){let r=Ls[e.key]||e.key,s="";return n.indexOf("code.")>-1&&(r=e.code,s="code."),r==null||!r?!1:(r=r.toLowerCase(),r===" "?r="space":r==="."&&(r="dot"),ir.forEach(o=>{if(o!==r){let a=Ps[o];a(e)&&(s+=o+".")}}),s+=r,s===n)}static eventCallback(e,n,r){return s=>{t.matchEventFullKeyCode(s,e)&&r.runGuarded(()=>n(s))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(p(S))};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})();function Ns(t,i,e){let n=_({rootComponent:t,platformRef:e?.platformRef},xs(i));return Ei(n)}function xs(t){return{appProviders:[...$s,...t?.providers??[]],platformProviders:Us}}function ks(){Bt.makeCurrent()}function Bs(){return new an}function js(){return oi(document),document}var Us=[{provide:Dt,useValue:Mn},{provide:ai,useValue:ks,multi:!0},{provide:S,useFactory:js}];var $s=[{provide:ri,useValue:"root"},{provide:an,useFactory:Bs},{provide:kt,useClass:Pt,multi:!0},{provide:kt,useClass:rr,multi:!0},kn,Nn,Pn,{provide:wi,useExisting:kn},{provide:Ce,useClass:Os},[]];var W=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(i){i?typeof i=="string"?this.lazyInit=()=>{this.headers=new Map,i.split(`
|
|
2
|
+
`).forEach(e=>{let n=e.indexOf(":");if(n>0){let r=e.slice(0,n),s=e.slice(n+1).trim();this.addHeaderEntry(r,s)}})}:typeof Headers<"u"&&i instanceof Headers?(this.headers=new Map,i.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(i).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(i){return this.init(),this.headers.has(i.toLowerCase())}get(i){this.init();let e=this.headers.get(i.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(i){return this.init(),this.headers.get(i.toLowerCase())||null}append(i,e){return this.clone({name:i,value:e,op:"a"})}set(i,e){return this.clone({name:i,value:e,op:"s"})}delete(i,e){return this.clone({name:i,value:e,op:"d"})}maybeSetNormalizedName(i,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,i)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(i=>this.applyUpdate(i)),this.lazyUpdate=null))}copyFrom(i){i.init(),Array.from(i.headers.keys()).forEach(e=>{this.headers.set(e,i.headers.get(e)),this.normalizedNames.set(e,i.normalizedNames.get(e))})}clone(i){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([i]),e}applyUpdate(i){let e=i.name.toLowerCase();switch(i.op){case"a":case"s":let n=i.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(i.name,e);let r=(i.op==="a"?this.headers.get(e):void 0)||[];r.push(...n),this.headers.set(e,r);break;case"d":let s=i.value;if(!s)this.headers.delete(e),this.normalizedNames.delete(e);else{let o=this.headers.get(e);if(!o)return;o=o.filter(a=>s.indexOf(a)===-1),o.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,o)}break}}addHeaderEntry(i,e){let n=i.toLowerCase();this.maybeSetNormalizedName(i,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(i,e){let n=(Array.isArray(e)?e:[e]).map(s=>s.toString()),r=i.toLowerCase();this.headers.set(r,n),this.maybeSetNormalizedName(i,r)}forEach(i){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>i(this.normalizedNames.get(e),this.headers.get(e)))}};var $t=class{map=new Map;set(i,e){return this.map.set(i,e),this}get(i){return this.map.has(i)||this.map.set(i,i.defaultValue()),this.map.get(i)}delete(i){return this.map.delete(i),this}has(i){return this.map.has(i)}keys(){return this.map.keys()}},Ht=class{encodeKey(i){return sr(i)}encodeValue(i){return sr(i)}decodeKey(i){return decodeURIComponent(i)}decodeValue(i){return decodeURIComponent(i)}};function Hs(t,i){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(r=>{let s=r.indexOf("="),[o,a]=s==-1?[i.decodeKey(r),""]:[i.decodeKey(r.slice(0,s)),i.decodeValue(r.slice(s+1))],u=e.get(o)||[];u.push(a),e.set(o,u)}),e}var Vs=/%(\d[a-f0-9])/gi,zs={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function sr(t){return encodeURIComponent(t).replace(Vs,(i,e)=>zs[e]??i)}function jt(t){return`${t}`}var ie=class t{map;encoder;updates=null;cloneFrom=null;constructor(i={}){if(this.encoder=i.encoder||new Ht,i.fromString){if(i.fromObject)throw new v(2805,!1);this.map=Hs(i.fromString,this.encoder)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach(e=>{let n=i.fromObject[e],r=Array.isArray(n)?n.map(jt):[jt(n)];this.map.set(e,r)})):this.map=null}has(i){return this.init(),this.map.has(i)}get(i){this.init();let e=this.map.get(i);return e?e[0]:null}getAll(i){return this.init(),this.map.get(i)||null}keys(){return this.init(),Array.from(this.map.keys())}append(i,e){return this.clone({param:i,value:e,op:"a"})}appendAll(i){let e=[];return Object.keys(i).forEach(n=>{let r=i[n];Array.isArray(r)?r.forEach(s=>{e.push({param:n,value:s,op:"a"})}):e.push({param:n,value:r,op:"a"})}),this.clone(e)}set(i,e){return this.clone({param:i,value:e,op:"s"})}delete(i,e){return this.clone({param:i,value:e,op:"d"})}toString(){return this.init(),this.keys().map(i=>{let e=this.encoder.encodeKey(i);return this.map.get(i).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(i=>i!=="").join("&")}clone(i){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(i),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(i=>this.map.set(i,this.cloneFrom.map.get(i))),this.updates.forEach(i=>{switch(i.op){case"a":case"s":let e=(i.op==="a"?this.map.get(i.param):void 0)||[];e.push(jt(i.value)),this.map.set(i.param,e);break;case"d":if(i.value!==void 0){let n=this.map.get(i.param)||[],r=n.indexOf(jt(i.value));r!==-1&&n.splice(r,1),n.length>0?this.map.set(i.param,n):this.map.delete(i.param)}else{this.map.delete(i.param);break}}}),this.cloneFrom=this.updates=null)}};function Gs(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function or(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function ar(t){return typeof Blob<"u"&&t instanceof Blob}function ur(t){return typeof FormData<"u"&&t instanceof FormData}function Zs(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var at="Content-Type",Vt="Accept",lr="text/plain",dr="application/json",hr=`${dr}, ${lr}, */*`,Fe=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(i,e,n,r){this.url=e,this.method=i.toUpperCase();let s;if(Gs(this.method)||r?(this.body=n!==void 0?n:null,s=r):s=n,s){if(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,this.keepalive=!!s.keepalive,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params),s.priority&&(this.priority=s.priority),s.cache&&(this.cache=s.cache),s.credentials&&(this.credentials=s.credentials),typeof s.timeout=="number"){if(s.timeout<1||!Number.isInteger(s.timeout))throw new v(2822,"");this.timeout=s.timeout}s.mode&&(this.mode=s.mode),s.redirect&&(this.redirect=s.redirect),s.integrity&&(this.integrity=s.integrity),s.referrer&&(this.referrer=s.referrer),s.referrerPolicy&&(this.referrerPolicy=s.referrerPolicy),this.transferCache=s.transferCache}if(this.headers??=new W,this.context??=new $t,!this.params)this.params=new ie,this.urlWithParams=e;else{let o=this.params.toString();if(o.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),u=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+u+o}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||or(this.body)||ar(this.body)||ur(this.body)||Zs(this.body)?this.body:this.body instanceof ie?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||ur(this.body)?null:ar(this.body)?this.body.type||null:or(this.body)?null:typeof this.body=="string"?lr:this.body instanceof ie?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?dr:null}clone(i={}){let e=i.method||this.method,n=i.url||this.url,r=i.responseType||this.responseType,s=i.keepalive??this.keepalive,o=i.priority||this.priority,a=i.cache||this.cache,u=i.mode||this.mode,c=i.redirect||this.redirect,d=i.credentials||this.credentials,l=i.referrer||this.referrer,m=i.integrity||this.integrity,D=i.referrerPolicy||this.referrerPolicy,T=i.transferCache??this.transferCache,A=i.timeout??this.timeout,g=i.body!==void 0?i.body:this.body,y=i.withCredentials??this.withCredentials,F=i.reportProgress??this.reportProgress,$=i.headers||this.headers,C=i.params||this.params,H=i.context??this.context;return i.setHeaders!==void 0&&($=Object.keys(i.setHeaders).reduce((oe,X)=>oe.set(X,i.setHeaders[X]),$)),i.setParams&&(C=Object.keys(i.setParams).reduce((oe,X)=>oe.set(X,i.setParams[X]),C)),new t(e,n,g,{params:C,headers:$,context:H,reportProgress:F,responseType:r,withCredentials:y,transferCache:T,keepalive:s,cache:a,priority:o,timeout:A,mode:u,redirect:c,credentials:d,referrer:l,integrity:m,referrerPolicy:D})}},re=(function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t})(re||{}),Ie=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(i,e=200,n="OK"){this.headers=i.headers||new W,this.status=i.status!==void 0?i.status:e,this.statusText=i.statusText||n,this.url=i.url||null,this.redirected=i.redirected,this.responseType=i.responseType,this.ok=this.status>=200&&this.status<300}},ut=class t extends Ie{constructor(i={}){super(i)}type=re.ResponseHeader;clone(i={}){return new t({headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0})}},Me=class t extends Ie{body;constructor(i={}){super(i),this.body=i.body!==void 0?i.body:null}type=re.Response;clone(i={}){return new t({body:i.body!==void 0?i.body:this.body,headers:i.headers||this.headers,status:i.status!==void 0?i.status:this.status,statusText:i.statusText||this.statusText,url:i.url||this.url||void 0,redirected:i.redirected??this.redirected,responseType:i.responseType??this.responseType})}},K=class extends Ie{name="HttpErrorResponse";message;error;ok=!1;constructor(i){super(i,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${i.url||"(unknown url)"}`:this.message=`Http failure response for ${i.url||"(unknown url)"}: ${i.status} ${i.statusText}`,this.error=i.error||null}},fr=200,Ys=204;var Ks=/^\)\]\}',?\n/,pr=new b(""),Ut=(()=>{class t{fetchImpl=h(jn,{optional:!0})?.fetch??((...e)=>globalThis.fetch(...e));ngZone=h(le);destroyRef=h(pt);handle(e){return new qt(n=>{let r=new AbortController;this.doRequest(e,r.signal,n).then(Un,o=>n.error(new K({error:o})));let s;return e.timeout&&(s=this.ngZone.runOutsideAngular(()=>setTimeout(()=>{r.signal.aborted||r.abort(new DOMException("signal timed out","TimeoutError"))},e.timeout))),()=>{s!==void 0&&clearTimeout(s),r.abort()}})}doRequest(e,n,r){return ht(this,null,function*(){let s=this.createRequestInit(e),o;try{let A=this.ngZone.runOutsideAngular(()=>this.fetchImpl(e.urlWithParams,_({signal:n},s)));Ws(A),r.next({type:re.Sent}),o=yield A}catch(A){r.error(new K({error:A,status:A.status??0,statusText:A.statusText,url:e.urlWithParams,headers:A.headers}));return}let a=new W(o.headers),u=o.statusText,c=o.url||e.urlWithParams,d=o.status,l=null;if(e.reportProgress&&r.next(new ut({headers:a,status:d,statusText:u,url:c})),o.body){let A=o.headers.get("content-length"),g=[],y=o.body.getReader(),F=0,$,C,H=typeof Zone<"u"&&Zone.current,oe=!1;if(yield this.ngZone.runOutsideAngular(()=>ht(this,null,function*(){for(;;){if(this.destroyRef.destroyed){yield y.cancel(),oe=!0;break}let{done:xe,value:Jt}=yield y.read();if(xe)break;if(g.push(Jt),F+=Jt.length,e.reportProgress){C=e.responseType==="text"?(C??"")+($??=new TextDecoder).decode(Jt,{stream:!0}):void 0;let ti=()=>r.next({type:re.DownloadProgress,total:A?+A:void 0,loaded:F,partialText:C});H?H.run(ti):ti()}}})),oe){r.complete();return}let X=this.concatChunks(g,F);try{let xe=o.headers.get(at)??"";l=this.parseBody(e,X,xe,d)}catch(xe){r.error(new K({error:xe,headers:new W(o.headers),status:o.status,statusText:o.statusText,url:o.url||e.urlWithParams}));return}}d===0&&(d=l?fr:0);let m=d>=200&&d<300,D=o.redirected,T=o.type;m?(r.next(new Me({body:l,headers:a,status:d,statusText:u,url:c,redirected:D,responseType:T})),r.complete()):r.error(new K({error:l,headers:a,status:d,statusText:u,url:c,redirected:D,responseType:T}))})}parseBody(e,n,r,s){switch(e.responseType){case"json":let o=new TextDecoder().decode(n).replace(Ks,"");if(o==="")return null;try{return JSON.parse(o)}catch(a){if(s<200||s>=300)return o;throw a}case"text":return new TextDecoder().decode(n);case"blob":return new Blob([n],{type:r});case"arraybuffer":return n.buffer}}createRequestInit(e){let n={},r;if(r=e.credentials,e.withCredentials&&(r="include"),e.headers.forEach((s,o)=>n[s]=o.join(",")),e.headers.has(Vt)||(n[Vt]=hr),!e.headers.has(at)){let s=e.detectContentTypeHeader();s!==null&&(n[at]=s)}return{body:e.serializeBody(),method:e.method,headers:n,credentials:r,keepalive:e.keepalive,cache:e.cache,priority:e.priority,mode:e.mode,redirect:e.redirect,referrer:e.referrer,integrity:e.integrity,referrerPolicy:e.referrerPolicy}}concatChunks(e,n){let r=new Uint8Array(n),s=0;for(let o of e)r.set(o,s),s+=o.length;return r}static \u0275fac=function(n){return new(n||t)};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})(),jn=class{};function Un(){}function Ws(t){t.then(Un,Un)}var Xs=/^\)\]\}',?\n/;var $n=(()=>{class t{xhrFactory;tracingService=h(vt,{optional:!0});constructor(e){this.xhrFactory=e}maybePropagateTrace(e){return this.tracingService?.propagate?this.tracingService.propagate(e):e}handle(e){if(e.method==="JSONP")throw new v(-2800,!1);let n=this.xhrFactory;return ae(null).pipe(Be(()=>new qt(s=>{let o=n.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((g,y)=>o.setRequestHeader(g,y.join(","))),e.headers.has(Vt)||o.setRequestHeader(Vt,hr),!e.headers.has(at)){let g=e.detectContentTypeHeader();g!==null&&o.setRequestHeader(at,g)}if(e.timeout&&(o.timeout=e.timeout),e.responseType){let g=e.responseType.toLowerCase();o.responseType=g!=="json"?g:"text"}let a=e.serializeBody(),u=null,c=()=>{if(u!==null)return u;let g=o.statusText||"OK",y=new W(o.getAllResponseHeaders()),F=o.responseURL||e.url;return u=new ut({headers:y,status:o.status,statusText:g,url:F}),u},d=this.maybePropagateTrace(()=>{let{headers:g,status:y,statusText:F,url:$}=c(),C=null;y!==Ys&&(C=typeof o.response>"u"?o.responseText:o.response),y===0&&(y=C?fr:0);let H=y>=200&&y<300;if(e.responseType==="json"&&typeof C=="string"){let oe=C;C=C.replace(Xs,"");try{C=C!==""?JSON.parse(C):null}catch(X){C=oe,H&&(H=!1,C={error:X,text:C})}}H?(s.next(new Me({body:C,headers:g,status:y,statusText:F,url:$||void 0})),s.complete()):s.error(new K({error:C,headers:g,status:y,statusText:F,url:$||void 0}))}),l=this.maybePropagateTrace(g=>{let{url:y}=c(),F=new K({error:g,status:o.status||0,statusText:o.statusText||"Unknown Error",url:y||void 0});s.error(F)}),m=l;e.timeout&&(m=this.maybePropagateTrace(g=>{let{url:y}=c(),F=new K({error:new DOMException("Request timed out","TimeoutError"),status:o.status||0,statusText:o.statusText||"Request timeout",url:y||void 0});s.error(F)}));let D=!1,T=this.maybePropagateTrace(g=>{D||(s.next(c()),D=!0);let y={type:re.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),e.responseType==="text"&&o.responseText&&(y.partialText=o.responseText),s.next(y)}),A=this.maybePropagateTrace(g=>{let y={type:re.UploadProgress,loaded:g.loaded};g.lengthComputable&&(y.total=g.total),s.next(y)});return o.addEventListener("load",d),o.addEventListener("error",l),o.addEventListener("timeout",m),o.addEventListener("abort",l),e.reportProgress&&(o.addEventListener("progress",T),a!==null&&o.upload&&o.upload.addEventListener("progress",A)),o.send(a),s.next({type:re.Sent}),()=>{o.removeEventListener("error",l),o.removeEventListener("abort",l),o.removeEventListener("load",d),o.removeEventListener("timeout",m),e.reportProgress&&(o.removeEventListener("progress",T),a!==null&&o.upload&&o.upload.removeEventListener("progress",A)),o.readyState!==o.DONE&&o.abort()}})))}static \u0275fac=function(n){return new(n||t)(p(Ce))};static \u0275prov=f({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function gr(t,i){return i(t)}function Js(t,i){return(e,n)=>i.intercept(e,{handle:r=>t(r,n)})}function qs(t,i,e){return(n,r)=>si(e,()=>i(n,s=>t(s,r)))}var mr=new b(""),Hn=new b("",{factory:()=>[]}),Dr=new b(""),Vn=new b("",{factory:()=>!0});function Qs(){let t=null;return(i,e)=>{t===null&&(t=(h(mr,{optional:!0})??[]).reduceRight(Js,gr));let n=h(un);if(h(Vn)){let s=n.add();return t(i,e).pipe(tn(s))}else return t(i,e)}}var Gt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=f({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=p($n),r},providedIn:"root"})}return t})();var zt=(()=>{class t{backend;injector;chain=null;pendingTasks=h(un);contributeToStability=h(Vn);constructor(e,n){this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(Hn),...this.injector.get(Dr,[])]));this.chain=n.reduceRight((r,s)=>qs(r,s,this.injector),gr)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,r=>this.backend.handle(r)).pipe(tn(n))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(p(Gt),p(rn))};static \u0275prov=f({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),zn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=f({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=p(zt),r},providedIn:"root"})}return t})();function Bn(t,i){return{body:i,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,credentials:t.credentials,transferCache:t.transferCache,timeout:t.timeout,keepalive:t.keepalive,priority:t.priority,cache:t.cache,mode:t.mode,redirect:t.redirect,integrity:t.integrity,referrer:t.referrer,referrerPolicy:t.referrerPolicy}}var Zt=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,r={}){let s;if(e instanceof Fe)s=e;else{let u;r.headers instanceof W?u=r.headers:u=new W(r.headers);let c;r.params&&(r.params instanceof ie?c=r.params:c=new ie({fromObject:r.params})),s=new Fe(e,n,r.body!==void 0?r.body:null,{headers:u,context:r.context,params:c,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials,transferCache:r.transferCache,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,credentials:r.credentials,referrer:r.referrer,referrerPolicy:r.referrerPolicy,integrity:r.integrity,timeout:r.timeout})}let o=ae(s).pipe(ft(u=>this.handler.handle(u)));if(e instanceof Fe||r.observe==="events")return o;let a=o.pipe(ii(u=>u instanceof Me));switch(r.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return a.pipe(ue(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new v(2806,!1);return u.body}));case"blob":return a.pipe(ue(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new v(2807,!1);return u.body}));case"text":return a.pipe(ue(u=>{if(u.body!==null&&typeof u.body!="string")throw new v(2808,!1);return u.body}));case"json":default:return a.pipe(ue(u=>u.body))}case"response":return a;default:throw new v(2809,!1)}}delete(e,n={}){return this.request("DELETE",e,n)}get(e,n={}){return this.request("GET",e,n)}head(e,n={}){return this.request("HEAD",e,n)}jsonp(e,n){return this.request("JSONP",e,{params:new ie().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,r={}){return this.request("PATCH",e,Bn(r,n))}post(e,n,r={}){return this.request("POST",e,Bn(r,n))}put(e,n,r={}){return this.request("PUT",e,Bn(r,n))}static \u0275fac=function(n){return new(n||t)(p(zn))};static \u0275prov=f({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var eo=new b("",{factory:()=>!0}),to="XSRF-TOKEN",no=new b("",{factory:()=>to}),io="X-XSRF-TOKEN",ro=new b("",{providedIn:"root",factory:()=>io}),so=(()=>{class t{cookieName=h(no);doc=h(S);lastCookieString="";lastToken=null;parseCount=0;getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=nt(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)};static \u0275prov=f({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),yr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=f({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=p(so),r},providedIn:"root"})}return t})();function oo(t,i){if(!h(eo)||t.method==="GET"||t.method==="HEAD")return i(t);try{let r=h(Se).href,{origin:s}=new URL(r),{origin:o}=new URL(t.url,s);if(s!==o)return i(t)}catch{return i(t)}let e=h(yr).getToken(),n=h(ro);return e!=null&&!t.headers.has(n)&&(t=t.clone({headers:t.headers.set(n,e)})),i(t)}var Yt=(function(t){return t[t.Interceptors=0]="Interceptors",t[t.LegacyInterceptors=1]="LegacyInterceptors",t[t.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",t[t.NoXsrfProtection=3]="NoXsrfProtection",t[t.JsonpSupport=4]="JsonpSupport",t[t.RequestsMadeViaParent=5]="RequestsMadeViaParent",t[t.Fetch=6]="Fetch",t})(Yt||{});function vr(t,i){return{\u0275kind:t,\u0275providers:i}}function ao(...t){let i=[Zt,zt,{provide:zn,useExisting:zt},{provide:Gt,useFactory:()=>h(pr,{optional:!0})??h($n)},{provide:Hn,useValue:oo,multi:!0}];for(let e of t)i.push(...e.\u0275providers);return Ue(i)}var cr=new b("");function uo(){return vr(Yt.LegacyInterceptors,[{provide:cr,useFactory:Qs},{provide:Hn,useExisting:cr,multi:!0}])}function co(){return vr(Yt.Fetch,[Ut,{provide:pr,useExisting:Ut},{provide:Gt,useExisting:Ut}])}var kc=(()=>{class t{_doc;constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static \u0275fac=function(n){return new(n||t)(p(S))};static \u0275prov=f({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Gn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=f({token:t,factory:function(n){let r=null;return n?r=new(n||t):r=p(lo),r},providedIn:"root"})}return t})(),lo=(()=>{class t extends Gn{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case J.NONE:return n;case J.HTML:return Ae(n,"HTML")?de(n):gi(this._doc,String(n)).toString();case J.STYLE:return Ae(n,"Style")?de(n):n;case J.SCRIPT:if(Ae(n,"Script"))return de(n);throw new v(5200,!1);case J.URL:return Ae(n,"URL")?de(n):pi(String(n));case J.RESOURCE_URL:if(Ae(n,"ResourceURL"))return de(n);throw new v(5201,!1);default:throw new v(5202,!1)}}bypassSecurityTrustHtml(e){return ci(e)}bypassSecurityTrustStyle(e){return li(e)}bypassSecurityTrustScript(e){return di(e)}bypassSecurityTrustUrl(e){return hi(e)}bypassSecurityTrustResourceUrl(e){return fi(e)}static \u0275fac=function(n){return new(n||t)(p(S))};static \u0275prov=f({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var dt=class{},fo=(()=>{class t{handle(e){return e.key}static \u0275fac=function(n){return new(n||t)};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})(),Re=class{},po=(()=>{class t extends Re{compile(e,n){return e}compileTranslations(e,n){return e}static \u0275fac=(()=>{let e;return function(r){return(e||(e=mt(t)))(r||t)}})();static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})(),Oe=class{},go=(()=>{class t extends Oe{getTranslation(e){return ae({})}static \u0275fac=(()=>{let e;return function(r){return(e||(e=mt(t)))(r||t)}})();static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})();function Kt(t,i){if(t===i)return!0;if(t===null||i===null)return!1;if(t!==t&&i!==i)return!0;let e=typeof t,n=typeof i,r;if(e==n&&e=="object")if(Array.isArray(t)){if(!Array.isArray(i))return!1;if((r=t.length)==i.length){for(let s=0;s<r;s++)if(!Kt(t[s],i[s]))return!1;return!0}}else{if(Array.isArray(i))return!1;if(se(t)&&se(i)){let s=Object.create(null);for(let o in t){if(!Kt(t[o],i[o]))return!1;s[o]=!0}for(let o in i)if(!(o in s)&&typeof i[o]<"u")return!1;return!0}}return!1}function ge(t){return typeof t<"u"&&t!==null}function wr(t){return t!==void 0}function se(t){return lt(t)&&!Ee(t)&&t!==null}function lt(t){return typeof t=="object"&&t!==null}function Ee(t){return Array.isArray(t)}function Wt(t){return typeof t=="string"}function mo(t){return typeof t=="function"}function Xt(t){if(Ee(t))return t.map(i=>Xt(i));if(se(t)){let i={};return Object.keys(t).forEach(e=>{i[e]=Xt(t[e])}),i}else return t}function Wn(t,i){if(!lt(t))return Xt(i);let e=Xt(t);return lt(e)&<(i)&&Object.keys(i).forEach(n=>{se(i[n])?n in t?e[n]=Wn(t[n],i[n]):Object.assign(e,{[n]:i[n]}):Object.assign(e,{[n]:i[n]})}),e}function br(t,i){let e=i.split(".");i="";do{i+=e.shift();let n=!e.length;if(ge(t)){if(se(t)&&wr(t[i])&&(se(t[i])||Ee(t[i])||n)){t=t[i],i="";continue}if(Ee(t)){let r=parseInt(i,10);if(wr(t[r])&&(se(t[r])||Ee(t[r])||n)){t=t[r],i="";continue}}}if(n){t=void 0;continue}i+="."}while(e.length);return t}function Do(t,i,e){return Wn(t,yo(i,e))}function yo(t,i){return t.split(".").reduceRight((e,n)=>({[n]:e}),i)}var Le=class{},vo=(()=>{class t extends Le{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,n){if(Wt(e))return this.interpolateString(e,n);if(mo(e))return this.interpolateFunction(e,n)}interpolateFunction(e,n){return e(n)}interpolateString(e,n){return n?e.replace(this.templateMatcher,(r,s)=>{let o=this.getInterpolationReplacement(n,s);return o!==void 0?o:r}):e}getInterpolationReplacement(e,n){return this.formatValue(br(e,n))}formatValue(e){if(Wt(e))return e;if(typeof e=="number"||typeof e=="boolean")return e.toString();if(e===null)return"null";if(Ee(e))return e.join(", ");if(lt(e))return typeof e.toString=="function"&&e.toString!==Object.prototype.toString?e.toString():JSON.stringify(e)}static \u0275fac=(()=>{let e;return function(r){return(e||(e=mt(t)))(r||t)}})();static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})(),Zn=(()=>{class t{_onTranslationChange=new N;_onLangChange=new N;_onFallbackLangChange=new N;fallbackLang=null;currentLang;translations={};languages=[];getTranslations(e){return this.translations[e]}setTranslations(e,n,r){this.translations[e]=r&&this.hasTranslationFor(e)?Wn(this.translations[e],n):n,this.addLanguages([e]),this._onTranslationChange.next({lang:e,translations:this.getTranslations(e)})}getLanguages(){return this.languages}getCurrentLang(){return this.currentLang}getFallbackLang(){return this.fallbackLang}setFallbackLang(e,n=!0){this.fallbackLang=e,n&&this._onFallbackLangChange.next({lang:e,translations:this.translations[e]})}setCurrentLang(e,n=!0){this.currentLang=e,n&&this._onLangChange.next({lang:e,translations:this.translations[e]})}get onTranslationChange(){return this._onTranslationChange.asObservable()}get onLangChange(){return this._onLangChange.asObservable()}get onFallbackLangChange(){return this._onFallbackLangChange.asObservable()}addLanguages(e){this.languages=Array.from(new Set([...this.languages,...e]))}hasTranslationFor(e){return typeof this.translations[e]<"u"}deleteTranslations(e){delete this.translations[e]}getTranslation(e){let n=this.getValue(this.currentLang,e);return n===void 0&&this.fallbackLang!=null&&this.fallbackLang!==this.currentLang&&(n=this.getValue(this.fallbackLang,e)),n}getValue(e,n){return br(this.getTranslations(e),n)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})(),Yn=new b("TRANSLATE_CONFIG"),ct=t=>me(t)?t:ae(t);var Kn=(()=>{class t{loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;currentLoader=h(Oe);compiler=h(Re);parser=h(Le);missingTranslationHandler=h(dt);store=h(Zn);extend=!1;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onFallbackLangChange(){return this.store.onFallbackLangChange}get onDefaultLangChange(){return this.store.onFallbackLangChange}constructor(){let e=_({extend:!1,fallbackLang:null},h(Yn,{optional:!0}));e.lang&&this.use(e.lang),e.fallbackLang&&this.setFallbackLang(e.fallbackLang),e.extend&&(this.extend=!0)}setFallbackLang(e){this.getFallbackLang()||this.store.setFallbackLang(e,!1);let n=this.loadOrExtendLanguage(e);return me(n)?(n.pipe(ke(1)).subscribe({next:()=>{this.store.setFallbackLang(e)},error:()=>{}}),n):(this.store.setFallbackLang(e),ae(this.store.getTranslations(e)))}use(e){this.lastUseLanguage=e,this.getCurrentLang()||this.store.setCurrentLang(e,!1);let n=this.loadOrExtendLanguage(e);return me(n)?(n.pipe(ke(1)).subscribe({next:()=>{this.changeLang(e)},error:()=>{}}),n):(this.changeLang(e),ae(this.store.getTranslations(e)))}loadOrExtendLanguage(e){if(!this.store.hasTranslationFor(e)||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}changeLang(e){e===this.lastUseLanguage&&this.store.setCurrentLang(e)}getCurrentLang(){return this.store.getCurrentLang()}loadAndCompileTranslations(e){this.pending=!0;let n=this.currentLoader.getTranslation(e).pipe(nn(1),ke(1));return this.loadingTranslations=n.pipe(ue(r=>this.compiler.compileTranslations(r,e)),nn(1),ke(1)),this.loadingTranslations.subscribe({next:r=>{this.store.setTranslations(e,r,this.extend),this.pending=!1},error:r=>{this.pending=!1}}),n}setTranslation(e,n,r=!1){let s=this.compiler.compileTranslations(n,e);this.store.setTranslations(e,s,r||this.extend)}getLangs(){return this.store.getLanguages()}addLangs(e){this.store.addLanguages(e)}getParsedResultForKey(e,n){let r=this.getTextToInterpolate(e);if(ge(r))return this.runInterpolation(r,n);let s=this.missingTranslationHandler.handle(_({key:e,translateService:this},n!==void 0&&{interpolateParams:n}));return s!==void 0?s:e}getFallbackLang(){return this.store.getFallbackLang()}getTextToInterpolate(e){return this.store.getTranslation(e)}runInterpolation(e,n){if(ge(e))return Ee(e)?this.runInterpolationOnArray(e,n):se(e)?this.runInterpolationOnDict(e,n):this.parser.interpolate(e,n)}runInterpolationOnArray(e,n){return e.map(r=>this.runInterpolation(r,n))}runInterpolationOnDict(e,n){let r={};for(let s in e){let o=this.runInterpolation(e[s],n);o!==void 0&&(r[s]=o)}return r}getParsedResult(e,n){return e instanceof Array?this.getParsedResultForArray(e,n):this.getParsedResultForKey(e,n)}getParsedResultForArray(e,n){let r={},s=!1;for(let a of e)r[a]=this.getParsedResultForKey(a,n),s=s||me(r[a]);if(!s)return r;let o=e.map(a=>ct(r[a]));return ni(o).pipe(ue(a=>{let u={};return a.forEach((c,d)=>{u[e[d]]=c}),u}))}get(e,n){if(!ge(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(ft(()=>ct(this.getParsedResult(e,n)))):ct(this.getParsedResult(e,n))}getStreamOnTranslationChange(e,n){if(!ge(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return Qt(en(()=>this.get(e,n)),this.onTranslationChange.pipe(Be(()=>{let r=this.getParsedResult(e,n);return ct(r)})))}stream(e,n){if(!ge(e)||!e.length)throw new Error('Parameter "key" required');return Qt(en(()=>this.get(e,n)),this.onLangChange.pipe(Be(()=>{let r=this.getParsedResult(e,n);return ct(r)})))}instant(e,n){if(!ge(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let r=this.getParsedResult(e,n);return me(r)?Array.isArray(e)?e.reduce((s,o)=>(s[o]=o,s),{}):e:r}set(e,n,r=this.getCurrentLang()){this.store.setTranslations(r,Do(this.store.getTranslations(r),e,Wt(n)?this.compiler.compile(n,r):this.compiler.compileTranslations(n,r)),!1)}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}resetLang(e){delete this._translationRequests[e],this.store.deleteTranslations(e)}static getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}static getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}getBrowserLang(){return t.getBrowserLang()}getBrowserCultureLang(){return t.getBrowserCultureLang()}get defaultLang(){return this.getFallbackLang()}get currentLang(){return this.store.getCurrentLang()}get langs(){return this.store.getLanguages()}setDefaultLang(e){return this.setFallbackLang(e)}getDefaultLang(){return this.getFallbackLang()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})();var Yc=(()=>{class t{translate=h(Kn);_ref=h(Ye);value="";lastKey=null;lastParams=[];onTranslationChange;onLangChange;onFallbackLangChange;updateValue(e,n,r){let s=o=>{this.value=o!==void 0?o:e,this.lastKey=e,this._ref.markForCheck()};if(r){let o=this.translate.getParsedResult(e,n);me(o)?o.subscribe(s):s(o)}this.translate.get(e,n).subscribe(s)}transform(e,...n){if(!e||!e.length)return e;if(Kt(e,this.lastKey)&&Kt(n,this.lastParams))return this.value;let r;if(ge(n[0])&&n.length)if(Wt(n[0])&&n[0].length){let s=n[0].replace(/(')?([a-zA-Z0-9_]+)(')?(\s)?:/g,'"$2":').replace(/:(\s)?(')(.*?)(')/g,':"$3"');try{r=JSON.parse(s)}catch(o){throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${n[0]}`)}}else se(n[0])&&(r=n[0]);return this.lastKey=e,this.lastParams=n,this.updateValue(e,r),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(s=>{(this.lastKey&&s.lang===this.translate.getCurrentLang()||s.lang===this.translate.getFallbackLang())&&(this.lastKey=null,this.updateValue(e,r,s.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(s=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r,s.translations))})),this.onFallbackLangChange||(this.onFallbackLangChange=this.translate.onFallbackLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(e,r))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onFallbackLangChange<"u"&&(this.onFallbackLangChange.unsubscribe(),this.onFallbackLangChange=void 0)}ngOnDestroy(){this._dispose()}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=fe({name:"translate",type:t,pure:!1});static \u0275prov=f({token:t,factory:t.\u0275fac})}return t})();function wo(t){return{provide:Oe,useClass:t}}function bo(t){return{provide:Re,useClass:t}}function Co(t){return{provide:Le,useClass:t}}function Eo(t){return{provide:dt,useClass:t}}function Kc(t={}){return To(_({compiler:bo(po),parser:Co(vo),loader:wo(go),missingTranslationHandler:Eo(fo)},t),!0)}function To(t={},i){let e=[];t.loader&&e.push(t.loader),t.compiler&&e.push(t.compiler),t.parser&&e.push(t.parser),t.missingTranslationHandler&&e.push(t.missingTranslationHandler),i&&e.push(Zn),(t.useDefaultLang||t.defaultLanguage)&&(console.warn("The `useDefaultLang` and `defaultLanguage` options are deprecated. Please use `fallbackLang` instead."),t.useDefaultLang===!0&&t.defaultLanguage&&(t.fallbackLang=t.defaultLanguage));let n={fallbackLang:t.fallbackLang??null,lang:t.lang,extend:t.extend??!1};return e.push({provide:Yn,useValue:n}),e.push({provide:Kn,useClass:Kn,deps:[Zn,Oe,Re,Le,dt,Yn]}),e}var Cr=["toast-component",""];function _o(t,i){if(t&1){let e=Dn();V(0,"button",5),Ze("click",function(){sn(e);let r=j();return on(r.remove())}),V(1,"span",6),ee(2,"\xD7"),q()()}}function Ao(t,i){if(t&1&&(gn(0),ee(1),mn()),t&2){let e=j(2);R(),be("[",e.duplicatesCount+1,"]")}}function So(t,i){if(t&1&&(V(0,"div"),ee(1),He(2,Ao,2,1,"ng-container",4),q()),t&2){let e=j();Q(e.options.titleClass),ze("aria-label",e.title),R(),be(" ",e.title," "),R(),P("ngIf",e.duplicatesCount)}}function Fo(t,i){if(t&1&&Ge(0,"div",7),t&2){let e=j();Q(e.options.messageClass),P("innerHTML",e.message,hn)}}function Io(t,i){if(t&1&&(V(0,"div",8),ee(1),q()),t&2){let e=j();Q(e.options.messageClass),ze("aria-label",e.message),R(),be(" ",e.message," ")}}function Mo(t,i){if(t&1&&(V(0,"div"),Ge(1,"div",9),q()),t&2){let e=j();R(),we("width",e.width()+"%")}}function Ro(t,i){if(t&1){let e=Dn();V(0,"button",5),Ze("click",function(){sn(e);let r=j();return on(r.remove())}),V(1,"span",6),ee(2,"\xD7"),q()()}}function Oo(t,i){if(t&1&&(gn(0),ee(1),mn()),t&2){let e=j(2);R(),be("[",e.duplicatesCount+1,"]")}}function Lo(t,i){if(t&1&&(V(0,"div"),ee(1),He(2,Oo,2,1,"ng-container",4),q()),t&2){let e=j();Q(e.options.titleClass),ze("aria-label",e.title),R(),be(" ",e.title," "),R(),P("ngIf",e.duplicatesCount)}}function Po(t,i){if(t&1&&Ge(0,"div",7),t&2){let e=j();Q(e.options.messageClass),P("innerHTML",e.message,hn)}}function No(t,i){if(t&1&&(V(0,"div",8),ee(1),q()),t&2){let e=j();Q(e.options.messageClass),ze("aria-label",e.message),R(),be(" ",e.message," ")}}function xo(t,i){if(t&1&&(V(0,"div"),Ge(1,"div",9),q()),t&2){let e=j();R(),we("width",e.width()+"%")}}var Xn=class{_attachedHost;component;viewContainerRef;injector;constructor(i,e){this.component=i,this.injector=e}attach(i,e){return this._attachedHost=i,i.attach(this,e)}detach(){let i=this._attachedHost;if(i)return this._attachedHost=void 0,i.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(i){this._attachedHost=i}},Jn=class{_attachedPortal;_disposeFn;attach(i,e){return this._attachedPortal=i,this.attachComponentPortal(i,e)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(i){this._disposeFn=i}},qn=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new N;_activate=new N;_manualClose=new N;_resetTimeout=new N;_countDuplicate=new N;constructor(i){this._overlayRef=i}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(i,e){i&&this._resetTimeout.next(),e&&this._countDuplicate.next(++this.duplicatesCount)}},Pe=class{toastId;config;message;title;toastType;toastRef;_onTap=new N;_onAction=new N;constructor(i,e,n,r,s,o){this.toastId=i,this.config=e,this.message=n,this.title=r,this.toastType=s,this.toastRef=o,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(i){this._onAction.next(i)}onAction(){return this._onAction.asObservable()}},Er={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},Tr=new b("ToastConfig"),Qn=class extends Jn{_hostDomElement;_componentFactoryResolver;_appRef;constructor(i,e,n){super(),this._hostDomElement=i,this._componentFactoryResolver=e,this._appRef=n}attachComponentPortal(i,e){let n=this._componentFactoryResolver.resolveComponentFactory(i.component),r;return r=n.create(i.injector),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.detachView(r.hostView),r.destroy()}),e?this._hostDomElement.insertBefore(this._getComponentRootNode(r),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(r)),r}_getComponentRootNode(i){return i.hostView.rootNodes[0]}},ko=(()=>{class t{_document=h(S);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e=this._document.createElement("div");e.classList.add("overlay-container"),e.setAttribute("aria-live","polite"),this._document.body.appendChild(e),this._containerElement=e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=f({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ei=class{_portalHost;constructor(i){this._portalHost=i}attach(i,e=!0){return this._portalHost.attach(i,e)}detach(){return this._portalHost.detach()}},Bo=(()=>{class t{_overlayContainer=h(ko);_componentFactoryResolver=h(vi);_appRef=h(Ve);_document=h(S);_paneElements=new Map;create(e,n){return this._createOverlayRef(this.getPaneElement(e,n))}getPaneElement(e="",n){return this._paneElements.get(n)||this._paneElements.set(n,{}),this._paneElements.get(n)[e]||(this._paneElements.get(n)[e]=this._createPaneElement(e,n)),this._paneElements.get(n)[e]}_createPaneElement(e,n){let r=this._document.createElement("div");return r.id="toast-container",r.classList.add(e),r.classList.add("toast-container"),n?n.getContainerElement().appendChild(r):this._overlayContainer.getContainerElement().appendChild(r),r}_createPortalHost(e){return new Qn(e,this._componentFactoryResolver,this._appRef)}_createOverlayRef(e){return new ei(this._createPortalHost(e))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=f({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),_r=(()=>{class t{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(e,n,r,s,o){this.overlay=n,this._injector=r,this.sanitizer=s,this.ngZone=o,this.toastrConfig=_(_({},e.default),e.config),e.config.iconClasses&&(this.toastrConfig.iconClasses=_(_({},e.default.iconClasses),e.config.iconClasses))}show(e,n,r={},s=""){return this._preBuildNotification(s,e,n,this.applyConfig(r))}success(e,n,r={}){let s=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(s,e,n,this.applyConfig(r))}error(e,n,r={}){let s=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(s,e,n,this.applyConfig(r))}info(e,n,r={}){let s=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(s,e,n,this.applyConfig(r))}warning(e,n,r={}){let s=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(s,e,n,this.applyConfig(r))}clear(e){for(let n of this.toasts)if(e!==void 0){if(n.toastId===e){n.toastRef.manualClose();return}}else n.toastRef.manualClose()}remove(e){let n=this._findToast(e);if(!n||(n.activeToast.toastRef.close(),this.toasts.splice(n.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let r=this.toasts[this.currentlyActive].toastRef;r.isInactive()||(this.currentlyActive=this.currentlyActive+1,r.activate())}return!0}findDuplicate(e="",n="",r,s){let{includeTitleDuplicates:o}=this.toastrConfig;for(let a of this.toasts){let u=o&&a.title===e;if((!o||u)&&a.message===n)return a.toastRef.onDuplicate(r,s),a}return null}applyConfig(e={}){return _(_({},this.toastrConfig),e)}_findToast(e){for(let n=0;n<this.toasts.length;n++)if(this.toasts[n].toastId===e)return{index:n,activeToast:this.toasts[n]};return null}_preBuildNotification(e,n,r,s){return s.onActivateTick?this.ngZone.run(()=>this._buildNotification(e,n,r,s)):this._buildNotification(e,n,r,s)}_buildNotification(e,n,r,s){if(!s.toastComponent)throw new Error("toastComponent required");let o=this.findDuplicate(r,n,this.toastrConfig.resetTimeoutOnDuplicate&&s.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&r||n)&&this.toastrConfig.preventDuplicates&&o!==null)return o;this.previousToastMessage=n;let a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let u=this.overlay.create(s.positionClass,this.overlayContainer);this.index=this.index+1;let c=n;n&&s.enableHtml&&(c=this.sanitizer.sanitize(J.HTML,n));let d=new qn(u),l=new Pe(this.index,s,c,r,e,d),m=[{provide:Pe,useValue:l}],D=ce.create({providers:m,parent:this._injector}),T=new Xn(s.toastComponent,D),A=u.attach(T,s.newestOnTop);d.componentInstance=A.instance;let g={toastId:this.index,title:r||"",message:n||"",toastRef:d,onShown:d.afterActivate(),onHidden:d.afterClosed(),onTap:l.onTap(),onAction:l.onAction(),portal:A};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{g.toastRef.activate()})),this.toasts.push(g),g}static \u0275fac=function(n){return new(n||t)(p(Tr),p(Bo),p(ce),p(Gn),p(le))};static \u0275prov=f({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),jo=(()=>{class t{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=$e(-1);toastClasses="";state;get _state(){return this.state()}get displayStyle(){if(this.state().value==="inactive")return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(e,n,r){this.toastrService=e,this.toastPackage=n,this.ngZone=r,this.message=n.message,this.title=n.title,this.options=n.config,this.originalTimeout=n.config.timeOut,this.toastClasses=`${n.toastType} ${n.config.toastClass}`,this.sub=n.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=n.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=n.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=n.toastRef.countDuplicate().subscribe(s=>{this.duplicatesCount=s}),this.state=$e({value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.update(e=>G(_({},e),{value:"active"})),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let e=new Date().getTime(),n=this.hideTime-e;this.width.set(n/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(r=>100-r),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.update(e=>G(_({},e),{value:"active"})),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){this.state().value!=="removed"&&(clearTimeout(this.timeout),this.state.update(e=>G(_({},e),{value:"removed"})),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){this.state().value!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state().value!=="removed"&&this.options.disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state().value==="removed"||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(e,n){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(e),n)):this.timeout=setTimeout(()=>e(),n)}outsideInterval(e,n){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(e),n)):this.intervalId=setInterval(()=>e(),n)}runInsideAngular(e){this.ngZone?this.ngZone.run(()=>e()):e()}static \u0275fac=function(n){return new(n||t)(O(_r),O(Pe),O(le))};static \u0275cmp=pn({type:t,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(n,r){n&1&&Ze("click",function(){return r.tapToast()})("mouseenter",function(){return r.stickAround()})("mouseleave",function(){return r.delayedHideToast()}),n&2&&(bi("@flyInOut",r._state),Q(r.toastClasses),we("display",r.displayStyle))},attrs:Cr,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(n,r){n&1&&He(0,_o,3,0,"button",0)(1,So,3,5,"div",1)(2,Fo,1,3,"div",2)(3,Io,2,4,"div",3)(4,Mo,2,2,"div",4),n&2&&(P("ngIf",r.options.closeButton),R(),P("ngIf",r.title),R(),P("ngIf",r.message&&r.options.enableHtml),R(),P("ngIf",r.message&&!r.options.enableHtml),R(),P("ngIf",r.options.progressBar))},dependencies:[Ot],encapsulation:2,data:{animation:[bn("flyInOut",[Xe("inactive",We({opacity:0})),Xe("active",We({opacity:1})),Xe("removed",We({opacity:0})),Ct("inactive => active",bt("{{ easeTime }}ms {{ easing }}")),Ct("active => removed",bt("{{ easeTime }}ms {{ easing }}"))])]},changeDetection:0})}return t})(),Uo=G(_({},Er),{toastComponent:jo}),El=(t={})=>Ue([{provide:Tr,useValue:{default:Uo,config:t}}]);var $o=(()=>{class t{toastrService;toastPackage;appRef;message;title;options;duplicatesCount;originalTimeout;width=$e(-1);toastClasses="";get displayStyle(){return this.state()==="inactive"?"none":null}state=$e("inactive");timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(e,n,r){this.toastrService=e,this.toastPackage=n,this.appRef=r,this.message=n.message,this.title=n.title,this.options=n.config,this.originalTimeout=n.config.timeOut,this.toastClasses=`${n.toastType} ${n.config.toastClass}`,this.sub=n.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=n.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=n.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=n.toastRef.countDuplicate().subscribe(s=>{this.duplicatesCount=s})}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state.set("active"),!(this.options.disableTimeOut===!0||this.options.disableTimeOut==="timeOut")&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=new Date().getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(this.width()===0||this.width()===100||!this.options.timeOut)return;let e=new Date().getTime(),n=this.hideTime-e;this.width.set(n/this.options.timeOut*100),this.options.progressAnimation==="increasing"&&this.width.update(r=>100-r),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set("active"),this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=new Date().getTime()+(this.originalTimeout||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.state.set("removed"),this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state()!=="removed"&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){this.options.disableTimeOut===!0||this.options.disableTimeOut==="extendedTimeOut"||this.options.extendedTimeOut===0||this.state()==="removed"||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=new Date().getTime()+(this.options.timeOut||0),this.width.set(-1),this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}static \u0275fac=function(n){return new(n||t)(O(_r),O(Pe),O(Ve))};static \u0275cmp=pn({type:t,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(n,r){n&1&&Ze("click",function(){return r.tapToast()})("mouseenter",function(){return r.stickAround()})("mouseleave",function(){return r.delayedHideToast()}),n&2&&(Q(r.toastClasses),we("display",r.displayStyle))},attrs:Cr,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(n,r){n&1&&He(0,Ro,3,0,"button",0)(1,Lo,3,5,"div",1)(2,Po,1,3,"div",2)(3,No,2,4,"div",3)(4,xo,2,2,"div",4),n&2&&(P("ngIf",r.options.closeButton),R(),P("ngIf",r.title),R(),P("ngIf",r.message&&r.options.enableHtml),R(),P("ngIf",r.message&&!r.options.enableHtml),R(),P("ngIf",r.options.progressBar))},dependencies:[Ot],encapsulation:2,changeDetection:0})}return t})(),Tl=G(_({},Er),{toastComponent:$o});var Ar={name:"homebridge-config-ui-x",displayName:"Homebridge UI",type:"module",version:"5.12.1-beta.3",description:"A web based management, configuration and control platform for Homebridge.",author:"oznu <dev@oz.nu>",license:"MIT",funding:[{type:"github",url:"https://github.com/sponsors/oznu"},{type:"paypal",url:"https://paypal.me/oznu"}],repository:{type:"git",url:"git+https://github.com/homebridge/homebridge-config-ui-x.git"},bugs:{url:"https://github.com/homebridge/homebridge-config-ui-x/issues"},keywords:["homebridge-plugin","ui","gui","web","homebridge","homebridge-config-ui-x","ui-x","config-ui-x","homebridge-x","homebridge server","homebridge ui","homebridge-ui","homebridge gui","homebridge-gui","web interface","config ui","management","config editor","linux","macOS","osx","windows","raspberry pi","accessory control","smart home","hb-service"],main:"./dist/index.js",bin:{"hb-service":"dist/bin/hb-service.js"},engines:{node:"^20.19.0 || ^22.12.0 || ^24.0.0",homebridge:"^1.8.0 || ^2.0.0-alpha.0"},scripts:{build:"npm run build:server && npm run build:ui","build:server":"rimraf dist && tsc -p tsconfig.build.json","build:ui":"npm run build --prefix ui",check:"npm run check:server && npm run check:ui","check:server":"npm install && npm outdated","check:ui":"npm install --prefix ui && npm outdated --prefix ui","lang-sync":"tsx scripts/lang-sync.ts",lint:"eslint . --max-warnings=0","lint:fix":"npm run lint -- --fix",prepublishOnly:"npm i --package-lock-only && npm run lint && npm run build",start:"tsx src/main.ts",test:"vitest run","test-coverage":"npm run test -- --coverage","upgrade-install":"./scripts/upgrade-install.sh",watch:'concurrently "npm run watch:ui" "npm run watch:server"',"watch:server":"nodemon","watch:ui":"npm run start --prefix ui"},dependencies:{"@fastify/helmet":"13.0.2","@fastify/multipart":"9.3.0","@fastify/static":"8.3.0","@homebridge/hap-client":"3.1.2","@homebridge/node-pty-prebuilt-multiarch":"0.13.1","@nestjs/axios":"4.0.1","@nestjs/common":"11.1.9","@nestjs/core":"11.1.9","@nestjs/jwt":"11.0.2","@nestjs/passport":"11.0.5","@nestjs/platform-fastify":"11.1.9","@nestjs/platform-socket.io":"11.1.9","@nestjs/swagger":"11.2.3","@nestjs/websockets":"11.1.9",axios:"1.13.2","bash-color":"0.0.4","bonjour-service":"1.3.0","class-transformer":"0.5.1","class-validator":"0.14.3",commander:"14.0.2",dayjs:"1.11.19",fastify:"5.6.2","fs-extra":"^11.3.3",jsonwebtoken:"9.0.3",lodash:"4.17.21","node-cache":"5.1.2","node-forge":"1.3.3","node-schedule":"2.1.1",ora:"9.0.0",otplib:"12.0.1","p-limit":"7.2.0",passport:"0.7.0","passport-jwt":"4.0.1","reflect-metadata":"0.2.2",rxjs:"7.8.2",semver:"7.7.3",systeminformation:"^5.27.14",tail:"2.2.6",tar:"7.5.2","tcp-port-used":"1.0.2",unzipper:"0.12.3"},devDependencies:{"@antfu/eslint-config":"^6.7.1","@nestjs/testing":"^11.1.9","@prettier/plugin-xml":"^3.4.2","@types/fs-extra":"^11.0.4","@types/lodash":"^4.17.21","@types/node":"^25.0.3","@types/node-forge":"^1.3.14","@types/node-schedule":"^2.1.8","@types/passport-jwt":"^4.0.1","@types/semver":"^7.7.1","@types/tail":"^2.2.3","@types/tcp-port-used":"^1.0.4","@types/unzipper":"^0.10.11","@vitest/coverage-v8":"^4.0.16",concurrently:"^9.2.1","eslint-plugin-format":"^1.1.0","form-data":"^4.0.5",nodemon:"^3.1.11",rimraf:"^6.1.2",tsx:"^4.21.0",typescript:"^5.9.3","unplugin-swc":"^1.5.9",vitest:"^4.0.16"},overrides:{"@homebridge/hap-client":{axios:"1.13.2"}},maintainers:[{email:"bwp91@icloud.com",name:"bwp91"},{email:"dev@oz.nu",name:"oznu"},{email:"northern.man1@gmail.com",name:"northernman"},{email:"mail@anderl-bauer.de",name:"supereg"},{email:"khaos.tian@gmail.com",name:"khaost"},{email:"erik.baauw@xs4all.nl",name:"ebaauw"},{email:"donavan.becker@icloud.com",name:"donavanbecker"},{email:"dustin.greif@gmail.com",name:"dustin.greif"},{email:"nfarina@gmail.com",name:"nfarina"}],scarfSettings:{enabled:!1}};var Ne={serverTarget:Ar.version,production:!0,socket:"",api:{base:(()=>{let i=document.querySelector("base")?.getAttribute("href")||"/";return i.endsWith("/")?`${i}api`:`${i}/api`})(),socket:`${window.location.protocol==="http:"?"ws://":"wss://"}${window.location.host}`,origin:window.location.origin},jwt:{tokenKey:"access_token",allowedDomains:[document.location.host],disallowedRoutes:[(()=>{let i=document.querySelector("base")?.getAttribute("href")||"/",e=i.endsWith("/")?`${i}api`:`${i}/api`;return`${window.location.protocol}//${document.location.host}${e}/auth/login`})()]},apiHttpOptions:{},owm:{appid:"fec67b55f7f74deaa28df89ba6a60821"}};var Nl=(()=>{class t{$http=h(Zt);get(e,n){return Te(this.$http.get(`${Ne.api.base}${e}`,n))}post(e,n,r){return Te(this.$http.post(`${Ne.api.base}${e}`,n,r))}put(e,n,r){return Te(this.$http.put(`${Ne.api.base}${e}`,n,r))}patch(e,n,r){return Te(this.$http.patch(`${Ne.api.base}${e}`,n,r))}delete(e,n){return Te(this.$http.delete(`${Ne.api.base}${e}`,n))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=f({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();export{te as a,Et as b,Ii as c,qr as d,Qr as e,ts as f,ns as g,rs as h,os as i,as as j,Wi as k,cu as l,lu as m,du as n,hu as o,kn as p,Ns as q,ie as r,re as s,Me as t,K as u,mr as v,Zt as w,ao as x,uo as y,co as z,kc as A,Gn as B,Kn as C,Yc as D,Kc as E,_r as F,El as G,Ne as H,Nl as I};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-NEMS53PP.js";import"./chunk-B4AJQJMI.js";export default a();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-KJJHXJSC.js";import"./chunk-B4AJQJMI.js";export default a();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-7SG2F2V4.js";import"./chunk-B4AJQJMI.js";export default a();
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{a as lt}from"./chunk-
|
|
1
|
+
import{a as lt}from"./chunk-KU7MI4EL.js";import"./chunk-BMOLDRJ3.js";import{a as k}from"./chunk-MAQWGSNZ.js";import{a as ht}from"./chunk-H7F7H5MW.js";import{a as M}from"./chunk-HH2FDI7W.js";import"./chunk-VZQ3UMBD.js";import{a as st}from"./chunk-OTMZDL7S.js";import{t as at}from"./chunk-RDHUW73W.js";import{a as G}from"./chunk-C64AHVUO.js";import{b as U}from"./chunk-XFKYZXKP.js";import{D as rt,c as X,e as Y,f as Z,g as tt,j as et,m as ot,r as it,s as nt}from"./chunk-JBCO5ZGG.js";import{b as K}from"./chunk-DZ4GN7CJ.js";import{C as H,D as Q,F as W,I as J}from"./chunk-2J2ADNZ3.js";import{Ab as v,Dc as a,Ec as s,F as I,Fb as f,Gb as m,Hb as c,I as V,Ib as p,Oc as E,Rb as y,Xb as h,Ya as F,Za as r,Zb as d,aa as l,d as P,ea as q,ec as N,fc as z,ga as u,ha as g,ic as B,jc as A,kc as T,lc as L,ma as D,mb as $,nb as j,sa as S,uc as R,yb as b,zb as w}from"./chunk-F5MBSCH4.js";import{g as pt,h as C}from"./chunk-B4AJQJMI.js";var O=pt(ht(),1);var ut=["logoutput"],gt=["searchInput"];function ft(n,x){if(n&1){let o=y();m(0,"div",5)(1,"button",9),a(2,"translate"),a(3,"translate"),h("click",function(){u(o);let t=d();return g(t.showSearch())}),p(4,"i"),c(),m(5,"button",9),a(6,"translate"),a(7,"translate"),h("click",function(){u(o);let t=d();return g(t.downloadLogFile())}),p(8,"i",10),c(),m(9,"button",11),a(10,"translate"),a(11,"translate"),h("click",function(){u(o);let t=d();return g(t.truncateLogFile())}),p(12,"i",12),c()()}if(n&2){let o=d();r(),f("openDelay",150)("ngbTooltip",s(2,12,"form.search")),b("aria-label",s(3,14,"form.search")),r(3),A(R("fas",o.showSearchBar()?" primary-text":""," fa-search")),r(),f("openDelay",150)("ngbTooltip",s(6,16,"form.button_download")),b("aria-label",s(7,18,"form.button_download")),r(4),f("openDelay",150)("ngbTooltip",s(10,20,"form.button_delete")),b("aria-label",s(11,22,"form.button_delete"))}}function bt(n,x){if(n&1){let o=y();m(0,"button",18),a(1,"translate"),h("click",function(){u(o);let t=d(2);return g(t.onClearSearch())}),p(2,"i",19),c()}n&2&&b("aria-label",s(1,1,"form.button_clear"))}function _t(n,x){n&1&&(m(0,"span",17),T(1),a(2,"translate"),c()),n&2&&(r(),L(s(2,1,"common.labels.beta")))}function wt(n,x){if(n&1){let o=y();m(0,"div",6)(1,"div",13)(2,"form",14),h("ngSubmit",function(){u(o);let t=d();return g(t.onSubmit(t.form.value))}),p(3,"input",15,1),a(5,"translate"),w(6,bt,3,3,"button",16)(7,_t,3,3,"span",17),c()()()}if(n&2){let o,e=d();r(2),f("formGroup",e.form),r(),B("is-invalid",e.searchInputInvalid),f("placeholder",s(5,5,"logs.placeholder_search_logs")),r(3),v((o=e.form.get("query"))!=null&&o.value?6:7)}}var Nt=(()=>{class n{destroyRef=l(D);injector=l(q);$api=l(J);$auth=l(U);$log=l(lt);$modal=l(at);$settings=l(K);$toastr=l(W);$translate=l(H);termTarget=E("logoutput");searchInput=E("searchInput");resizeEvent=new P;isAdmin=this.$auth.user.admin;showSearchBar=S(!1);showExitButton=S(!1);form=new tt({query:new et("")});get searchInputInvalid(){let o=(this.form.get("query")?.value||"").trim();return o.length>0&&o.length<3}onWindowResize(){this.resizeEvent.next(void 0)}ngOnInit(){let o=this.$translate.instant("menu.linux.label_logs");if(this.$settings.setPageTitle(o),window.document.querySelector("body").classList.add("bg-black"),this.$settings.actualLightingMode==="light"){window.document.querySelector("body").classList.add("light-mode");let e=this.termTarget()?.nativeElement;e&&e.classList.add("light-mode")}this.$log.startTerminal(this.termTarget(),{allowProposedApi:!0},this.resizeEvent),this.form.get("query")?.valueChanges.pipe(I(500),V(),G(this.destroyRef)).subscribe(e=>{let t=e||"",i=t.trim();i!==t&&this.form.get("query")?.setValue(i,{emitEvent:!1}),i.length>=3?(this.showExitButton.set(!0),this.$log.setSearchFilter(i),this.$log.scrollToBottom()):i.length<3&&this.showExitButton()&&(this.showExitButton.set(!1),this.$log.clearSearchFilter(),this.$log.scrollToBottom())})}showSearch(){if(this.showSearchBar())this.showSearchBar.set(!1),this.showExitButton.set(!1),this.form.setValue({query:""}),this.$log.clearSearchFilter();else{this.showSearchBar.set(!0);let o=this.searchInput();o&&setTimeout(()=>o.nativeElement.focus(),10)}setTimeout(()=>this.resizeEvent.next(void 0),10),this.$log.scrollToBottom()}onSubmit(o){let e=(o.query||"").trim();!e.length||e.length<3?(e.length||this.showSearchBar.set(!1),this.form.setValue({query:""}),this.showExitButton.set(!1),this.$log.clearSearchFilter()):(this.showExitButton.set(!0),this.$log.setSearchFilter(e)),this.$log.scrollToBottom()}onClearSearch(){this.form.setValue({query:""}),this.showExitButton.set(!1),this.$log.clearSearchFilter(),this.$log.scrollToBottom()}canDeactivate(o){return this.$settings.actualLightingMode!=="light"?(window.document.querySelector("body").classList.remove("bg-black"),Promise.resolve(!0)):(this.showSearchBar()&&this.showSearchBar.set(!1),window.document.querySelector("body").classList.remove("light-mode"),new Promise(e=>{let t=o&&(o.includes("/platform-tools/terminal")||o.includes("/logs")),i=this.termTarget()?.nativeElement;i&&i.classList.add("fade-out"),t?setTimeout(()=>{e(!0)},250):(setTimeout(()=>{window.document.querySelector("body").classList.remove("bg-black")},250),setTimeout(()=>{e(!0)},500))}))}ngOnDestroy(){window.document.querySelector("body").classList.remove("light-mode"),this.resizeEvent.complete(),this.$log.destroyTerminal()}downloadLogFile(){return C(this,null,function*(){let o=$([{provide:M,useValue:{title:this.$translate.instant("logs.title_download_log_file"),message:this.$translate.instant("logs.download_warning"),confirmButtonLabel:this.$translate.instant("form.button_download"),faIconClass:"fas fa-user-secret primary-text"}}],this.injector),e=this.$modal.open(k,{size:"lg",backdrop:"static",injector:o});try{yield e.result;try{let t=yield this.$api.get("/platform-tools/hb-service/log/download",{observe:"response",responseType:"blob"}),i=this.$log.getSearchFilter();if(i){let ct=(yield t.body.text()).split(`
|
|
2
2
|
`).filter(dt=>dt.replace(/\x1b\[[0-9;]*m/g,"").toLowerCase().includes(i.toLowerCase())),mt=new Blob([ct.join(`
|
|
3
3
|
`)],{type:"text/plain"});(0,O.saveAs)(mt,"homebridge.log.txt")}else(0,O.saveAs)(t.body,"homebridge.log.txt")}catch(t){let i;try{if(t&&typeof t=="object"&&"error"in t){let _=yield t.error.text();i=JSON.parse(_).message}}catch(_){console.error(_)}this.$toastr.error(i||this.$translate.instant("logs.download.error"),this.$translate.instant("toast.title_error"))}}catch{}})}truncateLogFile(){return C(this,null,function*(){let o=$([{provide:M,useValue:{title:this.$translate.instant("logs.title_truncate_log_file"),message:this.$translate.instant("logs.truncate_log_warning"),confirmButtonLabel:this.$translate.instant("form.button_delete"),confirmButtonClass:"btn-danger",faIconClass:"fas fa-circle-exclamation primary-text"}}],this.injector),e=this.$modal.open(k,{size:"lg",backdrop:"static",injector:o});try{yield e.result;try{yield this.$api.put("/platform-tools/hb-service/log/truncate",{}),this.$toastr.success(this.$translate.instant("logs.log_file_truncated"),this.$translate.instant("toast.title_success")),this.$log.term.clear()}catch(t){console.error(t);let i=t&&typeof t=="object"&&"error"in t&&t.error&&typeof t.error=="object"&&"message"in t.error?String(t.error.message):this.$translate.instant("logs.truncate.error");this.$toastr.error(i,this.$translate.instant("toast.title_error"))}}catch{}})}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=j({type:n,selectors:[["ng-component"]],viewQuery:function(e,t){e&1&&N(t.termTarget,ut,5)(t.searchInput,gt,5),e&2&&z(2)},hostBindings:function(e,t){e&1&&h("resize",function(){return t.onWindowResize()},F)},decls:10,vars:9,consts:[["logoutput",""],["searchInput",""],[1,"row","mb-3"],[1,"col-6"],[1,"primary-text","m-0"],[1,"col-6","text-end"],[1,"row"],[1,"flex-column","d-flex","align-items-stretch"],["id","log-output",1,"align-self-end","w-100","h-100","mb-1"],["container","body","placement","bottom","triggers","hover",1,"btn","btn-elegant","my-0","me-2",3,"click","openDelay","ngbTooltip"],[1,"fas","fa-download"],["container","body","placement","bottom","triggers","hover",1,"btn","btn-elegant","my-0","me-0",3,"click","openDelay","ngbTooltip"],[1,"fas","fa-trash-alt"],[1,"col-md-12"],["novalidate","",3,"ngSubmit","formGroup"],["type","text","id","logs-search","formControlName","query",1,"search-bar",3,"placeholder"],["type","button",1,"search-bar-clear"],[1,"search-bar-badge","badge","badge-primary","badge-beta"],["type","button",1,"search-bar-clear",3,"click"],["aria-hidden","true",1,"fas","fa-square-xmark"]],template:function(e,t){e&1&&(m(0,"div",2)(1,"div",3)(2,"h3",4),T(3),a(4,"translate"),c()(),w(5,ft,13,24,"div",5),c(),w(6,wt,8,7,"div",6),m(7,"div",7),p(8,"div",8,0),c()),e&2&&(r(3),L(s(4,7,"menu.linux.label_logs")),r(2),v(t.isAdmin?5:-1),r(),v(t.showSearchBar()?6:-1),r(),B("adjust-for-mobile",!t.showSearchBar())("adjust-for-mobile-with-search",t.showSearchBar()))},dependencies:[st,rt,ot,X,Y,Z,nt,it,Q],styles:["body.light-mode{transition:background-color .25s ease-in-out}#log-output.light-mode[_ngcontent-%COMP%]{opacity:0;animation:_ngcontent-%COMP%_fadeIn .25s ease-in-out .25s forwards}#log-output.light-mode.fade-out[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_fadeOut .25s ease-in-out forwards!important;opacity:1}@keyframes _ngcontent-%COMP%_fadeIn{to{opacity:1}}@keyframes _ngcontent-%COMP%_fadeOut{to{opacity:0}}.search-bar[_ngcontent-%COMP%]{background-color:#111!important;color:#999!important;border:0 #242424!important}@media(hover:hover){.search-bar[_ngcontent-%COMP%]:hover{border:1px solid #242424!important}}.search-bar[_ngcontent-%COMP%]:focus{border:1px solid #242424!important;box-shadow:inherit!important;color:#eee!important}.search-bar[_ngcontent-%COMP%]::placeholder{color:#636363!important;opacity:1!important}.search-bar.is-invalid[_ngcontent-%COMP%]{border:1px solid #d32f2f!important;box-shadow:0 1px #d32f2f!important}@media(hover:hover){.search-bar.is-invalid[_ngcontent-%COMP%]:hover{border:1px solid #d32f2f!important;box-shadow:0 1px #d32f2f!important}}.search-bar.is-invalid[_ngcontent-%COMP%]:focus{border:1px solid #d32f2f!important;box-shadow:0 1px #d32f2f!important}.search-bar-badge[_ngcontent-%COMP%]{position:absolute;right:10px;top:16px;font-size:.75rem;padding:.25em .5em}.adjust-for-mobile-with-search[_ngcontent-%COMP%]{height:calc(100% - 95px);width:calc(100% + 17px);overflow:hidden}@media(max-width:767px){.adjust-for-mobile-with-search[_ngcontent-%COMP%]{height:calc(100% - 125px)}}"]})}return n})();export{Nt as LogsComponent};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-E7TDUWKH.js";import"./chunk-B4AJQJMI.js";export default a();
|