marketplacepos 5.41.2 → 5.41.4
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/Marketplace/3rdpartylicenses.txt +123 -123
- package/Marketplace/chunk-2BBMPSAE.js +93 -0
- package/Marketplace/chunk-3CZJUTLZ.js +1 -0
- package/Marketplace/chunk-4ASUM4N5.js +1 -0
- package/Marketplace/chunk-4G3QN54S.js +193 -0
- package/Marketplace/chunk-4S4G5UPJ.js +1 -0
- package/Marketplace/{chunk-4DV4IT7R.js → chunk-5FEQZAWX.js} +1 -1
- package/Marketplace/{chunk-UMY6NG57.js → chunk-5GX2GLRY.js} +1 -1
- package/Marketplace/{chunk-25OT4I3W.js → chunk-5MRT2EFE.js} +1 -1
- package/Marketplace/chunk-62PFQNHJ.js +1 -0
- package/Marketplace/chunk-6ALHX2I4.js +1 -0
- package/Marketplace/{chunk-SYENQYR7.js → chunk-6IAGGRZN.js} +1 -1
- package/Marketplace/{chunk-FWG4H3QG.js → chunk-6NNAICJE.js} +1 -1
- package/Marketplace/{chunk-WGXUKTYP.js → chunk-6XFYITUD.js} +1 -1
- package/Marketplace/chunk-742J5UZZ.js +1 -0
- package/Marketplace/{chunk-4CTORK4F.js → chunk-7477X7LJ.js} +1 -1
- package/Marketplace/{chunk-R76V3PTN.js → chunk-75BDXSG3.js} +10 -10
- package/Marketplace/{chunk-ACIMXBIC.js → chunk-77IUCPIQ.js} +1 -1
- package/Marketplace/{chunk-ZR5IXNXB.js → chunk-7FUVW73P.js} +1 -1
- package/Marketplace/chunk-7G53KEUW.js +1 -0
- package/Marketplace/chunk-7GQIIDFF.js +4 -0
- package/Marketplace/chunk-7P3SGW2P.js +1 -0
- package/Marketplace/{chunk-PO7JVKK3.js → chunk-7TWBIV3T.js} +1 -1
- package/Marketplace/chunk-AIIRPK4M.js +1 -0
- package/Marketplace/chunk-B54QGLED.js +2 -0
- package/Marketplace/chunk-BG6DO7RW.js +5 -0
- package/Marketplace/{chunk-4M63ID5T.js → chunk-BUFEIJAI.js} +1 -1
- package/Marketplace/{chunk-SIYMMMKQ.js → chunk-CH2MLZU7.js} +1 -1
- package/Marketplace/{chunk-KX5AWR75.js → chunk-COBHWPGI.js} +1 -1
- package/Marketplace/chunk-D54NUPYF.js +153 -0
- package/Marketplace/chunk-DPLEMBB4.js +1 -0
- package/Marketplace/{chunk-R5TTZPDX.js → chunk-DVE7IIN7.js} +11 -11
- package/Marketplace/{chunk-PBGDP6XV.js → chunk-E3HHEPKQ.js} +1 -1
- package/Marketplace/chunk-E3HMIPER.js +2 -0
- package/Marketplace/{chunk-KQQCKHF3.js → chunk-E6HA2AGS.js} +1 -1
- package/Marketplace/{chunk-JOBWFOGC.js → chunk-EGTYAIU5.js} +1 -1
- package/Marketplace/chunk-EYNCNJ3I.js +1 -0
- package/Marketplace/chunk-FX6CFPPN.js +1 -0
- package/Marketplace/chunk-G5CQLP7H.js +1 -0
- package/Marketplace/{chunk-OKAPL3YZ.js → chunk-G6EG5QJS.js} +1 -1
- package/Marketplace/{chunk-IKPRRD5D.js → chunk-GBABJLPQ.js} +1 -1
- package/Marketplace/{chunk-MCJRJUAO.js → chunk-GCJBQRHI.js} +1 -1
- package/Marketplace/{chunk-ZIOAOUAM.js → chunk-GHQH62TZ.js} +1 -1
- package/Marketplace/chunk-GPEVUTDI.js +2 -0
- package/Marketplace/chunk-HMB7FZD7.js +1 -0
- package/Marketplace/chunk-HNYOBOEW.js +4 -0
- package/Marketplace/chunk-HUMGZRJQ.js +1 -0
- package/Marketplace/{chunk-GPC4DECX.js → chunk-ICSMRW7O.js} +1 -1
- package/Marketplace/chunk-IIJMZKPL.js +1 -0
- package/Marketplace/{chunk-6X2OBNJQ.js → chunk-ITTRZMEX.js} +4 -4
- package/Marketplace/{chunk-A2YNWIX6.js → chunk-IYYVZ6B6.js} +1 -1
- package/Marketplace/{chunk-XQGRC7V2.js → chunk-J3P46Z53.js} +1 -1
- package/Marketplace/{chunk-LHD7CYML.js → chunk-J7AGLBPL.js} +1 -1
- package/Marketplace/{chunk-NRCXYGO3.js → chunk-JBKHY4HH.js} +5 -5
- package/Marketplace/chunk-JTZJTXCN.js +1 -0
- package/Marketplace/chunk-K2H6WANG.js +1 -0
- package/Marketplace/chunk-K3FQGMAY.js +1 -0
- package/Marketplace/chunk-KC2DJUBC.js +1 -0
- package/Marketplace/{chunk-HPYTL6TX.js → chunk-KHWTOD6H.js} +1 -1
- package/Marketplace/chunk-KOJ2R5XW.js +1 -0
- package/Marketplace/chunk-KVP6OL4J.js +2 -0
- package/Marketplace/{chunk-2TZBEYNY.js → chunk-KXZCGKQW.js} +1 -1
- package/Marketplace/chunk-L4JWBBBC.js +1 -0
- package/Marketplace/chunk-LEMNVA5V.js +3 -0
- package/Marketplace/chunk-LFJIZAV2.js +15 -0
- package/Marketplace/chunk-LJTMOYLO.js +1 -0
- package/Marketplace/chunk-LPXBSHUI.js +180 -0
- package/Marketplace/{chunk-LSXUXG54.js → chunk-M3SJUKTG.js} +1 -1
- package/Marketplace/chunk-MATSRG2L.js +447 -0
- package/Marketplace/{chunk-XEMNZHW6.js → chunk-MNFHFW3E.js} +1 -1
- package/Marketplace/chunk-O5SSMLCS.js +1 -0
- package/Marketplace/{chunk-YPVYJUXS.js → chunk-OAS72QB2.js} +1 -1
- package/Marketplace/chunk-OAVAVDIP.js +1 -0
- package/Marketplace/{chunk-TNKPTRB3.js → chunk-OE2JYQHN.js} +1 -1
- package/Marketplace/{chunk-6MPSYC77.js → chunk-OLSC6KHB.js} +1 -1
- package/Marketplace/{chunk-JRWFZQ5K.js → chunk-PPDHTO44.js} +1 -1
- package/Marketplace/chunk-PQ6Z7K5L.js +1 -0
- package/Marketplace/chunk-PXB4YEY3.js +1 -0
- package/Marketplace/chunk-PZTMYAA7.js +1 -0
- package/Marketplace/{chunk-M5IQRAHV.js → chunk-Q2OEJFVT.js} +1 -1
- package/Marketplace/{chunk-6LH7FSOW.js → chunk-Q72ZXPDP.js} +1 -1
- package/Marketplace/{chunk-SXLKJLAE.js → chunk-QCZIDOKW.js} +1 -1
- package/Marketplace/chunk-QJFAPDI7.js +1 -0
- package/Marketplace/chunk-REYGC4GG.js +1 -0
- package/Marketplace/{chunk-FBZW4Y3J.js → chunk-RGR34QZ3.js} +1 -1
- package/Marketplace/{chunk-MQXPOHBV.js → chunk-RIHLYYZU.js} +1 -1
- package/Marketplace/{chunk-55OI2SUF.js → chunk-RVYGL22E.js} +1 -1
- package/Marketplace/chunk-S7LCZRSD.js +1 -0
- package/Marketplace/chunk-SL4ID42P.js +1 -0
- package/Marketplace/chunk-SZ6MQ6EW.js +1 -0
- package/Marketplace/chunk-T5ONJF63.js +7 -0
- package/Marketplace/chunk-T6QOFDEE.js +1 -0
- package/Marketplace/{chunk-HFKKITEW.js → chunk-TMFFA26Y.js} +1 -1
- package/Marketplace/chunk-TXPNZLOJ.js +5 -0
- package/Marketplace/chunk-TZXF4K2V.js +1 -0
- package/Marketplace/{chunk-GHBGGQNM.js → chunk-UBMI3NQH.js} +1 -1
- package/Marketplace/chunk-UUUVVJG4.js +2 -0
- package/Marketplace/{chunk-5XI7HWS5.js → chunk-V2OJQHE3.js} +2 -2
- package/Marketplace/{chunk-TGMCGROM.js → chunk-V5WYSCVT.js} +1 -1
- package/Marketplace/chunk-VDSO2BHA.js +1 -0
- package/Marketplace/chunk-VETHPEVU.js +1 -0
- package/Marketplace/{chunk-SH7KN2AS.js → chunk-VGXQU74M.js} +1 -1
- package/Marketplace/chunk-VSEWXNVC.js +291 -0
- package/Marketplace/{chunk-OZ77CAJD.js → chunk-WAW37FIG.js} +1 -1
- package/Marketplace/chunk-XFCMKJV6.js +1 -0
- package/Marketplace/chunk-XM6GN4VF.js +1 -0
- package/Marketplace/chunk-Y7VC2AGS.js +1 -0
- package/Marketplace/chunk-YIUQQGOQ.js +1 -0
- package/Marketplace/chunk-YPM6IC2W.js +1 -0
- package/Marketplace/{chunk-UPYS4A4M.js → chunk-YXFTLQ5M.js} +1 -1
- package/Marketplace/chunk-Z46DDENN.js +1 -0
- package/Marketplace/{chunk-E2CS7ZMC.js → chunk-ZD5LURJS.js} +1 -1
- package/Marketplace/{chunk-WHZ44BAL.js → chunk-ZZVNB72Q.js} +1 -1
- package/Marketplace/index.html +3 -3
- package/Marketplace/main-5HHAD6NX.js +1 -0
- package/Marketplace/{styles-X3FXEB7T.css → styles-NJFTKO3E.css} +1 -1
- package/package.json +1 -1
- package/Marketplace/chunk-2BUABOHG.js +0 -1
- package/Marketplace/chunk-2SXRC4IG.js +0 -1
- package/Marketplace/chunk-2ZTDLZVZ.js +0 -1
- package/Marketplace/chunk-33IXC6UG.js +0 -1
- package/Marketplace/chunk-4HZR3O3W.js +0 -1
- package/Marketplace/chunk-4JG3ZRYP.js +0 -5
- package/Marketplace/chunk-4PZ5Q3HI.js +0 -1
- package/Marketplace/chunk-4YOHPIVG.js +0 -1
- package/Marketplace/chunk-5B4KSPFM.js +0 -1
- package/Marketplace/chunk-5DIRXS7I.js +0 -1
- package/Marketplace/chunk-5EQNOCXP.js +0 -1
- package/Marketplace/chunk-5JYR3YJW.js +0 -1
- package/Marketplace/chunk-5QAURMZF.js +0 -222
- package/Marketplace/chunk-5ZX2OVBB.js +0 -1
- package/Marketplace/chunk-66YHNWRR.js +0 -1
- package/Marketplace/chunk-6IFZ2TO6.js +0 -1
- package/Marketplace/chunk-6RSAOZUV.js +0 -1
- package/Marketplace/chunk-6SBCWEJJ.js +0 -1
- package/Marketplace/chunk-6UEHSA6E.js +0 -1
- package/Marketplace/chunk-7H5ILTTK.js +0 -1
- package/Marketplace/chunk-A4F37V57.js +0 -1
- package/Marketplace/chunk-AGRVVEIR.js +0 -397
- package/Marketplace/chunk-ALKC77XL.js +0 -78
- package/Marketplace/chunk-AVEGIEYT.js +0 -193
- package/Marketplace/chunk-BBVWQJ7M.js +0 -1
- package/Marketplace/chunk-BM4KX73T.js +0 -1
- package/Marketplace/chunk-BQTUAYGY.js +0 -1
- package/Marketplace/chunk-C7QA2BEN.js +0 -3
- package/Marketplace/chunk-CEQA4PTY.js +0 -1
- package/Marketplace/chunk-CMZW5QAE.js +0 -1
- package/Marketplace/chunk-CSSG7NAJ.js +0 -1
- package/Marketplace/chunk-DG32XLYI.js +0 -1
- package/Marketplace/chunk-DJILLV4M.js +0 -1
- package/Marketplace/chunk-DS4AAABV.js +0 -1
- package/Marketplace/chunk-EL2JACEW.js +0 -1
- package/Marketplace/chunk-EU2KAMEK.js +0 -1
- package/Marketplace/chunk-EVLYO3HX.js +0 -1
- package/Marketplace/chunk-F4GMWHYJ.js +0 -33
- package/Marketplace/chunk-FFAZ3Q3F.js +0 -1
- package/Marketplace/chunk-FUWROOE4.js +0 -265
- package/Marketplace/chunk-GCECFUOP.js +0 -1
- package/Marketplace/chunk-GOS4RIF2.js +0 -1
- package/Marketplace/chunk-GZXQUJKX.js +0 -1
- package/Marketplace/chunk-H4PA2O6O.js +0 -1
- package/Marketplace/chunk-H6WIS2HR.js +0 -2
- package/Marketplace/chunk-HPGFBOM4.js +0 -1
- package/Marketplace/chunk-HTQJCQ32.js +0 -1
- package/Marketplace/chunk-IARG7PLL.js +0 -1
- package/Marketplace/chunk-IIMHYIRJ.js +0 -1
- package/Marketplace/chunk-JS55A2RS.js +0 -7
- package/Marketplace/chunk-JV4MMNGD.js +0 -79
- package/Marketplace/chunk-K6YEZYU4.js +0 -5
- package/Marketplace/chunk-KJHSB4A2.js +0 -1
- package/Marketplace/chunk-KOKHDU4I.js +0 -1
- package/Marketplace/chunk-KTIKLSOU.js +0 -1
- package/Marketplace/chunk-KTXS7IPU.js +0 -1
- package/Marketplace/chunk-KWQS4KX7.js +0 -1
- package/Marketplace/chunk-KXS76PRS.js +0 -70
- package/Marketplace/chunk-KYIY3VQ6.js +0 -141
- package/Marketplace/chunk-LOPJ3O56.js +0 -1
- package/Marketplace/chunk-LR4UZ2OS.js +0 -30
- package/Marketplace/chunk-LWSRD5LF.js +0 -1
- package/Marketplace/chunk-MGVYUYPC.js +0 -15
- package/Marketplace/chunk-MP43HA4R.js +0 -1
- package/Marketplace/chunk-MTUIRWOB.js +0 -2
- package/Marketplace/chunk-MZI5AYCE.js +0 -1
- package/Marketplace/chunk-NTW6FBP5.js +0 -1
- package/Marketplace/chunk-NZA4BEER.js +0 -102
- package/Marketplace/chunk-O55KM5KY.js +0 -1
- package/Marketplace/chunk-OZ7LWNOK.js +0 -15
- package/Marketplace/chunk-P5FCWMYK.js +0 -1
- package/Marketplace/chunk-PE5AFID4.js +0 -1
- package/Marketplace/chunk-PEA6KVUS.js +0 -252
- package/Marketplace/chunk-PW42BQIY.js +0 -1
- package/Marketplace/chunk-Q6V3IOGL.js +0 -1
- package/Marketplace/chunk-REL734JM.js +0 -1
- package/Marketplace/chunk-RHRJXX4W.js +0 -1
- package/Marketplace/chunk-S3YMF63V.js +0 -1
- package/Marketplace/chunk-SD7M7HOB.js +0 -1
- package/Marketplace/chunk-SLQA5QBT.js +0 -1
- package/Marketplace/chunk-SRJREA2O.js +0 -5
- package/Marketplace/chunk-T4K3CJ2R.js +0 -1
- package/Marketplace/chunk-TQ4ZLZ7C.js +0 -1
- package/Marketplace/chunk-TQIIWFRF.js +0 -1
- package/Marketplace/chunk-UDQBFSOV.js +0 -1
- package/Marketplace/chunk-UF4FKEE7.js +0 -93
- package/Marketplace/chunk-UJYSVGLV.js +0 -1
- package/Marketplace/chunk-UYW53K3I.js +0 -1
- package/Marketplace/chunk-VRI3CYGG.js +0 -1
- package/Marketplace/chunk-WTAJSWM2.js +0 -4
- package/Marketplace/chunk-WX5S3HCU.js +0 -1
- package/Marketplace/chunk-XGYBJAFE.js +0 -1
- package/Marketplace/chunk-YP2IPJ2O.js +0 -1
- package/Marketplace/chunk-Z3ITXK3D.js +0 -1
- package/Marketplace/chunk-Z3KD73SP.js +0 -2
- package/Marketplace/chunk-ZAVDOMSW.js +0 -1
- package/Marketplace/chunk-ZGZ74AJR.js +0 -1
- package/Marketplace/chunk-ZIUDNFYT.js +0 -1
- package/Marketplace/chunk-ZLNGASME.js +0 -1
- package/Marketplace/chunk-ZNDU44GH.js +0 -51
- package/Marketplace/main-SPNULRF2.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-66YHNWRR.js";var o=[{path:"",loadComponent(){return import("./chunk-SLQA5QBT.js").then(t=>t.OrdersV2Component)},children:[{path:"to-ship",loadComponent(){return import("./chunk-4HZR3O3W.js").then(t=>t.ReadyToShipComponent)},title:"To Ship"},{path:"awaiting-collection",loadComponent(){return import("./chunk-UDQBFSOV.js").then(t=>t.AwaitingCollectionComponent)},title:"Awaiting Collection"},{path:"shipped",loadComponent(){return import("./chunk-UYW53K3I.js").then(t=>t.ShippedComponent)},title:"Shipped"},{path:"completed",loadComponent(){return import("./chunk-KTXS7IPU.js").then(t=>t.CompletedComponent)},title:"Completed"},{path:"all",loadComponent(){return import("./chunk-T4K3CJ2R.js").then(t=>t.AllComponent)},title:"All Orders"},{path:"cancelled",loadComponent(){return import("./chunk-TQ4ZLZ7C.js").then(t=>t.CancelledComponent)},title:"Cancelled"},{path:"download",loadComponent(){return import("./chunk-4JG3ZRYP.js").then(t=>t.DownloadV2Component)},title:"Download"},{path:"log",loadComponent(){return import("./chunk-ZGZ74AJR.js").then(t=>t.DownloadOrderLogComponent)},title:"Download Log"},{path:"",pathMatch:"full",redirectTo:"to-ship"}]}];export{o as routes};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{$ as $i,$a as Ki,A as fr,Bc as Co,Ca as vr,Cb as uo,Cc as Eo,Da as Dr,Db as co,Ea as $e,Eb as lo,Fb as an,G as se,Ga as yr,Gb as ho,Hb as _e,Ia as wt,Ib as $,J as Be,Jb as Et,K as me,Ka as ze,La as J,Ma as wr,N as pr,Nb as Rr,O as et,Oa as Gi,Ob as fo,Pa as be,Pb as un,Qb as cn,Rb as br,S as je,Sb as ln,T as Ee,Ta as qi,Tb as po,U as gr,Ua as Cr,Ub as Ar,V as Bi,Va as Wi,Vb as go,Wa as tt,Wb as Tr,X as ji,Xb as mo,Ya as Er,Za as Zi,Zb as vo,_a as Yi,a as Pi,aa as G,ab as sn,b as Ni,c as Li,ca as zi,cb as Xi,d as dr,db as Ct,e as hr,ea as x,eb as Ae,f as te,fb as nt,fd as So,g as K,ga as w,gb as Ji,gd as _r,ha as ve,hb as Qi,hd as Ro,ib as eo,ja as D,jb as to,jd as Ie,ka as Se,kb as no,kc as Do,kd as bo,la as Vi,lb as ro,ld as Ao,m as ge,ma as C,mb as io,md as To,na as mr,nb as Ve,nd as _o,oa as m,od as De,p as L,pa as d,pd as Ir,q as p,qb as oo,qd as Mr,r as Dt,rc as q,s as ki,sa as on,sb as He,sc as F,t as xi,ta as Hi,tb as Sr,tc as yo,ua as Re,ud as Io,v as b,va as X,vb as so,w as rn,wb as Te,x as j,xa as ae,xb as T,y as yt,yb as ao,z as Ui,zb as Ge,zc as wo}from"./chunk-JS55A2RS.js";import{a as f,b as k}from"./chunk-66YHNWRR.js";var O=new C("");var Oo=null;function ue(){return Oo}function Fr(t){Oo??=t}var St=class{},Rt=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>d(Po),providedIn:"platform"})}return t})(),Or=new C(""),Po=(()=>{class t extends Rt{_location;_history;_doc=d(O);constructor(){super(),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ue().getBaseHref(this._doc)}onPopState(e){let n=ue().getGlobalEventTarget(this._doc,"window");return n.addEventListener("popstate",e,!1),()=>n.removeEventListener("popstate",e)}onHashChange(e){let n=ue().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,i){this._history.pushState(e,n,i)}replaceState(e,n,i){this._history.replaceState(e,n,i)}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=D({token:t,factory:()=>new t,providedIn:"platform"})}return t})();function dn(t,r){return t?r?t.endsWith("/")?r.startsWith("/")?t+r.slice(1):t+r:r.startsWith("/")?t+r:`${t}/${r}`:t:r}function Mo(t){let r=t.search(/#|\?|$/);return t[r-1]==="/"?t.slice(0,r-1)+t.slice(r):t}function ne(t){return t&&t[0]!=="?"?`?${t}`:t}var re=(()=>{class t{historyGo(e){throw new Error("")}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>d(fn),providedIn:"root"})}return t})(),hn=new C(""),fn=(()=>{class t extends re{_platformLocation;_baseHref;_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,this._baseHref=n??this._platformLocation.getBaseHrefFromDOM()??d(O).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 dn(this._baseHref,e)}path(e=!1){let n=this._platformLocation.pathname+ne(this._platformLocation.search),i=this._platformLocation.hash;return i&&e?`${n}${i}`:n}pushState(e,n,i,o){let s=this.prepareExternalUrl(i+ne(o));this._platformLocation.pushState(e,n,s)}replaceState(e,n,i,o){let s=this.prepareExternalUrl(i+ne(o));this._platformLocation.replaceState(e,n,s)}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)(m(Rt),m(hn,8))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Fe=(()=>{class t{_subject=new te;_basePath;_locationStrategy;_urlChangeListeners=[];_urlChangeSubscription=null;constructor(e){this._locationStrategy=e;let n=this._locationStrategy.getBaseHref();this._basePath=Fa(Mo(Fo(n))),this._locationStrategy.onPopState(i=>{this._subject.next({url:this.path(!0),pop:!0,state:i.state,type:i.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+ne(n))}normalize(e){return t.stripTrailingSlash(Ma(this._basePath,Fo(e)))}prepareExternalUrl(e){return e&&e[0]!=="/"&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,n="",i=null){this._locationStrategy.pushState(i,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ne(n)),i)}replaceState(e,n="",i=null){this._locationStrategy.replaceState(i,"",e,n),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+ne(n)),i)}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(i=>i(e,n))}subscribe(e,n,i){return this._subject.subscribe({next:e,error:n??void 0,complete:i??void 0})}static normalizeQueryParams=ne;static joinWithSlash=dn;static stripTrailingSlash=Mo;static \u0275fac=function(n){return new(n||t)(m(re))};static \u0275prov=D({token:t,factory:()=>Ia(),providedIn:"root"})}return t})();function Ia(){return new Fe(m(re))}function Ma(t,r){if(!t||!r.startsWith(t))return r;let e=r.substring(t.length);return e===""||["/",";","?","#"].includes(e[0])?e:r}function Fo(t){return t.replace(/\/index.html$/,"")}function Fa(t){if(new RegExp("^(https?:)?//").test(t)){let[,e]=t.split(/\/\/[^\/]+/);return e}return t}var $r=(()=>{class t extends re{_platformLocation;_baseHref="";_removeListenerFns=[];constructor(e,n){super(),this._platformLocation=e,n!=null&&(this._baseHref=n)}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}path(e=!1){let n=this._platformLocation.hash??"#";return n.length>0?n.substring(1):n}prepareExternalUrl(e){let n=dn(this._baseHref,e);return n.length>0?"#"+n:n}pushState(e,n,i,o){let s=this.prepareExternalUrl(i+ne(o))||this._platformLocation.pathname;this._platformLocation.pushState(e,n,s)}replaceState(e,n,i,o){let s=this.prepareExternalUrl(i+ne(o))||this._platformLocation.pathname;this._platformLocation.replaceState(e,n,s)}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)(m(Rt),m(hn,8))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();var zr=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}(zr||{});var U=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}(U||{}),_=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}(_||{}),z=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}(z||{}),V={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 jo(t){return q(t)[F.LocaleId]}function $o(t,r,e){let n=q(t),i=[n[F.DayPeriodsFormat],n[F.DayPeriodsStandalone]],o=Q(i,r);return Q(o,e)}function zo(t,r,e){let n=q(t),i=[n[F.DaysFormat],n[F.DaysStandalone]],o=Q(i,r);return Q(o,e)}function Vo(t,r,e){let n=q(t),i=[n[F.MonthsFormat],n[F.MonthsStandalone]],o=Q(i,r);return Q(o,e)}function Ho(t,r){let n=q(t)[F.Eras];return Q(n,r)}function bt(t,r){let e=q(t);return Q(e[F.DateFormat],r)}function At(t,r){let e=q(t);return Q(e[F.TimeFormat],r)}function Tt(t,r){let n=q(t)[F.DateTimeFormat];return Q(n,r)}function ce(t,r){let e=q(t),n=e[F.NumberSymbols][r];if(typeof n>"u"){if(r===V.CurrencyDecimal)return e[F.NumberSymbols][V.Decimal];if(r===V.CurrencyGroup)return e[F.NumberSymbols][V.Group]}return n}function Go(t,r){return q(t)[F.NumberFormats][r]}function qo(t){if(!t[F.ExtraData])throw new Error(`Missing extra locale data for the locale "${t[F.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Wo(t){let r=q(t);return qo(r),(r[F.ExtraData][2]||[]).map(n=>typeof n=="string"?Pr(n):[Pr(n[0]),Pr(n[1])])}function Zo(t,r,e){let n=q(t);qo(n);let i=[n[F.ExtraData][0],n[F.ExtraData][1]],o=Q(i,r)||[];return Q(o,e)||[]}function Q(t,r){for(let e=r;e>-1;e--)if(typeof t[e]<"u")return t[e];throw new Error("Locale data API: locale data undefined")}function Pr(t){let[r,e]=t.split(":");return{hours:+r,minutes:+e}}var Oa=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,pn={},Pa=/((?:[^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 Yo(t,r,e,n){let i=za(t);r=ye(e,r)||r;let s=[],a;for(;r;)if(a=Pa.exec(r),a){s=s.concat(a.slice(1));let l=s.pop();if(!l)break;r=l}else{s.push(r);break}let u=i.getTimezoneOffset();n&&(u=Xo(n,u),i=$a(i,n));let c="";return s.forEach(l=>{let h=Ba(l);c+=h?h(i,e,u):l==="''"?"'":l.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),c}function yn(t,r,e){let n=new Date(0);return n.setFullYear(t,r,e),n.setHours(0,0,0),n}function ye(t,r){let e=jo(t);if(pn[e]??={},pn[e][r])return pn[e][r];let n="";switch(r){case"shortDate":n=bt(t,z.Short);break;case"mediumDate":n=bt(t,z.Medium);break;case"longDate":n=bt(t,z.Long);break;case"fullDate":n=bt(t,z.Full);break;case"shortTime":n=At(t,z.Short);break;case"mediumTime":n=At(t,z.Medium);break;case"longTime":n=At(t,z.Long);break;case"fullTime":n=At(t,z.Full);break;case"short":let i=ye(t,"shortTime"),o=ye(t,"shortDate");n=gn(Tt(t,z.Short),[i,o]);break;case"medium":let s=ye(t,"mediumTime"),a=ye(t,"mediumDate");n=gn(Tt(t,z.Medium),[s,a]);break;case"long":let u=ye(t,"longTime"),c=ye(t,"longDate");n=gn(Tt(t,z.Long),[u,c]);break;case"full":let l=ye(t,"fullTime"),h=ye(t,"fullDate");n=gn(Tt(t,z.Full),[l,h]);break}return n&&(pn[e][r]=n),n}function gn(t,r){return r&&(t=t.replace(/\{([^}]+)}/g,function(e,n){return r!=null&&n in r?r[n]:e})),t}function ie(t,r,e="-",n,i){let o="";(t<0||i&&t<=0)&&(i?t=-t+1:(t=-t,o=e));let s=String(t);for(;s.length<r;)s="0"+s;return n&&(s=s.slice(s.length-r)),o+s}function Na(t,r){return ie(t,3).substring(0,r)}function P(t,r,e=0,n=!1,i=!1){return function(o,s){let a=La(t,o);if((e>0||a>-e)&&(a+=e),t===3)a===0&&e===-12&&(a=12);else if(t===6)return Na(a,r);let u=ce(s,V.MinusSign);return ie(a,r,u,n,i)}}function La(t,r){switch(t){case 0:return r.getFullYear();case 1:return r.getMonth();case 2:return r.getDate();case 3:return r.getHours();case 4:return r.getMinutes();case 5:return r.getSeconds();case 6:return r.getMilliseconds();case 7:return r.getDay();default:throw new Error(`Unknown DateType value "${t}".`)}}function I(t,r,e=U.Format,n=!1){return function(i,o){return ka(i,o,t,r,e,n)}}function ka(t,r,e,n,i,o){switch(e){case 2:return Vo(r,i,n)[t.getMonth()];case 1:return zo(r,i,n)[t.getDay()];case 0:let s=t.getHours(),a=t.getMinutes();if(o){let c=Wo(r),l=Zo(r,i,n),h=c.findIndex(v=>{if(Array.isArray(v)){let[g,R]=v,S=s>=g.hours&&a>=g.minutes,E=s<R.hours||s===R.hours&&a<R.minutes;if(g.hours<R.hours){if(S&&E)return!0}else if(S||E)return!0}else if(v.hours===s&&v.minutes===a)return!0;return!1});if(h!==-1)return l[h]}return $o(r,i,n)[s<12?0:1];case 3:return Ho(r,n)[t.getFullYear()<=0?0:1];default:let u=e;throw new Error(`unexpected translation type ${u}`)}}function mn(t){return function(r,e,n){let i=-1*n,o=ce(e,V.MinusSign),s=i>0?Math.floor(i/60):Math.ceil(i/60);switch(t){case 0:return(i>=0?"+":"")+ie(s,2,o)+ie(Math.abs(i%60),2,o);case 1:return"GMT"+(i>=0?"+":"")+ie(s,1,o);case 2:return"GMT"+(i>=0?"+":"")+ie(s,2,o)+":"+ie(Math.abs(i%60),2,o);case 3:return n===0?"Z":(i>=0?"+":"")+ie(s,2,o)+":"+ie(Math.abs(i%60),2,o);default:throw new Error(`Unknown zone width "${t}"`)}}}var xa=0,Dn=4;function Ua(t){let r=yn(t,xa,1).getDay();return yn(t,0,1+(r<=Dn?Dn:Dn+7)-r)}function Ko(t){let r=t.getDay(),e=r===0?-3:Dn-r;return yn(t.getFullYear(),t.getMonth(),t.getDate()+e)}function Nr(t,r=!1){return function(e,n){let i;if(r){let o=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();i=1+Math.floor((s+o)/7)}else{let o=Ko(e),s=Ua(o.getFullYear()),a=o.getTime()-s.getTime();i=1+Math.round(a/6048e5)}return ie(i,t,ce(n,V.MinusSign))}}function vn(t,r=!1){return function(e,n){let o=Ko(e).getFullYear();return ie(o,t,ce(n,V.MinusSign),r)}}var Lr={};function Ba(t){if(Lr[t])return Lr[t];let r;switch(t){case"G":case"GG":case"GGG":r=I(3,_.Abbreviated);break;case"GGGG":r=I(3,_.Wide);break;case"GGGGG":r=I(3,_.Narrow);break;case"y":r=P(0,1,0,!1,!0);break;case"yy":r=P(0,2,0,!0,!0);break;case"yyy":r=P(0,3,0,!1,!0);break;case"yyyy":r=P(0,4,0,!1,!0);break;case"Y":r=vn(1);break;case"YY":r=vn(2,!0);break;case"YYY":r=vn(3);break;case"YYYY":r=vn(4);break;case"M":case"L":r=P(1,1,1);break;case"MM":case"LL":r=P(1,2,1);break;case"MMM":r=I(2,_.Abbreviated);break;case"MMMM":r=I(2,_.Wide);break;case"MMMMM":r=I(2,_.Narrow);break;case"LLL":r=I(2,_.Abbreviated,U.Standalone);break;case"LLLL":r=I(2,_.Wide,U.Standalone);break;case"LLLLL":r=I(2,_.Narrow,U.Standalone);break;case"w":r=Nr(1);break;case"ww":r=Nr(2);break;case"W":r=Nr(1,!0);break;case"d":r=P(2,1);break;case"dd":r=P(2,2);break;case"c":case"cc":r=P(7,1);break;case"ccc":r=I(1,_.Abbreviated,U.Standalone);break;case"cccc":r=I(1,_.Wide,U.Standalone);break;case"ccccc":r=I(1,_.Narrow,U.Standalone);break;case"cccccc":r=I(1,_.Short,U.Standalone);break;case"E":case"EE":case"EEE":r=I(1,_.Abbreviated);break;case"EEEE":r=I(1,_.Wide);break;case"EEEEE":r=I(1,_.Narrow);break;case"EEEEEE":r=I(1,_.Short);break;case"a":case"aa":case"aaa":r=I(0,_.Abbreviated);break;case"aaaa":r=I(0,_.Wide);break;case"aaaaa":r=I(0,_.Narrow);break;case"b":case"bb":case"bbb":r=I(0,_.Abbreviated,U.Standalone,!0);break;case"bbbb":r=I(0,_.Wide,U.Standalone,!0);break;case"bbbbb":r=I(0,_.Narrow,U.Standalone,!0);break;case"B":case"BB":case"BBB":r=I(0,_.Abbreviated,U.Format,!0);break;case"BBBB":r=I(0,_.Wide,U.Format,!0);break;case"BBBBB":r=I(0,_.Narrow,U.Format,!0);break;case"h":r=P(3,1,-12);break;case"hh":r=P(3,2,-12);break;case"H":r=P(3,1);break;case"HH":r=P(3,2);break;case"m":r=P(4,1);break;case"mm":r=P(4,2);break;case"s":r=P(5,1);break;case"ss":r=P(5,2);break;case"S":r=P(6,1);break;case"SS":r=P(6,2);break;case"SSS":r=P(6,3);break;case"Z":case"ZZ":case"ZZZ":r=mn(0);break;case"ZZZZZ":r=mn(3);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":r=mn(1);break;case"OOOO":case"ZZZZ":case"zzzz":r=mn(2);break;default:return null}return Lr[t]=r,r}function Xo(t,r){t=t.replace(/:/g,"");let e=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(e)?r:e}function ja(t,r){return t=new Date(t.getTime()),t.setMinutes(t.getMinutes()+r),t}function $a(t,r,e){let i=t.getTimezoneOffset(),o=Xo(r,i);return ja(t,-1*(o-i))}function za(t){if(No(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[i,o=1,s=1]=t.split("-").map(a=>+a);return yn(i,o-1,s)}let e=parseFloat(t);if(!isNaN(t-e))return new Date(e);let n;if(n=t.match(Oa))return Va(n)}let r=new Date(t);if(!No(r))throw new Error(`Unable to convert "${t}" into a date`);return r}function Va(t){let r=new Date(0),e=0,n=0,i=t[8]?r.setUTCFullYear:r.setFullYear,o=t[8]?r.setUTCHours:r.setHours;t[9]&&(e=Number(t[9]+t[10]),n=Number(t[9]+t[11])),i.call(r,Number(t[1]),Number(t[2])-1,Number(t[3]));let s=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 o.call(r,s,a,u,c),r}function No(t){return t instanceof Date&&!isNaN(t.valueOf())}var Ha=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Lo=22,wn=".",_t="0",Ga=";",qa=",",kr="#";function Wa(t,r,e,n,i,o,s=!1){let a="",u=!1;if(!isFinite(t))a=ce(e,V.Infinity);else{let c=Ka(t);s&&(c=Ya(c));let l=r.minInt,h=r.minFrac,v=r.maxFrac;if(o){let ee=o.match(Ha);if(ee===null)throw new Error(`${o} is not a valid digit info`);let M=ee[1],Ue=ee[3],nn=ee[5];M!=null&&(l=xr(M)),Ue!=null&&(h=xr(Ue)),nn!=null?v=xr(nn):Ue!=null&&h>v&&(v=h)}Xa(c,h,v);let g=c.digits,R=c.integerLen,S=c.exponent,E=[];for(u=g.every(ee=>!ee);R<l;R++)g.unshift(0);for(;R<0;R++)g.unshift(0);R>0?E=g.splice(R,g.length):(E=g,g=[0]);let B=[];for(g.length>=r.lgSize&&B.unshift(g.splice(-r.lgSize,g.length).join(""));g.length>r.gSize;)B.unshift(g.splice(-r.gSize,g.length).join(""));g.length&&B.unshift(g.join("")),a=B.join(ce(e,n)),E.length&&(a+=ce(e,i)+E.join("")),S&&(a+=ce(e,V.Exponential)+"+"+S)}return t<0&&!u?a=r.negPre+a+r.negSuf:a=r.posPre+a+r.posSuf,a}function Jo(t,r,e){let n=Go(r,zr.Decimal),i=Za(n,ce(r,V.MinusSign));return Wa(t,i,r,V.Group,V.Decimal,e)}function Za(t,r="-"){let e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},n=t.split(Ga),i=n[0],o=n[1],s=i.indexOf(wn)!==-1?i.split(wn):[i.substring(0,i.lastIndexOf(_t)+1),i.substring(i.lastIndexOf(_t)+1)],a=s[0],u=s[1]||"";e.posPre=a.substring(0,a.indexOf(kr));for(let l=0;l<u.length;l++){let h=u.charAt(l);h===_t?e.minFrac=e.maxFrac=l+1:h===kr?e.maxFrac=l+1:e.posSuf+=h}let c=a.split(qa);if(e.gSize=c[1]?c[1].length:0,e.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,o){let l=i.length-e.posPre.length-e.posSuf.length,h=o.indexOf(kr);e.negPre=o.substring(0,h).replace(/'/g,""),e.negSuf=o.slice(h+l).replace(/'/g,"")}else e.negPre=r+e.posPre,e.negSuf=e.posSuf;return e}function Ya(t){if(t.digits[0]===0)return t;let r=t.digits.length-t.integerLen;return t.exponent?t.exponent+=2:(r===0?t.digits.push(0,0):r===1&&t.digits.push(0),t.integerLen+=2),t}function Ka(t){let r=Math.abs(t)+"",e=0,n,i,o,s,a;for((i=r.indexOf(wn))>-1&&(r=r.replace(wn,"")),(o=r.search(/e/i))>0?(i<0&&(i=o),i+=+r.slice(o+1),r=r.substring(0,o)):i<0&&(i=r.length),o=0;r.charAt(o)===_t;o++);if(o===(a=r.length))n=[0],i=1;else{for(a--;r.charAt(a)===_t;)a--;for(i-=o,n=[],s=0;o<=a;o++,s++)n[s]=Number(r.charAt(o))}return i>Lo&&(n=n.splice(0,Lo-1),e=i-1,i=1),{digits:n,exponent:e,integerLen:i}}function Xa(t,r,e){if(r>e)throw new Error(`The minimum number of digits after fraction (${r}) is higher than the maximum (${e}).`);let n=t.digits,i=n.length-t.integerLen,o=Math.min(Math.max(r,i),e),s=o+t.integerLen,a=n[s];if(s>0){n.splice(Math.max(t.integerLen,s));for(let h=s;h<n.length;h++)n[h]=0}else{i=Math.max(0,i),t.integerLen=1,n.length=Math.max(1,s=o+1),n[0]=0;for(let h=1;h<s;h++)n[h]=0}if(a>=5)if(s-1<0){for(let h=0;h>s;h--)n.unshift(0),t.integerLen++;n.unshift(1),t.integerLen++}else n[s-1]++;for(;i<Math.max(0,o);i++)n.push(0);let u=o!==0,c=r+t.integerLen,l=n.reduceRight(function(h,v,g,R){return v=v+h,R[g]=v<10?v:v-10,u&&(R[g]===0&&g>=c?R.pop():u=!1),v>=10?1:0},0);l&&(n.unshift(l),t.integerLen++)}function xr(t){let r=parseInt(t);if(isNaN(r))throw new Error("Invalid integer literal when parsing "+t);return r}var Ur=/\s+/,ko=[],Ja=(()=>{class t{_ngEl;_renderer;initialClasses=ko;rawClass;stateMap=new Map;constructor(e,n){this._ngEl=e,this._renderer=n}set klass(e){this.initialClasses=e!=null?e.trim().split(Ur):ko}set ngClass(e){this.rawClass=typeof e=="string"?e.trim().split(Ur):e}ngDoCheck(){for(let n of this.initialClasses)this._updateState(n,!0);let e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(let n of e)this._updateState(n,!0);else if(e!=null)for(let n of Object.keys(e))this._updateState(n,!!e[n]);this._applyStateDiff()}_updateState(e,n){let i=this.stateMap.get(e);i!==void 0?(i.enabled!==n&&(i.changed=!0,i.enabled=n),i.touched=!0):this.stateMap.set(e,{enabled:n,changed:!0,touched:!0})}_applyStateDiff(){for(let e of this.stateMap){let n=e[0],i=e[1];i.changed?(this._toggleClass(n,i.enabled),i.changed=!1):i.touched||(i.enabled&&this._toggleClass(n,!1),this.stateMap.delete(n)),i.touched=!1}}_toggleClass(e,n){e=e.trim(),e.length>0&&e.split(Ur).forEach(i=>{n?this._renderer.addClass(this._ngEl.nativeElement,i):this._renderer.removeClass(this._ngEl.nativeElement,i)})}static \u0275fac=function(n){return new(n||t)(T(be),T(Te))};static \u0275dir=$({type:t,selectors:[["","ngClass",""]],inputs:{klass:[0,"class","klass"],ngClass:"ngClass"}})}return t})(),Qa=(()=>{class t{_viewContainerRef;ngComponentOutlet=null;ngComponentOutletInputs;ngComponentOutletInjector;ngComponentOutletContent;ngComponentOutletNgModule;ngComponentOutletNgModuleFactory;_componentRef;_moduleRef;_inputsUsed=new Map;get componentInstance(){return this._componentRef?.instance??null}constructor(e){this._viewContainerRef=e}_needToReCreateNgModuleInstance(e){return e.ngComponentOutletNgModule!==void 0||e.ngComponentOutletNgModuleFactory!==void 0}_needToReCreateComponentInstance(e){return e.ngComponentOutlet!==void 0||e.ngComponentOutletContent!==void 0||e.ngComponentOutletInjector!==void 0||this._needToReCreateNgModuleInstance(e)}ngOnChanges(e){if(this._needToReCreateComponentInstance(e)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){let n=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(e)&&(this._moduleRef?.destroy(),this.ngComponentOutletNgModule?this._moduleRef=lo(this.ngComponentOutletNgModule,xo(n)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(xo(n)):this._moduleRef=void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:n,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(let e of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(e,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(e){for(let[n,i]of this._inputsUsed)i?(e.setInput(n,this.ngComponentOutletInputs[n]),this._inputsUsed.set(n,!1)):(e.setInput(n,void 0),this._inputsUsed.delete(n))}static \u0275fac=function(n){return new(n||t)(T(Ge))};static \u0275dir=$({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},exportAs:["ngComponentOutlet"],features:[ae]})}return t})();function xo(t){return t.get(uo).injector}var Cn=class{$implicit;ngForOf;index;count;constructor(r,e,n,i){this.$implicit=r,this.ngForOf=e,this.index=n,this.count=i}get first(){return this.index===0}get last(){return this.index===this.count-1}get even(){return this.index%2===0}get odd(){return!this.even}},Qo=(()=>{class t{_viewContainer;_template;_differs;set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}_ngForOf=null;_ngForOfDirty=!0;_differ=null;_trackByFn;constructor(e,n,i){this._viewContainer=e,this._template=n,this._differs=i}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;let e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){let e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){let n=this._viewContainer;e.forEachOperation((i,o,s)=>{if(i.previousIndex==null)n.createEmbeddedView(this._template,new Cn(i.item,this._ngForOf,-1,-1),s===null?void 0:s);else if(s==null)n.remove(o===null?void 0:o);else if(o!==null){let a=n.get(o);n.move(a,s),Uo(a,i)}});for(let i=0,o=n.length;i<o;i++){let a=n.get(i).context;a.index=i,a.count=o,a.ngForOf=this._ngForOf}e.forEachIdentityChange(i=>{let o=n.get(i.currentIndex);Uo(o,i)})}static ngTemplateContextGuard(e,n){return!0}static \u0275fac=function(n){return new(n||t)(T(Ge),T(Sr),T(bo))};static \u0275dir=$({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}})}return t})();function Uo(t,r){t.context.$implicit=r.item}var eu=(()=>{class t{_viewContainer;_context=new En;_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){Bo(e,!1),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){Bo(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)(T(Ge),T(Sr))};static \u0275dir=$({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}})}return t})(),En=class{$implicit=null;ngIf=null};function Bo(t,r){if(t&&!t.createEmbeddedView)throw new w(2020,!1)}var tu=(()=>{class t{_ngEl;_differs;_renderer;_ngStyle=null;_differ=null;constructor(e,n,i){this._ngEl=e,this._differs=n,this._renderer=i}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[i,o]=e.split("."),s=i.indexOf("-")===-1?void 0:He.DashCase;n!=null?this._renderer.setStyle(this._ngEl.nativeElement,i,o?`${n}${o}`:n,s):this._renderer.removeStyle(this._ngEl.nativeElement,i,s)}_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)(T(be),T(Ao),T(Te))};static \u0275dir=$({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}})}return t})(),nu=(()=>{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 i=this._createContextForwardProxy();this._viewRef=n.createEmbeddedView(this.ngTemplateOutlet,i,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,n,i)=>this.ngTemplateOutletContext?Reflect.set(this.ngTemplateOutletContext,n,i):!1,get:(e,n,i)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,n,i)}})}static \u0275fac=function(n){return new(n||t)(T(Ge))};static \u0275dir=$({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},features:[ae]})}return t})();function Vr(t,r){return new w(2100,!1)}var Br=class{createSubscription(r,e){return Mr(()=>r.subscribe({next:e,error:n=>{throw n}}))}dispose(r){Mr(()=>r.unsubscribe())}},jr=class{createSubscription(r,e){return r.then(n=>e?.(n),n=>{throw n}),{unsubscribe:()=>{e=null}}}dispose(r){r.unsubscribe()}},ru=new jr,iu=new Br,ou=(()=>{class t{_ref;_latestValue=null;markForCheckOnValueUpdate=!0;_subscription=null;_obj=null;_strategy=null;constructor(e){this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,n=>this._updateLatestValue(e,n))}_selectStrategy(e){if(ln(e))return ru;if(po(e))return iu;throw Vr(t,e)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,n){e===this._obj&&(this._latestValue=n,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static \u0275fac=function(n){return new(n||t)(T(Ie,16))};static \u0275pipe=Et({name:"async",type:t,pure:!1})}return t})();var su="mediumDate",es=new C(""),ts=new C(""),au=(()=>{class t{locale;defaultTimezone;defaultOptions;constructor(e,n,i){this.locale=e,this.defaultTimezone=n,this.defaultOptions=i}transform(e,n,i,o){if(e==null||e===""||e!==e)return null;try{let s=n??this.defaultOptions?.dateFormat??su,a=i??this.defaultOptions?.timezone??this.defaultTimezone??void 0;return Yo(e,s,o||this.locale,a)}catch(s){throw Vr(t,s.message)}}static \u0275fac=function(n){return new(n||t)(T(_r,16),T(es,24),T(ts,24))};static \u0275pipe=Et({name:"date",type:t,pure:!0})}return t})();var uu=(()=>{class t{transform(e){return JSON.stringify(e,null,2)}static \u0275fac=function(n){return new(n||t)};static \u0275pipe=Et({name:"json",type:t,pure:!1})}return t})();var cu=(()=>{class t{_locale;constructor(e){this._locale=e}transform(e,n,i){if(!lu(e))return null;i||=this._locale;try{let o=du(e);return Jo(o,i,n)}catch(o){throw Vr(t,o.message)}}static \u0275fac=function(n){return new(n||t)(T(_r,16))};static \u0275pipe=Et({name:"number",type:t,pure:!0})}return t})();function lu(t){return!(t==null||t===""||t!==t)}function du(t){if(typeof t=="string"&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if(typeof t!="number")throw new Error(`${t} is not a number`);return t}var Hr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=_e({type:t});static \u0275inj=Se({})}return t})();function It(t,r){r=encodeURIComponent(r);for(let e of t.split(";")){let n=e.indexOf("="),[i,o]=n==-1?[e,""]:[e.slice(0,n),e.slice(n+1)];if(i.trim()===r)return decodeURIComponent(o)}return null}var Sn="browser",ns="server";function hu(t){return t===Sn}function Rn(t){return t===ns}var qe=class{};var is=(()=>{class t{static \u0275prov=D({token:t,providedIn:"root",factory:()=>new Gr(d(O),window)})}return t})(),Gr=class{document;window;offset=()=>[0,0];constructor(r,e){this.document=r,this.window=e}setOffset(r){Array.isArray(r)?this.offset=()=>r:this.offset=r}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(r){this.window.scrollTo(r[0],r[1])}scrollToAnchor(r){let e=mu(this.document,r);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(r){this.window.history.scrollRestoration=r}scrollToElement(r){let e=r.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],i-o[1])}};function mu(t,r){let e=t.getElementById(r)||t.getElementsByName(r)[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),i=n.currentNode;for(;i;){let o=i.shadowRoot;if(o){let s=o.getElementById(r)||o.querySelector(`[name="${r}"]`);if(s)return s}i=n.nextNode()}}return null}var vu="20";function Du(t){return/^https?:\/\//.test(t)}function yu(t){if(!(typeof t=="string")||t.trim()==="")return!1;try{let e=new URL(t);return!0}catch{return!1}}function wu(t){return t.endsWith("/")?t.slice(0,-1):t}function Cu(t){return t.startsWith("/")?t.slice(1):t}var os=t=>t.src,ss=new C("",{providedIn:"root",factory:()=>os});function Eu(t,r){return function(n){return yu(n)||Su(n,r||[]),n=wu(n),[{provide:ss,useValue:s=>(Du(s.src)&&Ru(n,s.src),t(n,k(f({},s),{src:Cu(s.src)})))}]}}function Su(t,r){throw new w(2959,!1)}function Ru(t,r){throw new w(2959,!1)}var Rh=Eu(bu,void 0);function bu(t,r){let e=new URL(`${t}/${r.src}`);return e.searchParams.set("auto","format"),r.width&&e.searchParams.set("w",r.width.toString()),r.isPlaceholder&&e.searchParams.set("q",vu),e.href}var rs=/^((\s*\d+w\s*(,|$)){1,})$/;var Au=[1,2],Tu=640;var _u=1920,Iu=1080;var bh=(()=>{class t{imageLoader=d(ss);config=Mu(d(Yi));renderer=d(Te);imgElement=d(be).nativeElement;injector=d($e);lcpObserver;_renderedSrc=null;ngSrc;ngSrcset;sizes;width;height;loading;priority=!1;loaderParams;disableOptimizedSrcset=!1;fill=!1;placeholder;placeholderConfig;src;srcset;constructor(){}ngOnInit(){sn("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("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&&rs.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"}getRewrittenSrc(){if(!this._renderedSrc){let e={src:this.ngSrc};this._renderedSrc=this.callImageLoader(e)}return this._renderedSrc}getRewrittenSrcset(){let e=rs.test(this.ngSrcset);return this.ngSrcset.split(",").filter(i=>i!=="").map(i=>{i=i.trim();let o=e?parseFloat(i):parseFloat(i)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:o})} ${i}`}).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(o=>o>=Tu)),n.map(o=>`${this.callImageLoader({src:this.ngSrc,width:o})} ${o}w`).join(", ")}updateSrcAndSrcset(e=!1){e&&(this._renderedSrc=null);let n=this.getRewrittenSrc();this.setHostAttribute("src",n);let i;return this.ngSrcset?i=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(i=this.getAutomaticSrcset()),i&&this.setHostAttribute("srcset",i),i}getFixedSrcset(){return Au.map(n=>`${this.callImageLoader({src:this.ngSrc,width:this.width*n})} ${n}x`).join(", ")}shouldGenerateAutomaticSrcset(){let e=!1;return this.sizes||(e=this.width>_u||this.height>Iu),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==os&&!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 s=this.injector.get(Ie);i(),o(),this.placeholder=!1,s.markForCheck()},i=this.renderer.listen(e,"load",n),o=this.renderer.listen(e,"error",n);Fu(e,n)}setHostAttribute(e,n){this.renderer.setAttribute(this.imgElement,e,n)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=$({type:t,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(n,i){n&2&&vo("position",i.fill?"absolute":null)("width",i.fill?"100%":null)("height",i.fill?"100%":null)("inset",i.fill?"0":null)("background-size",i.placeholder?"cover":null)("background-position",i.placeholder?"50% 50%":null)("background-repeat",i.placeholder?"no-repeat":null)("background-image",i.placeholder?i.generatePlaceholder(i.placeholder):null)("filter",i.placeholder&&i.shouldBlurPlaceholder(i.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[2,"ngSrc","ngSrc",Ou],ngSrcset:"ngSrcset",sizes:"sizes",width:[2,"width","width",Ir],height:[2,"height","height",Ir],loading:"loading",priority:[2,"priority","priority",De],loaderParams:"loaderParams",disableOptimizedSrcset:[2,"disableOptimizedSrcset","disableOptimizedSrcset",De],fill:[2,"fill","fill",De],placeholder:[2,"placeholder","placeholder",Pu],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},features:[ae]})}return t})();function Mu(t){let r={};return t.breakpoints&&(r.breakpoints=t.breakpoints.sort((e,n)=>e-n)),Object.assign({},Zi,t,r)}function Fu(t,r){t.complete&&t.naturalWidth&&r()}function Ou(t){return typeof t=="string"?t:Ae(t)}function Pu(t){return typeof t=="string"&&t!=="true"&&t!=="false"&&t!==""?t:De(t)}var Tn=new C(""),Yr=(()=>{class t{_zone;_plugins;_eventNameToPlugin=new Map;constructor(e,n){this._zone=n,e.forEach(i=>{i.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,n,i,o){return this._findPluginFor(n).addEventListener(e,n,i,o)}getZone(){return this._zone}_findPluginFor(e){let n=this._eventNameToPlugin.get(e);if(n)return n;if(n=this._plugins.find(o=>o.supports(e)),!n)throw new w(5101,!1);return this._eventNameToPlugin.set(e,n),n}static \u0275fac=function(n){return new(n||t)(m(Tn),m(J))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),Mt=class{_doc;constructor(r){this._doc=r}manager},bn="ng-app-id";function as(t){for(let r of t)r.remove()}function us(t,r){let e=r.createElement("style");return e.textContent=t,e}function Lu(t,r,e,n){let i=t.head?.querySelectorAll(`style[${bn}="${r}"],link[${bn}="${r}"]`);if(i)for(let o of i)o.removeAttribute(bn),o instanceof HTMLLinkElement?n.set(o.href.slice(o.href.lastIndexOf("/")+1),{usage:0,elements:[o]}):o.textContent&&e.set(o.textContent,{usage:0,elements:[o]})}function Wr(t,r){let e=r.createElement("link");return e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),e}var Kr=(()=>{class t{doc;appId;nonce;inline=new Map;external=new Map;hosts=new Set;isServer;constructor(e,n,i,o={}){this.doc=e,this.appId=n,this.nonce=i,this.isServer=Rn(o),Lu(e,n,this.inline,this.external),this.hosts.add(e.head)}addStyles(e,n){for(let i of e)this.addUsage(i,this.inline,us);n?.forEach(i=>this.addUsage(i,this.external,Wr))}removeStyles(e,n){for(let i of e)this.removeUsage(i,this.inline);n?.forEach(i=>this.removeUsage(i,this.external))}addUsage(e,n,i){let o=n.get(e);o?o.usage++:n.set(e,{usage:1,elements:[...this.hosts].map(s=>this.addElement(s,i(e,this.doc)))})}removeUsage(e,n){let i=n.get(e);i&&(i.usage--,i.usage<=0&&(as(i.elements),n.delete(e)))}ngOnDestroy(){for(let[,{elements:e}]of[...this.inline,...this.external])as(e);this.hosts.clear()}addHost(e){this.hosts.add(e);for(let[n,{elements:i}]of this.inline)i.push(this.addElement(e,us(n,this.doc)));for(let[n,{elements:i}]of this.external)i.push(this.addElement(e,Wr(n,this.doc)))}removeHost(e){this.hosts.delete(e)}addElement(e,n){return this.nonce&&n.setAttribute("nonce",this.nonce),this.isServer&&n.setAttribute(bn,this.appId),e.appendChild(n)}static \u0275fac=function(n){return new(n||t)(m(O),m(Cr),m(Er,8),m(tt))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),qr={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"},Xr=/%COMP%/g;var ls="%COMP%",ku=`_nghost-${ls}`,xu=`_ngcontent-${ls}`,Uu=!0,Bu=new C("",{providedIn:"root",factory:()=>Uu});function ju(t){return xu.replace(Xr,t)}function $u(t){return ku.replace(Xr,t)}function ds(t,r){return r.map(e=>e.replace(Xr,t))}var Jr=(()=>{class t{eventManager;sharedStylesHost;appId;removeStylesOnCompDestroy;doc;platformId;ngZone;nonce;tracingService;rendererByCompId=new Map;defaultRenderer;platformIsServer;constructor(e,n,i,o,s,a,u,c=null,l=null){this.eventManager=e,this.sharedStylesHost=n,this.appId=i,this.removeStylesOnCompDestroy=o,this.doc=s,this.platformId=a,this.ngZone=u,this.nonce=c,this.tracingService=l,this.platformIsServer=Rn(a),this.defaultRenderer=new Ft(e,s,u,this.platformIsServer,this.tracingService)}createRenderer(e,n){if(!e||!n)return this.defaultRenderer;this.platformIsServer&&n.encapsulation===Ct.ShadowDom&&(n=k(f({},n),{encapsulation:Ct.Emulated}));let i=this.getOrCreateRenderer(e,n);return i instanceof An?i.applyToHost(e):i instanceof Ot&&i.applyStyles(),i}getOrCreateRenderer(e,n){let i=this.rendererByCompId,o=i.get(n.id);if(!o){let s=this.doc,a=this.ngZone,u=this.eventManager,c=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,h=this.platformIsServer,v=this.tracingService;switch(n.encapsulation){case Ct.Emulated:o=new An(u,c,n,this.appId,l,s,a,h,v);break;case Ct.ShadowDom:return new Zr(u,c,e,n,s,a,this.nonce,h,v);default:o=new Ot(u,c,n,l,s,a,h,v);break}i.set(n.id,o)}return o}ngOnDestroy(){this.rendererByCompId.clear()}componentReplaced(e){this.rendererByCompId.delete(e)}static \u0275fac=function(n){return new(n||t)(m(Yr),m(Kr),m(Cr),m(Bu),m(O),m(tt),m(J),m(Er),m(Ki,8))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),Ft=class{eventManager;doc;ngZone;platformIsServer;tracingService;data=Object.create(null);throwOnSyntheticProps=!0;constructor(r,e,n,i,o){this.eventManager=r,this.doc=e,this.ngZone=n,this.platformIsServer=i,this.tracingService=o}destroy(){}destroyNode=null;createElement(r,e){return e?this.doc.createElementNS(qr[e]||e,r):this.doc.createElement(r)}createComment(r){return this.doc.createComment(r)}createText(r){return this.doc.createTextNode(r)}appendChild(r,e){(cs(r)?r.content:r).appendChild(e)}insertBefore(r,e,n){r&&(cs(r)?r.content:r).insertBefore(e,n)}removeChild(r,e){e.remove()}selectRootElement(r,e){let n=typeof r=="string"?this.doc.querySelector(r):r;if(!n)throw new w(-5104,!1);return e||(n.textContent=""),n}parentNode(r){return r.parentNode}nextSibling(r){return r.nextSibling}setAttribute(r,e,n,i){if(i){e=i+":"+e;let o=qr[i];o?r.setAttributeNS(o,e,n):r.setAttribute(e,n)}else r.setAttribute(e,n)}removeAttribute(r,e,n){if(n){let i=qr[n];i?r.removeAttributeNS(i,e):r.removeAttribute(`${n}:${e}`)}else r.removeAttribute(e)}addClass(r,e){r.classList.add(e)}removeClass(r,e){r.classList.remove(e)}setStyle(r,e,n,i){i&(He.DashCase|He.Important)?r.style.setProperty(e,n,i&He.Important?"important":""):r.style[e]=n}removeStyle(r,e,n){n&He.DashCase?r.style.removeProperty(e):r.style[e]=""}setProperty(r,e,n){r!=null&&(r[e]=n)}setValue(r,e){r.nodeValue=e}listen(r,e,n,i){if(typeof r=="string"&&(r=ue().getGlobalEventTarget(this.doc,r),!r))throw new w(5102,!1);let o=this.decoratePreventDefault(n);return this.tracingService?.wrapEventListener&&(o=this.tracingService.wrapEventListener(r,e,o)),this.eventManager.addEventListener(r,e,o,i)}decoratePreventDefault(r){return e=>{if(e==="__ngUnwrap__")return r;(this.platformIsServer?this.ngZone.runGuarded(()=>r(e)):r(e))===!1&&e.preventDefault()}}};function cs(t){return t.tagName==="TEMPLATE"&&t.content!==void 0}var Zr=class extends Ft{sharedStylesHost;hostEl;shadowRoot;constructor(r,e,n,i,o,s,a,u,c){super(r,o,s,u,c),this.sharedStylesHost=e,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let l=i.styles;l=ds(i.id,l);for(let v of l){let g=document.createElement("style");a&&g.setAttribute("nonce",a),g.textContent=v,this.shadowRoot.appendChild(g)}let h=i.getExternalStyles?.();if(h)for(let v of h){let g=Wr(v,o);a&&g.setAttribute("nonce",a),this.shadowRoot.appendChild(g)}}nodeOrShadowRoot(r){return r===this.hostEl?this.shadowRoot:r}appendChild(r,e){return super.appendChild(this.nodeOrShadowRoot(r),e)}insertBefore(r,e,n){return super.insertBefore(this.nodeOrShadowRoot(r),e,n)}removeChild(r,e){return super.removeChild(null,e)}parentNode(r){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(r)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},Ot=class extends Ft{sharedStylesHost;removeStylesOnCompDestroy;styles;styleUrls;constructor(r,e,n,i,o,s,a,u,c){super(r,o,s,a,u),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=i;let l=n.styles;this.styles=c?ds(c,l):l,this.styleUrls=n.getExternalStyles?.(c)}applyStyles(){this.sharedStylesHost.addStyles(this.styles,this.styleUrls)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles,this.styleUrls)}},An=class extends Ot{contentAttr;hostAttr;constructor(r,e,n,i,o,s,a,u,c){let l=i+"-"+n.id;super(r,e,n,o,s,a,u,c,l),this.contentAttr=ju(l),this.hostAttr=$u(l)}applyToHost(r){this.applyStyles(),this.setAttribute(r,this.hostAttr,"")}createElement(r,e){let n=super.createElement(r,e);return super.setAttribute(n,this.contentAttr,""),n}};var _n=class t extends St{supportsDOMEvents=!0;static makeCurrent(){Fr(new t)}onAndCancel(r,e,n,i){return r.addEventListener(e,n,i),()=>{r.removeEventListener(e,n,i)}}dispatchEvent(r,e){r.dispatchEvent(e)}remove(r){r.remove()}createElement(r,e){return e=e||this.getDefaultDocument(),e.createElement(r)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(r){return r.nodeType===Node.ELEMENT_NODE}isShadowRoot(r){return r instanceof DocumentFragment}getGlobalEventTarget(r,e){return e==="window"?window:e==="document"?r:e==="body"?r.body:null}getBaseHref(r){let e=zu();return e==null?null:Vu(e)}resetBaseElement(){Pt=null}getUserAgent(){return window.navigator.userAgent}getCookie(r){return It(document.cookie,r)}},Pt=null;function zu(){return Pt=Pt||document.head.querySelector("base"),Pt?Pt.getAttribute("href"):null}function Vu(t){return new URL(t,document.baseURI).pathname}var In=class{addToWindow(r){ve.getAngularTestability=(n,i=!0)=>{let o=r.findTestabilityInTree(n,i);if(o==null)throw new w(5103,!1);return o},ve.getAllAngularTestabilities=()=>r.getAllTestabilities(),ve.getAllAngularRootElements=()=>r.getAllRootElements();let e=n=>{let i=ve.getAllAngularTestabilities(),o=i.length,s=function(){o--,o==0&&n()};i.forEach(a=>{a.whenStable(s)})};ve.frameworkStabilizers||(ve.frameworkStabilizers=[]),ve.frameworkStabilizers.push(e)}findTestabilityInTree(r,e,n){if(e==null)return null;let i=r.getTestability(e);return i??(n?ue().isShadowRoot(e)?this.findTestabilityInTree(r,e.host,!0):this.findTestabilityInTree(r,e.parentElement,!0):null)}},Hu=(()=>{class t{build(){return new XMLHttpRequest}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),fs=(()=>{class t extends Mt{constructor(e){super(e)}supports(e){return!0}addEventListener(e,n,i,o){return e.addEventListener(n,i,o),()=>this.removeEventListener(e,n,i,o)}removeEventListener(e,n,i,o){return e.removeEventListener(n,i,o)}static \u0275fac=function(n){return new(n||t)(m(O))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),hs=["alt","control","meta","shift"],Gu={"\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"},qu={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey},ps=(()=>{class t extends Mt{constructor(e){super(e)}supports(e){return t.parseEventName(e)!=null}addEventListener(e,n,i,o){let s=t.parseEventName(n),a=t.eventCallback(s.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>ue().onAndCancel(e,s.domEventName,a,o))}static parseEventName(e){let n=e.toLowerCase().split("."),i=n.shift();if(n.length===0||!(i==="keydown"||i==="keyup"))return null;let o=t._normalizeKey(n.pop()),s="",a=n.indexOf("code");if(a>-1&&(n.splice(a,1),s="code."),hs.forEach(c=>{let l=n.indexOf(c);l>-1&&(n.splice(l,1),s+=c+".")}),s+=o,n.length!=0||o.length===0)return null;let u={};return u.domEventName=i,u.fullKey=s,u}static matchEventFullKeyCode(e,n){let i=Gu[e.key]||e.key,o="";return n.indexOf("code.")>-1&&(i=e.code,o="code."),i==null||!i?!1:(i=i.toLowerCase(),i===" "?i="space":i==="."&&(i="dot"),hs.forEach(s=>{if(s!==i){let a=qu[s];a(e)&&(o+=s+".")}}),o+=i,o===n)}static eventCallback(e,n,i){return o=>{t.matchEventFullKeyCode(o,e)&&i.runGuarded(()=>n(o))}}static _normalizeKey(e){return e==="esc"?"escape":e}static \u0275fac=function(n){return new(n||t)(m(O))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();function Wu(){_n.makeCurrent()}function Zu(){return new wr}function Yu(){return qi(document),document}var Ku=[{provide:tt,useValue:Sn},{provide:Wi,useValue:Wu,multi:!0},{provide:O,useFactory:Yu}],Xu=Ro(To,"browser",Ku);var Ju=[{provide:un,useClass:In},{provide:fo,useClass:cn,deps:[J,br,un]},{provide:cn,useClass:cn,deps:[J,br,un]}],Qu=[{provide:Hi,useValue:"root"},{provide:wr,useFactory:Zu},{provide:Tn,useClass:fs,multi:!0,deps:[O]},{provide:Tn,useClass:ps,multi:!0,deps:[O]},Jr,Kr,Yr,{provide:so,useExisting:Jr},{provide:qe,useClass:Hu},[]],ec=(()=>{class t{constructor(){}static \u0275fac=function(n){return new(n||t)};static \u0275mod=_e({type:t});static \u0275inj=Se({providers:[...Qu,...Ju],imports:[Hr,_o]})}return t})();var it=class{},Nt=class{},Oe=class t{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(r){r?typeof r=="string"?this.lazyInit=()=>{this.headers=new Map,r.split(`
|
|
2
|
-
`).forEach(e=>{let n=e.indexOf(":");if(n>0){let i=e.slice(0,n),o=e.slice(n+1).trim();this.addHeaderEntry(i,o)}})}:typeof Headers<"u"&&r instanceof Headers?(this.headers=new Map,r.forEach((e,n)=>{this.addHeaderEntry(n,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(r).forEach(([e,n])=>{this.setHeaderEntries(e,n)})}:this.headers=new Map}has(r){return this.init(),this.headers.has(r.toLowerCase())}get(r){this.init();let e=this.headers.get(r.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(r){return this.init(),this.headers.get(r.toLowerCase())||null}append(r,e){return this.clone({name:r,value:e,op:"a"})}set(r,e){return this.clone({name:r,value:e,op:"s"})}delete(r,e){return this.clone({name:r,value:e,op:"d"})}maybeSetNormalizedName(r,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,r)}init(){this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(r=>this.applyUpdate(r)),this.lazyUpdate=null))}copyFrom(r){r.init(),Array.from(r.headers.keys()).forEach(e=>{this.headers.set(e,r.headers.get(e)),this.normalizedNames.set(e,r.normalizedNames.get(e))})}clone(r){let e=new t;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([r]),e}applyUpdate(r){let e=r.name.toLowerCase();switch(r.op){case"a":case"s":let n=r.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(r.name,e);let i=(r.op==="a"?this.headers.get(e):void 0)||[];i.push(...n),this.headers.set(e,i);break;case"d":let o=r.value;if(!o)this.headers.delete(e),this.normalizedNames.delete(e);else{let s=this.headers.get(e);if(!s)return;s=s.filter(a=>o.indexOf(a)===-1),s.length===0?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}break}}addHeaderEntry(r,e){let n=r.toLowerCase();this.maybeSetNormalizedName(r,n),this.headers.has(n)?this.headers.get(n).push(e):this.headers.set(n,[e])}setHeaderEntries(r,e){let n=(Array.isArray(e)?e:[e]).map(o=>o.toString()),i=r.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(r,i)}forEach(r){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>r(this.normalizedNames.get(e),this.headers.get(e)))}};var Fn=class{encodeKey(r){return gs(r)}encodeValue(r){return gs(r)}decodeKey(r){return decodeURIComponent(r)}decodeValue(r){return decodeURIComponent(r)}};function tc(t,r){let e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(i=>{let o=i.indexOf("="),[s,a]=o==-1?[r.decodeKey(i),""]:[r.decodeKey(i.slice(0,o)),r.decodeValue(i.slice(o+1))],u=e.get(s)||[];u.push(a),e.set(s,u)}),e}var nc=/%(\d[a-f0-9])/gi,rc={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function gs(t){return encodeURIComponent(t).replace(nc,(r,e)=>rc[e]??r)}function Mn(t){return`${t}`}var we=class t{map;encoder;updates=null;cloneFrom=null;constructor(r={}){if(this.encoder=r.encoder||new Fn,r.fromString){if(r.fromObject)throw new w(2805,!1);this.map=tc(r.fromString,this.encoder)}else r.fromObject?(this.map=new Map,Object.keys(r.fromObject).forEach(e=>{let n=r.fromObject[e],i=Array.isArray(n)?n.map(Mn):[Mn(n)];this.map.set(e,i)})):this.map=null}has(r){return this.init(),this.map.has(r)}get(r){this.init();let e=this.map.get(r);return e?e[0]:null}getAll(r){return this.init(),this.map.get(r)||null}keys(){return this.init(),Array.from(this.map.keys())}append(r,e){return this.clone({param:r,value:e,op:"a"})}appendAll(r){let e=[];return Object.keys(r).forEach(n=>{let i=r[n];Array.isArray(i)?i.forEach(o=>{e.push({param:n,value:o,op:"a"})}):e.push({param:n,value:i,op:"a"})}),this.clone(e)}set(r,e){return this.clone({param:r,value:e,op:"s"})}delete(r,e){return this.clone({param:r,value:e,op:"d"})}toString(){return this.init(),this.keys().map(r=>{let e=this.encoder.encodeKey(r);return this.map.get(r).map(n=>e+"="+this.encoder.encodeValue(n)).join("&")}).filter(r=>r!=="").join("&")}clone(r){let e=new t({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(r),e}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(r=>this.map.set(r,this.cloneFrom.map.get(r))),this.updates.forEach(r=>{switch(r.op){case"a":case"s":let e=(r.op==="a"?this.map.get(r.param):void 0)||[];e.push(Mn(r.value)),this.map.set(r.param,e);break;case"d":if(r.value!==void 0){let n=this.map.get(r.param)||[],i=n.indexOf(Mn(r.value));i!==-1&&n.splice(i,1),n.length>0?this.map.set(r.param,n):this.map.delete(r.param)}else{this.map.delete(r.param);break}}}),this.cloneFrom=this.updates=null)}};var On=class{map=new Map;set(r,e){return this.map.set(r,e),this}get(r){return this.map.has(r)||this.map.set(r,r.defaultValue()),this.map.get(r)}delete(r){return this.map.delete(r),this}has(r){return this.map.has(r)}keys(){return this.map.keys()}};function ic(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function ms(t){return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer}function vs(t){return typeof Blob<"u"&&t instanceof Blob}function Ds(t){return typeof FormData<"u"&&t instanceof FormData}function oc(t){return typeof URLSearchParams<"u"&&t instanceof URLSearchParams}var ys="Content-Type",ws="Accept",Es="X-Request-URL",Ss="text/plain",Rs="application/json",sc=`${Rs}, ${Ss}, */*`,rt=class t{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;responseType="json";method;params;urlWithParams;transferCache;constructor(r,e,n,i){this.url=e,this.method=r.toUpperCase();let o;if(ic(this.method)||i?(this.body=n!==void 0?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??=new Oe,this.context??=new On,!this.params)this.params=new we,this.urlWithParams=e;else{let s=this.params.toString();if(s.length===0)this.urlWithParams=e;else{let a=e.indexOf("?"),u=a===-1?"?":a<e.length-1?"&":"";this.urlWithParams=e+u+s}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||ms(this.body)||vs(this.body)||Ds(this.body)||oc(this.body)?this.body:this.body instanceof we?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||Ds(this.body)?null:vs(this.body)?this.body.type||null:ms(this.body)?null:typeof this.body=="string"?Ss:this.body instanceof we?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?Rs:null}clone(r={}){let e=r.method||this.method,n=r.url||this.url,i=r.responseType||this.responseType,o=r.transferCache??this.transferCache,s=r.body!==void 0?r.body:this.body,a=r.withCredentials??this.withCredentials,u=r.reportProgress??this.reportProgress,c=r.headers||this.headers,l=r.params||this.params,h=r.context??this.context;return r.setHeaders!==void 0&&(c=Object.keys(r.setHeaders).reduce((v,g)=>v.set(g,r.setHeaders[g]),c)),r.setParams&&(l=Object.keys(r.setParams).reduce((v,g)=>v.set(g,r.setParams[g]),l)),new t(e,n,s,{params:l,headers:c,context:h,reportProgress:u,responseType:i,withCredentials:a,transferCache:o})}},We=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}(We||{}),ot=class{headers;status;statusText;url;ok;type;constructor(r,e=200,n="OK"){this.headers=r.headers||new Oe,this.status=r.status!==void 0?r.status:e,this.statusText=r.statusText||n,this.url=r.url||null,this.ok=this.status>=200&&this.status<300}},Pn=class t extends ot{constructor(r={}){super(r)}type=We.ResponseHeader;clone(r={}){return new t({headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},Lt=class t extends ot{body;constructor(r={}){super(r),this.body=r.body!==void 0?r.body:null}type=We.Response;clone(r={}){return new t({body:r.body!==void 0?r.body:this.body,headers:r.headers||this.headers,status:r.status!==void 0?r.status:this.status,statusText:r.statusText||this.statusText,url:r.url||this.url||void 0})}},kt=class extends ot{name="HttpErrorResponse";message;error;ok=!1;constructor(r){super(r,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${r.url||"(unknown url)"}`:this.message=`Http failure response for ${r.url||"(unknown url)"}: ${r.status} ${r.statusText}`,this.error=r.error||null}},ac=200,uc=204;function Qr(t,r){return{body:r,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials,transferCache:t.transferCache}}var bs=(()=>{class t{handler;constructor(e){this.handler=e}request(e,n,i={}){let o;if(e instanceof rt)o=e;else{let u;i.headers instanceof Oe?u=i.headers:u=new Oe(i.headers);let c;i.params&&(i.params instanceof we?c=i.params:c=new we({fromObject:i.params})),o=new rt(e,n,i.body!==void 0?i.body:null,{headers:u,context:i.context,params:c,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials,transferCache:i.transferCache})}let s=p(o).pipe(me(u=>this.handler.handle(u)));if(e instanceof rt||i.observe==="events")return s;let a=s.pipe(se(u=>u instanceof Lt));switch(i.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return a.pipe(b(u=>{if(u.body!==null&&!(u.body instanceof ArrayBuffer))throw new w(2806,!1);return u.body}));case"blob":return a.pipe(b(u=>{if(u.body!==null&&!(u.body instanceof Blob))throw new w(2807,!1);return u.body}));case"text":return a.pipe(b(u=>{if(u.body!==null&&typeof u.body!="string")throw new w(2808,!1);return u.body}));case"json":default:return a.pipe(b(u=>u.body))}case"response":return a;default:throw new w(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 we().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,n={}){return this.request("OPTIONS",e,n)}patch(e,n,i={}){return this.request("PATCH",e,Qr(i,n))}post(e,n,i={}){return this.request("POST",e,Qr(i,n))}put(e,n,i={}){return this.request("PUT",e,Qr(i,n))}static \u0275fac=function(n){return new(n||t)(m(it))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();var cc=new C("");function As(t,r){return r(t)}function lc(t,r){return(e,n)=>r.intercept(e,{handle:i=>t(i,n)})}function dc(t,r,e){return(n,i)=>X(e,()=>r(n,o=>t(o,i)))}var Ts=new C(""),ti=new C(""),_s=new C(""),ni=new C("",{providedIn:"root",factory:()=>!0});function hc(){let t=null;return(r,e)=>{t===null&&(t=(d(Ts,{optional:!0})??[]).reduceRight(lc,As));let n=d(wt);if(d(ni)){let o=n.add();return t(r,e).pipe(je(()=>n.remove(o)))}else return t(r,e)}}var Nn=(()=>{class t extends it{backend;injector;chain=null;pendingTasks=d(wt);contributeToStability=d(ni);constructor(e,n){super(),this.backend=e,this.injector=n}handle(e){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(ti),...this.injector.get(_s,[])]));this.chain=n.reduceRight((i,o)=>dc(i,o,this.injector),As)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(e,i=>this.backend.handle(i)).pipe(je(()=>this.pendingTasks.remove(n)))}else return this.chain(e,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||t)(m(Nt),m(Re))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();var fc=/^\)\]\}',?\n/,pc=RegExp(`^${Es}:`,"m");function gc(t){return"responseURL"in t&&t.responseURL?t.responseURL:pc.test(t.getAllResponseHeaders())?t.getResponseHeader(Es):null}var ei=(()=>{class t{xhrFactory;constructor(e){this.xhrFactory=e}handle(e){if(e.method==="JSONP")throw new w(-2800,!1);let n=this.xhrFactory;return(n.\u0275loadImpl?L(n.\u0275loadImpl()):p(null)).pipe(G(()=>new Li(o=>{let s=n.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((S,E)=>s.setRequestHeader(S,E.join(","))),e.headers.has(ws)||s.setRequestHeader(ws,sc),!e.headers.has(ys)){let S=e.detectContentTypeHeader();S!==null&&s.setRequestHeader(ys,S)}if(e.responseType){let S=e.responseType.toLowerCase();s.responseType=S!=="json"?S:"text"}let a=e.serializeBody(),u=null,c=()=>{if(u!==null)return u;let S=s.statusText||"OK",E=new Oe(s.getAllResponseHeaders()),B=gc(s)||e.url;return u=new Pn({headers:E,status:s.status,statusText:S,url:B}),u},l=()=>{let{headers:S,status:E,statusText:B,url:ee}=c(),M=null;E!==uc&&(M=typeof s.response>"u"?s.responseText:s.response),E===0&&(E=M?ac:0);let Ue=E>=200&&E<300;if(e.responseType==="json"&&typeof M=="string"){let nn=M;M=M.replace(fc,"");try{M=M!==""?JSON.parse(M):null}catch(_a){M=nn,Ue&&(Ue=!1,M={error:_a,text:M})}}Ue?(o.next(new Lt({body:M,headers:S,status:E,statusText:B,url:ee||void 0})),o.complete()):o.error(new kt({error:M,headers:S,status:E,statusText:B,url:ee||void 0}))},h=S=>{let{url:E}=c(),B=new kt({error:S,status:s.status||0,statusText:s.statusText||"Unknown Error",url:E||void 0});o.error(B)},v=!1,g=S=>{v||(o.next(c()),v=!0);let E={type:We.DownloadProgress,loaded:S.loaded};S.lengthComputable&&(E.total=S.total),e.responseType==="text"&&s.responseText&&(E.partialText=s.responseText),o.next(E)},R=S=>{let E={type:We.UploadProgress,loaded:S.loaded};S.lengthComputable&&(E.total=S.total),o.next(E)};return s.addEventListener("load",l),s.addEventListener("error",h),s.addEventListener("timeout",h),s.addEventListener("abort",h),e.reportProgress&&(s.addEventListener("progress",g),a!==null&&s.upload&&s.upload.addEventListener("progress",R)),s.send(a),o.next({type:We.Sent}),()=>{s.removeEventListener("error",h),s.removeEventListener("abort",h),s.removeEventListener("load",l),s.removeEventListener("timeout",h),e.reportProgress&&(s.removeEventListener("progress",g),a!==null&&s.upload&&s.upload.removeEventListener("progress",R)),s.readyState!==s.DONE&&s.abort()}})))}static \u0275fac=function(n){return new(n||t)(m(qe))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),Is=new C(""),mc="XSRF-TOKEN",vc=new C("",{providedIn:"root",factory:()=>mc}),Dc="X-XSRF-TOKEN",yc=new C("",{providedIn:"root",factory:()=>Dc}),xt=class{},wc=(()=>{class t{doc;cookieName;lastCookieString="";lastToken=null;parseCount=0;constructor(e,n){this.doc=e,this.cookieName=n}getToken(){let e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=It(e,this.cookieName),this.lastCookieString=e),this.lastToken}static \u0275fac=function(n){return new(n||t)(m(O),m(vc))};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();function Cc(t,r){let e=t.url.toLowerCase();if(!d(Is)||t.method==="GET"||t.method==="HEAD"||e.startsWith("http://")||e.startsWith("https://"))return r(t);let n=d(xt).getToken(),i=d(yc);return n!=null&&!t.headers.has(i)&&(t=t.clone({headers:t.headers.set(i,n)})),r(t)}var ri=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}(ri||{});function Ec(t,r){return{\u0275kind:t,\u0275providers:r}}function Sc(...t){let r=[bs,ei,Nn,{provide:it,useExisting:Nn},{provide:Nt,useFactory:()=>d(cc,{optional:!0})??d(ei)},{provide:ti,useValue:Cc,multi:!0},{provide:Is,useValue:!0},{provide:xt,useClass:wc}];for(let e of t)r.push(...e.\u0275providers);return on(r)}var Cs=new C("");function Rc(){return Ec(ri.LegacyInterceptors,[{provide:Cs,useFactory:hc},{provide:ti,useExisting:Cs,multi:!0}])}var Ms=(()=>{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)(m(O))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ac=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:function(n){let i=null;return n?i=new(n||t):i=m(Tc),i},providedIn:"root"})}return t})(),Tc=(()=>{class t extends Ac{_doc;constructor(e){super(),this._doc=e}sanitize(e,n){if(n==null)return null;switch(e){case Ve.NONE:return n;case Ve.HTML:return nt(n,"HTML")?Ae(n):io(this._doc,String(n)).toString();case Ve.STYLE:return nt(n,"Style")?Ae(n):n;case Ve.SCRIPT:if(nt(n,"Script"))return Ae(n);throw new w(5200,!1);case Ve.URL:return nt(n,"URL")?Ae(n):ro(String(n));case Ve.RESOURCE_URL:if(nt(n,"ResourceURL"))return Ae(n);throw new w(5201,!1);default:throw new w(5202,!1)}}bypassSecurityTrustHtml(e){return Ji(e)}bypassSecurityTrustStyle(e){return Qi(e)}bypassSecurityTrustScript(e){return eo(e)}bypassSecurityTrustUrl(e){return to(e)}bypassSecurityTrustResourceUrl(e){return no(e)}static \u0275fac=function(n){return new(n||t)(m(O))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var y="primary",Kt=Symbol("RouteTitle"),ui=class{params;constructor(r){this.params=r||{}}has(r){return Object.prototype.hasOwnProperty.call(this.params,r)}get(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e[0]:e}return null}getAll(r){if(this.has(r)){let e=this.params[r];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function Ke(t){return new ui(t)}function Us(t,r,e){let n=e.path.split("/");if(n.length>t.length||e.pathMatch==="full"&&(r.hasChildren()||n.length<t.length))return null;let i={};for(let o=0;o<n.length;o++){let s=n[o],a=t[o];if(s[0]===":")i[s.substring(1)]=a;else if(s!==a.path)return null}return{consumed:t.slice(0,n.length),posParams:i}}function Ic(t,r){if(t.length!==r.length)return!1;for(let e=0;e<t.length;++e)if(!le(t[e],r[e]))return!1;return!0}function le(t,r){let e=t?ci(t):void 0,n=r?ci(r):void 0;if(!e||!n||e.length!=n.length)return!1;let i;for(let o=0;o<e.length;o++)if(i=e[o],!Bs(t[i],r[i]))return!1;return!0}function ci(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Bs(t,r){if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return!1;let e=[...t].sort(),n=[...r].sort();return e.every((i,o)=>n[o]===i)}else return t===r}function js(t){return t.length>0?t[t.length-1]:null}function xe(t){return ki(t)?t:ln(t)?L(Promise.resolve(t)):p(t)}var Mc={exact:zs,subset:Vs},$s={exact:Fc,subset:Oc,ignored:()=>!0};function Fs(t,r,e){return Mc[e.paths](t.root,r.root,e.matrixParams)&&$s[e.queryParams](t.queryParams,r.queryParams)&&!(e.fragment==="exact"&&t.fragment!==r.fragment)}function Fc(t,r){return le(t,r)}function zs(t,r,e){if(!Ze(t.segments,r.segments)||!xn(t.segments,r.segments,e)||t.numberOfChildren!==r.numberOfChildren)return!1;for(let n in r.children)if(!t.children[n]||!zs(t.children[n],r.children[n],e))return!1;return!0}function Oc(t,r){return Object.keys(r).length<=Object.keys(t).length&&Object.keys(r).every(e=>Bs(t[e],r[e]))}function Vs(t,r,e){return Hs(t,r,r.segments,e)}function Hs(t,r,e,n){if(t.segments.length>e.length){let i=t.segments.slice(0,e.length);return!(!Ze(i,e)||r.hasChildren()||!xn(i,e,n))}else if(t.segments.length===e.length){if(!Ze(t.segments,e)||!xn(t.segments,e,n))return!1;for(let i in r.children)if(!t.children[i]||!Vs(t.children[i],r.children[i],n))return!1;return!0}else{let i=e.slice(0,t.segments.length),o=e.slice(t.segments.length);return!Ze(t.segments,i)||!xn(t.segments,i,n)||!t.children[y]?!1:Hs(t.children[y],r,o,n)}}function xn(t,r,e){return r.every((n,i)=>$s[e](t[i].parameters,n.parameters))}var he=class{root;queryParams;fragment;_queryParamMap;constructor(r=new A([],{}),e={},n=null){this.root=r,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap??=Ke(this.queryParams),this._queryParamMap}toString(){return Lc.serialize(this)}},A=class{segments;children;parent=null;constructor(r,e){this.segments=r,this.children=e,Object.values(e).forEach(n=>n.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Un(this)}},Pe=class{path;parameters;_parameterMap;constructor(r,e){this.path=r,this.parameters=e}get parameterMap(){return this._parameterMap??=Ke(this.parameters),this._parameterMap}toString(){return qs(this)}};function Pc(t,r){return Ze(t,r)&&t.every((e,n)=>le(e.parameters,r[n].parameters))}function Ze(t,r){return t.length!==r.length?!1:t.every((e,n)=>e.path===r[n].path)}function Nc(t,r){let e=[];return Object.entries(t.children).forEach(([n,i])=>{n===y&&(e=e.concat(r(i,n)))}),Object.entries(t.children).forEach(([n,i])=>{n!==y&&(e=e.concat(r(i,n)))}),e}var Xe=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>new Ne,providedIn:"root"})}return t})(),Ne=class{parse(r){let e=new di(r);return new he(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(r){let e=`/${Ut(r.root,!0)}`,n=Uc(r.queryParams),i=typeof r.fragment=="string"?`#${kc(r.fragment)}`:"";return`${e}${n}${i}`}},Lc=new Ne;function Un(t){return t.segments.map(r=>qs(r)).join("/")}function Ut(t,r){if(!t.hasChildren())return Un(t);if(r){let e=t.children[y]?Ut(t.children[y],!1):"",n=[];return Object.entries(t.children).forEach(([i,o])=>{i!==y&&n.push(`${i}:${Ut(o,!1)}`)}),n.length>0?`${e}(${n.join("//")})`:e}else{let e=Nc(t,(n,i)=>i===y?[Ut(t.children[y],!1)]:[`${i}:${Ut(n,!1)}`]);return Object.keys(t.children).length===1&&t.children[y]!=null?`${Un(t)}/${e[0]}`:`${Un(t)}/(${e.join("//")})`}}function Gs(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Ln(t){return Gs(t).replace(/%3B/gi,";")}function kc(t){return encodeURI(t)}function li(t){return Gs(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Bn(t){return decodeURIComponent(t)}function Os(t){return Bn(t.replace(/\+/g,"%20"))}function qs(t){return`${li(t.path)}${xc(t.parameters)}`}function xc(t){return Object.entries(t).map(([r,e])=>`;${li(r)}=${li(e)}`).join("")}function Uc(t){let r=Object.entries(t).map(([e,n])=>Array.isArray(n)?n.map(i=>`${Ln(e)}=${Ln(i)}`).join("&"):`${Ln(e)}=${Ln(n)}`).filter(e=>e);return r.length?`?${r.join("&")}`:""}var Bc=/^[^\/()?;#]+/;function ii(t){let r=t.match(Bc);return r?r[0]:""}var jc=/^[^\/()?;=#]+/;function $c(t){let r=t.match(jc);return r?r[0]:""}var zc=/^[^=?&#]+/;function Vc(t){let r=t.match(zc);return r?r[0]:""}var Hc=/^[^&#]+/;function Gc(t){let r=t.match(Hc);return r?r[0]:""}var di=class{url;remaining;constructor(r){this.url=r,this.remaining=r}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new A([],{}):new A([],this.parseChildren())}parseQueryParams(){let r={};if(this.consumeOptional("?"))do this.parseQueryParam(r);while(this.consumeOptional("&"));return r}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(this.remaining==="")return{};this.consumeOptional("/");let r=[];for(this.peekStartsWith("(")||r.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),r.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(r.length>0||Object.keys(e).length>0)&&(n[y]=new A(r,e)),n}parseSegment(){let r=ii(this.remaining);if(r===""&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(r),new Pe(Bn(r),this.parseMatrixParams())}parseMatrixParams(){let r={};for(;this.consumeOptional(";");)this.parseParam(r);return r}parseParam(r){let e=$c(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let i=ii(this.remaining);i&&(n=i,this.capture(n))}r[Bn(e)]=Bn(n)}parseQueryParam(r){let e=Vc(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){let s=Gc(this.remaining);s&&(n=s,this.capture(n))}let i=Os(e),o=Os(n);if(r.hasOwnProperty(i)){let s=r[i];Array.isArray(s)||(s=[s],r[i]=s),s.push(o)}else r[i]=o}parseParens(r){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let n=ii(this.remaining),i=this.remaining[n.length];if(i!=="/"&&i!==")"&&i!==";")throw new w(4010,!1);let o;n.indexOf(":")>-1?(o=n.slice(0,n.indexOf(":")),this.capture(o),this.capture(":")):r&&(o=y);let s=this.parseChildren();e[o]=Object.keys(s).length===1?s[y]:new A([],s),this.consumeOptional("//")}return e}peekStartsWith(r){return this.remaining.startsWith(r)}consumeOptional(r){return this.peekStartsWith(r)?(this.remaining=this.remaining.substring(r.length),!0):!1}capture(r){if(!this.consumeOptional(r))throw new w(4011,!1)}};function Ws(t){return t.segments.length>0?new A([],{[y]:t}):t}function Zs(t){let r={};for(let[n,i]of Object.entries(t.children)){let o=Zs(i);if(n===y&&o.segments.length===0&&o.hasChildren())for(let[s,a]of Object.entries(o.children))r[s]=a;else(o.segments.length>0||o.hasChildren())&&(r[n]=o)}let e=new A(t.segments,r);return qc(e)}function qc(t){if(t.numberOfChildren===1&&t.children[y]){let r=t.children[y];return new A(t.segments.concat(r.segments),r.children)}return t}function Le(t){return t instanceof he}function Ys(t,r,e=null,n=null){let i=Ks(t);return Xs(i,r,e,n)}function Ks(t){let r;function e(o){let s={};for(let u of o.children){let c=e(u);s[u.outlet]=c}let a=new A(o.url,s);return o===t&&(r=a),a}let n=e(t.root),i=Ws(n);return r??i}function Xs(t,r,e,n){let i=t;for(;i.parent;)i=i.parent;if(r.length===0)return oi(i,i,i,e,n);let o=Wc(r);if(o.toRoot())return oi(i,i,new A([],{}),e,n);let s=Zc(o,i,t),a=s.processChildren?jt(s.segmentGroup,s.index,o.commands):Qs(s.segmentGroup,s.index,o.commands);return oi(i,s.segmentGroup,a,e,n)}function $n(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function zt(t){return typeof t=="object"&&t!=null&&t.outlets}function oi(t,r,e,n,i){let o={};n&&Object.entries(n).forEach(([u,c])=>{o[u]=Array.isArray(c)?c.map(l=>`${l}`):`${c}`});let s;t===r?s=e:s=Js(t,r,e);let a=Ws(Zs(s));return new he(a,o,i)}function Js(t,r,e){let n={};return Object.entries(t.children).forEach(([i,o])=>{o===r?n[i]=e:n[i]=Js(o,r,e)}),new A(t.segments,n)}var zn=class{isAbsolute;numberOfDoubleDots;commands;constructor(r,e,n){if(this.isAbsolute=r,this.numberOfDoubleDots=e,this.commands=n,r&&n.length>0&&$n(n[0]))throw new w(4003,!1);let i=n.find(zt);if(i&&i!==js(n))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function Wc(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new zn(!0,0,t);let r=0,e=!1,n=t.reduce((i,o,s)=>{if(typeof o=="object"&&o!=null){if(o.outlets){let a={};return Object.entries(o.outlets).forEach(([u,c])=>{a[u]=typeof c=="string"?c.split("/"):c}),[...i,{outlets:a}]}if(o.segmentPath)return[...i,o.segmentPath]}return typeof o!="string"?[...i,o]:s===0?(o.split("/").forEach((a,u)=>{u==0&&a==="."||(u==0&&a===""?e=!0:a===".."?r++:a!=""&&i.push(a))}),i):[...i,o]},[]);return new zn(e,r,n)}var ut=class{segmentGroup;processChildren;index;constructor(r,e,n){this.segmentGroup=r,this.processChildren=e,this.index=n}};function Zc(t,r,e){if(t.isAbsolute)return new ut(r,!0,0);if(!e)return new ut(r,!1,NaN);if(e.parent===null)return new ut(e,!0,0);let n=$n(t.commands[0])?0:1,i=e.segments.length-1+n;return Yc(e,i,t.numberOfDoubleDots)}function Yc(t,r,e){let n=t,i=r,o=e;for(;o>i;){if(o-=i,n=n.parent,!n)throw new w(4005,!1);i=n.segments.length}return new ut(n,!1,i-o)}function Kc(t){return zt(t[0])?t[0].outlets:{[y]:t}}function Qs(t,r,e){if(t??=new A([],{}),t.segments.length===0&&t.hasChildren())return jt(t,r,e);let n=Xc(t,r,e),i=e.slice(n.commandIndex);if(n.match&&n.pathIndex<t.segments.length){let o=new A(t.segments.slice(0,n.pathIndex),{});return o.children[y]=new A(t.segments.slice(n.pathIndex),t.children),jt(o,0,i)}else return n.match&&i.length===0?new A(t.segments,{}):n.match&&!t.hasChildren()?hi(t,r,e):n.match?jt(t,0,i):hi(t,r,e)}function jt(t,r,e){if(e.length===0)return new A(t.segments,{});{let n=Kc(e),i={};if(Object.keys(n).some(o=>o!==y)&&t.children[y]&&t.numberOfChildren===1&&t.children[y].segments.length===0){let o=jt(t.children[y],r,e);return new A(t.segments,o.children)}return Object.entries(n).forEach(([o,s])=>{typeof s=="string"&&(s=[s]),s!==null&&(i[o]=Qs(t.children[o],r,s))}),Object.entries(t.children).forEach(([o,s])=>{n[o]===void 0&&(i[o]=s)}),new A(t.segments,i)}}function Xc(t,r,e){let n=0,i=r,o={match:!1,pathIndex:0,commandIndex:0};for(;i<t.segments.length;){if(n>=e.length)return o;let s=t.segments[i],a=e[n];if(zt(a))break;let u=`${a}`,c=n<e.length-1?e[n+1]:null;if(i>0&&u===void 0)break;if(u&&c&&typeof c=="object"&&c.outlets===void 0){if(!Ns(u,c,s))return o;n+=2}else{if(!Ns(u,{},s))return o;n++}i++}return{match:!0,pathIndex:i,commandIndex:n}}function hi(t,r,e){let n=t.segments.slice(0,r),i=0;for(;i<e.length;){let o=e[i];if(zt(o)){let u=Jc(o.outlets);return new A(n,u)}if(i===0&&$n(e[0])){let u=t.segments[r];n.push(new Pe(u.path,Ps(e[0]))),i++;continue}let s=zt(o)?o.outlets[y]:`${o}`,a=i<e.length-1?e[i+1]:null;s&&a&&$n(a)?(n.push(new Pe(s,Ps(a))),i+=2):(n.push(new Pe(s,{})),i++)}return new A(n,{})}function Jc(t){let r={};return Object.entries(t).forEach(([e,n])=>{typeof n=="string"&&(n=[n]),n!==null&&(r[e]=hi(new A([],{}),0,n))}),r}function Ps(t){let r={};return Object.entries(t).forEach(([e,n])=>r[e]=`${n}`),r}function Ns(t,r,e){return t==e.path&&le(r,e.parameters)}var jn="imperative",N=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(N||{}),Z=class{id;url;constructor(r,e){this.id=r,this.url=e}},ke=class extends Z{type=N.NavigationStart;navigationTrigger;restoredState;constructor(r,e,n="imperative",i=null){super(r,e),this.navigationTrigger=n,this.restoredState=i}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},Y=class extends Z{urlAfterRedirects;type=N.NavigationEnd;constructor(r,e,n){super(r,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},H=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(H||{}),lt=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}(lt||{}),de=class extends Z{reason;code;type=N.NavigationCancel;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},fe=class extends Z{reason;code;type=N.NavigationSkipped;constructor(r,e,n,i){super(r,e),this.reason=n,this.code=i}},dt=class extends Z{error;target;type=N.NavigationError;constructor(r,e,n,i){super(r,e),this.error=n,this.target=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Vt=class extends Z{urlAfterRedirects;state;type=N.RoutesRecognized;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Vn=class extends Z{urlAfterRedirects;state;type=N.GuardsCheckStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Hn=class extends Z{urlAfterRedirects;state;shouldActivate;type=N.GuardsCheckEnd;constructor(r,e,n,i,o){super(r,e),this.urlAfterRedirects=n,this.state=i,this.shouldActivate=o}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},Gn=class extends Z{urlAfterRedirects;state;type=N.ResolveStart;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},qn=class extends Z{urlAfterRedirects;state;type=N.ResolveEnd;constructor(r,e,n,i){super(r,e),this.urlAfterRedirects=n,this.state=i}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},Wn=class{route;type=N.RouteConfigLoadStart;constructor(r){this.route=r}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},Zn=class{route;type=N.RouteConfigLoadEnd;constructor(r){this.route=r}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},Yn=class{snapshot;type=N.ChildActivationStart;constructor(r){this.snapshot=r}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Kn=class{snapshot;type=N.ChildActivationEnd;constructor(r){this.snapshot=r}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Xn=class{snapshot;type=N.ActivationStart;constructor(r){this.snapshot=r}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Jn=class{snapshot;type=N.ActivationEnd;constructor(r){this.snapshot=r}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},ht=class{routerEvent;position;anchor;type=N.Scroll;constructor(r,e,n){this.routerEvent=r,this.position=e,this.anchor=n}toString(){let r=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${r}')`}},Ht=class{},ft=class{url;navigationBehaviorOptions;constructor(r,e){this.url=r,this.navigationBehaviorOptions=e}};function Qc(t,r){return t.providers&&!t._injector&&(t._injector=an(t.providers,r,`Route: ${t.path}`)),t._injector??r}function oe(t){return t.outlet||y}function el(t,r){let e=t.filter(n=>oe(n)===r);return e.push(...t.filter(n=>oe(n)!==r)),e}function Xt(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let r=t.parent;r;r=r.parent){let e=r.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var Qn=class{rootInjector;outlet=null;route=null;children;attachRef=null;get injector(){return Xt(this.route?.snapshot)??this.rootInjector}constructor(r){this.rootInjector=r,this.children=new Je(this.rootInjector)}},Je=(()=>{class t{rootInjector;contexts=new Map;constructor(e){this.rootInjector=e}onChildOutletCreated(e,n){let i=this.getOrCreateContext(e);i.outlet=n,this.contexts.set(e,i)}onChildOutletDestroyed(e){let n=this.getContext(e);n&&(n.outlet=null,n.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let n=this.getContext(e);return n||(n=new Qn(this.rootInjector),this.contexts.set(e,n)),n}getContext(e){return this.contexts.get(e)||null}static \u0275fac=function(n){return new(n||t)(m(Re))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),er=class{_root;constructor(r){this._root=r}get root(){return this._root.value}parent(r){let e=this.pathFromRoot(r);return e.length>1?e[e.length-2]:null}children(r){let e=fi(r,this._root);return e?e.children.map(n=>n.value):[]}firstChild(r){let e=fi(r,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(r){let e=pi(r,this._root);return e.length<2?[]:e[e.length-2].children.map(i=>i.value).filter(i=>i!==r)}pathFromRoot(r){return pi(r,this._root).map(e=>e.value)}};function fi(t,r){if(t===r.value)return r;for(let e of r.children){let n=fi(t,e);if(n)return n}return null}function pi(t,r){if(t===r.value)return[r];for(let e of r.children){let n=pi(t,e);if(n.length)return n.unshift(r),n}return[]}var W=class{value;children;constructor(r,e){this.value=r,this.children=e}toString(){return`TreeNode(${this.value})`}};function at(t){let r={};return t&&t.children.forEach(e=>r[e.value.outlet]=e),r}var Gt=class extends er{snapshot;constructor(r,e){super(r),this.snapshot=e,Ei(this,r)}toString(){return this.snapshot.toString()}};function ea(t){let r=tl(t),e=new K([new Pe("",{})]),n=new K({}),i=new K({}),o=new K({}),s=new K(""),a=new Ce(e,n,o,s,i,y,t,r.root);return a.snapshot=r.root,new Gt(new W(a,[]),r)}function tl(t){let r={},e={},n={},i="",o=new Ye([],r,n,i,e,y,t,null,{});return new qt("",new W(o,[]))}var Ce=class{urlSubject;paramsSubject;queryParamsSubject;fragmentSubject;dataSubject;outlet;component;snapshot;_futureSnapshot;_routerState;_paramMap;_queryParamMap;title;url;params;queryParams;fragment;data;constructor(r,e,n,i,o,s,a,u){this.urlSubject=r,this.paramsSubject=e,this.queryParamsSubject=n,this.fragmentSubject=i,this.dataSubject=o,this.outlet=s,this.component=a,this._futureSnapshot=u,this.title=this.dataSubject?.pipe(b(c=>c[Kt]))??p(void 0),this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=this.params.pipe(b(r=>Ke(r))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(b(r=>Ke(r))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function tr(t,r,e="emptyOnly"){let n,{routeConfig:i}=t;return r!==null&&(e==="always"||i?.path===""||!r.component&&!r.routeConfig?.loadComponent)?n={params:f(f({},r.params),t.params),data:f(f({},r.data),t.data),resolve:f(f(f(f({},t.data),r.data),i?.data),t._resolvedData)}:n={params:f({},t.params),data:f({},t.data),resolve:f(f({},t.data),t._resolvedData??{})},i&&na(i)&&(n.resolve[Kt]=i.title),n}var Ye=class{url;params;queryParams;fragment;data;outlet;component;routeConfig;_resolve;_resolvedData;_routerState;_paramMap;_queryParamMap;get title(){return this.data?.[Kt]}constructor(r,e,n,i,o,s,a,u,c){this.url=r,this.params=e,this.queryParams=n,this.fragment=i,this.data=o,this.outlet=s,this.component=a,this.routeConfig=u,this._resolve=c}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap??=Ke(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Ke(this.queryParams),this._queryParamMap}toString(){let r=this.url.map(n=>n.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${r}', path:'${e}')`}},qt=class extends er{url;constructor(r,e){super(e),this.url=r,Ei(this,e)}toString(){return ta(this._root)}};function Ei(t,r){r.value._routerState=t,r.children.forEach(e=>Ei(t,e))}function ta(t){let r=t.children.length>0?` { ${t.children.map(ta).join(", ")} } `:"";return`${t.value}${r}`}function si(t){if(t.snapshot){let r=t.snapshot,e=t._futureSnapshot;t.snapshot=e,le(r.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),r.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),le(r.params,e.params)||t.paramsSubject.next(e.params),Ic(r.url,e.url)||t.urlSubject.next(e.url),le(r.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function gi(t,r){let e=le(t.params,r.params)&&Pc(t.url,r.url),n=!t.parent!=!r.parent;return e&&!n&&(!t.parent||gi(t.parent,r.parent))}function na(t){return typeof t.title=="string"||t.title===null}var ra=new C(""),Si=(()=>{class t{activated=null;get activatedComponentRef(){return this.activated}_activatedRoute=null;name=y;activateEvents=new ze;deactivateEvents=new ze;attachEvents=new ze;detachEvents=new ze;routerOutletData=Gi(void 0);parentContexts=d(Je);location=d(Ge);changeDetector=d(Ie);inputBinder=d(Jt,{optional:!0});supportsBindingToComponentInputs=!0;ngOnChanges(e){if(e.name){let{firstChange:n,previousValue:i}=e.name;if(n)return;this.isTrackedInParentContexts(i)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(i)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new w(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new w(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new w(4012,!1);this.location.detach();let e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,n){this.activated=e,this._activatedRoute=n,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,n){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=e;let i=this.location,s=e.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,u=new mi(e,a,i.injector,this.routerOutletData);this.activated=i.createComponent(s,{index:i.length,injector:u,environmentInjector:n}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static \u0275fac=function(n){return new(n||t)};static \u0275dir=$({type:t,selectors:[["router-outlet"]],inputs:{name:"name",routerOutletData:[1,"routerOutletData"]},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],features:[ae]})}return t})(),mi=class{route;childContexts;parent;outletData;constructor(r,e,n,i){this.route=r,this.childContexts=e,this.parent=n,this.outletData=i}get(r,e){return r===Ce?this.route:r===Je?this.childContexts:r===ra?this.outletData:this.parent.get(r,e)}},Jt=new C(""),Ri=(()=>{class t{outletDataSubscriptions=new Map;bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:n}=e,i=rn([n.queryParams,n.params,n.data]).pipe(G(([o,s,a],u)=>(a=f(f(f({},o),s),a),u===0?p(a):Promise.resolve(a)))).subscribe(o=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==n||n.component===null){this.unsubscribeFromRouteData(e);return}let s=Io(n.component);if(!s){this.unsubscribeFromRouteData(e);return}for(let{templateName:a}of s.inputs)e.activatedComponentRef.setInput(a,o[a])});this.outletDataSubscriptions.set(e,i)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})(),bi=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275cmp=ho({type:t,selectors:[["ng-component"]],exportAs:["emptyRouterOutlet"],decls:1,vars:0,template:function(n,i){n&1&&Do(0,"router-outlet")},dependencies:[Si],encapsulation:2})}return t})();function Ai(t){let r=t.children&&t.children.map(Ai),e=r?k(f({},t),{children:r}):f({},t);return!e.component&&!e.loadComponent&&(r||e.loadChildren)&&e.outlet&&e.outlet!==y&&(e.component=bi),e}function nl(t,r,e){let n=Wt(t,r._root,e?e._root:void 0);return new Gt(n,r)}function Wt(t,r,e){if(e&&t.shouldReuseRoute(r.value,e.value.snapshot)){let n=e.value;n._futureSnapshot=r.value;let i=rl(t,r,e);return new W(n,i)}else{if(t.shouldAttach(r.value)){let o=t.retrieve(r.value);if(o!==null){let s=o.route;return s.value._futureSnapshot=r.value,s.children=r.children.map(a=>Wt(t,a)),s}}let n=il(r.value),i=r.children.map(o=>Wt(t,o));return new W(n,i)}}function rl(t,r,e){return r.children.map(n=>{for(let i of e.children)if(t.shouldReuseRoute(n.value,i.value.snapshot))return Wt(t,n,i);return Wt(t,n)})}function il(t){return new Ce(new K(t.url),new K(t.params),new K(t.queryParams),new K(t.fragment),new K(t.data),t.outlet,t.component,t)}var pt=class{redirectTo;navigationBehaviorOptions;constructor(r,e){this.redirectTo=r,this.navigationBehaviorOptions=e}},ia="ngNavigationCancelingError";function nr(t,r){let{redirectTo:e,navigationBehaviorOptions:n}=Le(r)?{redirectTo:r,navigationBehaviorOptions:void 0}:r,i=oa(!1,H.Redirect);return i.url=e,i.navigationBehaviorOptions=n,i}function oa(t,r){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[ia]=!0,e.cancellationCode=r,e}function ol(t){return sa(t)&&Le(t.url)}function sa(t){return!!t&&t[ia]}var sl=(t,r,e,n)=>b(i=>(new vi(r,i.targetRouterState,i.currentRouterState,e,n).activate(t),i)),vi=class{routeReuseStrategy;futureState;currState;forwardEvent;inputBindingEnabled;constructor(r,e,n,i,o){this.routeReuseStrategy=r,this.futureState=e,this.currState=n,this.forwardEvent=i,this.inputBindingEnabled=o}activate(r){let e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,r),si(this.futureState.root),this.activateChildRoutes(e,n,r)}deactivateChildRoutes(r,e,n){let i=at(e);r.children.forEach(o=>{let s=o.value.outlet;this.deactivateRoutes(o,i[s],n),delete i[s]}),Object.values(i).forEach(o=>{this.deactivateRouteAndItsChildren(o,n)})}deactivateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(i===o)if(i.component){let s=n.getContext(i.outlet);s&&this.deactivateChildRoutes(r,e,s.children)}else this.deactivateChildRoutes(r,e,n);else o&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(r,e){r.value.component&&this.routeReuseStrategy.shouldDetach(r.value.snapshot)?this.detachAndStoreRouteSubtree(r,e):this.deactivateRouteAndOutlet(r,e)}detachAndStoreRouteSubtree(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=at(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);if(n&&n.outlet){let s=n.outlet.detach(),a=n.children.onOutletDeactivated();this.routeReuseStrategy.store(r.value.snapshot,{componentRef:s,route:r,contexts:a})}}deactivateRouteAndOutlet(r,e){let n=e.getContext(r.value.outlet),i=n&&r.value.component?n.children:e,o=at(r);for(let s of Object.values(o))this.deactivateRouteAndItsChildren(s,i);n&&(n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated()),n.attachRef=null,n.route=null)}activateChildRoutes(r,e,n){let i=at(e);r.children.forEach(o=>{this.activateRoutes(o,i[o.value.outlet],n),this.forwardEvent(new Jn(o.value.snapshot))}),r.children.length&&this.forwardEvent(new Kn(r.value.snapshot))}activateRoutes(r,e,n){let i=r.value,o=e?e.value:null;if(si(i),i===o)if(i.component){let s=n.getOrCreateContext(i.outlet);this.activateChildRoutes(r,e,s.children)}else this.activateChildRoutes(r,e,n);else if(i.component){let s=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){let a=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),s.children.onOutletReAttached(a.contexts),s.attachRef=a.componentRef,s.route=a.route.value,s.outlet&&s.outlet.attach(a.componentRef,a.route.value),si(a.route.value),this.activateChildRoutes(r,null,s.children)}else s.attachRef=null,s.route=i,s.outlet&&s.outlet.activateWith(i,s.injector),this.activateChildRoutes(r,null,s.children)}else this.activateChildRoutes(r,null,n)}},rr=class{path;route;constructor(r){this.path=r,this.route=this.path[this.path.length-1]}},ct=class{component;route;constructor(r,e){this.component=r,this.route=e}};function al(t,r,e){let n=t._root,i=r?r._root:null;return Bt(n,i,e,[n.value])}function ul(t){let r=t.routeConfig?t.routeConfig.canActivateChild:null;return!r||r.length===0?null:{node:t,guards:r}}function mt(t,r){let e=Symbol(),n=r.get(t,e);return n===e?typeof t=="function"&&!Vi(t)?t:r.get(t):n}function Bt(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=at(r);return t.children.forEach(s=>{cl(s,o[s.value.outlet],e,n.concat([s.value]),i),delete o[s.value.outlet]}),Object.entries(o).forEach(([s,a])=>$t(a,e.getContext(s),i)),i}function cl(t,r,e,n,i={canDeactivateChecks:[],canActivateChecks:[]}){let o=t.value,s=r?r.value:null,a=e?e.getContext(t.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){let u=ll(s,o,o.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new rr(n)):(o.data=s.data,o._resolvedData=s._resolvedData),o.component?Bt(t,r,a?a.children:null,n,i):Bt(t,r,e,n,i),u&&a&&a.outlet&&a.outlet.isActivated&&i.canDeactivateChecks.push(new ct(a.outlet.component,s))}else s&&$t(r,a,i),i.canActivateChecks.push(new rr(n)),o.component?Bt(t,null,a?a.children:null,n,i):Bt(t,null,e,n,i);return i}function ll(t,r,e){if(typeof e=="function")return e(t,r);switch(e){case"pathParamsChange":return!Ze(t.url,r.url);case"pathParamsOrQueryParamsChange":return!Ze(t.url,r.url)||!le(t.queryParams,r.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!gi(t,r)||!le(t.queryParams,r.queryParams);case"paramsChange":default:return!gi(t,r)}}function $t(t,r,e){let n=at(t),i=t.value;Object.entries(n).forEach(([o,s])=>{i.component?r?$t(s,r.children.getContext(o),e):$t(s,null,e):$t(s,r,e)}),i.component?r&&r.outlet&&r.outlet.isActivated?e.canDeactivateChecks.push(new ct(r.outlet.component,i)):e.canDeactivateChecks.push(new ct(null,i)):e.canDeactivateChecks.push(new ct(null,i))}function Qt(t){return typeof t=="function"}function dl(t){return typeof t=="boolean"}function hl(t){return t&&Qt(t.canLoad)}function fl(t){return t&&Qt(t.canActivate)}function pl(t){return t&&Qt(t.canActivateChild)}function gl(t){return t&&Qt(t.canDeactivate)}function ml(t){return t&&Qt(t.canMatch)}function aa(t){return t instanceof xi||t?.name==="EmptyError"}var kn=Symbol("INITIAL_VALUE");function gt(){return G(t=>rn(t.map(r=>r.pipe(et(1),$i(kn)))).pipe(b(r=>{for(let e of r)if(e!==!0){if(e===kn)return kn;if(e===!1||vl(e))return e}return!0}),se(r=>r!==kn),et(1)))}function vl(t){return Le(t)||t instanceof pt}function Dl(t,r){return j(e=>{let{targetSnapshot:n,currentSnapshot:i,guards:{canActivateChecks:o,canDeactivateChecks:s}}=e;return s.length===0&&o.length===0?p(k(f({},e),{guardsResult:!0})):yl(s,n,i,t).pipe(j(a=>a&&dl(a)?wl(n,o,t,r):p(a)),b(a=>k(f({},e),{guardsResult:a})))})}function yl(t,r,e,n){return L(t).pipe(j(i=>bl(i.component,i.route,e,r,n)),Ee(i=>i!==!0,!0))}function wl(t,r,e,n){return L(r).pipe(me(i=>Ui(El(i.route.parent,n),Cl(i.route,n),Rl(t,i.path,e),Sl(t,i.route,e))),Ee(i=>i!==!0,!0))}function Cl(t,r){return t!==null&&r&&r(new Xn(t)),p(!0)}function El(t,r){return t!==null&&r&&r(new Yn(t)),p(!0)}function Sl(t,r,e){let n=r.routeConfig?r.routeConfig.canActivate:null;if(!n||n.length===0)return p(!0);let i=n.map(o=>fr(()=>{let s=Xt(r)??e,a=mt(o,s),u=fl(a)?a.canActivate(r,t):X(s,()=>a(r,t));return xe(u).pipe(Ee())}));return p(i).pipe(gt())}function Rl(t,r,e){let n=r[r.length-1],o=r.slice(0,r.length-1).reverse().map(s=>ul(s)).filter(s=>s!==null).map(s=>fr(()=>{let a=s.guards.map(u=>{let c=Xt(s.node)??e,l=mt(u,c),h=pl(l)?l.canActivateChild(n,t):X(c,()=>l(n,t));return xe(h).pipe(Ee())});return p(a).pipe(gt())}));return p(o).pipe(gt())}function bl(t,r,e,n,i){let o=r&&r.routeConfig?r.routeConfig.canDeactivate:null;if(!o||o.length===0)return p(!0);let s=o.map(a=>{let u=Xt(r)??i,c=mt(a,u),l=gl(c)?c.canDeactivate(t,r,e,n):X(u,()=>c(t,r,e,n));return xe(l).pipe(Ee())});return p(s).pipe(gt())}function Al(t,r,e,n){let i=r.canLoad;if(i===void 0||i.length===0)return p(!0);let o=i.map(s=>{let a=mt(s,t),u=hl(a)?a.canLoad(r,e):X(t,()=>a(r,e));return xe(u)});return p(o).pipe(gt(),ua(n))}function ua(t){return Ni(x(r=>{if(typeof r!="boolean")throw nr(t,r)}),b(r=>r===!0))}function Tl(t,r,e,n){let i=r.canMatch;if(!i||i.length===0)return p(!0);let o=i.map(s=>{let a=mt(s,t),u=ml(a)?a.canMatch(r,e):X(t,()=>a(r,e));return xe(u)});return p(o).pipe(gt(),ua(n))}var Zt=class{segmentGroup;constructor(r){this.segmentGroup=r||null}},Yt=class extends Error{urlTree;constructor(r){super(),this.urlTree=r}};function st(t){return Dt(new Zt(t))}function _l(t){return Dt(new w(4e3,!1))}function Il(t){return Dt(oa(!1,H.GuardRejected))}var Di=class{urlSerializer;urlTree;constructor(r,e){this.urlSerializer=r,this.urlTree=e}lineralizeSegments(r,e){let n=[],i=e.root;for(;;){if(n=n.concat(i.segments),i.numberOfChildren===0)return p(n);if(i.numberOfChildren>1||!i.children[y])return _l(`${r.redirectTo}`);i=i.children[y]}}applyRedirectCommands(r,e,n,i,o){if(typeof e!="string"){let a=e,{queryParams:u,fragment:c,routeConfig:l,url:h,outlet:v,params:g,data:R,title:S}=i,E=X(o,()=>a({params:g,data:R,queryParams:u,fragment:c,routeConfig:l,url:h,outlet:v,title:S}));if(E instanceof he)throw new Yt(E);e=E}let s=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),r,n);if(e[0]==="/")throw new Yt(s);return s}applyRedirectCreateUrlTree(r,e,n,i){let o=this.createSegmentGroup(r,e.root,n,i);return new he(o,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(r,e){let n={};return Object.entries(r).forEach(([i,o])=>{if(typeof o=="string"&&o[0]===":"){let a=o.substring(1);n[i]=e[a]}else n[i]=o}),n}createSegmentGroup(r,e,n,i){let o=this.createSegments(r,e.segments,n,i),s={};return Object.entries(e.children).forEach(([a,u])=>{s[a]=this.createSegmentGroup(r,u,n,i)}),new A(o,s)}createSegments(r,e,n,i){return e.map(o=>o.path[0]===":"?this.findPosParam(r,o,i):this.findOrReturn(o,n))}findPosParam(r,e,n){let i=n[e.path.substring(1)];if(!i)throw new w(4001,!1);return i}findOrReturn(r,e){let n=0;for(let i of e){if(i.path===r.path)return e.splice(n),i;n++}return r}},yi={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ml(t,r,e,n,i){let o=ca(t,r,e);return o.matched?(n=Qc(r,n),Tl(n,r,e,i).pipe(b(s=>s===!0?o:f({},yi)))):p(o)}function ca(t,r,e){if(r.path==="**")return Fl(e);if(r.path==="")return r.pathMatch==="full"&&(t.hasChildren()||e.length>0)?f({},yi):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let i=(r.matcher||Us)(e,t,r);if(!i)return f({},yi);let o={};Object.entries(i.posParams??{}).forEach(([a,u])=>{o[a]=u.path});let s=i.consumed.length>0?f(f({},o),i.consumed[i.consumed.length-1].parameters):o;return{matched:!0,consumedSegments:i.consumed,remainingSegments:e.slice(i.consumed.length),parameters:s,positionalParamSegments:i.posParams??{}}}function Fl(t){return{matched:!0,parameters:t.length>0?js(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Ls(t,r,e,n){return e.length>0&&Nl(t,e,n)?{segmentGroup:new A(r,Pl(n,new A(e,t.children))),slicedSegments:[]}:e.length===0&&Ll(t,e,n)?{segmentGroup:new A(t.segments,Ol(t,e,n,t.children)),slicedSegments:e}:{segmentGroup:new A(t.segments,t.children),slicedSegments:e}}function Ol(t,r,e,n){let i={};for(let o of e)if(or(t,r,o)&&!n[oe(o)]){let s=new A([],{});i[oe(o)]=s}return f(f({},n),i)}function Pl(t,r){let e={};e[y]=r;for(let n of t)if(n.path===""&&oe(n)!==y){let i=new A([],{});e[oe(n)]=i}return e}function Nl(t,r,e){return e.some(n=>or(t,r,n)&&oe(n)!==y)}function Ll(t,r,e){return e.some(n=>or(t,r,n))}function or(t,r,e){return(t.hasChildren()||r.length>0)&&e.pathMatch==="full"?!1:e.path===""}function kl(t,r,e){return r.length===0&&!t.children[e]}var wi=class{};function xl(t,r,e,n,i,o,s="emptyOnly"){return new Ci(t,r,e,n,i,s,o).recognize()}var Ul=31,Ci=class{injector;configLoader;rootComponentType;config;urlTree;paramsInheritanceStrategy;urlSerializer;applyRedirects;absoluteRedirectCount=0;allowRedirects=!0;constructor(r,e,n,i,o,s,a){this.injector=r,this.configLoader=e,this.rootComponentType=n,this.config=i,this.urlTree=o,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.applyRedirects=new Di(this.urlSerializer,this.urlTree)}noMatchError(r){return new w(4002,`'${r.segmentGroup}'`)}recognize(){let r=Ls(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(r).pipe(b(({children:e,rootSnapshot:n})=>{let i=new W(n,e),o=new qt("",i),s=Ys(n,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,o.url=this.urlSerializer.serialize(s),{state:o,tree:s}}))}match(r){let e=new Ye([],Object.freeze({}),Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),y,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,r,y,e).pipe(b(n=>({children:n,rootSnapshot:e})),Be(n=>{if(n instanceof Yt)return this.urlTree=n.urlTree,this.match(n.urlTree.root);throw n instanceof Zt?this.noMatchError(n):n}))}processSegmentGroup(r,e,n,i,o){return n.segments.length===0&&n.hasChildren()?this.processChildren(r,e,n,o):this.processSegment(r,e,n,n.segments,i,!0,o).pipe(b(s=>s instanceof W?[s]:[]))}processChildren(r,e,n,i){let o=[];for(let s of Object.keys(n.children))s==="primary"?o.unshift(s):o.push(s);return L(o).pipe(me(s=>{let a=n.children[s],u=el(e,s);return this.processSegmentGroup(r,u,a,s,i)}),ji((s,a)=>(s.push(...a),s)),pr(null),Bi(),j(s=>{if(s===null)return st(n);let a=la(s);return Bl(a),p(a)}))}processSegment(r,e,n,i,o,s,a){return L(e).pipe(me(u=>this.processSegmentAgainstRoute(u._injector??r,e,u,n,i,o,s,a).pipe(Be(c=>{if(c instanceof Zt)return p(null);throw c}))),Ee(u=>!!u),Be(u=>{if(aa(u))return kl(n,i,o)?p(new wi):st(n);throw u}))}processSegmentAgainstRoute(r,e,n,i,o,s,a,u){return oe(n)!==s&&(s===y||!or(i,o,n))?st(i):n.redirectTo===void 0?this.matchSegmentAgainstRoute(r,i,n,o,s,u):this.allowRedirects&&a?this.expandSegmentAgainstRouteUsingRedirect(r,i,e,n,o,s,u):st(i)}expandSegmentAgainstRouteUsingRedirect(r,e,n,i,o,s,a){let{matched:u,parameters:c,consumedSegments:l,positionalParamSegments:h,remainingSegments:v}=ca(e,i,o);if(!u)return st(e);typeof i.redirectTo=="string"&&i.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Ul&&(this.allowRedirects=!1));let g=new Ye(o,c,Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,ks(i),oe(i),i.component??i._loadedComponent??null,i,xs(i)),R=tr(g,a,this.paramsInheritanceStrategy);g.params=Object.freeze(R.params),g.data=Object.freeze(R.data);let S=this.applyRedirects.applyRedirectCommands(l,i.redirectTo,h,g,r);return this.applyRedirects.lineralizeSegments(i,S).pipe(j(E=>this.processSegment(r,n,e,E.concat(v),s,!1,a)))}matchSegmentAgainstRoute(r,e,n,i,o,s){let a=Ml(e,n,i,r,this.urlSerializer);return n.path==="**"&&(e.children={}),a.pipe(G(u=>u.matched?(r=n._injector??r,this.getChildConfig(r,n,i).pipe(G(({routes:c})=>{let l=n._loadedInjector??r,{parameters:h,consumedSegments:v,remainingSegments:g}=u,R=new Ye(v,h,Object.freeze(f({},this.urlTree.queryParams)),this.urlTree.fragment,ks(n),oe(n),n.component??n._loadedComponent??null,n,xs(n)),S=tr(R,s,this.paramsInheritanceStrategy);R.params=Object.freeze(S.params),R.data=Object.freeze(S.data);let{segmentGroup:E,slicedSegments:B}=Ls(e,v,g,c);if(B.length===0&&E.hasChildren())return this.processChildren(l,c,E,R).pipe(b(M=>new W(R,M)));if(c.length===0&&B.length===0)return p(new W(R,[]));let ee=oe(n)===o;return this.processSegment(l,c,E,B,ee?y:o,!0,R).pipe(b(M=>new W(R,M instanceof W?[M]:[])))}))):st(e)))}getChildConfig(r,e,n){return e.children?p({routes:e.children,injector:r}):e.loadChildren?e._loadedRoutes!==void 0?p({routes:e._loadedRoutes,injector:e._loadedInjector}):Al(r,e,n,this.urlSerializer).pipe(j(i=>i?this.configLoader.loadChildren(r,e).pipe(x(o=>{e._loadedRoutes=o.routes,e._loadedInjector=o.injector})):Il(e))):p({routes:[],injector:r})}};function Bl(t){t.sort((r,e)=>r.value.outlet===y?-1:e.value.outlet===y?1:r.value.outlet.localeCompare(e.value.outlet))}function jl(t){let r=t.value.routeConfig;return r&&r.path===""}function la(t){let r=[],e=new Set;for(let n of t){if(!jl(n)){r.push(n);continue}let i=r.find(o=>n.value.routeConfig===o.value.routeConfig);i!==void 0?(i.children.push(...n.children),e.add(i)):r.push(n)}for(let n of e){let i=la(n.children);r.push(new W(n.value,i))}return r.filter(n=>!e.has(n))}function ks(t){return t.data||{}}function xs(t){return t.resolve||{}}function $l(t,r,e,n,i,o){return j(s=>xl(t,r,e,n,s.extractedUrl,i,o).pipe(b(({state:a,tree:u})=>k(f({},s),{targetSnapshot:a,urlAfterRedirects:u}))))}function zl(t,r){return j(e=>{let{targetSnapshot:n,guards:{canActivateChecks:i}}=e;if(!i.length)return p(e);let o=new Set(i.map(u=>u.route)),s=new Set;for(let u of o)if(!s.has(u))for(let c of da(u))s.add(c);let a=0;return L(s).pipe(me(u=>o.has(u)?Vl(u,n,t,r):(u.data=tr(u,u.parent,t).resolve,p(void 0))),x(()=>a++),gr(1),j(u=>a===s.size?p(e):ge))})}function da(t){let r=t.children.map(e=>da(e)).flat();return[t,...r]}function Vl(t,r,e,n){let i=t.routeConfig,o=t._resolve;return i?.title!==void 0&&!na(i)&&(o[Kt]=i.title),Hl(o,t,r,n).pipe(b(s=>(t._resolvedData=s,t.data=tr(t,t.parent,e).resolve,null)))}function Hl(t,r,e,n){let i=ci(t);if(i.length===0)return p({});let o={};return L(i).pipe(j(s=>Gl(t[s],r,e,n).pipe(Ee(),x(a=>{if(a instanceof pt)throw nr(new Ne,a);o[s]=a}))),gr(1),b(()=>o),Be(s=>aa(s)?ge:Dt(s)))}function Gl(t,r,e,n){let i=Xt(r)??n,o=mt(t,i),s=o.resolve?o.resolve(r,e):X(i,()=>o(r,e));return xe(s)}function ai(t){return G(r=>{let e=t(r);return e?L(e).pipe(b(()=>r)):p(r)})}var Ti=(()=>{class t{buildTitle(e){let n,i=e.root;for(;i!==void 0;)n=this.getResolvedTitleForRoute(i)??n,i=i.children.find(o=>o.outlet===y);return n}getResolvedTitleForRoute(e){return e.data[Kt]}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>d(ha),providedIn:"root"})}return t})(),ha=(()=>{class t extends Ti{title;constructor(e){super(),this.title=e}updateTitle(e){let n=this.buildTitle(e);n!==void 0&&this.title.setTitle(n)}static \u0275fac=function(n){return new(n||t)(m(Ms))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Qe=new C("",{providedIn:"root",factory:()=>({})}),vt=new C(""),sr=(()=>{class t{componentLoaders=new WeakMap;childrenLoaders=new WeakMap;onLoadStartListener;onLoadEndListener;compiler=d(So);loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return p(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let n=xe(e.loadComponent()).pipe(b(pa),x(o=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=o}),je(()=>{this.componentLoaders.delete(e)})),i=new hr(n,()=>new te).pipe(dr());return this.componentLoaders.set(e,i),i}loadChildren(e,n){if(this.childrenLoaders.get(n))return this.childrenLoaders.get(n);if(n._loadedRoutes)return p({routes:n._loadedRoutes,injector:n._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(n);let o=fa(n,this.compiler,e,this.onLoadEndListener).pipe(je(()=>{this.childrenLoaders.delete(n)})),s=new hr(o,()=>new te).pipe(dr());return this.childrenLoaders.set(n,s),s}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function fa(t,r,e,n){return xe(t.loadChildren()).pipe(b(pa),j(i=>i instanceof co||Array.isArray(i)?p(i):L(r.compileModuleAsync(i))),b(i=>{n&&n(t);let o,s,a=!1;return Array.isArray(i)?(s=i,a=!0):(o=i.create(e).injector,s=o.get(vt,[],{optional:!0,self:!0}).flat()),{routes:s.map(Ai),injector:o}}))}function ql(t){return t&&typeof t=="object"&&"default"in t}function pa(t){return ql(t)?t.default:t}var ar=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>d(Wl),providedIn:"root"})}return t})(),Wl=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,n){return e}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),_i=new C(""),Ii=new C("");function ga(t,r,e){let n=t.get(Ii),i=t.get(O);return t.get(J).runOutsideAngular(()=>{if(!i.startViewTransition||n.skipNextTransition)return n.skipNextTransition=!1,new Promise(c=>setTimeout(c));let o,s=new Promise(c=>{o=c}),a=i.startViewTransition(()=>(o(),Zl(t))),{onViewTransitionCreated:u}=n;return u&&X(t,()=>u({transition:a,from:r,to:e})),s})}function Zl(t){return new Promise(r=>{Xi({read:()=>setTimeout(r)},{injector:t})})}var Mi=new C(""),ur=(()=>{class t{currentNavigation=null;currentTransition=null;lastSuccessfulNavigation=null;events=new te;transitionAbortSubject=new te;configLoader=d(sr);environmentInjector=d(Re);destroyRef=d(yr);urlSerializer=d(Xe);rootContexts=d(Je);location=d(Fe);inputBindingEnabled=d(Jt,{optional:!0})!==null;titleStrategy=d(Ti);options=d(Qe,{optional:!0})||{};paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly";urlHandlingStrategy=d(ar);createViewTransition=d(_i,{optional:!0});navigationErrorHandler=d(Mi,{optional:!0});navigationId=0;get hasRequestedNavigation(){return this.navigationId!==0}transitions;afterPreactivation=()=>p(void 0);rootComponentType=null;destroyed=!1;constructor(){let e=i=>this.events.next(new Wn(i)),n=i=>this.events.next(new Zn(i));this.configLoader.onLoadEndListener=n,this.configLoader.onLoadStartListener=e,this.destroyRef.onDestroy(()=>{this.destroyed=!0})}complete(){this.transitions?.complete()}handleNavigationRequest(e){let n=++this.navigationId;this.transitions?.next(k(f({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl),targetSnapshot:null,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null,id:n}))}setupNavigations(e){return this.transitions=new K(null),this.transitions.pipe(se(n=>n!==null),G(n=>{let i=!1,o=!1;return p(n).pipe(G(s=>{if(this.navigationId>n.id)return this.cancelNavigationTransition(n,"",H.SupersededByNewNavigation),ge;this.currentTransition=n,this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,targetBrowserUrl:typeof s.extras.browserUrl=="string"?this.urlSerializer.parse(s.extras.browserUrl):s.extras.browserUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?k(f({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let a=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),u=s.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!a&&u!=="reload"){let c="";return this.events.next(new fe(s.id,this.urlSerializer.serialize(s.rawUrl),c,lt.IgnoredSameUrlNavigation)),s.resolve(!1),ge}if(this.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return p(s).pipe(G(c=>(this.events.next(new ke(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),c.id!==this.navigationId?ge:Promise.resolve(c))),$l(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),x(c=>{n.targetSnapshot=c.targetSnapshot,n.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation=k(f({},this.currentNavigation),{finalUrl:c.urlAfterRedirects});let l=new Vt(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(l)}));if(a&&this.urlHandlingStrategy.shouldProcessUrl(s.currentRawUrl)){let{id:c,extractedUrl:l,source:h,restoredState:v,extras:g}=s,R=new ke(c,this.urlSerializer.serialize(l),h,v);this.events.next(R);let S=ea(this.rootComponentType).snapshot;return this.currentTransition=n=k(f({},s),{targetSnapshot:S,urlAfterRedirects:l,extras:k(f({},g),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=l,p(n)}else{let c="";return this.events.next(new fe(s.id,this.urlSerializer.serialize(s.extractedUrl),c,lt.IgnoredByUrlHandlingStrategy)),s.resolve(!1),ge}}),x(s=>{let a=new Vn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),b(s=>(this.currentTransition=n=k(f({},s),{guards:al(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),n)),Dl(this.environmentInjector,s=>this.events.next(s)),x(s=>{if(n.guardsResult=s.guardsResult,s.guardsResult&&typeof s.guardsResult!="boolean")throw nr(this.urlSerializer,s.guardsResult);let a=new Hn(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),se(s=>s.guardsResult?!0:(this.cancelNavigationTransition(s,"",H.GuardRejected),!1)),ai(s=>{if(s.guards.canActivateChecks.length!==0)return p(s).pipe(x(a=>{let u=new Gn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}),G(a=>{let u=!1;return p(a).pipe(zl(this.paramsInheritanceStrategy,this.environmentInjector),x({next:()=>u=!0,complete:()=>{u||this.cancelNavigationTransition(a,"",H.NoDataFromResolver)}}))}),x(a=>{let u=new qn(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(u)}))}),ai(s=>{let a=u=>{let c=[];u.routeConfig?.loadComponent&&!u.routeConfig._loadedComponent&&c.push(this.configLoader.loadComponent(u.routeConfig).pipe(x(l=>{u.component=l}),b(()=>{})));for(let l of u.children)c.push(...a(l));return c};return rn(a(s.targetSnapshot.root)).pipe(pr(null),et(1))}),ai(()=>this.afterPreactivation()),G(()=>{let{currentSnapshot:s,targetSnapshot:a}=n,u=this.createViewTransition?.(this.environmentInjector,s.root,a.root);return u?L(u).pipe(b(()=>n)):p(n)}),b(s=>{let a=nl(e.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return this.currentTransition=n=k(f({},s),{targetRouterState:a}),this.currentNavigation.targetRouterState=a,n}),x(()=>{this.events.next(new Ht)}),sl(this.rootContexts,e.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),et(1),x({next:s=>{i=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new Y(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects))),this.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{i=!0}}),zi(this.transitionAbortSubject.pipe(x(s=>{throw s}))),je(()=>{!i&&!o&&this.cancelNavigationTransition(n,"",H.SupersededByNewNavigation),this.currentTransition?.id===n.id&&(this.currentNavigation=null,this.currentTransition=null)}),Be(s=>{if(this.destroyed)return n.resolve(!1),ge;if(o=!0,sa(s))this.events.next(new de(n.id,this.urlSerializer.serialize(n.extractedUrl),s.message,s.cancellationCode)),ol(s)?this.events.next(new ft(s.url,s.navigationBehaviorOptions)):n.resolve(!1);else{let a=new dt(n.id,this.urlSerializer.serialize(n.extractedUrl),s,n.targetSnapshot??void 0);try{let u=X(this.environmentInjector,()=>this.navigationErrorHandler?.(a));if(u instanceof pt){let{message:c,cancellationCode:l}=nr(this.urlSerializer,u);this.events.next(new de(n.id,this.urlSerializer.serialize(n.extractedUrl),c,l)),this.events.next(new ft(u.redirectTo,u.navigationBehaviorOptions))}else throw this.events.next(a),s}catch(u){this.options.resolveNavigationPromiseOnError?n.resolve(!1):n.reject(u)}}return ge}))}))}cancelNavigationTransition(e,n,i){let o=new de(e.id,this.urlSerializer.serialize(e.extractedUrl),n,i);this.events.next(o),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),n=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==n?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Yl(t){return t!==jn}var ma=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>d(Kl),providedIn:"root"})}return t})(),ir=class{shouldDetach(r){return!1}store(r,e){}shouldAttach(r){return!1}retrieve(r){return null}shouldReuseRoute(r,e){return r.routeConfig===e.routeConfig}},Kl=(()=>{class t extends ir{static \u0275fac=(()=>{let e;return function(i){return(e||(e=vr(t)))(i||t)}})();static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),va=(()=>{class t{urlSerializer=d(Xe);options=d(Qe,{optional:!0})||{};canceledNavigationResolution=this.options.canceledNavigationResolution||"replace";location=d(Fe);urlHandlingStrategy=d(ar);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";currentUrlTree=new he;getCurrentUrlTree(){return this.currentUrlTree}rawUrlTree=this.currentUrlTree;getRawUrlTree(){return this.rawUrlTree}createBrowserPath({finalUrl:e,initialUrl:n,targetBrowserUrl:i}){let o=e!==void 0?this.urlHandlingStrategy.merge(e,n):n,s=i??o;return s instanceof he?this.urlSerializer.serialize(s):s}commitTransition({targetRouterState:e,finalUrl:n,initialUrl:i}){n&&e?(this.currentUrlTree=n,this.rawUrlTree=this.urlHandlingStrategy.merge(n,i),this.routerState=e):this.rawUrlTree=i}routerState=ea(null);getRouterState(){return this.routerState}stateMemento=this.createStateMemento();updateStateMemento(){this.stateMemento=this.createStateMemento()}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}resetInternalState({finalUrl:e}){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e??this.rawUrlTree)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:()=>d(Xl),providedIn:"root"})}return t})(),Xl=(()=>{class t extends va{currentPageId=0;lastSuccessfulId=-1;restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(n=>{n.type==="popstate"&&setTimeout(()=>{e(n.url,n.state,"popstate")})})}handleRouterEvent(e,n){e instanceof ke?this.updateStateMemento():e instanceof fe?this.commitTransition(n):e instanceof Vt?this.urlUpdateStrategy==="eager"&&(n.extras.skipLocationChange||this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof Ht?(this.commitTransition(n),this.urlUpdateStrategy==="deferred"&&!n.extras.skipLocationChange&&this.setBrowserUrl(this.createBrowserPath(n),n)):e instanceof de&&(e.code===H.GuardRejected||e.code===H.NoDataFromResolver)?this.restoreHistory(n):e instanceof dt?this.restoreHistory(n,!0):e instanceof Y&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,{extras:n,id:i}){let{replaceUrl:o,state:s}=n;if(this.location.isCurrentPathEqualTo(e)||o){let a=this.browserPageId,u=f(f({},s),this.generateNgRouterState(i,a));this.location.replaceState(e,"",u)}else{let a=f(f({},s),this.generateNgRouterState(i,this.browserPageId+1));this.location.go(e,"",a)}}restoreHistory(e,n=!1){if(this.canceledNavigationResolution==="computed"){let i=this.browserPageId,o=this.currentPageId-i;o!==0?this.location.historyGo(o):this.getCurrentUrlTree()===e.finalUrl&&o===0&&(this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(n&&this.resetInternalState(e),this.resetUrlToCurrentUrlTree())}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.getRawUrlTree()),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,n){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:n}:{navigationId:e}}static \u0275fac=(()=>{let e;return function(i){return(e||(e=vr(t)))(i||t)}})();static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function cr(t,r){t.events.pipe(se(e=>e instanceof Y||e instanceof de||e instanceof dt||e instanceof fe),b(e=>e instanceof Y||e instanceof fe?0:(e instanceof de?e.code===H.Redirect||e.code===H.SupersededByNewNavigation:!1)?2:1),se(e=>e!==2),et(1)).subscribe(()=>{r()})}var Jl={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ql={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},pe=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}disposed=!1;nonRouterCurrentEntryChangeSubscription;console=d(Rr);stateManager=d(va);options=d(Qe,{optional:!0})||{};pendingTasks=d(wt);urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred";navigationTransitions=d(ur);urlSerializer=d(Xe);location=d(Fe);urlHandlingStrategy=d(ar);_events=new te;get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}navigated=!1;routeReuseStrategy=d(ma);onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore";config=d(vt,{optional:!0})?.flat()??[];componentInputBindingEnabled=!!d(Jt,{optional:!0});constructor(){this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}eventsSubscription=new Pi;subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(n=>{try{let i=this.navigationTransitions.currentTransition,o=this.navigationTransitions.currentNavigation;if(i!==null&&o!==null){if(this.stateManager.handleRouterEvent(n,o),n instanceof de&&n.code!==H.Redirect&&n.code!==H.SupersededByNewNavigation)this.navigated=!0;else if(n instanceof Y)this.navigated=!0;else if(n instanceof ft){let s=n.navigationBehaviorOptions,a=this.urlHandlingStrategy.merge(n.url,i.currentRawUrl),u=f({browserUrl:i.extras.browserUrl,info:i.extras.info,skipLocationChange:i.extras.skipLocationChange,replaceUrl:i.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Yl(i.source)},s);this.scheduleNavigation(a,jn,null,u,{resolve:i.resolve,reject:i.reject,promise:i.promise})}}td(n)&&this._events.next(n)}catch(i){this.navigationTransitions.transitionAbortSubject.next(i)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),jn,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,n,i)=>{this.navigateToSyncWithBrowser(e,i,n)})}navigateToSyncWithBrowser(e,n,i){let o={replaceUrl:!0},s=i?.navigationId?i:null;if(i){let u=f({},i);delete u.navigationId,delete u.\u0275routerPageId,Object.keys(u).length!==0&&(o.state=u)}let a=this.parseUrl(e);this.scheduleNavigation(a,n,s,o)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Ai),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this._events.unsubscribe(),this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,n={}){let{relativeTo:i,queryParams:o,fragment:s,queryParamsHandling:a,preserveFragment:u}=n,c=u?this.currentUrlTree.fragment:s,l=null;switch(a??this.options.defaultQueryParamsHandling){case"merge":l=f(f({},this.currentUrlTree.queryParams),o);break;case"preserve":l=this.currentUrlTree.queryParams;break;default:l=o||null}l!==null&&(l=this.removeEmptyProps(l));let h;try{let v=i?i.snapshot:this.routerState.snapshot.root;h=Ks(v)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),h=this.currentUrlTree.root}return Xs(h,e,l,c??null)}navigateByUrl(e,n={skipLocationChange:!1}){let i=Le(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(i,this.rawUrlTree);return this.scheduleNavigation(o,jn,null,n)}navigate(e,n={skipLocationChange:!1}){return ed(e),this.navigateByUrl(this.createUrlTree(e,n),n)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,n){let i;if(n===!0?i=f({},Jl):n===!1?i=f({},Ql):i=n,Le(e))return Fs(this.currentUrlTree,e,i);let o=this.parseUrl(e);return Fs(this.currentUrlTree,o,i)}removeEmptyProps(e){return Object.entries(e).reduce((n,[i,o])=>(o!=null&&(n[i]=o),n),{})}scheduleNavigation(e,n,i,o,s){if(this.disposed)return Promise.resolve(!1);let a,u,c;s?(a=s.resolve,u=s.reject,c=s.promise):c=new Promise((h,v)=>{a=h,u=v});let l=this.pendingTasks.add();return cr(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(l))}),this.navigationTransitions.handleNavigationRequest({source:n,restoredState:i,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:o,resolve:a,reject:u,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(h=>Promise.reject(h))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function ed(t){for(let r=0;r<t.length;r++)if(t[r]==null)throw new w(4008,!1)}function td(t){return!(t instanceof Ht)&&!(t instanceof ft)}var lr=(()=>{class t{router;route;tabIndexAttribute;renderer;el;locationStrategy;href=null;target;queryParams;fragment;queryParamsHandling;state;info;relativeTo;isAnchorElement;subscription;onChanges=new te;constructor(e,n,i,o,s,a){this.router=e,this.route=n,this.tabIndexAttribute=i,this.renderer=o,this.el=s,this.locationStrategy=a;let u=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement=u==="a"||u==="area",this.isAnchorElement?this.subscription=e.events.subscribe(c=>{c instanceof Y&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}preserveFragment=!1;skipLocationChange=!1;replaceUrl=!1;setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}routerLinkInput=null;set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Le(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,n,i,o,s){let a=this.urlTree;if(a===null||this.isAnchorElement&&(e!==0||n||i||o||s||typeof this.target=="string"&&this.target!="_self"))return!0;let u={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(a,u),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let n=this.href===null?null:oo(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(e,n){let i=this.renderer,o=this.el.nativeElement;n!==null?i.setAttribute(o,e,n):i.removeAttribute(o,e)}get urlTree(){return this.routerLinkInput===null?null:Le(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static \u0275fac=function(n){return new(n||t)(T(pe),T(Ce),Dr("tabindex"),T(Te),T(be),T(re))};static \u0275dir=$({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(n,i){n&1&&yo("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),n&2&&mo("target",i.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",De],skipLocationChange:[2,"skipLocationChange","skipLocationChange",De],replaceUrl:[2,"replaceUrl","replaceUrl",De],routerLink:"routerLink"},features:[ae]})}return t})(),nd=(()=>{class t{router;element;renderer;cdr;link;links;classes=[];routerEventsSubscription;linkInputChangesSubscription;_isActive=!1;get isActive(){return this._isActive}routerLinkActiveOptions={exact:!1};ariaCurrentWhenActive;isActiveChange=new ze;constructor(e,n,i,o,s){this.router=e,this.element=n,this.renderer=i,this.cdr=o,this.link=s,this.routerEventsSubscription=e.events.subscribe(a=>{a instanceof Y&&this.update()})}ngAfterContentInit(){p(this.links.changes,p(null)).pipe(yt()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(n=>!!n).map(n=>n.onChanges);this.linkInputChangesSubscription=L(e).pipe(yt()).subscribe(n=>{this._isActive!==this.isLinkActive(this.router)(n)&&this.update()})}set routerLinkActive(e){let n=Array.isArray(e)?e:e.split(" ");this.classes=n.filter(i=>!!i)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(n=>{e?this.renderer.addClass(this.element.nativeElement,n):this.renderer.removeClass(this.element.nativeElement,n)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let n=rd(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return i=>{let o=i.urlTree;return o?e.isActive(o,n):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static \u0275fac=function(n){return new(n||t)(T(pe),T(be),T(Te),T(Ie),T(lr,8))};static \u0275dir=$({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(n,i,o){if(n&1&&wo(o,lr,5),n&2){let s;Co(s=Eo())&&(i.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],features:[ae]})}return t})();function rd(t){return!!t.paths}var en=class{};var Da=(()=>{class t{router;injector;preloadingStrategy;loader;subscription;constructor(e,n,i,o){this.router=e,this.injector=n,this.preloadingStrategy=i,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(se(e=>e instanceof Y),me(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,n){let i=[];for(let o of n){o.providers&&!o._injector&&(o._injector=an(o.providers,e,`Route: ${o.path}`));let s=o._injector??e,a=o._loadedInjector??s;(o.loadChildren&&!o._loadedRoutes&&o.canLoad===void 0||o.loadComponent&&!o._loadedComponent)&&i.push(this.preloadConfig(s,o)),(o.children||o._loadedRoutes)&&i.push(this.processRoutes(a,o.children??o._loadedRoutes))}return L(i).pipe(yt())}preloadConfig(e,n){return this.preloadingStrategy.preload(n,()=>{let i;n.loadChildren&&n.canLoad===void 0?i=this.loader.loadChildren(e,n):i=p(null);let o=i.pipe(j(s=>s===null?p(void 0):(n._loadedRoutes=s.routes,n._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));if(n.loadComponent&&!n._loadedComponent){let s=this.loader.loadComponent(n);return L([o,s]).pipe(yt())}else return o})}static \u0275fac=function(n){return new(n||t)(m(pe),m(Re),m(en),m(sr))};static \u0275prov=D({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),ya=new C(""),id=(()=>{class t{urlSerializer;transitions;viewportScroller;zone;options;routerEventsSubscription;scrollEventsSubscription;lastId=0;lastSource="imperative";restoredId=0;store={};constructor(e,n,i,o,s={}){this.urlSerializer=e,this.transitions=n,this.viewportScroller=i,this.zone=o,this.options=s,s.scrollPositionRestoration||="disabled",s.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof ke?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Y?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof fe&&e.code===lt.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof ht&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,n){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ht(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,n))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static \u0275fac=function(n){ao()};static \u0275prov=D({token:t,factory:t.\u0275fac})}return t})();function od(t){return t.routerState.root}function tn(t,r){return{\u0275kind:t,\u0275providers:r}}function sd(){let t=d($e);return r=>{let e=t.get(Tr);if(r!==e.components[0])return;let n=t.get(pe),i=t.get(wa);t.get(Oi)===1&&n.initialNavigation(),t.get(Sa,null,mr.Optional)?.setUpPreloading(),t.get(ya,null,mr.Optional)?.init(),n.resetRootComponentType(e.componentTypes[0]),i.closed||(i.next(),i.complete(),i.unsubscribe())}}var wa=new C("",{factory:()=>new te}),Oi=new C("",{providedIn:"root",factory:()=>1});function Ca(){let t=[{provide:Oi,useValue:0},Ar(()=>{let r=d($e);return r.get(Or,Promise.resolve()).then(()=>new Promise(n=>{let i=r.get(pe),o=r.get(wa);cr(i,()=>{n(!0)}),r.get(ur).afterPreactivation=()=>(n(!0),o.closed?p(void 0):o),i.initialNavigation()}))})];return tn(2,t)}function Ea(){let t=[Ar(()=>{d(pe).setUpLocationChangeListener()}),{provide:Oi,useValue:2}];return tn(3,t)}var Sa=new C("");function Ra(t){return tn(0,[{provide:Sa,useExisting:Da},{provide:en,useExisting:t}])}function ba(){return tn(8,[Ri,{provide:Jt,useExisting:Ri}])}function Aa(t){sn("NgRouterViewTransitions");let r=[{provide:_i,useValue:ga},{provide:Ii,useValue:f({skipNextTransition:!!t?.skipInitialTransition},t)}];return tn(9,r)}var Ta=[Fe,{provide:Xe,useClass:Ne},pe,Je,{provide:Ce,useFactory:od,deps:[pe]},sr,[]],ad=(()=>{class t{constructor(){}static forRoot(e,n){return{ngModule:t,providers:[Ta,[],{provide:vt,multi:!0,useValue:e},[],n?.errorHandler?{provide:Mi,useValue:n.errorHandler}:[],{provide:Qe,useValue:n||{}},n?.useHash?cd():ld(),ud(),n?.preloadingStrategy?Ra(n.preloadingStrategy).\u0275providers:[],n?.initialNavigation?dd(n):[],n?.bindToComponentInputs?ba().\u0275providers:[],n?.enableViewTransitions?Aa().\u0275providers:[],hd()]}}static forChild(e){return{ngModule:t,providers:[{provide:vt,multi:!0,useValue:e}]}}static \u0275fac=function(n){return new(n||t)};static \u0275mod=_e({type:t});static \u0275inj=Se({})}return t})();function ud(){return{provide:ya,useFactory:()=>{let t=d(is),r=d(J),e=d(Qe),n=d(ur),i=d(Xe);return e.scrollOffset&&t.setOffset(e.scrollOffset),new id(i,n,t,r,e)}}}function cd(){return{provide:re,useClass:$r}}function ld(){return{provide:re,useClass:fn}}function dd(t){return[t.initialNavigation==="disabled"?Ea().\u0275providers:[],t.initialNavigation==="enabledBlocking"?Ca().\u0275providers:[]]}var Fi=new C("");function hd(){return[{provide:Fi,useFactory:sd},{provide:go,multi:!0,useExisting:Fi}]}export{O as a,ue as b,Fe as c,Ja as d,Qa as e,Qo as f,eu as g,tu as h,nu as i,ou as j,au as k,uu as l,cu as m,Hr as n,hu as o,Rn as p,Rh as q,bh as r,Jr as s,Xu as t,ec as u,Oe as v,we as w,bs as x,Ts as y,Sc as z,Rc as A,Ms as B,Ac as C,Y as D,Ce as E,Si as F,pe as G,lr as H,nd as I,ad as J};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Ea as b,Ga as f,Ja as v,c as u,ca as l,pa as i,wa as c}from"./chunk-JS55A2RS.js";function m(e){e||(c(m),e=i(f));let o=new u(t=>e.onDestroy(t.next.bind(t)));return t=>t.pipe(l(o))}function g(e){e===void 0&&(c(g),e=i(b));let o=e.get(v);return t=>new u(n=>{let y=o.add(),a=!1;function r(){a||(y(),a=!0)}let d=t.subscribe({next:s=>{n.next(s),r()},complete:()=>{n.complete(),r()},error:s=>{n.error(s),r()}});return d.add(()=>{n.unsubscribe(),r()}),d})}export{m as a,g as b};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as p}from"./chunk-F4GMWHYJ.js";import{a as M}from"./chunk-OZ7LWNOK.js";import{a as y}from"./chunk-VRI3CYGG.js";import{a as I,o as w}from"./chunk-MTUIRWOB.js";import{Aa as r,Ca as n,Gb as u,Hb as g,Ib as F,Kb as s,Pa as h,Wa as v,Xb as c,ac as f,ic as l,jc as m,ka as C,kc as d,od as D,pa as a}from"./chunk-JS55A2RS.js";var S=(()=>{class e extends y{autofocus=!1;_autofocus=!1;focused=!1;platformId=a(v);document=a(I);host=a(h);ngAfterContentChecked(){this.autofocus===!1?this.host.nativeElement.removeAttribute("autofocus"):this.host.nativeElement.setAttribute("autofocus",!0),this.focused||this.autoFocus()}ngAfterViewChecked(){this.focused||this.autoFocus()}autoFocus(){w(this.platformId)&&this._autofocus&&setTimeout(()=>{let t=M.getFocusableElements(this.host?.nativeElement);t.length===0&&this.host.nativeElement.focus(),t.length>0&&t[0].focus(),this.focused=!0})}static \u0275fac=(()=>{let t;return function(o){return(t||(t=n(e)))(o||e)}})();static \u0275dir=F({type:e,selectors:[["","pAutoFocus",""]],inputs:{autofocus:[2,"autofocus","autofocus",D],_autofocus:[0,"pAutoFocus","_autofocus"]},features:[s]})}return e})(),j=(()=>{class e{static \u0275fac=function(i){return new(i||e)};static \u0275mod=g({type:e});static \u0275inj=C({})}return e})();var _=(()=>{class e extends p{static \u0275fac=(()=>{let t;return function(o){return(t||(t=n(e)))(o||e)}})();static \u0275cmp=u({type:e,selectors:[["ChevronDownIcon"]],features:[s],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z","fill","currentColor"]],template:function(i,o){i&1&&(r(),l(0,"svg",0),d(1,"path",1),m()),i&2&&(f(o.getClassNames()),c("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role))},encapsulation:2})}return e})();var O=(()=>{class e extends p{static \u0275fac=(()=>{let t;return function(o){return(t||(t=n(e)))(o||e)}})();static \u0275cmp=u({type:e,selectors:[["TimesIcon"]],features:[s],decls:2,vars:5,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z","fill","currentColor"]],template:function(i,o){i&1&&(r(),l(0,"svg",0),d(1,"path",1),m()),i&2&&(f(o.getClassNames()),c("aria-label",o.ariaLabel)("aria-hidden",o.ariaHidden)("role",o.role))},encapsulation:2})}return e})();export{S as a,j as b,_ as c,O as d};
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import{a as Mt}from"./chunk-ALKC77XL.js";import{a as Dt}from"./chunk-F4GMWHYJ.js";import{a as U}from"./chunk-VRI3CYGG.js";import{D as H,E as ht,H as Lt,Y as Pt,ba as J,ia as Ot,ja as K,q as Ft,v as B}from"./chunk-AVEGIEYT.js";import{d as Tt,f as bt,g as xt,h as Et,i as Vt,n as G,o as ct}from"./chunk-MTUIRWOB.js";import{$b as wt,Aa as gt,Ac as at,Bc as L,Ca as v,Cc as P,Fc as X,Gb as x,Hb as ot,Ka as st,Kb as E,La as _t,Mb as C,Qc as q,Rc as vt,Sc as Z,Tc as Y,Uc as zt,Xb as T,Yb as m,Zb as Ct,_b as lt,ac as b,cd as tt,ic as M,ja as $,jc as R,ka as nt,kc as j,lc as V,mc as F,nc as k,oc as St,pa as W,rb as f,tc as It,uc as y,vc as A,wc as N,xa as pt,xb as yt,ya as ut,za as ft,zc as Q}from"./chunk-JS55A2RS.js";import{a as it,b as rt}from"./chunk-66YHNWRR.js";var jt=["*"],kt=({dt:i})=>`
|
|
2
|
-
.p-iconfield {
|
|
3
|
-
position: relative;
|
|
4
|
-
display: block;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.p-inputicon {
|
|
8
|
-
position: absolute;
|
|
9
|
-
top: 50%;
|
|
10
|
-
margin-top: calc(-1 * (${i("icon.size")} / 2));
|
|
11
|
-
color: ${i("iconfield.icon.color")};
|
|
12
|
-
line-height: 1;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.p-iconfield .p-inputicon:first-child {
|
|
16
|
-
inset-inline-start: ${i("form.field.padding.x")};
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.p-iconfield .p-inputicon:last-child {
|
|
20
|
-
inset-inline-end: ${i("form.field.padding.x")};
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.p-iconfield .p-inputtext:not(:first-child) {
|
|
24
|
-
padding-inline-start: calc((${i("form.field.padding.x")} * 2) + ${i("icon.size")});
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.p-iconfield .p-inputtext:not(:last-child) {
|
|
28
|
-
padding-inline-end: calc((${i("form.field.padding.x")} * 2) + ${i("icon.size")});
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.p-iconfield:has(.p-inputfield-sm) .p-inputicon {
|
|
32
|
-
font-size: ${i("form.field.sm.font.size")};
|
|
33
|
-
width: ${i("form.field.sm.font.size")};
|
|
34
|
-
height: ${i("form.field.sm.font.size")};
|
|
35
|
-
margin-top: calc(-1 * (${i("form.field.sm.font.size")} / 2));
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.p-iconfield:has(.p-inputfield-lg) .p-inputicon {
|
|
39
|
-
font-size: ${i("form.field.lg.font.size")};
|
|
40
|
-
width: ${i("form.field.lg.font.size")};
|
|
41
|
-
height: ${i("form.field.lg.font.size")};
|
|
42
|
-
margin-top: calc(-1 * (${i("form.field.lg.font.size")} / 2));
|
|
43
|
-
}
|
|
44
|
-
`,At={root:"p-iconfield"},Rt=(()=>{class i extends J{name="iconfield";theme=kt;classes=At;static \u0275fac=(()=>{let t;return function(n){return(t||(t=v(i)))(n||i)}})();static \u0275prov=$({token:i,factory:i.\u0275fac})}return i})();var De=(()=>{class i extends U{iconPosition="left";get _styleClass(){return this.styleClass}styleClass;_componentStyle=W(Rt);static \u0275fac=(()=>{let t;return function(n){return(t||(t=v(i)))(n||i)}})();static \u0275cmp=x({type:i,selectors:[["p-iconfield"],["p-iconField"],["p-icon-field"]],hostAttrs:[1,"p-iconfield"],hostVars:6,hostBindings:function(e,n){e&2&&(b(n._styleClass),lt("p-iconfield-left",n.iconPosition==="left")("p-iconfield-right",n.iconPosition==="right"))},inputs:{iconPosition:"iconPosition",styleClass:"styleClass"},features:[q([Rt]),E],ngContentSelectors:jt,decls:1,vars:0,template:function(e,n){e&1&&(A(),N(0))},dependencies:[G],encapsulation:2,changeDetection:0})}return i})();var He=(()=>{class i extends Dt{pathId;ngOnInit(){this.pathId="url(#"+Pt()+")"}static \u0275fac=(()=>{let t;return function(n){return(t||(t=v(i)))(n||i)}})();static \u0275cmp=x({type:i,selectors:[["SearchIcon"]],features:[E],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M2.67602 11.0265C3.6661 11.688 4.83011 12.0411 6.02086 12.0411C6.81149 12.0411 7.59438 11.8854 8.32483 11.5828C8.87005 11.357 9.37808 11.0526 9.83317 10.6803L12.9769 13.8241C13.0323 13.8801 13.0983 13.9245 13.171 13.9548C13.2438 13.985 13.3219 14.0003 13.4007 14C13.4795 14.0003 13.5575 13.985 13.6303 13.9548C13.7031 13.9245 13.7691 13.8801 13.8244 13.8241C13.9367 13.7116 13.9998 13.5592 13.9998 13.4003C13.9998 13.2414 13.9367 13.089 13.8244 12.9765L10.6807 9.8328C11.053 9.37773 11.3573 8.86972 11.5831 8.32452C11.8857 7.59408 12.0414 6.81119 12.0414 6.02056C12.0414 4.8298 11.6883 3.66579 11.0268 2.67572C10.3652 1.68564 9.42494 0.913972 8.32483 0.45829C7.22472 0.00260857 6.01418 -0.116618 4.84631 0.115686C3.67844 0.34799 2.60568 0.921393 1.76369 1.76338C0.921698 2.60537 0.348296 3.67813 0.115991 4.84601C-0.116313 6.01388 0.00291375 7.22441 0.458595 8.32452C0.914277 9.42464 1.68595 10.3649 2.67602 11.0265ZM3.35565 2.0158C4.14456 1.48867 5.07206 1.20731 6.02086 1.20731C7.29317 1.20731 8.51338 1.71274 9.41304 2.6124C10.3127 3.51206 10.8181 4.73226 10.8181 6.00457C10.8181 6.95337 10.5368 7.88088 10.0096 8.66978C9.48251 9.45868 8.73328 10.0736 7.85669 10.4367C6.98011 10.7997 6.01554 10.8947 5.08496 10.7096C4.15439 10.5245 3.2996 10.0676 2.62869 9.39674C1.95778 8.72583 1.50089 7.87104 1.31579 6.94046C1.13068 6.00989 1.22568 5.04532 1.58878 4.16874C1.95187 3.29215 2.56675 2.54292 3.35565 2.0158Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(e,n){e&1&&(gt(),M(0,"svg",0)(1,"g"),j(2,"path",1),R(),M(3,"defs")(4,"clipPath",2),j(5,"rect",3),R()()()),e&2&&(b(n.getClassNames()),T("aria-label",n.ariaLabel)("aria-hidden",n.ariaHidden)("role",n.role),f(),T("clip-path",n.pathId),f(3),m("id",n.pathId))},encapsulation:2})}return i})();var Nt=["*"],Qt={root:"p-inputicon"},Bt=(()=>{class i extends J{name="inputicon";classes=Qt;static \u0275fac=(()=>{let t;return function(n){return(t||(t=v(i)))(n||i)}})();static \u0275prov=$({token:i,factory:i.\u0275fac})}return i})(),Xe=(()=>{class i extends U{styleClass;get hostClasses(){return this.styleClass}_componentStyle=W(Bt);static \u0275fac=(()=>{let t;return function(n){return(t||(t=v(i)))(n||i)}})();static \u0275cmp=x({type:i,selectors:[["p-inputicon"],["p-inputIcon"]],hostVars:4,hostBindings:function(e,n){e&2&&(b(n.hostClasses),lt("p-inputicon",!0))},inputs:{styleClass:"styleClass"},features:[q([Bt]),E],ngContentSelectors:Nt,decls:1,vars:0,template:function(e,n){e&1&&(A(),N(0))},dependencies:[G,K],encapsulation:2,changeDetection:0})}return i})();var Ht=["content"],qt=["item"],Zt=["loader"],Gt=["loadericon"],Jt=["element"],Kt=["*"],Ut=(i,c,t)=>({"p-virtualscroller":!0,"p-virtualscroller-inline":i,"p-virtualscroller-both p-both-scroll":c,"p-virtualscroller-horizontal p-horizontal-scroll":t}),mt=(i,c)=>({$implicit:i,options:c}),Xt=i=>({"p-virtualscroller-content":!0,"p-virtualscroller-loading ":i}),Yt=i=>({"p-virtualscroller-loader-mask":i}),te=i=>({numCols:i}),Wt=i=>({options:i}),ee=()=>({styleClass:"p-virtualscroller-loading-icon"}),ie=(i,c)=>({rows:i,columns:c});function ne(i,c){i&1&&k(0)}function se(i,c){if(i&1&&(V(0),C(1,ne,1,0,"ng-container",10),F()),i&2){let t=y(2);f(),m("ngTemplateOutlet",t.contentTemplate||t._contentTemplate)("ngTemplateOutletContext",Y(2,mt,t.loadedItems,t.getContentOptions()))}}function oe(i,c){i&1&&k(0)}function le(i,c){if(i&1&&(V(0),C(1,oe,1,0,"ng-container",10),F()),i&2){let t=c.$implicit,e=c.index,n=y(3);f(),m("ngTemplateOutlet",n.itemTemplate||n._itemTemplate)("ngTemplateOutletContext",Y(2,mt,t,n.getOptions(e)))}}function re(i,c){if(i&1&&(M(0,"div",11,3),C(2,le,2,5,"ng-container",12),R()),i&2){let t=y(2);wt(t.contentStyle),b(t.contentStyleClass),m("ngClass",Z(8,Xt,t.d_loading)),T("data-pc-section","content"),f(2),m("ngForOf",t.loadedItems)("ngForTrackBy",t._trackBy)}}function ae(i,c){if(i&1&&j(0,"div",13),i&2){let t=y(2);m("ngStyle",t.spacerStyle),T("data-pc-section","spacer")}}function ce(i,c){i&1&&k(0)}function he(i,c){if(i&1&&(V(0),C(1,ce,1,0,"ng-container",10),F()),i&2){let t=c.index,e=y(4);f(),m("ngTemplateOutlet",e.loaderTemplate||e._loaderTemplate)("ngTemplateOutletContext",Z(4,Wt,e.getLoaderOptions(t,e.both&&Z(2,te,e.numItemsInViewport.cols))))}}function de(i,c){if(i&1&&(V(0),C(1,he,2,6,"ng-container",15),F()),i&2){let t=y(3);f(),m("ngForOf",t.loaderArr)}}function me(i,c){i&1&&k(0)}function pe(i,c){if(i&1&&(V(0),C(1,me,1,0,"ng-container",10),F()),i&2){let t=y(4);f(),m("ngTemplateOutlet",t.loaderIconTemplate||t._loaderIconTemplate)("ngTemplateOutletContext",Z(3,Wt,vt(2,ee)))}}function ue(i,c){i&1&&j(0,"SpinnerIcon",16),i&2&&(m("styleClass","p-virtualscroller-loading-icon pi-spin"),T("data-pc-section","loadingIcon"))}function fe(i,c){if(i&1&&C(0,pe,2,5,"ng-container",6)(1,ue,1,2,"ng-template",null,5,tt),i&2){let t=X(2),e=y(3);m("ngIf",e.loaderIconTemplate||e._loaderIconTemplate)("ngIfElse",t)}}function ge(i,c){if(i&1&&(M(0,"div",14),C(1,de,2,1,"ng-container",6)(2,fe,3,2,"ng-template",null,4,tt),R()),i&2){let t=X(3),e=y(2);m("ngClass",Z(4,Yt,!e.loaderTemplate)),T("data-pc-section","loader"),f(),m("ngIf",e.loaderTemplate||e._loaderTemplate)("ngIfElse",t)}}function _e(i,c){if(i&1){let t=St();V(0),M(1,"div",7,1),It("scroll",function(n){ut(t);let s=y();return ft(s.onContainerScroll(n))}),C(3,se,2,5,"ng-container",6)(4,re,3,10,"ng-template",null,2,tt)(6,ae,1,2,"div",8)(7,ge,4,6,"div",9),R(),F()}if(i&2){let t=X(5),e=y();f(),b(e._styleClass),m("ngStyle",e._style)("ngClass",zt(12,Ut,e.inline,e.both,e.horizontal)),T("id",e._id)("tabindex",e.tabindex)("data-pc-name","scroller")("data-pc-section","root"),f(2),m("ngIf",e.contentTemplate||e._contentTemplate)("ngIfElse",t),f(3),m("ngIf",e._showSpacer),f(),m("ngIf",!e.loaderDisabled&&e._showLoader&&e.d_loading)}}function ye(i,c){i&1&&k(0)}function Ce(i,c){if(i&1&&(V(0),C(1,ye,1,0,"ng-container",10),F()),i&2){let t=y(2);f(),m("ngTemplateOutlet",t.contentTemplate||t._contentTemplate)("ngTemplateOutletContext",Y(5,mt,t.items,Y(2,ie,t._items,t.loadedColumns)))}}function we(i,c){if(i&1&&(N(0),C(1,Ce,2,8,"ng-container",17)),i&2){let t=y();f(),m("ngIf",t.contentTemplate||t._contentTemplate)}}var Se=({dt:i})=>`
|
|
45
|
-
.p-virtualscroller {
|
|
46
|
-
position: relative;
|
|
47
|
-
overflow: auto;
|
|
48
|
-
contain: strict;
|
|
49
|
-
transform: translateZ(0);
|
|
50
|
-
will-change: scroll-position;
|
|
51
|
-
outline: 0 none;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.p-virtualscroller-content {
|
|
55
|
-
position: absolute;
|
|
56
|
-
top: 0;
|
|
57
|
-
left: 0;
|
|
58
|
-
min-height: 100%;
|
|
59
|
-
min-width: 100%;
|
|
60
|
-
will-change: transform;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.p-virtualscroller-spacer {
|
|
64
|
-
position: absolute;
|
|
65
|
-
top: 0;
|
|
66
|
-
left: 0;
|
|
67
|
-
height: 1px;
|
|
68
|
-
width: 1px;
|
|
69
|
-
transform-origin: 0 0;
|
|
70
|
-
pointer-events: none;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.p-virtualscroller-loader {
|
|
74
|
-
position: sticky;
|
|
75
|
-
top: 0;
|
|
76
|
-
left: 0;
|
|
77
|
-
width: 100%;
|
|
78
|
-
height: 100%;
|
|
79
|
-
background: ${i("virtualscroller.loader.mask.background")};
|
|
80
|
-
color: ${i("virtualscroller.loader.mask.color")};
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.p-virtualscroller-loader-mask {
|
|
84
|
-
display: flex;
|
|
85
|
-
align-items: center;
|
|
86
|
-
justify-content: center;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.p-virtualscroller-loading-icon {
|
|
90
|
-
font-size: ${i("virtualscroller.loader.icon.size")};
|
|
91
|
-
width: ${i("virtualscroller.loader.icon.size")};
|
|
92
|
-
height: ${i("virtualscroller.loader.icon.size")};
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.p-virtualscroller-horizontal > .p-virtualscroller-content {
|
|
96
|
-
display: flex;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.p-virtualscroller-inline .p-virtualscroller-content {
|
|
100
|
-
position: static;
|
|
101
|
-
}
|
|
102
|
-
`,$t=(()=>{class i extends J{name="virtualscroller";theme=Se;static \u0275fac=(()=>{let t;return function(n){return(t||(t=v(i)))(n||i)}})();static \u0275prov=$({token:i,factory:i.\u0275fac})}return i})();var Ie=(()=>{class i extends U{zone;get id(){return this._id}set id(t){this._id=t}get style(){return this._style}set style(t){this._style=t}get styleClass(){return this._styleClass}set styleClass(t){this._styleClass=t}get tabindex(){return this._tabindex}set tabindex(t){this._tabindex=t}get items(){return this._items}set items(t){this._items=t}get itemSize(){return this._itemSize}set itemSize(t){this._itemSize=t}get scrollHeight(){return this._scrollHeight}set scrollHeight(t){this._scrollHeight=t}get scrollWidth(){return this._scrollWidth}set scrollWidth(t){this._scrollWidth=t}get orientation(){return this._orientation}set orientation(t){this._orientation=t}get step(){return this._step}set step(t){this._step=t}get delay(){return this._delay}set delay(t){this._delay=t}get resizeDelay(){return this._resizeDelay}set resizeDelay(t){this._resizeDelay=t}get appendOnly(){return this._appendOnly}set appendOnly(t){this._appendOnly=t}get inline(){return this._inline}set inline(t){this._inline=t}get lazy(){return this._lazy}set lazy(t){this._lazy=t}get disabled(){return this._disabled}set disabled(t){this._disabled=t}get loaderDisabled(){return this._loaderDisabled}set loaderDisabled(t){this._loaderDisabled=t}get columns(){return this._columns}set columns(t){this._columns=t}get showSpacer(){return this._showSpacer}set showSpacer(t){this._showSpacer=t}get showLoader(){return this._showLoader}set showLoader(t){this._showLoader=t}get numToleratedItems(){return this._numToleratedItems}set numToleratedItems(t){this._numToleratedItems=t}get loading(){return this._loading}set loading(t){this._loading=t}get autoSize(){return this._autoSize}set autoSize(t){this._autoSize=t}get trackBy(){return this._trackBy}set trackBy(t){this._trackBy=t}get options(){return this._options}set options(t){this._options=t,t&&typeof t=="object"&&(Object.entries(t).forEach(([e,n])=>this[`_${e}`]!==n&&(this[`_${e}`]=n)),Object.entries(t).forEach(([e,n])=>this[`${e}`]!==n&&(this[`${e}`]=n)))}onLazyLoad=new st;onScroll=new st;onScrollIndexChange=new st;elementViewChild;contentViewChild;height;_id;_style;_styleClass;_tabindex=0;_items;_itemSize=0;_scrollHeight;_scrollWidth;_orientation="vertical";_step=0;_delay=0;_resizeDelay=10;_appendOnly=!1;_inline=!1;_lazy=!1;_disabled=!1;_loaderDisabled=!1;_columns;_showSpacer=!0;_showLoader=!1;_numToleratedItems;_loading;_autoSize=!1;_trackBy;_options;d_loading=!1;d_numToleratedItems;contentEl;contentTemplate;itemTemplate;loaderTemplate;loaderIconTemplate;templates;_contentTemplate;_itemTemplate;_loaderTemplate;_loaderIconTemplate;first=0;last=0;page=0;isRangeChanged=!1;numItemsInViewport=0;lastScrollPos=0;lazyLoadState={};loaderArr=[];spacerStyle={};contentStyle={};scrollTimeout;resizeTimeout;initialized=!1;windowResizeListener;defaultWidth;defaultHeight;defaultContentWidth;defaultContentHeight;_contentStyleClass;get contentStyleClass(){return this._contentStyleClass}set contentStyleClass(t){this._contentStyleClass=t}get vertical(){return this._orientation==="vertical"}get horizontal(){return this._orientation==="horizontal"}get both(){return this._orientation==="both"}get loadedItems(){return this._items&&!this.d_loading?this.both?this._items.slice(this._appendOnly?0:this.first.rows,this.last.rows).map(t=>this._columns?t:t.slice(this._appendOnly?0:this.first.cols,this.last.cols)):this.horizontal&&this._columns?this._items:this._items.slice(this._appendOnly?0:this.first,this.last):[]}get loadedRows(){return this.d_loading?this._loaderDisabled?this.loaderArr:[]:this.loadedItems}get loadedColumns(){return this._columns&&(this.both||this.horizontal)?this.d_loading&&this._loaderDisabled?this.both?this.loaderArr[0]:this.loaderArr:this._columns.slice(this.both?this.first.cols:this.first,this.both?this.last.cols:this.last):this._columns}_componentStyle=W($t);constructor(t){super(),this.zone=t}ngOnInit(){super.ngOnInit(),this.setInitialState()}ngOnChanges(t){super.ngOnChanges(t);let e=!1;if(this.scrollHeight=="100%"&&(this.height="100%"),t.loading){let{previousValue:n,currentValue:s}=t.loading;this.lazy&&n!==s&&s!==this.d_loading&&(this.d_loading=s,e=!0)}if(t.orientation&&(this.lastScrollPos=this.both?{top:0,left:0}:0),t.numToleratedItems){let{previousValue:n,currentValue:s}=t.numToleratedItems;n!==s&&s!==this.d_numToleratedItems&&(this.d_numToleratedItems=s)}if(t.options){let{previousValue:n,currentValue:s}=t.options;this.lazy&&n?.loading!==s?.loading&&s?.loading!==this.d_loading&&(this.d_loading=s.loading,e=!0),n?.numToleratedItems!==s?.numToleratedItems&&s?.numToleratedItems!==this.d_numToleratedItems&&(this.d_numToleratedItems=s.numToleratedItems)}this.initialized&&!e&&(t.items?.previousValue?.length!==t.items?.currentValue?.length||t.itemSize||t.scrollHeight||t.scrollWidth)&&(this.init(),this.calculateAutoSize())}ngAfterContentInit(){this.templates.forEach(t=>{switch(t.getType()){case"content":this._contentTemplate=t.template;break;case"item":this._itemTemplate=t.template;break;case"loader":this._loaderTemplate=t.template;break;case"loadericon":this._loaderIconTemplate=t.template;break;default:this._itemTemplate=t.template;break}})}ngAfterViewInit(){super.ngAfterViewInit(),Promise.resolve().then(()=>{this.viewInit()})}ngAfterViewChecked(){this.initialized||this.viewInit()}ngOnDestroy(){this.unbindResizeListener(),this.contentEl=null,this.initialized=!1,super.ngOnDestroy()}viewInit(){ct(this.platformId)&&!this.initialized&&ht(this.elementViewChild?.nativeElement)&&(this.setInitialState(),this.setContentEl(this.contentEl),this.init(),this.defaultWidth=H(this.elementViewChild?.nativeElement),this.defaultHeight=B(this.elementViewChild?.nativeElement),this.defaultContentWidth=H(this.contentEl),this.defaultContentHeight=B(this.contentEl),this.initialized=!0)}init(){this._disabled||(this.setSize(),this.calculateOptions(),this.setSpacerSize(),this.bindResizeListener(),this.cd.detectChanges())}setContentEl(t){this.contentEl=t||this.contentViewChild?.nativeElement||Ft(this.elementViewChild?.nativeElement,".p-virtualscroller-content")}setInitialState(){this.first=this.both?{rows:0,cols:0}:0,this.last=this.both?{rows:0,cols:0}:0,this.numItemsInViewport=this.both?{rows:0,cols:0}:0,this.lastScrollPos=this.both?{top:0,left:0}:0,this.d_loading=this._loading||!1,this.d_numToleratedItems=this._numToleratedItems,this.loaderArr=[]}getElementRef(){return this.elementViewChild}getPageByFirst(t){return Math.floor(((t??this.first)+this.d_numToleratedItems*4)/(this._step||1))}isPageChanged(t){return this._step?this.page!==this.getPageByFirst(t??this.first):!0}scrollTo(t){this.elementViewChild?.nativeElement?.scrollTo(t)}scrollToIndex(t,e="auto"){if(this.both?t.every(s=>s>-1):t>-1){let s=this.first,{scrollTop:o=0,scrollLeft:l=0}=this.elementViewChild?.nativeElement,{numToleratedItems:u}=this.calculateNumItems(),p=this.getContentPosition(),h=this.itemSize,S=(a=0,d)=>a<=d?0:a,g=(a,d,w)=>a*d+w,I=(a=0,d=0)=>this.scrollTo({left:a,top:d,behavior:e}),_=this.both?{rows:0,cols:0}:0,O=!1,r=!1;this.both?(_={rows:S(t[0],u[0]),cols:S(t[1],u[1])},I(g(_.cols,h[1],p.left),g(_.rows,h[0],p.top)),r=this.lastScrollPos.top!==o||this.lastScrollPos.left!==l,O=_.rows!==s.rows||_.cols!==s.cols):(_=S(t,u),this.horizontal?I(g(_,h,p.left),o):I(l,g(_,h,p.top)),r=this.lastScrollPos!==(this.horizontal?l:o),O=_!==s),this.isRangeChanged=O,r&&(this.first=_)}}scrollInView(t,e,n="auto"){if(e){let{first:s,viewport:o}=this.getRenderedRange(),l=(h=0,S=0)=>this.scrollTo({left:h,top:S,behavior:n}),u=e==="to-start",p=e==="to-end";if(u){if(this.both)o.first.rows-s.rows>t[0]?l(o.first.cols*this._itemSize[1],(o.first.rows-1)*this._itemSize[0]):o.first.cols-s.cols>t[1]&&l((o.first.cols-1)*this._itemSize[1],o.first.rows*this._itemSize[0]);else if(o.first-s>t){let h=(o.first-1)*this._itemSize;this.horizontal?l(h,0):l(0,h)}}else if(p){if(this.both)o.last.rows-s.rows<=t[0]+1?l(o.first.cols*this._itemSize[1],(o.first.rows+1)*this._itemSize[0]):o.last.cols-s.cols<=t[1]+1&&l((o.first.cols+1)*this._itemSize[1],o.first.rows*this._itemSize[0]);else if(o.last-s<=t+1){let h=(o.first+1)*this._itemSize;this.horizontal?l(h,0):l(0,h)}}}else this.scrollToIndex(t,n)}getRenderedRange(){let t=(s,o)=>o||s?Math.floor(s/(o||s)):0,e=this.first,n=0;if(this.elementViewChild?.nativeElement){let{scrollTop:s,scrollLeft:o}=this.elementViewChild.nativeElement;if(this.both)e={rows:t(s,this._itemSize[0]),cols:t(o,this._itemSize[1])},n={rows:e.rows+this.numItemsInViewport.rows,cols:e.cols+this.numItemsInViewport.cols};else{let l=this.horizontal?o:s;e=t(l,this._itemSize),n=e+this.numItemsInViewport}}return{first:this.first,last:this.last,viewport:{first:e,last:n}}}calculateNumItems(){let t=this.getContentPosition(),e=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetWidth-t.left:0)||0,n=(this.elementViewChild?.nativeElement?this.elementViewChild.nativeElement.offsetHeight-t.top:0)||0,s=(p,h)=>h||p?Math.ceil(p/(h||p)):0,o=p=>Math.ceil(p/2),l=this.both?{rows:s(n,this._itemSize[0]),cols:s(e,this._itemSize[1])}:s(this.horizontal?e:n,this._itemSize),u=this.d_numToleratedItems||(this.both?[o(l.rows),o(l.cols)]:o(l));return{numItemsInViewport:l,numToleratedItems:u}}calculateOptions(){let{numItemsInViewport:t,numToleratedItems:e}=this.calculateNumItems(),n=(l,u,p,h=!1)=>this.getLast(l+u+(l<p?2:3)*p,h),s=this.first,o=this.both?{rows:n(this.first.rows,t.rows,e[0]),cols:n(this.first.cols,t.cols,e[1],!0)}:n(this.first,t,e);this.last=o,this.numItemsInViewport=t,this.d_numToleratedItems=e,this.showLoader&&(this.loaderArr=this.both?Array.from({length:t.rows}).map(()=>Array.from({length:t.cols})):Array.from({length:t})),this._lazy&&Promise.resolve().then(()=>{this.lazyLoadState={first:this._step?this.both?{rows:0,cols:s.cols}:0:s,last:Math.min(this._step?this._step:this.last,this.items.length)},this.handleEvents("onLazyLoad",this.lazyLoadState)})}calculateAutoSize(){this._autoSize&&!this.d_loading&&Promise.resolve().then(()=>{if(this.contentEl){this.contentEl.style.minHeight=this.contentEl.style.minWidth="auto",this.contentEl.style.position="relative",this.elementViewChild.nativeElement.style.contain="none";let[t,e]=[H(this.contentEl),B(this.contentEl)];t!==this.defaultContentWidth&&(this.elementViewChild.nativeElement.style.width=""),e!==this.defaultContentHeight&&(this.elementViewChild.nativeElement.style.height="");let[n,s]=[H(this.elementViewChild.nativeElement),B(this.elementViewChild.nativeElement)];(this.both||this.horizontal)&&(this.elementViewChild.nativeElement.style.width=n<this.defaultWidth?n+"px":this._scrollWidth||this.defaultWidth+"px"),(this.both||this.vertical)&&(this.elementViewChild.nativeElement.style.height=s<this.defaultHeight?s+"px":this._scrollHeight||this.defaultHeight+"px"),this.contentEl.style.minHeight=this.contentEl.style.minWidth="",this.contentEl.style.position="",this.elementViewChild.nativeElement.style.contain=""}})}getLast(t=0,e=!1){return this._items?Math.min(e?(this._columns||this._items[0]).length:this._items.length,t):0}getContentPosition(){if(this.contentEl){let t=getComputedStyle(this.contentEl),e=parseFloat(t.paddingLeft)+Math.max(parseFloat(t.left)||0,0),n=parseFloat(t.paddingRight)+Math.max(parseFloat(t.right)||0,0),s=parseFloat(t.paddingTop)+Math.max(parseFloat(t.top)||0,0),o=parseFloat(t.paddingBottom)+Math.max(parseFloat(t.bottom)||0,0);return{left:e,right:n,top:s,bottom:o,x:e+n,y:s+o}}return{left:0,right:0,top:0,bottom:0,x:0,y:0}}setSize(){if(this.elementViewChild?.nativeElement){let t=this.elementViewChild.nativeElement.parentElement.parentElement,e=this._scrollWidth||`${this.elementViewChild.nativeElement.offsetWidth||t.offsetWidth}px`,n=this._scrollHeight||`${this.elementViewChild.nativeElement.offsetHeight||t.offsetHeight}px`,s=(o,l)=>this.elementViewChild.nativeElement.style[o]=l;this.both||this.horizontal?(s("height",n),s("width",e)):s("height",n)}}setSpacerSize(){if(this._items){let t=this.getContentPosition(),e=(n,s,o,l=0)=>this.spacerStyle=rt(it({},this.spacerStyle),{[`${n}`]:(s||[]).length*o+l+"px"});this.both?(e("height",this._items,this._itemSize[0],t.y),e("width",this._columns||this._items[1],this._itemSize[1],t.x)):this.horizontal?e("width",this._columns||this._items,this._itemSize,t.x):e("height",this._items,this._itemSize,t.y)}}setContentPosition(t){if(this.contentEl&&!this._appendOnly){let e=t?t.first:this.first,n=(o,l)=>o*l,s=(o=0,l=0)=>this.contentStyle=rt(it({},this.contentStyle),{transform:`translate3d(${o}px, ${l}px, 0)`});if(this.both)s(n(e.cols,this._itemSize[1]),n(e.rows,this._itemSize[0]));else{let o=n(e,this._itemSize);this.horizontal?s(o,0):s(0,o)}}}onScrollPositionChange(t){let e=t.target,n=this.getContentPosition(),s=(r,a)=>r?r>a?r-a:r:0,o=(r,a)=>a||r?Math.floor(r/(a||r)):0,l=(r,a,d,w,z,D)=>r<=z?z:D?d-w-z:a+z-1,u=(r,a,d,w,z,D,et)=>r<=D?0:Math.max(0,et?r<a?d:r-D:r>a?d:r-2*D),p=(r,a,d,w,z,D=!1)=>{let et=a+w+2*z;return r>=z&&(et+=z+1),this.getLast(et,D)},h=s(e.scrollTop,n.top),S=s(e.scrollLeft,n.left),g=this.both?{rows:0,cols:0}:0,I=this.last,_=!1,O=this.lastScrollPos;if(this.both){let r=this.lastScrollPos.top<=h,a=this.lastScrollPos.left<=S;if(!this._appendOnly||this._appendOnly&&(r||a)){let d={rows:o(h,this._itemSize[0]),cols:o(S,this._itemSize[1])},w={rows:l(d.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],r),cols:l(d.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],a)};g={rows:u(d.rows,w.rows,this.first.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0],r),cols:u(d.cols,w.cols,this.first.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],a)},I={rows:p(d.rows,g.rows,this.last.rows,this.numItemsInViewport.rows,this.d_numToleratedItems[0]),cols:p(d.cols,g.cols,this.last.cols,this.numItemsInViewport.cols,this.d_numToleratedItems[1],!0)},_=g.rows!==this.first.rows||I.rows!==this.last.rows||g.cols!==this.first.cols||I.cols!==this.last.cols||this.isRangeChanged,O={top:h,left:S}}}else{let r=this.horizontal?S:h,a=this.lastScrollPos<=r;if(!this._appendOnly||this._appendOnly&&a){let d=o(r,this._itemSize),w=l(d,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,a);g=u(d,w,this.first,this.last,this.numItemsInViewport,this.d_numToleratedItems,a),I=p(d,g,this.last,this.numItemsInViewport,this.d_numToleratedItems),_=g!==this.first||I!==this.last||this.isRangeChanged,O=r}}return{first:g,last:I,isRangeChanged:_,scrollPos:O}}onScrollChange(t){let{first:e,last:n,isRangeChanged:s,scrollPos:o}=this.onScrollPositionChange(t);if(s){let l={first:e,last:n};if(this.setContentPosition(l),this.first=e,this.last=n,this.lastScrollPos=o,this.handleEvents("onScrollIndexChange",l),this._lazy&&this.isPageChanged(e)){let u={first:this._step?Math.min(this.getPageByFirst(e)*this._step,this.items.length-this._step):e,last:Math.min(this._step?(this.getPageByFirst(e)+1)*this._step:n,this.items.length)};(this.lazyLoadState.first!==u.first||this.lazyLoadState.last!==u.last)&&this.handleEvents("onLazyLoad",u),this.lazyLoadState=u}}}onContainerScroll(t){if(this.handleEvents("onScroll",{originalEvent:t}),this._delay&&this.isPageChanged()){if(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.d_loading&&this.showLoader){let{isRangeChanged:e}=this.onScrollPositionChange(t);(e||(this._step?this.isPageChanged():!1))&&(this.d_loading=!0,this.cd.detectChanges())}this.scrollTimeout=setTimeout(()=>{this.onScrollChange(t),this.d_loading&&this.showLoader&&(!this._lazy||this._loading===void 0)&&(this.d_loading=!1,this.page=this.getPageByFirst()),this.cd.detectChanges()},this._delay)}else!this.d_loading&&this.onScrollChange(t)}bindResizeListener(){ct(this.platformId)&&(this.windowResizeListener||this.zone.runOutsideAngular(()=>{let t=this.document.defaultView,e=Lt()?"orientationchange":"resize";this.windowResizeListener=this.renderer.listen(t,e,this.onWindowResize.bind(this))}))}unbindResizeListener(){this.windowResizeListener&&(this.windowResizeListener(),this.windowResizeListener=null)}onWindowResize(){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(()=>{if(ht(this.elementViewChild?.nativeElement)){let[t,e]=[H(this.elementViewChild?.nativeElement),B(this.elementViewChild?.nativeElement)],[n,s]=[t!==this.defaultWidth,e!==this.defaultHeight];(this.both?n||s:this.horizontal?n:this.vertical?s:!1)&&this.zone.run(()=>{this.d_numToleratedItems=this._numToleratedItems,this.defaultWidth=t,this.defaultHeight=e,this.defaultContentWidth=H(this.contentEl),this.defaultContentHeight=B(this.contentEl),this.init()})}},this._resizeDelay)}handleEvents(t,e){return this.options&&this.options[t]?this.options[t](e):this[t].emit(e)}getContentOptions(){return{contentStyleClass:`p-virtualscroller-content ${this.d_loading?"p-virtualscroller-loading":""}`,items:this.loadedItems,getItemOptions:t=>this.getOptions(t),loading:this.d_loading,getLoaderOptions:(t,e)=>this.getLoaderOptions(t,e),itemSize:this._itemSize,rows:this.loadedRows,columns:this.loadedColumns,spacerStyle:this.spacerStyle,contentStyle:this.contentStyle,vertical:this.vertical,horizontal:this.horizontal,both:this.both}}getOptions(t){let e=(this._items||[]).length,n=this.both?this.first.rows+t:this.first+t;return{index:n,count:e,first:n===0,last:n===e-1,even:n%2===0,odd:n%2!==0}}getLoaderOptions(t,e){let n=this.loaderArr.length;return it({index:t,count:n,first:t===0,last:t===n-1,even:t%2===0,odd:t%2!==0},e)}static \u0275fac=function(e){return new(e||i)(yt(_t))};static \u0275cmp=x({type:i,selectors:[["p-scroller"],["p-virtualscroller"],["p-virtual-scroller"],["p-virtualScroller"]],contentQueries:function(e,n,s){if(e&1&&(Q(s,Ht,4),Q(s,qt,4),Q(s,Zt,4),Q(s,Gt,4),Q(s,Ot,4)),e&2){let o;L(o=P())&&(n.contentTemplate=o.first),L(o=P())&&(n.itemTemplate=o.first),L(o=P())&&(n.loaderTemplate=o.first),L(o=P())&&(n.loaderIconTemplate=o.first),L(o=P())&&(n.templates=o)}},viewQuery:function(e,n){if(e&1&&(at(Jt,5),at(Ht,5)),e&2){let s;L(s=P())&&(n.elementViewChild=s.first),L(s=P())&&(n.contentViewChild=s.first)}},hostVars:2,hostBindings:function(e,n){e&2&&Ct("height",n.height)},inputs:{id:"id",style:"style",styleClass:"styleClass",tabindex:"tabindex",items:"items",itemSize:"itemSize",scrollHeight:"scrollHeight",scrollWidth:"scrollWidth",orientation:"orientation",step:"step",delay:"delay",resizeDelay:"resizeDelay",appendOnly:"appendOnly",inline:"inline",lazy:"lazy",disabled:"disabled",loaderDisabled:"loaderDisabled",columns:"columns",showSpacer:"showSpacer",showLoader:"showLoader",numToleratedItems:"numToleratedItems",loading:"loading",autoSize:"autoSize",trackBy:"trackBy",options:"options"},outputs:{onLazyLoad:"onLazyLoad",onScroll:"onScroll",onScrollIndexChange:"onScrollIndexChange"},features:[q([$t]),E,pt],ngContentSelectors:Kt,decls:3,vars:2,consts:[["disabledContainer",""],["element",""],["buildInContent",""],["content",""],["buildInLoader",""],["buildInLoaderIcon",""],[4,"ngIf","ngIfElse"],[3,"scroll","ngStyle","ngClass"],["class","p-virtualscroller-spacer",3,"ngStyle",4,"ngIf"],["class","p-virtualscroller-loader",3,"ngClass",4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngClass"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"p-virtualscroller-spacer",3,"ngStyle"],[1,"p-virtualscroller-loader",3,"ngClass"],[4,"ngFor","ngForOf"],[3,"styleClass"],[4,"ngIf"]],template:function(e,n){if(e&1&&(A(),C(0,_e,8,16,"ng-container",6)(1,we,2,1,"ng-template",null,0,tt)),e&2){let s=X(2);m("ngIf",!n._disabled)("ngIfElse",s)}},dependencies:[G,Tt,bt,xt,Vt,Et,Mt,K],encapsulation:2})}return i})(),Ci=(()=>{class i{static \u0275fac=function(e){return new(e||i)};static \u0275mod=ot({type:i});static \u0275inj=nt({imports:[Ie,K,K]})}return i})();export{De as a,He as b,Xe as c,Ie as d,Ci as e};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as H}from"./chunk-SH7KN2AS.js";import{a as T}from"./chunk-5DIRXS7I.js";import{c as Z}from"./chunk-PW42BQIY.js";import{z as N}from"./chunk-CSSG7NAJ.js";import{b as j,c as L}from"./chunk-UJYSVGLV.js";import{r as $,s as A}from"./chunk-HFKKITEW.js";import{d as U,f as F,g as M,n as z}from"./chunk-MTUIRWOB.js";import{Fc as S,Gb as B,Gc as u,Hc as k,Ic as D,Ka as b,Mb as d,Sc as h,Tc as V,Vc as R,Yb as _,cd as y,dc as w,ic as r,jc as c,kc as s,lc as p,mc as m,oc as x,pb as E,rb as o,tc as f,uc as a,xb as I,xc as O,ya as C,za as g}from"./chunk-JS55A2RS.js";var W=(t,i,n,l)=>[t,i,n,l],v=t=>[t],q=(t,i)=>[t,i],J=t=>({"me-3":t}),K=t=>({"border-bottom pb-2":t});function G(t,i){if(t&1){let n=x();p(0),r(1,"img",19),f("click",function(e){C(n);let P=a();return g(P.openBiggerPicture(e))}),c(),m()}if(t&2){let n=a();o(),_("src",n.image,E)}}function Q(t,i){t&1&&s(0,"img",20)}function X(t,i){if(t&1&&(p(0),r(1,"span",24)(2,"a",25),s(3,"i",26),c()(),m()),t&2){let n=a(2);o(2),_("href",n.redirectUrl,E)}}function Y(t,i){if(t&1&&(r(0,"div",21),s(1,"i",22),r(2,"span"),u(3),c(),d(4,X,4,1,"ng-container",23),c()),t&2){let n=a();o(3),k(n.code),o(),_("ngIf",n.code!=="SKU not assigned"&&n.showRedirectIcon)}}function tt(t,i){if(t&1){let n=x();r(0,"div",27),f("click",function(){C(n);let e=a();return g(e.onEventDesc())}),s(1,"i",28),r(2,"span"),u(3),c()()}if(t&2){let n=a();o(3),k(n.description)}}function nt(t,i){if(t&1){let n=x();r(0,"div",30)(1,"input",31),f("change",function(e){C(n);let P=a(2);return g(P.onCheck(e.target.checked))}),c()()}}function et(t,i){if(t&1&&(p(0),d(1,nt,2,0,"div",29),m()),t&2){let n=a();o(),_("ngIf",n.showCheckBox)}}function it(t,i){if(t&1){let n=x();r(0,"button",34),f("click",function(){C(n);let e=a(3);return g(e.onDownload())}),s(1,"i",35),u(2,"Download "),c()}}function ot(t,i){if(t&1&&(p(0),d(1,it,3,0,"button",33),m()),t&2){let n=a(2);o(),_("ngIf",n.downloadButton)}}function at(t,i){}function rt(t,i){if(t&1){let n=x();r(0,"li")(1,"a",42),f("click",function(){C(n);let e=a(6);return g(e.onScan())}),s(2,"i",43),u(3,"Scan "),c()()}}function ct(t,i){if(t&1&&(p(0),d(1,rt,4,0,"li"),m()),t&2){let n=a(5);o(),w(n.scanButton?1:-1)}}function lt(t,i){if(t&1){let n=x();r(0,"li")(1,"a",44),f("click",function(){C(n);let e=a(6);return g(e.onDetach())}),s(2,"i",45),u(3,"Detach "),c()()}}function _t(t,i){if(t&1&&(p(0),d(1,lt,4,0,"li"),m()),t&2){let n=a(5);o(),w(n.detachButton?1:-1)}}function dt(t,i){if(t&1&&(p(0),r(1,"div",39),s(2,"button",40),r(3,"ul",41),d(4,ct,2,1,"ng-container",17)(5,_t,2,1,"ng-container",17),c()(),m()),t&2){let n=a(4);o(4),_("ngxPermissionsOnly",h(2,v,n.productScanRole)),o(),_("ngxPermissionsOnly",h(4,v,n.productDetachRole))}}function st(t,i){if(t&1){let n=x();r(0,"button",37),f("click",function(){C(n);let e=a(3);return g(e.onUpload())}),s(1,"i",38),u(2,"Upload "),c(),d(3,dt,6,6,"ng-container",17)}if(t&2){let n=a(3);o(3),_("ngxPermissionsOnly",V(1,q,n.productScanRole,n.productDetachRole))}}function pt(t,i){if(t&1){let n=x();r(0,"button",34),f("click",function(){C(n);let e=a(5);return g(e.onScan())}),s(1,"i",47),u(2," Scan "),c()}}function mt(t,i){if(t&1&&(p(0),d(1,pt,3,0,"button",46),m()),t&2){let n=a(4);o(),w(n.scanButton?1:-1)}}function ut(t,i){if(t&1){let n=x();r(0,"button",49),f("click",function(){C(n);let e=a(5);return g(e.onDetach())}),s(1,"i",45),u(2,"Detach "),c()}}function Ct(t,i){if(t&1&&(p(0),d(1,ut,3,0,"button",48),m()),t&2){let n=a(4);o(),w(n.detachButton?1:-1)}}function gt(t,i){if(t&1&&d(0,mt,2,1,"ng-container",17)(1,Ct,2,1,"ng-container",17),t&2){let n=a(3);_("ngxPermissionsOnly",h(2,v,n.productScanRole)),o(),_("ngxPermissionsOnly",h(4,v,n.productDetachRole))}}function xt(t,i){if(t&1&&(r(0,"div",32),d(1,at,0,0,"ng-template",36)(2,st,4,4,"ng-template",null,1,y)(4,gt,2,6,"ng-template",null,2,y),c()),t&2){let n=S(3),l=S(5),e=a(2);o(),_("ngxPermissionsOnly",h(3,v,e.productUploadRole))("ngxPermissionsOnlyThen",n)("ngxPermissionsOnlyElse",l)}}function ft(t,i){if(t&1){let n=x();r(0,"button",34),f("click",function(){C(n);let e=a(4);return g(e.onScan())}),s(1,"i",47),u(2," Scan "),c()}}function ht(t,i){if(t&1&&(p(0),d(1,ft,3,0,"button",46),m()),t&2){let n=a(3);o(),w(n.scanButton?1:-1)}}function wt(t,i){if(t&1){let n=x();r(0,"button",51),f("click",function(){C(n);let e=a(4);return g(e.onDetach())}),s(1,"i",45),u(2,"Detach "),c()}}function vt(t,i){if(t&1&&(p(0),d(1,wt,3,0,"button",50),m()),t&2){let n=a(3);o(),w(n.detachButton?1:-1)}}function Pt(t,i){if(t&1&&d(0,ht,2,1,"ng-container",17)(1,vt,2,1,"ng-container",17),t&2){let n=a(2);_("ngxPermissionsOnly",h(2,v,n.productScanRole)),o(),_("ngxPermissionsOnly",h(4,v,n.productDetachRole))}}function bt(t,i){if(t&1&&(p(0),r(1,"a",53),s(2,"img",54),c(),m()),t&2){let n=i.$implicit,l=i.index,e=a(4);o(),O("href",n.Url,E),o(),_("ngClass",h(4,J,l!=e.channels.length-1))("src",e.getChannelLogo(n),E)("matTooltip",n.Title?n.Title:n.Name)}}function Et(t,i){if(t&1&&(p(0),d(1,bt,3,6,"ng-container",52),m()),t&2){let n=a(3);o(),_("ngForOf",n.channels)}}function St(t,i){if(t&1&&(r(0,"li")(1,"div",58)(2,"div",59)(3,"a",53),s(4,"img",60),r(5,"span",61),u(6),c()()()()()),t&2){let n=i.$implicit,l=i.index,e=a(4);o(2),_("ngClass",h(4,K,l!=e.channels.length-1)),o(),_("href",n.Url,E),o(),_("src",e.getChannelLogo(n),E),o(2),k(n.Title)}}function yt(t,i){if(t&1&&(r(0,"div",55)(1,"button",56),u(2),c(),r(3,"ul",57),d(4,St,7,6,"li",52),c()()),t&2){let n=a(3);o(2),D(" ",n.channels.length," CHANNELS "),o(2),_("ngForOf",n.channels)}}function Tt(t,i){if(t&1&&(r(0,"div"),d(1,Et,2,1,"ng-container",10)(2,yt,5,2,"ng-template",null,3,y),c()),t&2){let n=S(3),l=a(2);o(),_("ngIf",l.channels.length<4)("ngIfElse",n)}}function kt(t,i){if(t&1&&(r(0,"div",18)(1,"div"),d(2,ot,2,1,"ng-container",17)(3,xt,6,5,"div",32)(4,Pt,2,6),c(),d(5,Tt,4,2,"div"),c()),t&2){let n=a();o(2),_("ngxPermissionsOnly",h(3,v,n.productDownloadRole)),o(),w(n.uploadButton?3:4),o(2),w(n.channels&&(n.channels==null?null:n.channels.length)>0?5:-1)}}var Ht=(()=>{class t{constructor(n){this.biggerPictureService=n,this.uploadButton=!1,this.scanButton=!1,this.showCheckBox=!1,this.downloadButton=!1,this.showFooter=!0,this.detachButton=!1,this.hasZoom=!0,this.showRedirectIcon=!0,this.productUploadRole=T.ProductUpload,this.productScanRole=T.ProductScan,this.productDownloadRole=T.ProductDownload,this.productDetachRole=T.ProductDetach,this.onUploadEvent=new b,this.onScanEvent=new b,this.checkBoxChange=new b,this.onDescEvent=new b,this.onDownloadEvent=new b,this.onDetachEvent=new b}ngAfterContentInit(){this.initRedirectUrl()}initRedirectUrl(){let n=localStorage.getItem("Authorization"),l=JSON.parse(n)?.Host;this.redirectUrl=`https://${l}/menu/Products/Catalog/Products/Info?ID=${this.productId}`}onUpload(){this.onUploadEvent.emit()}onScan(){this.onScanEvent.emit()}onCheck(n){this.checkBoxChange.emit(n)}onEventDesc(){this.onDescEvent.emit()}onDownload(){this.onDownloadEvent.emit()}onDetach(){this.onDetachEvent.emit()}getChannelLogo(n){return Z.getChannelLogoByTypeId(n.TypeID)}openBiggerPicture(n){this.biggerPictureService.openBiggerPicture(n,this.imageForZoom)}static{this.\u0275fac=function(l){return new(l||t)(I(H))}}static{this.\u0275cmp=B({type:t,selectors:[["app-product-card"]],inputs:{productId:"productId",uploadButton:"uploadButton",scanButton:"scanButton",showCheckBox:"showCheckBox",downloadButton:"downloadButton",showFooter:"showFooter",detachButton:"detachButton",image:"image",title:"title",code:"code",description:"description",channels:"channels",check:"check",imageForZoom:"imageForZoom",hasZoom:"hasZoom",showRedirectIcon:"showRedirectIcon"},outputs:{onUploadEvent:"onUpload",onScanEvent:"onScan",checkBoxChange:"onCheckBoxChange",onDescEvent:"onDescEvent",onDownloadEvent:"onDownload",onDetachEvent:"onDetach"},decls:18,vars:13,consts:[["elsePic",""],["thenBlock",""],["elseBlock",""],["DROPDOWN",""],[1,"card",2,"margin-bottom","0px"],[1,"card-body","py-6"],[1,"row"],[1,"col-4"],[1,"productUpload_defaultSize","me-2","image-upload"],[1,"imgContainer"],[4,"ngIf","ngIfElse"],[1,"col-7","d-inline-block","justify-content-between","gx-0",2,"padding-left","0px"],[1,"itemTitle","cursor-pointer",3,"click","matTooltip"],["class","description cursor-pointer",4,"ngIf"],["class","description cursor-pointer",3,"click",4,"ngIf"],[1,"col-1","gx-0","d-flex","justify-content-center"],[1,"text-end"],[4,"ngxPermissionsOnly"],[1,"card-footer","d-flex","justify-content-between","py-5","bg-footer","align-items-center",2,"border-top","0.1px solid rgb(220 220 220)"],[1,"rounded","imgUpload","float-left",3,"click","src"],["src","https://res.cloudinary.com/pos/image/upload/w_110/POS/Images/Icon/products_thumb.png",1,"rounded","float-left","imgUpload"],[1,"description","cursor-pointer"],[1,"fa","fa-barcode","me-2"],[4,"ngIf"],[1,"ms-2"],["target","_blank",2,"color","#0976b4",3,"href"],[1,"fa-solid","fa-arrow-up-right-from-square","external-link-custom"],[1,"description","cursor-pointer",3,"click"],[1,"fa","fa-tag","me-2"],["class","text-end gx-0",4,"ngIf"],[1,"text-end","gx-0"],["type","checkbox",3,"change"],["role","group","aria-label","Scan button with other button",1,"btn-group","btn-sm"],["class","fs-6 btn btn-light btn-sm me-3",3,"click",4,"ngIf"],[1,"fs-6","btn","btn-light","btn-sm","me-3",3,"click"],["aria-hidden","true",1,"fa","fa-download","me-1"],[3,"ngxPermissionsOnly","ngxPermissionsOnlyThen","ngxPermissionsOnlyElse"],["type","button",1,"fs-6","btn","btn-light","btn-sm",3,"click"],["aria-hidden","true",1,"fa","fa-upload","me-1"],["role","group",1,"btn-group"],["type","button","data-bs-toggle","dropdown","aria-expanded","false",1,"fs-6","btn","btn-light","btn-sm","dropdown-toggle","ps-3"],[1,"dropdown-menu",2,"min-width","100px !important"],[1,"dropdown-item","cursor-pointer",3,"click"],[1,"fa","fa-spinner","me-2"],["matTooltip","Detaching a product with it's associated channel will stop inventory synchronization",1,"dropdown-item","cursor-pointer",3,"click"],[1,"fa-sharp","fa-link-slash","me-2"],[1,"fs-6","btn","btn-light","btn-sm","me-3"],[1,"fa","fa-spinner","me-1"],["matTooltip","Detaching a product with it's associated channel will stop inventory synchronization",1,"fs-6","btn","btn-light","btn-sm"],["matTooltip","Detaching a product with it's associated channel will stop inventory synchronization",1,"fs-6","btn","btn-light","btn-sm",3,"click"],[1,"fs-6","btn","btn-light","btn-sm"],[1,"fs-6","btn","btn-light","btn-sm",3,"click"],[4,"ngFor","ngForOf"],["target","_blank",3,"href"],["alt","",1,"img-logo",3,"ngClass","src","matTooltip"],[1,"dropdown"],["type","button","id","dropdownMenuButton1","data-bs-toggle","dropdown","aria-expanded","false",1,"btn","fs-6","btn-sm","btn-light","dropdown-toggle"],[1,"dropdown-menu"],[1,"dropdown-item","py-2",2,"cursor","pointer"],[3,"ngClass"],[1,"img-logo",3,"src"],[1,"ms-4"]],template:function(l,e){if(l&1){let P=x();r(0,"div",4)(1,"div",5)(2,"div",6)(3,"div",7)(4,"div",8)(5,"div",9),d(6,G,2,1,"ng-container",10)(7,Q,1,0,"ng-template",null,0,y),c()()(),r(9,"div",11)(10,"h4",12),f("click",function(){return C(P),g(e.onEventDesc())}),u(11),c(),d(12,Y,5,2,"div",13)(13,tt,4,1,"div",14),c(),r(14,"div",15)(15,"div",16),d(16,et,2,1,"ng-container",17),c()()()(),d(17,kt,6,5,"div",18),c()}if(l&2){let P=S(8);o(6),_("ngIf",e.image)("ngIfElse",P),o(4),_("matTooltip",(e.title==null?null:e.title.length)>25?e.title:""),o(),D(" ",e.title," "),o(),_("ngIf",e.code),o(),_("ngIf",e.description),o(3),_("ngxPermissionsOnly",R(8,W,e.productDownloadRole,e.productScanRole,e.productUploadRole,e.productDetachRole)),o(),w(e.showFooter?17:-1)}},dependencies:[z,U,F,M,N,A,$,L,j],styles:[".img-logo[_ngcontent-%COMP%]{height:24px;width:24px}.itemTitle[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:100%}.bg-footer[_ngcontent-%COMP%]{background-color:#ededed69}.description[_ngcontent-%COMP%]{font-weight:300;margin-left:2px}.productUpload_defaultSize[_ngcontent-%COMP%]{max-width:100px!important;max-height:100px!important;width:auto!important;height:auto!important}.image-upload[_ngcontent-%COMP%]{position:relative}.imgContainer[_ngcontent-%COMP%]{width:100%;height:100px}.imgUpload[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:scale-down;cursor:pointer}.dropdown[_ngcontent-%COMP%] .dropdown-menu.show[_ngcontent-%COMP%]{top:unset!important}"]})}}return t})();export{Ht as a};
|