From edf4c4159f7b3b93bc113794f19ca5ce0e2228bc Mon Sep 17 00:00:00 2001 From: Ward Truyen Date: Wed, 18 Sep 2024 16:03:53 +0200 Subject: [PATCH] update: checkable checklists, personal todos, service messages --- back/target/familySite1Backend1-0.1.0.jar | Bin 57345858 -> 57350668 bytes front/dist/familySite1/index.html | 2 +- .../dist/familySite1/main.986f5e1e51229b92.js | 1 + .../dist/familySite1/main.ccf2a072d6add4a0.js | 1 - 4 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 front/dist/familySite1/main.986f5e1e51229b92.js delete mode 100644 front/dist/familySite1/main.ccf2a072d6add4a0.js diff --git a/back/target/familySite1Backend1-0.1.0.jar b/back/target/familySite1Backend1-0.1.0.jar index 31a53c025726310ed6cca95ce6930247b487aac0..af50a15276b2fd2bbec323f4b63838be781f2379 100755 GIT binary patch delta 30072 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�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

BqBi0vVvBQRFI;9oX$geGVi&G279+kf`w><0G zst!*AyxPKmN^YJ8ov2nWgCK>E#qY#uyi!eSnSA00JeHpfus0(I#ratUY;ALwFp08I zuo`4yVEUQEYb2w^csz$|c(z1+l zwVq%>7hm3#T5c^-$QmFjPM`2sBoZLX*COhE`J)+-<&+)K*qr#lKakRPBMz@D!{q7} zF100UvbeX2NXsU6%MAqq5Td(>M@e1rmCoaTvAhwE+8_ozQ5^6N?5fG=`hrS=ZX z?{2AyrVN$>2H-IN#gp~>uYXumNC_^RW792s~Sw>@t8y_?LBS5OU9g_W1^cOp_$dX8=@8$#LuMW_=~Vid^$$IfBxDW}{yASw_G$TP1?*zU zcqz6MrQ;C(q}RSK#N7s;kXc zS$&B&0j^wKDlPH}Wj*nAbFn_YB9Dr9$|c{Bz6cdpmOhFPB4M0c^><2(2T~FNi^Mt= zsY}YPCKInY`Ey97Q<-tStCu% zhLNf=4ULv0xR|9L!)TbLxx0_O`yrwuO~_wAS(B}NdOmr`Pnysgv4EeUjNy;`g4Azf z3EQK$us)K-FQgvd^fAt^l-~TrieFfVp0a=3q%nn5k@Ntgyl+(#wt)p%iw`6{)G)X> z3Eg6mNaO{D3Wb7-cJo!050GjuL^^88%mpF*n%ft+7 z3{!arc$mcMxM}FCh?oF%@UqXUbSNvvCgvSeH>zD0+=12MNPCsfG2eg@`@|=0gx;8& zInko=m$R3y*90OJ2Yi77Ozba+e}E9p09?80ugm6v^A`x={;y45|Lk-5yAVz!59yB; z7*t;6ixn99e=yt9{_b``Z6jg?a|Qp`YPWRO|LDv8OA1u~7dr~9u2_+K8c#~?YeeAU z?UVVHSizzhjS@#(ve7i68m-#mNOh*#Rkx^h)w&(6C~PZCRPpxyWExaw89W5LnoFi; zh4Z0i{UiH$$K$RpUzfvVe6#I+ee-9g<0RYr`MfXB=T)9WD}Se?Jnqdk61!MYN5N}y zli9fycxH2KXJa#-$VlZk??m^NnEyFm;hKXI7)zxv*mkM&w~p1Q)66R%#{EQT=?|BK zfX((pBrx|^e8=jv*LoeNTS?Nx)UQ^0Y4pV%CTZ2PO;e#T9wvy_~@@1K>!0lMHU!)LFxQv5+zwy#>-lR1QL}MdRhceznjE z@Jv#O8%{V@GE8^$ zL3T7Ot4>Bd*okrd;0KA1Aoive7v8QbaI%TR#&g(FXXlZgi^u{EpxShu)nTjof<%0l zY*MQb`b+e1!FeIUb!MA;6tq70)NOJ$16nt>~C;!rN@{xuCS-6c%Tu&*1_C`nnc9HBD``mTm{lYvk5F=$PAh@CN}8sE?#9;`nA6xm}uf_UQZ>_y-ieDu-fn-LZ;A#`IRP!z|UO zEtcU=*i0mBKmhHkY?+O;ec@^6^2l>PVKRf*^52!tH+X-L;i&IRZR@o7p(d!fxTHKc z9(m8s9ua1~j5{h9?ZI<+u_E`Of4Trx1NePBjXn0y{}ylzIHK28f!z=3j8a;K)=0Yx zXbgyk&v+xNd^B?pNRM|%aQ6Le0#m)ECSnl$5+BXcFMuN6P9e^l_;wk6D6B>8W*j&T z#amUhS@xfG!m_(Lxu5<+j{-mXKE9Fflr42dzCrLp1rXr`UC0Z*kkuHQfpb5S^b~K- zpK{Diy`ao>&npgd0zWvV`VgPf)2>=VDW>|s%)1ZWBS@%F|>xIq+VJUzwO%JfR(?n7)p>ui+V&Q2qlB1 zt-uvK(<}}XMB4{K3$Dqeo>1`PhyeS>&q#I()MVL%G?Y9uo;>$S<6k6PgnfCC2c=vAXkenb%ODE3CKAdN3(rC%~ym;Fm%J7adWXx3_;p?pjrGNZ0DA*!lI2>wzOjl8%9p|MF8WT_*+6LzL%~qNaZ7>xG(ez-!Ij1 zo){HhY4RHsua!2{d%Ggd?ux`w$=|T#{2@f4#X#r)k0hi#;Re1N<9@}3%s>i?6?%Z- z9fBtAIxT#^S6h2boQA)YykGC4)yZo9z#aC%k^|1Coc?jVvkmi~c#Lqbtfu+->`{_V zpXlByw%*lFcOSwVLU8p^!i6{{NrQWgPoPZS5M9W8-RWxi=cV~SoPh!^o^SvK0&;39A!1;Tw@22pmqdz5O$Nj4$ZhL#HOM;_+^$D6t#Y$RCb{ks9S z|M@#tq+b9-9hpP*IK_#Clk`gSe14EI7sH&k6X|#Tq(2MXsM->Gs%8&D^EGq|db?H} z(|m&na=XR;KwX!QVQtqo5+=4(`@Yl5SIUW3YN#?M5(B$&Ds`pQ1AHCDYQBSAO^B>S z0IN!tJdXzfBlM%=gK$$&84lIg-aa-I<39PfC|uag;sg2<3bqR4QG6ML#5U?KL(kmH z^Ph(c=_8u3nox`fDXCl|-Vr?)YUlUo@Bx@STc5j@z@Vx4RlM$4PH;JuE!*#euVS2U zbAQ(`5{lOnhJfD0x$d42tqDnnp<<7>bk=eGx)ru>BB^`zL+VHvJph+;8f?{$+PsXd z4$;Gs?4xSxKxvC{Q|Te~)l~krrodU2fiG^=Nt)WAG2q1)wJ_-7z z)_Q3>0nC(-ukO0hcH=K!s`?D<-dmwXZp+BD4hZ;dZEX$yS{Sdbr^BeDsfW(x3_X)O zI+X6wopY~Tf|SJ6*4W#wW)L$>?Z|fX+o?qF=r~ZCM0L5Mdc(mwSBp}Zl*Ze{jr&XB z+@rO|2WM~7V1<6N94}dID^oiK+0*ox^4s+9E+D=zcX}Q8^0YzM(Y_g0+O|X4l+x&9 zi0u(O%X8jx$z@HwqAH1nt$^hH!xRzCB#taPaZx4Mx>jM?ht}GHBczdSRJBCbFdqZ{ z#ldjGQ#cz#7Z1$E@j1?7!1f_ldnQ~4E1i*V@*=>J0@@9YZGx+ZV98pn zKDia{RQp{sHyf21&S-ek5rjkpP75KPev5CLs7wwhu;UashRD)*=s$Uy6+oo%Qh>Hv z-(+O`5UmMI;&Q>{k&n>4m@kPz4CMfdD^g4z|B-dnvuPYP1bLj4H!1&Nx~ln!Zp__6At; zrvE{IUS;a~KN`CexR~<>j^oq+Hn}Os=)bwk+#f?6U41 zp?>b{+I6jS7qQm8yRvTU2)nLOSuByB?{^w&=Jncmp4aR1et!Rd|M~TwqnW2M{T}bA z*UE%+-A((?o-ADS%L%8}O^!S%xcjSX&Vano75C;8S#@phpS3(7`)uxtj{0h z-{rN$q3qeiXww=6~=YP0Py1Vz-BcJ``@O)Mi4{yg09KIYDU1kNH4Crua$LmX#kF2oGjVv9JG5N;UmvsvcEt@obYr{LKy=>MU!~bxJZ}UZu zHBHvXXH4*m+Zf(rX5PSw{cnzJe)XmL!noy$Lq6JcW>wS51x-Asx)l0_UZ}o1veW+D z>M^yhhu`-;R}{HTv(};Qt9E~vjMF>V92{Zg-Yk5hHlTCh@n`k_Sl4vat)i3r!atmy zou9Q@+dVa|#A?YuYg!j6!$ybfi=Lajq1~;3y!)QZi{}QNNLVmvcB0!&%bmNo?Ad+1 zv~gN$Kj+;uG~))pHvD$m@Y+@HdX_4cyX}9x=ya5GUg(5fIWIlC62iq3OT%xpG0|c` zc}E?M7FNO@zb==3D#f^vpyBjt%KA zMpQI>s%2xc7*XC|r_~=ORtUq4SkyvS-ds^5M3pLB>||zAxDo$O=_L)~GVF zK~<0~vO^kVj~tLAaza&+Gjc($$PKw84^$0#A}{2Pd{A{%1Jy*eP;FEP)kQonU*w1C zA%9dKH9!qfBNTudqb8^+3PjCNa}>04+p|&|Nx~QpgB0l8hpw$r$nh8B0DSsbm~U zBjd?O#PHzyn4<|~BKd?&B9qCdWD1!|rjhAn2KkK4B(unD@;Ui}%pr5hmt-E9PZp4c zWD!|RmXNQAo-8F9WEojbR*+1RMI>2CR*}_Y4OvUpk@X~-Y#?8gZ^%aSE%}aYBAdw; zvXyKj-;?cR2iZw>k=9=Snol3V0Y@)x;H?vT6W9=T8Q z$pi9`JR$|8kQ9-}}W~4a@BEh5uX-PszD-udtlQ7bTv?c9Gd(we~ zlL!(?I+9MLGl?S6qzmavVn{a?mNg{nnU(%2CCj-bpGKdT& zL)Ooox+L`PD{2r`n4BBRL|@&Or3J|wAR97!YN$w$QS;QE-O31lMqgiIon$){ur znM$US>0}1^jLamn$ZYaC`GU+LbIF%v9+^)TkcDIsSxlCYuZW&3B^hKHSx#1vOp-+; zSxHur)npA>OV*L~B%5p?Uz2ahM)EEBj%*^E$riGeY$M;3?PLepNp_LlWDog){7Cka zePln$AqU7o@)J2kekO;>5pt9qBge@Ja+3T)ekH$=QzVz1Ccl$2o*GV3^L2i;;JlySC4QtH@hA031JaN*A_1f^X+oNk zK+=pfCqX2bv>+`>2x&z^Nox{D+K{%S9cfQGkZ=+~B1uQmiF77WB${*~T}ce-Mq)`E z=}vl(c+!*fA_*js^d?E959v$#k^W==8At|^!DI*-N|MPiGF;@~=}%M%=DPtoBev;8 zn&43WwL>TNmMw$2^;M{FmUFLG7ao=VT?IDh`c9qjZ)7+^uQ?s-EH(Do7Ha8x2TNlb zChLGvZNtj1a^zi|h&Qa@+CXl;uM?JB`&AZW?*NzoUi|g4Y*Tx66O818Y79)`OM1adeW)e=i7YcC;+S$!lb=z&huFWYN(tuYRph8=DACX76aQRi~rg^@+LhF*rlIzH5iiSIw` z6%I>(|6v0#uZKMPNGCeUBN&(W*^ROj@ZsB6rfZ{iQ`P@>Wzw}%CR~uKa9cR*H5V0M zIjXSyg-=bc&wd={q13zd_M(2$18b&wy#M4!@-St`<+6*)mDp_i&Py52-*iEzShMrb zxbpTSy!7?1E4AM}8~$u8AxtceJ61uZ>V-EBJDSa=zx#GJAL)j5qTI`QC(h*7(BUu- zMHHA^RKMx5Qsdnx!n?(Efr2h(C-TX2liB3(CwN@Ge>&4Ys*5t8PLTm6I?+^Wp8j7m zh58)Ns*Sf+@8cGVHk)a(P1#KPum?&7xfj#D`%d@a4Q~3ubn_cL%F$#x{V}(4*X1&K zFq?j=se{?c?XC9aYVw0kdQB~SQ1ZXm=QWuwB5Kg|B(+MFiVsSepPXG?)9K#%IVqF* z-u`2#N)=&tdUpOM^I6HR&vnA#{pV-;Hg{XI`4%@dna@%dV7~I+@HRQWNB4c_9K(HE zN25}i&zIEFY`%BBfo?M2i_*V)UQtx4uP|q4v-3OH)^t97MznB!|JBvKOwUZlza?kd zt5o4;)3pmXo$j6QyqBGx;kh^GC4V|QcQLtadGEm+uM{7#8y7ldjS(u0%NM)AfGm4I>ZWhu2HV8)!Jz zQ9mhFM93|8Qm~QXSa01+tQjQq4abRKxsuDTi-yUD&1Ujh<66SbTKxN}E~}OD*2qhi z!59P!&tXCaXuXuG`u*v6JzR#JTJd=^{1_Q_){Cs>W!Pz*siffB?D1=%?-0_$H#0Lu zSnGG~3U$iVVI)G=hw4x43a!KaT2b|BgnpG}q;F;sx2ATDYW=;XhczZg zj+l8^|9t6TKY2}!tE80VNUI7dqO;Hi-7}sB{$@o4tD7Vis-%6z6yc`7lv3y1swjza00-)egG(&rkhBsUavnRh zO77IGN+}{vo%5j7LPotVweXaw*r8SYDocJPK^-v0LMgj1rN%l%gen2cWDEwe!gYzI z>{c0fvit$tA!41gmvP$`d&88!X2}=~x+oL<+x)PIb7qHGOWP`V=%_<3 zhrPMYuQXxG;*FT@0k$jB^ExKZ2X${>uGpG zn1a2{M5AWYjpu#}+buknIq9*;6i_O=y2hOIDeC&jK%91V|2t=N&i z&bYUpCPlOs9UrfgBQc6r_pZMF&3TtJUXSa37rV9UQ&Bl@cKh1nMpkd1e4uPc9k~cQ zv}(@*$KM>0GxoURAq%)$sgNk$98yG-vZSX>#vn%B)ZvaI57xY+_{%%kp;cCgOM6G& zO|Jc9e+(j&Q8w~x3}Tc$m*h(fVwK|Rva1sw;p%PQ2MF2vaDWJqr?5jS_B{=d#Ta!} z-|8PIV^lCQn*rPVo=KmzmFyCxE*+YBCgh1 - + \ No newline at end of file diff --git a/front/dist/familySite1/main.986f5e1e51229b92.js b/front/dist/familySite1/main.986f5e1e51229b92.js new file mode 100644 index 0000000..46814a8 --- /dev/null +++ b/front/dist/familySite1/main.986f5e1e51229b92.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkfamilySite1=self.webpackChunkfamilySite1||[]).push([[179],{830:()=>{function ue(e){return"function"==typeof e}function Uo(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const vs=Uo(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function zo(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class It{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(ue(r))try{r()}catch(i){t=i instanceof vs?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Dh(i)}catch(s){t=t??[],s instanceof vs?t=[...t,...s.errors]:t.push(s)}}if(t)throw new vs(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Dh(t);else{if(t instanceof It){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&zo(n,t)}remove(t){const{_finalizers:n}=this;n&&zo(n,t),t instanceof It&&t._removeParent(this)}}It.EMPTY=(()=>{const e=new It;return e.closed=!0,e})();const Ch=It.EMPTY;function _h(e){return e instanceof It||e&&"closed"in e&&ue(e.remove)&&ue(e.add)&&ue(e.unsubscribe)}function Dh(e){ue(e)?e():e.unsubscribe()}const ir={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Cs={setTimeout(e,t,...n){const{delegate:r}=Cs;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=Cs;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function wh(e){Cs.setTimeout(()=>{const{onUnhandledError:t}=ir;if(!t)throw e;t(e)})}function Eh(){}const Uw=Bl("C",void 0,void 0);function Bl(e,t,n){return{kind:e,value:t,error:n}}let sr=null;function _s(e){if(ir.useDeprecatedSynchronousErrorHandling){const t=!sr;if(t&&(sr={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=sr;if(sr=null,n)throw r}}else e()}class Ul extends It{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,_h(t)&&t.add(this)):this.destination=Xw}static create(t,n,r){return new Go(t,n,r)}next(t){this.isStopped?Gl(function Gw(e){return Bl("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?Gl(function zw(e){return Bl("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?Gl(Uw,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const qw=Function.prototype.bind;function zl(e,t){return qw.call(e,t)}class Zw{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Ds(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Ds(r)}else Ds(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Ds(n)}}}class Go extends Ul{constructor(t,n,r){let o;if(super(),ue(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ir.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&zl(t.next,i),error:t.error&&zl(t.error,i),complete:t.complete&&zl(t.complete,i)}):o=t}this.destination=new Zw(o)}}function Ds(e){ir.useDeprecatedSynchronousErrorHandling?function Ww(e){ir.useDeprecatedSynchronousErrorHandling&&sr&&(sr.errorThrown=!0,sr.error=e)}(e):wh(e)}function Gl(e,t){const{onStoppedNotification:n}=ir;n&&Cs.setTimeout(()=>n(e,t))}const Xw={closed:!0,next:Eh,error:function Yw(e){throw e},complete:Eh},Wl="function"==typeof Symbol&&Symbol.observable||"@@observable";function ar(e){return e}function bh(e){return 0===e.length?ar:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let Me=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function Jw(e){return e&&e instanceof Ul||function Kw(e){return e&&ue(e.next)&&ue(e.error)&&ue(e.complete)}(e)&&_h(e)}(n)?n:new Go(n,r,o);return _s(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Mh(r))((o,i)=>{const s=new Go({next:a=>{try{n(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Wl](){return this}pipe(...n){return bh(n)(this)}toPromise(n){return new(n=Mh(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Mh(e){var t;return null!==(t=e??ir.Promise)&&void 0!==t?t:Promise}const e1=Uo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let _n=(()=>{class e extends Me{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Sh(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new e1}next(n){_s(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){_s(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){_s(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Ch:(this.currentObservers=null,i.push(n),new It(()=>{this.currentObservers=null,zo(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new Me;return n.source=this,n}}return e.create=(t,n)=>new Sh(t,n),e})();class Sh extends _n{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Ch}}function Ih(e){return ue(e?.lift)}function Ue(e){return t=>{if(Ih(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function $e(e,t,n,r,o){return new t1(e,t,n,r,o)}class t1 extends Ul{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function te(e,t){return Ue((n,r)=>{let o=0;n.subscribe($e(r,i=>{r.next(e.call(t,i,o++))}))})}function lr(e){return this instanceof lr?(this.v=e,this):new lr(e)}function i1(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Nh(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(u){i({value:u,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}const Rh=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Oh(e){return ue(e?.then)}function Ph(e){return ue(e[Wl])}function xh(e){return Symbol.asyncIterator&&ue(e?.[Symbol.asyncIterator])}function Fh(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const kh=function a1(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Lh(e){return ue(e?.[kh])}function Vh(e){return function o1(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,m){i.push([f,h,p,m])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof lr?Promise.resolve(f.value.v).then(u,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function u(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield lr(n.read());if(o)return yield lr(void 0);yield yield lr(r)}}finally{n.releaseLock()}})}function Hh(e){return ue(e?.getReader)}function Tt(e){if(e instanceof Me)return e;if(null!=e){if(Ph(e))return function l1(e){return new Me(t=>{const n=e[Wl]();if(ue(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Rh(e))return function u1(e){return new Me(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,wh)})}(e);if(xh(e))return $h(e);if(Lh(e))return function d1(e){return new Me(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Hh(e))return function f1(e){return $h(Vh(e))}(e)}throw Fh(e)}function $h(e){return new Me(t=>{(function h1(e,t){var n,r,o,i;return function n1(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=i1(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Dn(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function ze(e,t,n=1/0){return ue(t)?ze((r,o)=>te((i,s)=>t(r,i,o,s))(Tt(e(r,o))),n):("number"==typeof t&&(n=t),Ue((r,o)=>function p1(e,t,n,r,o,i,s,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&t.complete()},h=m=>u{i&&t.next(m),u++;let C=!1;Tt(n(m,c++)).subscribe($e(t,b=>{o?.(b),i?h(b):t.next(b)},()=>{C=!0},void 0,()=>{if(C)try{for(u--;l.length&&up(b)):p(b)}f()}catch(b){t.error(b)}}))};return e.subscribe($e(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function Fr(e=1/0){return ze(ar,e)}const Qt=new Me(e=>e.complete());function Zl(e){return e[e.length-1]}function jh(e){return ue(Zl(e))?e.pop():void 0}function Wo(e){return function m1(e){return e&&ue(e.schedule)}(Zl(e))?e.pop():void 0}function Bh(e,t=0){return Ue((n,r)=>{n.subscribe($e(r,o=>Dn(r,e,()=>r.next(o),t),()=>Dn(r,e,()=>r.complete(),t),o=>Dn(r,e,()=>r.error(o),t)))})}function Uh(e,t=0){return Ue((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function zh(e,t){if(!e)throw new Error("Iterable cannot be null");return new Me(n=>{Dn(n,t,()=>{const r=e[Symbol.asyncIterator]();Dn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function xe(e,t){return t?function E1(e,t){if(null!=e){if(Ph(e))return function v1(e,t){return Tt(e).pipe(Uh(t),Bh(t))}(e,t);if(Rh(e))return function _1(e,t){return new Me(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Oh(e))return function C1(e,t){return Tt(e).pipe(Uh(t),Bh(t))}(e,t);if(xh(e))return zh(e,t);if(Lh(e))return function D1(e,t){return new Me(n=>{let r;return Dn(n,t,()=>{r=e[kh](),Dn(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>ue(r?.return)&&r.return()})}(e,t);if(Hh(e))return function w1(e,t){return zh(Vh(e),t)}(e,t)}throw Fh(e)}(e,t):Tt(e)}function Yl(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Go({next:()=>{r.unsubscribe(),e()}});return Tt(t(...n)).subscribe(r)}function se(e){for(let t in e)if(e[t]===se)return t;throw Error("Could not find renamed property on target object.")}function Xl(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function Fe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Fe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Ql(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const S1=se({__forward_ref__:se});function ce(e){return e.__forward_ref__=ce,e.toString=function(){return Fe(this())},e}function B(e){return Kl(e)?e():e}function Kl(e){return"function"==typeof e&&e.hasOwnProperty(S1)&&e.__forward_ref__===ce}function Jl(e){return e&&!!e.\u0275providers}const Gh="https://g.co/ng/security#xss";class E extends Error{constructor(t,n){super(function eu(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function U(e){return"string"==typeof e?e:null==e?"":String(e)}function ws(e,t){throw new E(-201,!1)}function At(e,t){null==e&&function oe(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function O(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Nt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Es(e){return Wh(e,bs)||Wh(e,Zh)}function Wh(e,t){return e.hasOwnProperty(t)?e[t]:null}function qh(e){return e&&(e.hasOwnProperty(tu)||e.hasOwnProperty(x1))?e[tu]:null}const bs=se({\u0275prov:se}),tu=se({\u0275inj:se}),Zh=se({ngInjectableDef:se}),x1=se({ngInjectorDef:se});var V=(()=>((V=V||{})[V.Default=0]="Default",V[V.Host=1]="Host",V[V.Self=2]="Self",V[V.SkipSelf=4]="SkipSelf",V[V.Optional=8]="Optional",V))();let nu;function at(e){const t=nu;return nu=e,t}function Xh(e,t,n){const r=Es(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&V.Optional?null:void 0!==t?t:void ws(Fe(e))}const de=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),qo={},ru="__NG_DI_FLAG__",Ms="ngTempTokenPath",k1=/\n/gm,Qh="__source";let kr;function Un(e){const t=kr;return kr=e,t}function H1(e,t=V.Default){if(void 0===kr)throw new E(-203,!1);return null===kr?Xh(e,void 0,t):kr.get(e,t&V.Optional?null:void 0,t)}function N(e,t=V.Default){return(function Yh(){return nu}()||H1)(B(e),t)}function I(e,t=V.Default){return N(e,Ss(t))}function Ss(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ou(e){const t=[];for(let n=0;n((Kt=Kt||{})[Kt.OnPush=0]="OnPush",Kt[Kt.Default=1]="Default",Kt))(),Ct=(()=>{return(e=Ct||(Ct={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ct;var e})();const En={},ee=[],Is=se({\u0275cmp:se}),iu=se({\u0275dir:se}),su=se({\u0275pipe:se}),Jh=se({\u0275mod:se}),bn=se({\u0275fac:se}),Yo=se({__NG_ELEMENT_ID__:se}),ep=se({__NG_ENV_ID__:se});function tp(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function au(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==tp(h,u,0)||2&r&&u!==f){if(Lt(r))return!1;s=!0}}}}else{if(!s&&!Lt(r)&&!Lt(l))return!1;if(s&&Lt(l))continue;s=!1,r=l|1&r}}return Lt(r)||s}function Lt(e){return 0==(1&e)}function W1(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Lt(s)&&(t+=lp(i,o),o=""),r=s,i=i||!Lt(r);n++}return""!==o&&(t+=lp(i,o)),t}function Rt(e){return wn(()=>{const t=cp(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Kt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||Ct.Emulated,styles:e.styles||ee,_:null,schemas:e.schemas||null,tView:null,id:""};dp(n);const r=e.dependencies;return n.directiveDefs=Ts(r,!1),n.pipeDefs=Ts(r,!0),n.id=function iE(e){let t=0;const n=JSON.stringify([e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.exportAs,e.inputs,e.outputs,Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery]);for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function tE(e){return ne(e)||Xe(e)}function nE(e){return null!==e}function Vt(e){return wn(()=>({type:e.type,bootstrap:e.bootstrap||ee,declarations:e.declarations||ee,imports:e.imports||ee,exports:e.exports||ee,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function up(e,t){if(null==e)return En;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function j(e){return wn(()=>{const t=cp(e);return dp(t),t})}function lt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function ne(e){return e[Is]||null}function Xe(e){return e[iu]||null}function ut(e){return e[su]||null}function _t(e,t){const n=e[Jh]||null;if(!n&&!0===t)throw new Error(`Type ${Fe(e)} does not have '\u0275mod' property.`);return n}function cp(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,exportAs:e.exportAs||null,standalone:!0===e.standalone,selectors:e.selectors||ee,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:up(e.inputs,t),outputs:up(e.outputs)}}function dp(e){e.features?.forEach(t=>t(e))}function Ts(e,t){if(!e)return null;const n=t?ut:tE;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(nE)}const ke=0,T=1,W=2,Ce=3,Ht=4,ur=5,Qe=6,Vr=7,we=8,Hr=9,cr=10,z=11,Qo=12,fp=13,$r=14,Ae=15,Ko=16,jr=17,Jt=18,Jo=19,hp=20,zn=21,Mn=22,As=23,Ns=24,Q=25,lu=1,pp=2,en=7,Rs=8,Br=9,Ge=11;function Dt(e){return Array.isArray(e)&&"object"==typeof e[lu]}function ct(e){return Array.isArray(e)&&!0===e[lu]}function uu(e){return 0!=(4&e.flags)}function dr(e){return e.componentOffset>-1}function Os(e){return 1==(1&e.flags)}function $t(e){return!!e.template}function cu(e){return 0!=(512&e[W])}function fr(e,t){return e.hasOwnProperty(bn)?e[bn]:null}let cE=de.WeakRef??class uE{constructor(t){this.ref=t}deref(){return this.ref}},fE=0,tn=null,Ps=!1;function je(e){const t=tn;return tn=e,t}class Cp{constructor(){this.id=fE++,this.ref=function dE(e){return new cE(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,n]of this.producers){const r=n.producerNode.deref();if(void 0!==r&&n.atTrackingVersion===this.trackingVersion){if(r.producerPollStatus(n.seenValueVersion))return!0}else this.producers.delete(t),r?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=Ps;Ps=!0;try{for(const[n,r]of this.consumers){const o=r.consumerNode.deref();void 0!==o&&o.trackingVersion===r.atTrackingVersion?o.onConsumerDependencyMayHaveChanged():(this.consumers.delete(n),o?.producers.delete(this.id))}}finally{Ps=t}}producerAccessed(){if(Ps)throw new Error("");if(null===tn)return;let t=tn.producers.get(this.id);void 0===t?(t={consumerNode:tn.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:tn.trackingVersion},tn.producers.set(this.id,t),this.consumers.set(tn.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=tn.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==tn?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}let _p=null;const Dp=()=>{};class mE extends Cp{constructor(t,n,r){super(),this.watch=t,this.schedule=n,this.dirty=!1,this.cleanupFn=Dp,this.registerOnCleanup=o=>{this.cleanupFn=o},this.consumerAllowSignalWrites=r}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=je(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=Dp,this.watch(this.registerOnCleanup)}finally{je(t)}}cleanup(){this.cleanupFn()}}class yE{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ot(){return wp}function wp(e){return e.type.prototype.ngOnChanges&&(e.setInput=CE),vE}function vE(){const e=bp(this),t=e?.current;if(t){const n=e.previous;if(n===En)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function CE(e,t,n,r){const o=this.declaredInputs[n],i=bp(e)||function _E(e,t){return e[Ep]=t}(e,{previous:En,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new yE(l&&l.currentValue,t,a===En),e[r]=t}Ot.ngInherit=!0;const Ep="__ngSimpleChanges__";function bp(e){return e[Ep]||null}const nn=function(e,t,n){};function ge(e){for(;Array.isArray(e);)e=e[ke];return e}function ks(e,t){return ge(t[e])}function dt(e,t){return ge(t[e.index])}function Ip(e,t){return e.data[t]}function ft(e,t){const n=t[e];return Dt(n)?n:n[ke]}function Ls(e){return 128==(128&e[W])}function Gn(e,t){return null==t?null:e[t]}function Tp(e){e[jr]=0}function SE(e){1024&e[W]||(e[W]|=1024,Np(e,1))}function Ap(e){1024&e[W]&&(e[W]&=-1025,Np(e,-1))}function Np(e,t){let n=e[Ce];if(null===n)return;n[ur]+=t;let r=n;for(n=n[Ce];null!==n&&(1===t&&1===r[ur]||-1===t&&0===r[ur]);)n[ur]+=t,r=n,n=n[Ce]}const $={lFrame:jp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Pp(){return $.bindingsEnabled}function D(){return $.lFrame.lView}function K(){return $.lFrame.tView}function ti(e){return $.lFrame.contextLView=e,e[we]}function ni(e){return $.lFrame.contextLView=null,e}function We(){let e=xp();for(;null!==e&&64===e.type;)e=e.parent;return e}function xp(){return $.lFrame.currentTNode}function rn(e,t){const n=$.lFrame;n.currentTNode=e,n.isParent=t}function mu(){return $.lFrame.isParent}function nt(){const e=$.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Gr(){return $.lFrame.bindingIndex++}function In(e){const t=$.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function VE(e,t){const n=$.lFrame;n.bindingIndex=n.bindingRootIndex=e,vu(t)}function vu(e){$.lFrame.currentDirectiveIndex=e}function Vp(){return $.lFrame.currentQueryIndex}function _u(e){$.lFrame.currentQueryIndex=e}function $E(e){const t=e[T];return 2===t.type?t.declTNode:1===t.type?e[Qe]:null}function Hp(e,t,n){if(n&V.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&V.Host||(o=$E(i),null===o||(i=i[$r],10&o.type))););if(null===o)return!1;t=o,e=i}const r=$.lFrame=$p();return r.currentTNode=t,r.lView=e,!0}function Du(e){const t=$p(),n=e[T];$.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function $p(){const e=$.lFrame,t=null===e?null:e.child;return null===t?jp(e):t}function jp(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Bp(){const e=$.lFrame;return $.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Up=Bp;function wu(){const e=Bp();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function rt(){return $.lFrame.selectedIndex}function hr(e){$.lFrame.selectedIndex=e}function _e(){const e=$.lFrame;return Ip(e.tView,e.selectedIndex)}let Gp=!0;function Vs(){return Gp}function Wn(e){Gp=e}function Hs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[jr]+=65536),(a>12>16&&(3&e[W])===t&&(e[W]+=4096,qp(a,i)):qp(a,i)}const Wr=-1;class oi{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Zp(e){return e!==Wr}function Bs(e){return 32767&e}function Us(e,t){let n=function KE(e){return e>>16}(e),r=t;for(;n>0;)r=r[$r],n--;return r}let Mu=!0;function zs(e){const t=Mu;return Mu=e,t}const Yp=255,Xp=5;let JE=0;const on={};function Gs(e,t){const n=Qp(e,t);if(-1!==n)return n;const r=t[T];r.firstCreatePass&&(e.injectorIndex=t.length,Su(r.data,e),Su(t,null),Su(r.blueprint,null));const o=Iu(e,t),i=e.injectorIndex;if(Zp(o)){const s=Bs(o),a=Us(o,t),l=a[T].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|l[s+u]}return t[i+8]=o,i}function Su(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Qp(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Iu(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=og(o),null===r)return Wr;if(n++,o=o[$r],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return Wr}function Tu(e,t,n){!function eb(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Yo)&&(r=n[Yo]),null==r&&(r=n[Yo]=JE++);const o=r&Yp;t.data[e+(o>>Xp)]|=1<=0?t&Yp:ob:t}(n);if("function"==typeof i){if(!Hp(t,e,r))return r&V.Host?Kp(o,0,r):Jp(t,n,r,o);try{const s=i(r);if(null!=s||r&V.Optional)return s;ws()}finally{Up()}}else if("number"==typeof i){let s=null,a=Qp(e,t),l=Wr,u=r&V.Host?t[Ae][Qe]:null;for((-1===a||r&V.SkipSelf)&&(l=-1===a?Iu(e,t):t[a+8],l!==Wr&&rg(r,!1)?(s=t[T],a=Bs(l),t=Us(l,t)):a=-1);-1!==a;){const c=t[T];if(ng(i,a,c.data)){const d=nb(a,t,n,s,r,u);if(d!==on)return d}l=t[a+8],l!==Wr&&rg(r,t[T].data[a+8]===u)&&ng(i,a,t)?(s=c,a=Bs(l),t=Us(l,t)):a=-1}}return o}function nb(e,t,n,r,o,i){const s=t[T],a=s.data[e+8],c=Ws(a,s,n,null==r?dr(a)&&Mu:r!=s&&0!=(3&a.type),o&V.Host&&i===a);return null!==c?pr(t,s,c,a):on}function Ws(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h=l&&p.type===n)return h}if(o){const h=s[l];if(h&&$t(h)&&h.type===n)return l}return null}function pr(e,t,n,r){let o=e[n];const i=t.data;if(function YE(e){return e instanceof oi}(o)){const s=o;s.resolving&&function I1(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new E(-200,`Circular dependency in DI detected for ${e}${n}`)}(function re(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():U(e)}(i[n]));const a=zs(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?at(s.injectImpl):null;Hp(e,r,V.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function qE(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=wp(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==l&&at(l),zs(a),s.resolving=!1,Up()}}return o}function ng(e,t,n){return!!(n[t+(e>>Xp)]&1<{const t=e.prototype.constructor,n=t[bn]||Au(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[bn]||Au(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Au(e){return Kl(e)?()=>{const t=Au(B(e));return t&&t()}:fr(e)}function og(e){const t=e[T],n=t.type;return 2===n?t.declTNode:1===n?e[Qe]:null}const Yr="__parameters__";function Qr(e,t,n){return wn(()=>{const r=function Nu(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,u,c){const d=l.hasOwnProperty(Yr)?l[Yr]:Object.defineProperty(l,Yr,{value:[]})[Yr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function ai(e,t){e.forEach(n=>Array.isArray(n)?ai(n,t):t(n))}function sg(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Zs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function wt(e,t,n){let r=Kr(e,t);return r>=0?e[1|r]=n:(r=~r,function cb(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Ru(e,t){const n=Kr(e,t);if(n>=0)return e[1|n]}function Kr(e,t){return function ag(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<((ht=ht||{})[ht.Important=1]="Important",ht[ht.DashCase=2]="DashCase",ht))();const Vu=new Map;let xb=0;const $u="__ngContext__";function Ke(e,t){Dt(t)?(e[$u]=t[Jo],function kb(e){Vu.set(e[Jo],e)}(t)):e[$u]=t}let ju;function Bu(e,t){return ju(e,t)}function di(e){const t=e[Ce];return ct(t)?t[Ce]:t}function Uu(e){return Sg(e[Qo])}function zu(e){return Sg(e[Ht])}function Sg(e){for(;null!==e&&!ct(e);)e=e[Ht];return e}function to(e,t,n,r,o){if(null!=r){let i,s=!1;ct(r)?i=r:Dt(r)&&(s=!0,r=r[ke]);const a=ge(r);0===e&&null!==n?null==o?Rg(t,n,a):gr(t,n,a,o||null,!0):1===e&&null!==n?gr(t,n,a,o||null,!0):2===e?function sa(e,t,n){const r=oa(e,t);r&&function tM(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function oM(e,t,n,r,o){const i=n[en];i!==ge(n)&&to(t,e,r,i,o);for(let a=Ge;a0&&(e[n-1][Ht]=r[Ht]);const i=Zs(e,Ge+t);!function qb(e,t){hi(e,t,t[z],2,null,null),t[ke]=null,t[Qe]=null}(r[T],r);const s=i[Jt];null!==s&&s.detachView(i[T]),r[Ce]=null,r[Ht]=null,r[W]&=-129}return r}function Ag(e,t){if(!(256&t[W])){const n=t[z];t[As]?.destroy(),t[Ns]?.destroy(),n.destroyNode&&hi(e,t,n,3,null,null),function Xb(e){let t=e[Qo];if(!t)return qu(e[T],e);for(;t;){let n=null;if(Dt(t))n=t[Qo];else{const r=t[Ge];r&&(n=r)}if(!n){for(;t&&!t[Ht]&&t!==e;)Dt(t)&&qu(t[T],t),t=t[Ce];null===t&&(t=e),Dt(t)&&qu(t[T],t),n=t&&t[Ht]}t=n}}(t)}}function qu(e,t){if(!(256&t[W])){t[W]&=-129,t[W]|=256,function eM(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[Vr]=null);const o=t[zn];if(null!==o){for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ct.None||i===Ct.Emulated)return null}return dt(r,n)}}(e,t.parent,n)}function gr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Rg(e,t,n){e.appendChild(t,n)}function Og(e,t,n,r,o){null!==r?gr(e,t,n,r,o):Rg(e,t,n)}function oa(e,t){return e.parentNode(t)}let Yu,Ju,la,Fg=function xg(e,t,n){return 40&e.type?dt(e,n):null};function ia(e,t,n,r){const o=Zu(e,r,t),i=t[z],a=function Pg(e,t,n){return Fg(e,t,n)}(r.parent||t[Qe],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return la}()?.createScriptURL(e)||e}class Gg{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Gh})`}}function qn(e){return e instanceof Gg?e.changingThisBreaksApplicationSecurity:e}function gi(e,t){const n=function mM(e){return e instanceof Gg&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Gh})`)}return n===t}const _M=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Ne=(()=>((Ne=Ne||{})[Ne.NONE=0]="NONE",Ne[Ne.HTML=1]="HTML",Ne[Ne.STYLE=2]="STYLE",Ne[Ne.SCRIPT=3]="SCRIPT",Ne[Ne.URL=4]="URL",Ne[Ne.RESOURCE_URL=5]="RESOURCE_URL",Ne))();function ic(e){const t=yi();return t?t.sanitize(Ne.URL,e)||"":gi(e,"URL")?qn(e):function tc(e){return(e=String(e)).match(_M)?e:"unsafe:"+e}(U(e))}function Kg(e){const t=yi();if(t)return zg(t.sanitize(Ne.RESOURCE_URL,e)||"");if(gi(e,"ResourceURL"))return zg(qn(e));throw new E(904,!1)}function yi(){const e=D();return e&&e[cr].sanitizer}class R{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=O({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const vi=new R("ENVIRONMENT_INITIALIZER"),em=new R("INJECTOR",-1),tm=new R("INJECTOR_DEF_TYPES");class nm{get(t,n=qo){if(n===qo){const r=new Error(`NullInjectorError: No provider for ${Fe(t)}!`);throw r.name="NullInjectorError",r}return n}}function PM(...e){return{\u0275providers:rm(0,e),\u0275fromNgModule:!0}}function rm(e,...t){const n=[],r=new Set;let o;return ai(t,i=>{const s=i;ac(s,n,[],r)&&(o||=[],o.push(s))}),void 0!==o&&om(o,n),n}function om(e,t){for(let n=0;n{t.push(i)})}}function ac(e,t,n,r){if(!(e=B(e)))return!1;let o=null,i=qh(e);const s=!i&&ne(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=qh(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)ac(u,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;r.add(o);try{ai(i.imports,c=>{ac(c,t,n,r)&&(u||=[],u.push(c))})}finally{}void 0!==u&&om(u,t)}if(!a){const u=fr(o)||(()=>new o);t.push({provide:o,useFactory:u,deps:ee},{provide:tm,useValue:o,multi:!0},{provide:vi,useValue:()=>N(o),multi:!0})}const l=i.providers;null==l||a||lc(l,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}function lc(e,t){for(let n of e)Jl(n)&&(n=n.\u0275providers),Array.isArray(n)?lc(n,t):t(n)}const xM=se({provide:String,useValue:se});function uc(e){return null!==e&&"object"==typeof e&&xM in e}function mr(e){return"function"==typeof e}const cc=new R("Set Injector scope."),ca={},kM={};let dc;function da(){return void 0===dc&&(dc=new nm),dc}class sn{}class fc extends sn{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,pc(t,s=>this.processProvider(s)),this.records.set(em,ro(void 0,this)),o.has("environment")&&this.records.set(sn,ro(void 0,this));const i=this.records.get(cc);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(tm.multi,ee,V.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Un(this),r=at(void 0);try{return t()}finally{Un(n),at(r)}}get(t,n=qo,r=V.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(ep))return t[ep](this);r=Ss(r);const o=Un(this),i=at(void 0);try{if(!(r&V.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function jM(e){return"function"==typeof e||"object"==typeof e&&e instanceof R}(t)&&Es(t);a=l&&this.injectableDefInScope(l)?ro(hc(t),ca):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&V.Self?da():this.parent).get(t,n=r&V.Optional&&n===qo?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Ms]=s[Ms]||[]).unshift(Fe(t)),o)throw s;return function j1(e,t,n,r){const o=e[Ms];throw t[Qh]&&o.unshift(t[Qh]),e.message=function B1(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=Fe(t);if(Array.isArray(t))o=t.map(Fe).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):Fe(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(k1,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Ms]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{at(i),Un(o)}}resolveInjectorInitializers(){const t=Un(this),n=at(void 0);try{const r=this.get(vi.multi,ee,V.Self);for(const o of r)o()}finally{Un(t),at(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(Fe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new E(205,!1)}processProvider(t){let n=mr(t=B(t))?t:B(t&&t.provide);const r=function VM(e){return uc(e)?ro(void 0,e.useValue):ro(am(e),ca)}(t);if(mr(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=ro(void 0,ca,!0),o.factory=()=>ou(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===ca&&(n.value=kM,n.value=n.factory()),"object"==typeof n.value&&n.value&&function $M(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=B(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function hc(e){const t=Es(e),n=null!==t?t.factory:fr(e);if(null!==n)return n;if(e instanceof R)throw new E(204,!1);if(e instanceof Function)return function LM(e){const t=e.length;if(t>0)throw function li(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new E(204,!1)}function am(e,t,n){let r;if(mr(e)){const o=B(e);return fr(o)||hc(o)}if(uc(e))r=()=>B(e.useValue);else if(function sm(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ou(e.deps||[]));else if(function im(e){return!(!e||!e.useExisting)}(e))r=()=>N(B(e.useExisting));else{const o=B(e&&(e.useClass||e.provide));if(!function HM(e){return!!e.deps}(e))return fr(o)||hc(o);r=()=>new o(...ou(e.deps))}return r}function ro(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function pc(e,t){for(const n of e)Array.isArray(n)?pc(n,t):n&&Jl(n)?pc(n.\u0275providers,t):t(n)}const fa=new R("AppId",{providedIn:"root",factory:()=>BM}),BM="ng",lm=new R("Platform Initializer"),yr=new R("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),um=new R("CSP nonce",{providedIn:"root",factory:()=>function pi(){if(void 0!==Ju)return Ju;if(typeof document<"u")return document;throw new E(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let dm=(e,t)=>null;function fm(e,t){return dm(e,t)}class KM{}class gm{}class eS{resolveComponentFactory(t){throw function JM(e){const t=Error(`No component factory found for ${Fe(e)}.`);return t.ngComponent=e,t}(t)}}let ya=(()=>{class e{}return e.NULL=new eS,e})();function tS(){return oo(We(),D())}function oo(e,t){return new Et(dt(e,t))}let Et=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=tS,e})();function nS(e){return e instanceof Et?e.nativeElement:e}class ym{}let An=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function rS(){const e=D(),n=ft(We().index,e);return(Dt(n)?n:e)[z]}(),e})(),oS=(()=>{class e{}return e.\u0275prov=O({token:e,providedIn:"root",factory:()=>null}),e})();class wi{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const iS=new wi("16.0.1"),Mc={};function Ei(e){for(;e;){e[W]|=64;const t=di(e);if(cu(e)&&!t)return e;e=t}return null}function Sc(e){return e.ngOriginalError}class vr{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Sc(t);for(;n&&Sc(n);)n=Sc(n);return n||null}}const _m=new R("",{providedIn:"root",factory:()=>!1});function Nn(e){return e instanceof Function?e():e}class Em extends Cp{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){Ei(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,n,r){const o=je(this);this.trackingVersion++;try{t(n,r)}finally{je(o)}}destroy(){this.trackingVersion++}}let Ca=null;function bm(){return Ca??=new Em,Ca}function Mm(e,t){return e[t]??bm()}function Sm(e,t){const n=bm();n.hasReadASignal&&(e[t]=Ca,n.lView=e,Ca=new Em)}const G={};function M(e){Im(K(),D(),rt()+e,!1)}function Im(e,t,n,r){if(!r)if(3==(3&t[W])){const i=e.preOrderCheckHooks;null!==i&&$s(t,i,n)}else{const i=e.preOrderHooks;null!==i&&js(t,i,0,n)}hr(n)}function Rm(e,t=null,n=null,r){const o=Om(e,t,n,r);return o.resolveInjectorInitializers(),o}function Om(e,t=null,n=null,r,o=new Set){const i=[n||ee,PM(e)];return r=r||("object"==typeof e?void 0:Fe(e)),new fc(i,t||da(),r||null,o)}let an=(()=>{class e{static create(n,r){if(Array.isArray(n))return Rm({name:""},r,n,"");{const o=n.name??"";return Rm({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=qo,e.NULL=new nm,e.\u0275prov=O({token:e,providedIn:"any",factory:()=>N(em)}),e.__NG_ELEMENT_ID__=-1,e})();function _(e,t=V.Default){const n=D();return null===n?N(e,t):eg(We(),n,B(e),t)}function _a(e,t,n,r,o,i,s,a,l,u,c){const d=t.blueprint.slice();return d[ke]=o,d[W]=140|r,(null!==u||e&&2048&e[W])&&(d[W]|=2048),Tp(d),d[Ce]=d[$r]=e,d[we]=n,d[cr]=s||e&&e[cr],d[z]=a||e&&e[z],d[Hr]=l||e&&e[Hr]||null,d[Qe]=i,d[Jo]=function Fb(){return xb++}(),d[Mn]=c,d[hp]=u,d[Ae]=2==t.type?e[Ae]:d,d}function so(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Ic(e,t,n,r,o){const i=xp(),s=mu(),l=e.data[t]=function SS(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function zr(){return null!==$.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l,l.prev=i)),l}(e,t,n,r,o),function LE(){return $.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function ri(){const e=$.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return rn(i,!0),i}function bi(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iQ&&Im(e,t,Q,!1),nn(a?2:0,o),a)i.runInContext(n,r,o);else{const u=je(null);try{n(r,o)}finally{je(u)}}}finally{a&&null===t[As]&&Sm(t,As),hr(s),nn(a?3:1,o)}}function Tc(e,t,n){if(uu(t)){const r=je(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function Lm(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Vm(n,t,o,i):r.hasOwnProperty(o)&&Vm(n,t,r[o],i)}return n}function Vm(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function bt(e,t,n,r,o,i,s,a){const l=dt(t,n);let c,u=t.inputs;!a&&null!=u&&(c=u[r])?(kc(e,n,c,r,o),dr(t)&&function AS(e,t){const n=ft(t,e);16&n[W]||(n[W]|=64)}(n,t.index)):3&t.type&&(r=function TS(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(l,r,o))}function Oc(e,t,n,r){if(Pp()){const o=null===r?null:{"":-1},i=function FS(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,bi(e,n,o.hostVars,G),o)}function ln(e,t,n,r,o,i){const s=dt(e,t);!function xc(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?U(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[z],s,i,e.value,n,r,o)}function jS(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const i=typeof Zone>"u"?null:Zone.current,s=new mE(n,u=>{this.all.has(u)&&this.queue.set(u,i)},o);let a;this.all.add(s),s.notify();const l=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(l),{destroy:l}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}}return e.\u0275prov=O({token:e,providedIn:"root",factory:()=>new e}),e})();function wa(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0&&Vc(n)}}function Vc(e){for(let r=Uu(e);null!==r;r=zu(r))for(let o=Ge;o0&&Vc(i)}const n=e[T].components;if(null!==n)for(let r=0;r0&&Vc(o)}}class Si{get rootNodes(){const t=this._lView,n=t[T];return Mi(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[we]}set context(t){this._lView[we]=t}get destroyed(){return 256==(256&this._lView[W])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[Ce];if(ct(t)){const n=t[Rs],r=n?n.indexOf(this):-1;r>-1&&(Wu(t,r),Zs(n,r))}this._attachedToViewContainer=!1}Ag(this._lView[T],this._lView)}onDestroy(t){!function Rp(e,t){if(256==(256&e[W]))throw new E(911,!1);null===e[zn]&&(e[zn]=[]),e[zn].push(t)}(this._lView,t)}markForCheck(){Ei(this._cdRefInjectingView||this._lView)}detach(){this._lView[W]&=-129}reattach(){this._lView[W]|=128}detectChanges(){Ea(this._lView[T],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new E(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Yb(e,t){hi(e,t,t[z],2,null,null)}(this._lView[T],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new E(902,!1);this._appRef=t}}class eI extends Si{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ea(t[T],t,t[we],!1)}checkNoChanges(){}get context(){return null}}class Ym extends ya{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ne(t);return new Ii(n,this.ngModule)}}function Xm(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class nI{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=Ss(r);const o=this.injector.get(t,Mc,r);return o!==Mc||n===Mc?o:this.parentInjector.get(t,n,r)}}class Ii extends gm{get inputs(){return Xm(this.componentDef.inputs)}get outputs(){return Xm(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function K1(e){return e.map(Q1).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof sn?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new nI(t,i):t,a=s.get(ym,null);if(null===a)throw new E(407,!1);const c={rendererFactory:a,sanitizer:s.get(oS,null),effectManager:s.get(Zm,null)},d=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?function DS(e,t,n,r){const i=r.get(_m,!1)||n===Ct.ShadowDom,s=e.selectRootElement(t,i);return function wS(e){km(e)}(s),s}(d,r,this.componentDef.encapsulation,s):ra(d,f,function tI(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(f)),p=this.componentDef.onPush?576:528,m=Rc(0,null,null,1,0,null,null,null,null,null,null),C=_a(null,m,null,p,null,null,c,d,s,null,null);let b,g;Du(C);try{const S=this.componentDef;let F,Y=null;S.findHostDirectiveDefs?(F=[],Y=new Map,S.findHostDirectiveDefs(S,F,Y),F.push(S)):F=[S];const pe=function oI(e,t){const n=e[T],r=Q;return e[r]=t,so(n,r,2,"#host",null)}(C,h),Bo=function iI(e,t,n,r,o,i,s){const a=o[T];!function sI(e,t,n,r){for(const o of e)t.mergedAttrs=Xo(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(wa(t,t.mergedAttrs,!0),null!==n&&jg(r,n,t))}(r,e,t,s);let l=null;null!==t&&(l=fm(t,o[Hr]));const u=i.rendererFactory.createRenderer(t,n),c=_a(o,Fm(n),null,n.onPush?64:16,o[e.index],e,i,u,null,null,l);return a.firstCreatePass&&Pc(a,e,r.length-1),Da(o,c),o[e.index]=c}(pe,h,S,F,C,c,d);g=Ip(m,Q),h&&function lI(e,t,n,r){if(r)au(e,n,["ng-version",iS.full]);else{const{attrs:o,classes:i}=function J1(e){const t=[],n=[];let r=1,o=2;for(;r0&&$g(e,n,i.join(" "))}}(d,S,h,r),void 0!==n&&function uI(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Xo(o.hostAttrs,n=Xo(n,o.hostAttrs))}}(r)}function Hc(e){return e===En?{}:e===ee?[]:e}function fI(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function hI(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function pI(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Ma(e){return!!$c(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function $c(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function un(e,t,n){return e[t]=n}function Je(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Cr(e,t,n,r){const o=Je(e,t,n);return Je(e,t+1,r)||o}function cn(e,t,n,r){const o=D();return Je(o,Gr(),t)&&(K(),ln(_e(),o,e,t,n,r)),cn}function lo(e,t,n,r){return Je(e,Gr(),n)?t+U(n)+r:G}function uo(e,t,n,r,o,i){const a=Cr(e,function Sn(){return $.lFrame.bindingIndex}(),n,o);return In(2),a?t+U(n)+r+U(o)+i:G}function On(e,t,n,r,o,i,s,a){const l=D(),u=K(),c=e+Q,d=u.firstCreatePass?function HI(e,t,n,r,o,i,s,a,l){const u=t.consts,c=so(t,e,4,s||null,Gn(u,a));Oc(t,n,c,Gn(u,l)),Hs(t,c);const d=c.tView=Rc(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,u,l,t,n,r,o,i,s):u.data[c];rn(d,!1);const f=hy(u,l,d,e);Vs()&&ia(u,l,f,d),Ke(f,l),Da(l,l[c]=Bm(f,l,f,d)),Os(d)&&Ac(u,l,d),null!=s&&Nc(l,d,a)}let hy=function py(e,t,n,r){return Wn(!0),t[z].createComment("")};function x(e,t,n){const r=D();return Je(r,Gr(),t)&&bt(K(),_e(),r,e,t,r[z],n,!1),x}function Wc(e,t,n,r,o){const s=o?"class":"style";kc(e,n,t.inputs[s],s,r)}function y(e,t,n,r){const o=D(),i=K(),s=Q+e,a=o[z],l=i.firstCreatePass?function zI(e,t,n,r,o,i){const s=t.consts,l=so(t,e,2,r,Gn(s,o));return Oc(t,n,l,Gn(s,i)),null!==l.attrs&&wa(l,l.attrs,!1),null!==l.mergedAttrs&&wa(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,t,n,r):i.data[s],u=gy(i,o,l,a,t,e);o[s]=u;const c=Os(l);return rn(l,!0),jg(a,u,l),32!=(32&l.flags)&&Vs()&&ia(i,o,u,l),0===function TE(){return $.lFrame.elementDepthCount}()&&Ke(u,o),function AE(){$.lFrame.elementDepthCount++}(),c&&(Ac(i,o,l),Tc(i,l,o)),null!==r&&Nc(o,l),y}function v(){let e=We();mu()?function yu(){$.lFrame.isParent=!1}():(e=e.parent,rn(e,!1));const t=e;(function RE(e){return $.skipHydrationRootTNode===e})(t)&&function FE(){$.skipHydrationRootTNode=null}(),function NE(){$.lFrame.elementDepthCount--}();const n=K();return n.firstCreatePass&&(Hs(n,e),uu(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function XE(e){return 0!=(8&e.flags)}(t)&&Wc(n,t,D(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function QE(e){return 0!=(16&e.flags)}(t)&&Wc(n,t,D(),t.stylesWithoutHost,!1),v}function ie(e,t,n,r){return y(e,t,n,r),v(),ie}let gy=(e,t,n,r,o,i)=>(Wn(!0),ra(r,o,function zp(){return $.lFrame.currentNamespace}()));function Yc(){return D()}function Oi(e){return!!e&&"function"==typeof e.then}function vy(e){return!!e&&"function"==typeof e.subscribe}function P(e,t,n,r){const o=D(),i=K(),s=We();return function _y(e,t,n,r,o,i,s){const a=Os(r),u=e.firstCreatePass&&Gm(e),c=t[we],d=zm(t);let f=!0;if(3&r.type||s){const m=dt(r,t),C=s?s(m):m,b=d.length,g=s?F=>s(ge(F[r.index])):r.index;let S=null;if(!s&&a&&(S=function XI(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;il?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==S)(S.__ngLastListenerFn__||S).__ngNextListenerFn__=i,S.__ngLastListenerFn__=i,f=!1;else{i=wy(r,t,c,i,!1);const F=n.listen(C,o,i);d.push(i,F),u&&u.push(o,g,b,b+1)}}else i=wy(r,t,c,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const m=p.length;if(m)for(let C=0;C-1?ft(e.index,t):t);let l=Dy(t,n,r,s),u=i.__ngNextListenerFn__;for(;u;)l=Dy(t,n,u,s)&&l,u=u.__ngNextListenerFn__;return o&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function Pi(e=1){return function jE(e){return($.lFrame.contextLView=function BE(e,t){for(;e>0;)t=t[$r],e--;return t}(e,$.lFrame.contextLView))[we]}(e)}function Na(e,t,n,r,o){const i=D(),s=lo(i,t,n,r);return s!==G&&bt(K(),_e(),i,e,s,i[z],o,!1),Na}function Ra(e,t){return e<<17|t<<2}function Zn(e){return e>>17&32767}function Xc(e){return 2|e}function _r(e){return(131068&e)>>2}function Qc(e,t){return-131069&e|t<<2}function Kc(e){return 1|e}function Oy(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?Zn(i):_r(i),l=!1;for(;0!==a&&(!1===l||s);){const c=e[a+1];iT(e[a],t)&&(l=!0,e[a+1]=r?Kc(c):Xc(c)),a=r?Zn(c):_r(c)}l&&(e[n+1]=r?Xc(i):Kc(i))}function iT(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Kr(e,t)>=0}function Oa(e,t){return function jt(e,t,n,r){const o=D(),i=K(),s=In(2);i.firstUpdatePass&&function jy(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[rt()],s=function $y(e,t){return t>=e.expandoStartIndex}(e,n);(function Gy(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function pT(e,t,n,r){const o=function Cu(e){const t=$.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=xi(n=Jc(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Jc(o,e,t,n,r),null===i){let l=function gT(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==_r(r))return e[Zn(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=Jc(null,e,t,l[1],r),l=xi(l,t.attrs,r),function mT(e,t,n,r){e[Zn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function yT(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(u=!0)):c=n,o)if(0!==l){const f=Zn(e[a+1]);e[r+1]=Ra(f,a),0!==f&&(e[f+1]=Qc(e[f+1],r)),e[a+1]=function tT(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Ra(a,0),0!==a&&(e[a+1]=Qc(e[a+1],r)),a=r;else e[r+1]=Ra(l,0),0===a?a=r:e[l+1]=Qc(e[l+1],r),l=r;u&&(e[r+1]=Xc(e[r+1])),Oy(e,c,r,!0),Oy(e,c,r,!1),function oT(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Kr(i,t)>=0&&(n[r+1]=Kc(n[r+1]))}(t,c,e,r,i),s=Ra(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==G&&Je(o,s,t)&&function Uy(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,u=l[a+1],c=function nT(e){return 1==(1&e)}(u)?zy(l,t,n,o,_r(u),s):void 0;Pa(c)||(Pa(i)||function eT(e){return 2==(2&e)}(u)&&(i=zy(l,null,n,o,a,s)),function iM(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:ht.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ht.Important),e.setStyle(n,r,o,i))}}(r,s,ks(rt(),n),o,i))}(i,i.data[rt()],o,o[z],e,o[s+1]=function DT(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Fe(qn(e)))),e}(t,n),r,s)}(e,t,null,!0),Oa}function Jc(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const l=e[o],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=n[o+1];f===G&&(f=d?ee:void 0);let h=d?Ru(f,r):c===r?f:void 0;if(u&&!Pa(h)&&(h=Ru(l,r)),Pa(h)&&(a=h,s))return a;const p=e[o+1];o=s?Zn(p):_r(p)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=Ru(l,r))}return a}function Pa(e){return void 0!==e}function w(e,t=""){const n=D(),r=K(),o=e+Q,i=r.firstCreatePass?so(r,o,1,t,null):r.data[o],s=Wy(r,n,i,t,e);n[o]=s,Vs()&&ia(r,n,s,i),rn(i,!1)}let Wy=(e,t,n,r,o)=>(Wn(!0),function na(e,t){return e.createText(t)}(t[z],r));function me(e){return Ze("",e,""),me}function Ze(e,t,n){const r=D(),o=lo(r,e,t,n);return o!==G&&Rn(r,rt(),o),Ze}function xa(e,t,n,r,o){const i=D(),s=uo(i,e,t,n,r,o);return s!==G&&Rn(i,rt(),s),xa}const Dr=void 0;var UT=["en",[["a","p"],["AM","PM"],Dr],[["AM","PM"],Dr,Dr],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Dr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Dr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Dr,"{1} 'at' {0}",Dr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function BT(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let vo={};function ot(e){const t=function zT(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=fv(t);if(n)return n;const r=t.split("-")[0];if(n=fv(r),n)return n;if("en"===r)return UT;throw new E(701,!1)}function fv(e){return e in vo||(vo[e]=de.ng&&de.ng.common&&de.ng.common.locales&&de.ng.common.locales[e]),vo[e]}var A=(()=>((A=A||{})[A.LocaleId=0]="LocaleId",A[A.DayPeriodsFormat=1]="DayPeriodsFormat",A[A.DayPeriodsStandalone=2]="DayPeriodsStandalone",A[A.DaysFormat=3]="DaysFormat",A[A.DaysStandalone=4]="DaysStandalone",A[A.MonthsFormat=5]="MonthsFormat",A[A.MonthsStandalone=6]="MonthsStandalone",A[A.Eras=7]="Eras",A[A.FirstDayOfWeek=8]="FirstDayOfWeek",A[A.WeekendRange=9]="WeekendRange",A[A.DateFormat=10]="DateFormat",A[A.TimeFormat=11]="TimeFormat",A[A.DateTimeFormat=12]="DateTimeFormat",A[A.NumberSymbols=13]="NumberSymbols",A[A.NumberFormats=14]="NumberFormats",A[A.CurrencyCode=15]="CurrencyCode",A[A.CurrencySymbol=16]="CurrencySymbol",A[A.CurrencyName=17]="CurrencyName",A[A.Currencies=18]="Currencies",A[A.Directionality=19]="Directionality",A[A.PluralCase=20]="PluralCase",A[A.ExtraData=21]="ExtraData",A))();const Co="en-US";let hv=Co;function nd(e,t,n,r,o){if(e=B(e),Array.isArray(e))for(let i=0;i>20;if(mr(e)||!e.multi){const h=new oi(l,o,_),p=od(a,t,o?c:c+f,d);-1===p?(Tu(Gs(u,s),i,a),rd(i,e,t.length),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=od(a,t,c+f,d),p=od(a,t,c,c+f),C=p>=0&&n[p];if(o&&!C||!o&&!(h>=0&&n[h])){Tu(Gs(u,s),i,a);const b=function jA(e,t,n,r,o){const i=new oi(e,n,_);return i.multi=[],i.index=t,i.componentProviders=0,Vv(i,o,r&&!n),i}(o?$A:HA,n.length,o,r,l);!o&&C&&(n[p].providerFactory=b),rd(i,e,t.length,0),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(b),s.push(b)}else rd(i,e,h>-1?h:p,Vv(n[o?p:h],l,!o&&r));!o&&r&&C&&n[p].componentProviders++}}}function rd(e,t,n,r){const o=mr(t),i=function FM(e){return!!e.useClass}(t);if(o||i){const l=(i?B(t.useClass):t).prototype.ngOnDestroy;if(l){const u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=u.indexOf(n);-1===c?u.push(n,[r,l]):u[c+1].push(r,l)}else u.push(n,l)}}}function Vv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function od(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function VA(e,t,n){const r=K();if(r.firstCreatePass){const o=$t(e);nd(n,r.data,r.blueprint,o,!0),nd(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class _o{}class Hv{}class sd extends _o{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ym(this);const o=_t(t);this._bootstrapComponents=Nn(o.bootstrap),this._r3Injector=Om(t,n,[{provide:_o,useValue:this},{provide:ya,useValue:this.componentFactoryResolver},...r],Fe(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ad extends Hv{constructor(t){super(),this.moduleType=t}create(t){return new sd(this.moduleType,t,[])}}class $v extends _o{constructor(t){super(),this.componentFactoryResolver=new Ym(this),this.instance=null;const n=new fc([...t.providers,{provide:_o,useValue:this},{provide:ya,useValue:this.componentFactoryResolver}],t.parent||da(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function ld(e,t,n=null){return new $v({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let zA=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=rm(0,n.type),o=r.length>0?ld([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=O({token:e,providedIn:"environment",factory:()=>new e(N(sn))}),e})();function jv(e){e.getStandaloneInjector=t=>t.get(zA).getOrCreateStandaloneInjector(e)}function cd(e,t,n){const r=nt()+e,o=D();return o[r]===G?un(o,r,n?t.call(n):t()):function Ti(e,t){return e[t]}(o,r)}function Ha(e,t,n,r){return function Zv(e,t,n,r,o,i){const s=t+n;return Je(e,s,o)?un(e,s+1,i?r.call(i,o):r(o)):$i(e,s+1)}(D(),nt(),e,t,n,r)}function $i(e,t){const n=e[t];return n===G?void 0:n}function wr(e,t){const n=K();let r;const o=e+Q;n.firstCreatePass?(r=function a2(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=fr(r.type)),s=at(_);try{const a=zs(!1),l=i();return zs(a),function BI(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,D(),o,l),l}finally{at(s)}}function Er(e,t,n,r){const o=e+Q,i=D(),s=function Ur(e,t){return e[t]}(i,o);return function ji(e,t){return e[T].data[t].pure}(i,o)?function Yv(e,t,n,r,o,i,s){const a=t+n;return Cr(e,a,o,i)?un(e,a+2,s?r.call(s,o,i):r(o,i)):$i(e,a+2)}(i,nt(),t,s.transform,n,r,s):s.transform(n,r)}function dd(e){return t=>{setTimeout(e,void 0,t)}}const be=class f2 extends _n{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=dd(i),o&&(o=dd(o)),s&&(s=dd(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof It&&t.add(a),a}};function h2(){return this._results[Symbol.iterator]()}class fd{get changes(){return this._changes||(this._changes=new be)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=fd.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=h2)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=function Pt(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function lb(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=m2,e})();const p2=Pn,g2=class extends p2{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n,null)}createEmbeddedViewImpl(t,n,r){const o=this._declarationTContainer.tView,i=_a(this._declarationLView,o,t,16,null,o.declTNode,null,null,null,n||null,r||null);i[Ko]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[Jt];return null!==a&&(i[Jt]=a.createEmbeddedView(o)),Lc(o,i,t),new Si(i)}};function m2(){return $a(We(),D())}function $a(e,t){return 4&e.type?new g2(t,e,oo(e,t)):null}let Ut=(()=>{class e{}return e.__NG_ELEMENT_ID__=E2,e})();function E2(){return oC(We(),D())}const b2=Ut,nC=class extends b2{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return oo(this._hostTNode,this._hostLView)}get injector(){return new qr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Iu(this._hostTNode,this._hostLView);if(Zp(t)){const n=Us(t,this._hostLView),r=Bs(t);return new qr(n[T].data[r+8],n)}return new qr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=rC(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Ge}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,n,r,o,i){const s=t&&!function si(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const m=n||{};a=m.index,r=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}const l=s?t:new Ii(ne(t)),u=r||this.parentInjector;if(!i&&null==l.ngModule){const C=(s?u:this.parentInjector).get(sn,null);C&&(i=C)}ne(l.componentType??{});const h=l.create(u,o,null,i);return this.insertImpl(h.hostView,a,false),h}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView,i=o[T];if(function ME(e){return ct(e[Ce])}(o)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const u=o[Ce],c=new nC(u,u[Qe],u[Ce]);c.detach(c.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;if(function Qb(e,t,n,r){const o=Ge+r,i=n.length;r>0&&(n[o-1][Ht]=t),r0)r.push(s[a/2]);else{const u=i[a+1],c=t[-l];for(let d=Ge;d{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=I(Sd,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(Oi(i))n.push(i);else if(vy(i)){const s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),AC=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const xn=new R("LocaleId",{providedIn:"root",factory:()=>I(xn,V.Optional|V.SkipSelf)||function tN(){return typeof $localize<"u"&&$localize.locale||Co}()});class rN{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let NC=(()=>{class e{compileModuleSync(n){return new ad(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Nn(_t(n).declarations).reduce((s,a)=>{const l=ne(a);return l&&s.push(new Ii(l)),s},[]);return new rN(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const sN=(()=>Promise.resolve(0))();function Td(e){typeof Zone>"u"?sN.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function PC(...e){}class ve{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new be(!1),this.onMicrotaskEmpty=new be(!1),this.onStable=new be(!1),this.onError=new be(!1),typeof Zone>"u")throw new E(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function aN(){let e=de.requestAnimationFrame,t=de.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function cN(e){const t=()=>{!function uN(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(de,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Nd(e),e.isCheckStableRunning=!0,Ad(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Nd(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return xC(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),FC(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return xC(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),FC(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Nd(e),Ad(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ve.isInAngularZone())throw new E(909,!1)}static assertNotInAngularZone(){if(ve.isInAngularZone())throw new E(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,lN,PC,PC);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const lN={};function Ad(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Nd(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function xC(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function FC(e){e._nesting--,Ad(e)}class dN{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new be,this.onMicrotaskEmpty=new be,this.onStable=new be,this.onError=new be}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const kC=new R("",{providedIn:"root",factory:LC});function LC(){const e=I(ve);let t=!0;return function b1(...e){const t=Wo(e),n=function y1(e,t){return"number"==typeof Zl(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Tt(r[0]):Fr(n)(xe(r,t)):Qt}(new Me(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new Me(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{ve.assertNotInAngularZone(),Td(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{ve.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(function M1(e={}){const{connector:t=(()=>new _n),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,l,u=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,c=d=!1},p=()=>{const m=s;h(),m?.unsubscribe()};return Ue((m,C)=>{u++,!d&&!c&&f();const b=l=l??t();C.add(()=>{u--,0===u&&!d&&!c&&(a=Yl(p,o))}),b.subscribe(C),!s&&u>0&&(s=new Go({next:g=>b.next(g),error:g=>{d=!0,f(),a=Yl(h,n,g),b.error(g)},complete:()=>{c=!0,f(),a=Yl(h,r),b.complete()}}),Tt(m).subscribe(s))})(i)}}()))}const VC=new R(""),za=new R("");let Pd,Rd=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Pd||(function fN(e){Pd=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ve.assertNotInAngularZone(),Td(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Td(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(N(ve),N(Od),N(za))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})(),Od=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Pd?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Yn=null;const HC=new R("AllowMultipleToken"),xd=new R("PlatformDestroyListeners"),Fd=new R("appBootstrapListener");class jC{constructor(t,n){this.name=t,this.token=n}}function UC(e,t,n=[]){const r=`Platform: ${t}`,o=new R(r);return(i=[])=>{let s=kd();if(!s||s.injector.get(HC,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function gN(e){if(Yn&&!Yn.get(HC,!1))throw new E(400,!1);(function $C(){!function pE(e){_p=e}(()=>{throw new E(600,!1)})})(),Yn=e;const t=e.get(GC);(function BC(e){e.get(lm,null)?.forEach(n=>n())})(e)}(function zC(e=[],t){return an.create({name:t,providers:[{provide:cc,useValue:"platform"},{provide:xd,useValue:new Set([()=>Yn=null])},...e]})}(a,r))}return function yN(e){const t=kd();if(!t)throw new E(401,!1);return t}()}}function kd(){return Yn?.get(GC)??null}let GC=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function vN(e="zone.js",t){return"noop"===e?new dN:"zone.js"===e?new ve(t):e}(r?.ngZone,function WC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function UA(e,t,n){return new sd(e,t,n)}(n.moduleType,this.injector,function QC(e){return[{provide:ve,useFactory:e},{provide:vi,multi:!0,useFactory:()=>{const t=I(_N,{optional:!0});return()=>t.initialize()}},{provide:XC,useFactory:CN},{provide:kC,useFactory:LC}]}(()=>o)),s=i.injector.get(vr,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:l=>{s.handleError(l)}});i.onDestroy(()=>{Ga(this._modules,i),a.unsubscribe()})}),function qC(e,t,n){try{const r=n();return Oi(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(Id);return a.runInitializers(),a.donePromise.then(()=>(function pv(e){At(e,"Expected localeId to be defined"),"string"==typeof e&&(hv=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(xn,Co)||Co),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=ZC({},r);return function hN(e,t,n){const r=new ad(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Eo);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new E(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new E(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(xd,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(N(an))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function ZC(e,t){return Array.isArray(t)?t.reduce(ZC,e):{...e,...t}}let Eo=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=I(XC),this.componentTypes=[],this.components=[],this.isStable=I(kC),this._injector=I(sn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof gm;if(!this._injector.get(Id).done)throw!o&&function Lr(e){const t=ne(e)||Xe(e)||ut(e);return null!==t&&t.standalone}(n),new E(405,!1);let s;s=o?n:this._injector.get(ya).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function pN(e){return e.isBoundToModule}(s)?void 0:this._injector.get(_o),u=s.create(an.NULL,[],r||s.selector,a),c=u.location.nativeElement,d=u.injector.get(VC,null);return d?.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),Ga(this.components,u),d?.unregisterApplication(c)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new E(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Ga(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(Fd,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ga(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new E(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ga(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const XC=new R("",{providedIn:"root",factory:()=>I(vr).handleError.bind(void 0)});function CN(){const e=I(ve),t=I(vr);return n=>e.runOutsideAngular(()=>t.handleError(n))}let _N=(()=>{class e{constructor(){this.zone=I(ve),this.applicationRef=I(Eo)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();let Wa=(()=>{class e{}return e.__NG_ELEMENT_ID__=wN,e})();function wN(e){return function EN(e,t,n){if(dr(e)&&!n){const r=ft(e.index,t);return new Si(r,r)}return 47&e.type?new Si(t[Ae],t):null}(We(),D(),16==(16&e))}class t_{constructor(){}supports(t){return Ma(t)}create(t){return new AN(t)}}const TN=(e,t)=>t;class AN{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||TN}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new NN(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new n_),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new n_),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class NN{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class RN{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class n_{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new RN,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function r_(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new PN(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class PN{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function i_(){return new Ya([new t_])}let Ya=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||i_()),deps:[[e,new Qs,new Xs]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new E(901,!1)}}return e.\u0275prov=O({token:e,providedIn:"root",factory:i_}),e})();function s_(){return new Ui([new o_])}let Ui=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||s_()),deps:[[e,new Qs,new Xs]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new E(901,!1)}}return e.\u0275prov=O({token:e,providedIn:"root",factory:s_}),e})();const kN=UC(null,"core",[]);let LN=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(N(Eo))},e.\u0275mod=Vt({type:e}),e.\u0275inj=Nt({}),e})(),f_=(()=>{class e{get whenAllTasksComplete(){return 0===this.collection.size&&this.complete(),this.promise}constructor(){this.taskId=0,this.collection=new Set,this.ngZone=I(ve),this.completed=!1,this.ngZone.runOutsideAngular(()=>{this.promise=new Promise(n=>{this.resolve=n})})}add(){if(this.completed)return-1;const n=this.taskId++;return this.collection.add(n),n}remove(n){this.completed||(this.collection.delete(n),0===this.collection.size&&this.complete())}ngOnDestroy(){this.complete(),this.collection.clear()}complete(){this.completed=!0,this.resolve()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function bo(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let Ud=null;function Xn(){return Ud}class YN{}const Mt=new R("DocumentToken");let zd=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return I(QN)},providedIn:"platform"}),e})();const XN=new R("Location Initialized");let QN=(()=>{class e extends zd{constructor(){super(),this._doc=I(Mt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Xn().getBaseHref(this._doc)}onPopState(n){const r=Xn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Xn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return new e},providedIn:"platform"}),e})();function Gd(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function p_(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Fn(e){return e&&"?"!==e[0]?"?"+e:e}let Qn=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return I(m_)},providedIn:"root"}),e})();const g_=new R("appBaseHref");let m_=(()=>{class e extends Qn{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??I(Mt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return Gd(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Fn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Fn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Fn(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(N(zd),N(g_,8))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),y_=(()=>{class e extends Qn{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=Gd(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Fn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Fn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(N(zd),N(g_,8))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})(),Wd=(()=>{class e{constructor(n){this._subject=new be,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function eR(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(p_(v_(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Fn(r))}normalize(n){return e.stripTrailingSlash(function JN(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,v_(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Fn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Fn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}}return e.normalizeQueryParams=Fn,e.joinWithSlash=Gd,e.stripTrailingSlash=p_,e.\u0275fac=function(n){return new(n||e)(N(Qn))},e.\u0275prov=O({token:e,factory:function(){return function KN(){return new Wd(N(Qn))}()},providedIn:"root"}),e})();function v_(e){return e.replace(/\/index.html$/,"")}var Se=(()=>((Se=Se||{})[Se.Format=0]="Format",Se[Se.Standalone=1]="Standalone",Se))(),X=(()=>((X=X||{})[X.Narrow=0]="Narrow",X[X.Abbreviated=1]="Abbreviated",X[X.Wide=2]="Wide",X[X.Short=3]="Short",X))(),De=(()=>((De=De||{})[De.Short=0]="Short",De[De.Medium=1]="Medium",De[De.Long=2]="Long",De[De.Full=3]="Full",De))(),L=(()=>((L=L||{})[L.Decimal=0]="Decimal",L[L.Group=1]="Group",L[L.List=2]="List",L[L.PercentSign=3]="PercentSign",L[L.PlusSign=4]="PlusSign",L[L.MinusSign=5]="MinusSign",L[L.Exponential=6]="Exponential",L[L.SuperscriptingExponent=7]="SuperscriptingExponent",L[L.PerMille=8]="PerMille",L[L.Infinity=9]="Infinity",L[L.NaN=10]="NaN",L[L.TimeSeparator=11]="TimeSeparator",L[L.CurrencyDecimal=12]="CurrencyDecimal",L[L.CurrencyGroup=13]="CurrencyGroup",L))();function Qa(e,t){return kt(ot(e)[A.DateFormat],t)}function Ka(e,t){return kt(ot(e)[A.TimeFormat],t)}function Ja(e,t){return kt(ot(e)[A.DateTimeFormat],t)}function Ft(e,t){const n=ot(e),r=n[A.NumberSymbols][t];if(typeof r>"u"){if(t===L.CurrencyDecimal)return n[A.NumberSymbols][L.Decimal];if(t===L.CurrencyGroup)return n[A.NumberSymbols][L.Group]}return r}function __(e){if(!e[A.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[A.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function kt(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function Zd(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}const hR=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,zi={},pR=/((?:[^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]*)/;var He=(()=>((He=He||{})[He.Short=0]="Short",He[He.ShortGMT=1]="ShortGMT",He[He.Long=2]="Long",He[He.Extended=3]="Extended",He))(),H=(()=>((H=H||{})[H.FullYear=0]="FullYear",H[H.Month=1]="Month",H[H.Date=2]="Date",H[H.Hours=3]="Hours",H[H.Minutes=4]="Minutes",H[H.Seconds=5]="Seconds",H[H.FractionalSeconds=6]="FractionalSeconds",H[H.Day=7]="Day",H))(),Z=(()=>((Z=Z||{})[Z.DayPeriods=0]="DayPeriods",Z[Z.Days=1]="Days",Z[Z.Months=2]="Months",Z[Z.Eras=3]="Eras",Z))();function gR(e,t,n,r){let o=function bR(e){if(E_(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[o,i=1,s=1]=e.split("-").map(a=>+a);return el(o,i-1,s)}const n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(hR))return function MR(e){const t=new Date(0);let n=0,r=0;const o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,l=Number(e[6]||0),u=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,s,a,l,u),t}(r)}const t=new Date(e);if(!E_(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=kn(n,t)||t;let a,s=[];for(;t;){if(a=pR.exec(t),!a){s.push(t);break}{s=s.concat(a.slice(1));const c=s.pop();if(!c)break;t=c}}let l=o.getTimezoneOffset();r&&(l=w_(r,l),o=function ER(e,t,n){const r=n?-1:1,o=e.getTimezoneOffset();return function wR(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,r*(w_(t,o)-o))}(o,r,!0));let u="";return s.forEach(c=>{const d=function DR(e){if(Xd[e])return Xd[e];let t;switch(e){case"G":case"GG":case"GGG":t=fe(Z.Eras,X.Abbreviated);break;case"GGGG":t=fe(Z.Eras,X.Wide);break;case"GGGGG":t=fe(Z.Eras,X.Narrow);break;case"y":t=Oe(H.FullYear,1,0,!1,!0);break;case"yy":t=Oe(H.FullYear,2,0,!0,!0);break;case"yyy":t=Oe(H.FullYear,3,0,!1,!0);break;case"yyyy":t=Oe(H.FullYear,4,0,!1,!0);break;case"Y":t=ol(1);break;case"YY":t=ol(2,!0);break;case"YYY":t=ol(3);break;case"YYYY":t=ol(4);break;case"M":case"L":t=Oe(H.Month,1,1);break;case"MM":case"LL":t=Oe(H.Month,2,1);break;case"MMM":t=fe(Z.Months,X.Abbreviated);break;case"MMMM":t=fe(Z.Months,X.Wide);break;case"MMMMM":t=fe(Z.Months,X.Narrow);break;case"LLL":t=fe(Z.Months,X.Abbreviated,Se.Standalone);break;case"LLLL":t=fe(Z.Months,X.Wide,Se.Standalone);break;case"LLLLL":t=fe(Z.Months,X.Narrow,Se.Standalone);break;case"w":t=Yd(1);break;case"ww":t=Yd(2);break;case"W":t=Yd(1,!0);break;case"d":t=Oe(H.Date,1);break;case"dd":t=Oe(H.Date,2);break;case"c":case"cc":t=Oe(H.Day,1);break;case"ccc":t=fe(Z.Days,X.Abbreviated,Se.Standalone);break;case"cccc":t=fe(Z.Days,X.Wide,Se.Standalone);break;case"ccccc":t=fe(Z.Days,X.Narrow,Se.Standalone);break;case"cccccc":t=fe(Z.Days,X.Short,Se.Standalone);break;case"E":case"EE":case"EEE":t=fe(Z.Days,X.Abbreviated);break;case"EEEE":t=fe(Z.Days,X.Wide);break;case"EEEEE":t=fe(Z.Days,X.Narrow);break;case"EEEEEE":t=fe(Z.Days,X.Short);break;case"a":case"aa":case"aaa":t=fe(Z.DayPeriods,X.Abbreviated);break;case"aaaa":t=fe(Z.DayPeriods,X.Wide);break;case"aaaaa":t=fe(Z.DayPeriods,X.Narrow);break;case"b":case"bb":case"bbb":t=fe(Z.DayPeriods,X.Abbreviated,Se.Standalone,!0);break;case"bbbb":t=fe(Z.DayPeriods,X.Wide,Se.Standalone,!0);break;case"bbbbb":t=fe(Z.DayPeriods,X.Narrow,Se.Standalone,!0);break;case"B":case"BB":case"BBB":t=fe(Z.DayPeriods,X.Abbreviated,Se.Format,!0);break;case"BBBB":t=fe(Z.DayPeriods,X.Wide,Se.Format,!0);break;case"BBBBB":t=fe(Z.DayPeriods,X.Narrow,Se.Format,!0);break;case"h":t=Oe(H.Hours,1,-12);break;case"hh":t=Oe(H.Hours,2,-12);break;case"H":t=Oe(H.Hours,1);break;case"HH":t=Oe(H.Hours,2);break;case"m":t=Oe(H.Minutes,1);break;case"mm":t=Oe(H.Minutes,2);break;case"s":t=Oe(H.Seconds,1);break;case"ss":t=Oe(H.Seconds,2);break;case"S":t=Oe(H.FractionalSeconds,1);break;case"SS":t=Oe(H.FractionalSeconds,2);break;case"SSS":t=Oe(H.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=nl(He.Short);break;case"ZZZZZ":t=nl(He.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=nl(He.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=nl(He.Long);break;default:return null}return Xd[e]=t,t}(c);u+=d?d(o,n,l):"''"===c?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function el(e,t,n){const r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function kn(e,t){const n=function tR(e){return ot(e)[A.LocaleId]}(e);if(zi[n]=zi[n]||{},zi[n][t])return zi[n][t];let r="";switch(t){case"shortDate":r=Qa(e,De.Short);break;case"mediumDate":r=Qa(e,De.Medium);break;case"longDate":r=Qa(e,De.Long);break;case"fullDate":r=Qa(e,De.Full);break;case"shortTime":r=Ka(e,De.Short);break;case"mediumTime":r=Ka(e,De.Medium);break;case"longTime":r=Ka(e,De.Long);break;case"fullTime":r=Ka(e,De.Full);break;case"short":const o=kn(e,"shortTime"),i=kn(e,"shortDate");r=tl(Ja(e,De.Short),[o,i]);break;case"medium":const s=kn(e,"mediumTime"),a=kn(e,"mediumDate");r=tl(Ja(e,De.Medium),[s,a]);break;case"long":const l=kn(e,"longTime"),u=kn(e,"longDate");r=tl(Ja(e,De.Long),[l,u]);break;case"full":const c=kn(e,"fullTime"),d=kn(e,"fullDate");r=tl(Ja(e,De.Full),[c,d])}return r&&(zi[n][t]=r),r}function tl(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return null!=t&&r in t?t[r]:n})),e}function Gt(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=1-e:(e=-e,i=n));let s=String(e);for(;s.length0||a>-n)&&(a+=n),e===H.Hours)0===a&&-12===n&&(a=12);else if(e===H.FractionalSeconds)return function mR(e,t){return Gt(e,3).substring(0,t)}(a,t);const l=Ft(s,L.MinusSign);return Gt(a,t,l,r,o)}}function fe(e,t,n=Se.Format,r=!1){return function(o,i){return function vR(e,t,n,r,o,i){switch(n){case Z.Months:return function oR(e,t,n){const r=ot(e),i=kt([r[A.MonthsFormat],r[A.MonthsStandalone]],t);return kt(i,n)}(t,o,r)[e.getMonth()];case Z.Days:return function rR(e,t,n){const r=ot(e),i=kt([r[A.DaysFormat],r[A.DaysStandalone]],t);return kt(i,n)}(t,o,r)[e.getDay()];case Z.DayPeriods:const s=e.getHours(),a=e.getMinutes();if(i){const u=function lR(e){const t=ot(e);return __(t),(t[A.ExtraData][2]||[]).map(r=>"string"==typeof r?Zd(r):[Zd(r[0]),Zd(r[1])])}(t),c=function uR(e,t,n){const r=ot(e);__(r);const i=kt([r[A.ExtraData][0],r[A.ExtraData][1]],t)||[];return kt(i,n)||[]}(t,o,r),d=u.findIndex(f=>{if(Array.isArray(f)){const[h,p]=f,m=s>=h.hours&&a>=h.minutes,C=s0?Math.floor(o/60):Math.ceil(o/60);switch(e){case He.Short:return(o>=0?"+":"")+Gt(s,2,i)+Gt(Math.abs(o%60),2,i);case He.ShortGMT:return"GMT"+(o>=0?"+":"")+Gt(s,1,i);case He.Long:return"GMT"+(o>=0?"+":"")+Gt(s,2,i)+":"+Gt(Math.abs(o%60),2,i);case He.Extended:return 0===r?"Z":(o>=0?"+":"")+Gt(s,2,i)+":"+Gt(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}const CR=0,rl=4;function D_(e){return el(e.getFullYear(),e.getMonth(),e.getDate()+(rl-e.getDay()))}function Yd(e,t=!1){return function(n,r){let o;if(t){const i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{const i=D_(n),s=function _R(e){const t=el(e,CR,1).getDay();return el(e,0,1+(t<=rl?rl:rl+7)-t)}(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Gt(o,e,Ft(r,L.MinusSign))}}function ol(e,t=!1){return function(n,r){return Gt(D_(n).getFullYear(),e,Ft(r,L.MinusSign),t)}}const Xd={};function w_(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function E_(e){return e instanceof Date&&!isNaN(e.valueOf())}function I_(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}const nf=/\s+/,T_=[];let A_=(()=>{class e{constructor(n,r,o,i){this._iterableDiffers=n,this._keyValueDiffers=r,this._ngEl=o,this._renderer=i,this.initialClasses=T_,this.stateMap=new Map}set klass(n){this.initialClasses=null!=n?n.trim().split(nf):T_}set ngClass(n){this.rawClass="string"==typeof n?n.trim().split(nf):n}ngDoCheck(){for(const r of this.initialClasses)this._updateState(r,!0);const n=this.rawClass;if(Array.isArray(n)||n instanceof Set)for(const r of n)this._updateState(r,!0);else if(null!=n)for(const r of Object.keys(n))this._updateState(r,!!n[r]);this._applyStateDiff()}_updateState(n,r){const o=this.stateMap.get(n);void 0!==o?(o.enabled!==r&&(o.changed=!0,o.enabled=r),o.touched=!0):this.stateMap.set(n,{enabled:r,changed:!0,touched:!0})}_applyStateDiff(){for(const n of this.stateMap){const r=n[0],o=n[1];o.changed?(this._toggleClass(r,o.enabled),o.changed=!1):o.touched||(o.enabled&&this._toggleClass(r,!1),this.stateMap.delete(r)),o.touched=!1}}_toggleClass(n,r){(n=n.trim()).length>0&&n.split(nf).forEach(o=>{r?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return e.\u0275fac=function(n){return new(n||e)(_(Ya),_(Ui),_(Et),_(An))},e.\u0275dir=j({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),e})();class VR{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Mr=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new VR(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),R_(a,o)}});for(let o=0,i=r.length;o{R_(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(_(Ut),_(Pn),_(Ya))},e.\u0275dir=j({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function R_(e,t){e.context.$implicit=t.item}let O_=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new HR,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){P_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){P_("ngIfElse",n),this._elseTemplateRef=n,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 ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(_(Ut),_(Pn))},e.\u0275dir=j({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class HR{constructor(){this.$implicit=null,this.ngIf=null}}function P_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Fe(t)}'.`)}const KR=new R("DATE_PIPE_DEFAULT_TIMEZONE"),JR=new R("DATE_PIPE_DEFAULT_OPTIONS");let Wi=(()=>{class e{constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(null==n||""===n||n!=n)return null;try{return gR(n,r??this.defaultOptions?.dateFormat??"mediumDate",i||this.locale,o??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(s){throw function Wt(e,t){return new E(2100,!1)}()}}}return e.\u0275fac=function(n){return new(n||e)(_(xn,16),_(KR,24),_(JR,24))},e.\u0275pipe=lt({name:"date",type:e,pure:!0,standalone:!0}),e})(),u3=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=Nt({}),e})();function L_(e){return"server"===e}let h3=(()=>{class e{}return e.\u0275prov=O({token:e,providedIn:"root",factory:()=>new p3(N(Mt),window)}),e})();class p3{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function g3(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=t)}}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=V_(this.window.history)||V_(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function V_(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class H_{}class B3 extends YN{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class df extends B3{static makeCurrent(){!function ZN(e){Ud||(Ud=e)}(new df)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function U3(){return Zi=Zi||document.querySelector("base"),Zi?Zi.getAttribute("href"):null}();return null==n?null:function z3(e){ll=ll||document.createElement("a"),ll.setAttribute("href",e);const t=ll.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Zi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return I_(document.cookie,t)}}let ll,Zi=null,W3=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const ff=new R("EventManagerPlugins");let z_=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new E(5101,!1);return this._eventNameToPlugin.set(n,r),r}}return e.\u0275fac=function(n){return new(n||e)(N(ff),N(ve))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();class G_{constructor(t){this._doc=t}}const hf="ng-app-id";let W_=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=L_(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${hf}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(hf),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(hf,this.appId),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r);n.appendChild(o);const i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}}return e.\u0275fac=function(n){return new(n||e)(N(Mt),N(fa),N(um,8),N(yr))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const pf={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/MathML/"},gf=/%COMP%/g,X3=new R("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function Z_(e,t){return t.map(n=>n.replace(gf,e))}let Y_=(()=>{class e{constructor(n,r,o,i,s,a,l,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestory=i,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=L_(a),this.defaultRenderer=new mf(n,s,l,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Ct.ShadowDom&&(r={...r,encapsulation:Ct.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof Q_?o.applyToHost(n):o instanceof yf&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,c=this.removeStylesOnCompDestory,d=this.platformIsServer;switch(r.encapsulation){case Ct.Emulated:i=new Q_(l,u,r,this.appId,c,s,a,d);break;case Ct.ShadowDom:return new eO(l,u,n,r,s,a,this.nonce,d);default:i=new yf(l,u,r,c,s,a,d)}i.onDestroy=()=>o.delete(r.id),o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}}return e.\u0275fac=function(n){return new(n||e)(N(z_),N(W_),N(fa),N(X3),N(Mt),N(yr),N(ve),N(um))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();class mf{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(pf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(X_(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(X_(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new E(5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=pf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=pf[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(ht.DashCase|ht.Important)?t.style.setProperty(n,r,o&ht.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&ht.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=Xn().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&(n.preventDefault(),n.returnValue=!1)}}}function X_(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class eO extends mf{constructor(t,n,r,o,i,s,a,l){super(t,i,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const u=Z_(o.id,o.styles);for(const c of u){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=c,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class yf extends mf{constructor(t,n,r,o,i,s,a,l){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestory=o,this.rendererUsageCount=0,this.styles=l?Z_(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class Q_ extends yf{constructor(t,n,r,o,i,s,a,l){const u=o+"-"+r.id;super(t,n,r,i,s,a,l,u),this.contentAttr=function Q3(e){return"_ngcontent-%COMP%".replace(gf,e)}(u),this.hostAttr=function K3(e){return"_nghost-%COMP%".replace(gf,e)}(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let tO=(()=>{class e extends G_{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(N(Mt))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const K_=["alt","control","meta","shift"],nO={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},rO={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let oO=(()=>{class e extends G_{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Xn().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),K_.forEach(u=>{const c=r.indexOf(u);c>-1&&(r.splice(c,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let o=nO[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),K_.forEach(s=>{s!==o&&(0,rO[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(N(Mt))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const lO=UC(kN,"browser",[{provide:yr,useValue:"browser"},{provide:lm,useValue:function iO(){df.makeCurrent()},multi:!0},{provide:Mt,useFactory:function aO(){return function cM(e){Ju=e}(document),document},deps:[]}]),uO=new R(""),tD=[{provide:za,useClass:class G3{addToWindow(t){de.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new E(5103,!1);return i},de.getAllAngularTestabilities=()=>t.getAllTestabilities(),de.getAllAngularRootElements=()=>t.getAllRootElements(),de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(r=>{const o=de.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Xn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:VC,useClass:Rd,deps:[ve,Od,za]},{provide:Rd,useClass:Rd,deps:[ve,Od,za]}],nD=[{provide:cc,useValue:"root"},{provide:vr,useFactory:function sO(){return new vr},deps:[]},{provide:ff,useClass:tO,multi:!0,deps:[Mt,ve,yr]},{provide:ff,useClass:oO,multi:!0,deps:[Mt]},Y_,W_,z_,{provide:ym,useExisting:Y_},{provide:H_,useClass:W3,deps:[]},[]];let cO=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:fa,useValue:n.appId}]}}}return e.\u0275fac=function(n){return new(n||e)(N(uO,12))},e.\u0275mod=Vt({type:e}),e.\u0275inj=Nt({providers:[...nD,...tD],imports:[u3,LN]}),e})(),rD=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return e.\u0275fac=function(n){return new(n||e)(N(Mt))},e.\u0275prov=O({token:e,factory:function(n){let r=null;return r=n?new n:function fO(){return new rD(N(Mt))}(),r},providedIn:"root"}),e})();typeof window<"u"&&window;const{isArray:yO}=Array,{getPrototypeOf:vO,prototype:CO,keys:_O}=Object;function aD(e){if(1===e.length){const t=e[0];if(yO(t))return{args:t,keys:null};if(function DO(e){return e&&"object"==typeof e&&vO(e)===CO}(t)){const n=_O(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:wO}=Array;function lD(e){return te(t=>function EO(e,t){return wO(t)?e(...t):e(t)}(e,t))}function uD(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}let cD=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(_(An),_(Et))},e.\u0275dir=j({type:e}),e})(),Sr=(()=>{class e extends cD{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=qe(e)))(r||e)}}(),e.\u0275dir=j({type:e,features:[ae]}),e})();const hn=new R("NgValueAccessor"),MO={provide:hn,useExisting:ce(()=>ul),multi:!0};let ul=(()=>{class e extends Sr{writeValue(n){this.setProperty("checked",n)}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=qe(e)))(r||e)}}(),e.\u0275dir=j({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,r){1&n&&P("change",function(i){return r.onChange(i.target.checked)})("blur",function(){return r.onTouched()})},features:[ye([MO]),ae]}),e})();const SO={provide:hn,useExisting:ce(()=>qt),multi:!0},TO=new R("CompositionEventMode");let qt=(()=>{class e extends cD{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function IO(){const e=Xn()?Xn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(_(An),_(Et),_(TO,8))},e.\u0275dir=j({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,r){1&n&&P("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},features:[ye([SO]),ae]}),e})();const et=new R("NgValidators"),er=new R("NgAsyncValidators");function _D(e){return null!=e}function DD(e){return Oi(e)?xe(e):e}function wD(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function ED(e,t){return t.map(n=>n(e))}function bD(e){return e.map(t=>function NO(e){return!e.validate}(t)?t:n=>t.validate(n))}function Cf(e){return null!=e?function MD(e){if(!e)return null;const t=e.filter(_D);return 0==t.length?null:function(n){return wD(ED(n,t))}}(bD(e)):null}function _f(e){return null!=e?function SD(e){if(!e)return null;const t=e.filter(_D);return 0==t.length?null:function(n){return function bO(...e){const t=jh(e),{args:n,keys:r}=aD(e),o=new Me(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let l=s,u=s;for(let c=0;c{d||(d=!0,u--),a[c]=f},()=>l--,void 0,()=>{(!l||!d)&&(u||i.next(r?uD(r,a):a),i.complete())}))}});return t?o.pipe(lD(t)):o}(ED(n,t).map(DD)).pipe(te(wD))}}(bD(e)):null}function ID(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Df(e){return e?Array.isArray(e)?e:[e]:[]}function dl(e,t){return Array.isArray(e)?e.includes(t):e===t}function ND(e,t){const n=Df(t);return Df(e).forEach(o=>{dl(n,o)||n.push(o)}),n}function RD(e,t){return Df(t).filter(n=>!dl(e,n))}class OD{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Cf(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=_f(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class st extends OD{get formDirective(){return null}get path(){return null}}class tr extends OD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class PD{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Ln=(()=>{class e extends PD{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(_(tr,2))},e.\u0275dir=j({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&Oa("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[ae]}),e})(),xD=(()=>{class e extends PD{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(_(st,10))},e.\u0275dir=j({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&Oa("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[ae]}),e})();const Yi="VALID",hl="INVALID",Mo="PENDING",Xi="DISABLED";function bf(e){return(pl(e)?e.validators:e)||null}function Mf(e,t){return(pl(t)?t.asyncValidators:e)||null}function pl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class VD{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===Yi}get invalid(){return this.status===hl}get pending(){return this.status==Mo}get disabled(){return this.status===Xi}get enabled(){return this.status!==Xi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(ND(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(ND(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(RD(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(RD(t,this._rawAsyncValidators))}hasValidator(t){return dl(this._rawValidators,t)}hasAsyncValidator(t){return dl(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Mo,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Xi,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Yi,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Yi||this.status===Mo)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Xi:Yi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Mo,this._hasOwnPendingAsyncValidator=!0;const n=DD(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new be,this.statusChanges=new be}_calculateStatus(){return this._allControlsDisabled()?Xi:this.errors?hl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Mo)?Mo:this._anyControlsHaveStatus(hl)?hl:Yi}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){pl(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function xO(e){return Array.isArray(e)?Cf(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function FO(e){return Array.isArray(e)?_f(e):e||null}(this._rawAsyncValidators)}}class Sf extends VD{constructor(t,n,r){super(bf(n),Mf(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){(function LD(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new E(1002,"")})})(this,0,t),Object.keys(t).forEach(r=>{(function kD(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new E(1e3,"");if(!r[n])throw new E(1001,"")})(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const So=new R("CallSetDisabledState",{providedIn:"root",factory:()=>gl}),gl="always";function Qi(e,t,n=gl){If(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function VO(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&HD(e,t)})}(e,t),function $O(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function HO(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&HD(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function LO(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function vl(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function If(e,t){const n=function TD(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(ID(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function AD(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(ID(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();vl(t._rawValidators,o),vl(t._rawAsyncValidators,o)}function HD(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const GO={provide:st,useExisting:ce(()=>_l)},Ki=(()=>Promise.resolve())();let _l=(()=>{class e extends st{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new be,this.form=new Sf({},Cf(n),_f(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Ki.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),Qi(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Ki.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Ki.then(()=>{const r=this._findContainer(n.path),o=new Sf({});(function $D(e,t){If(e,t)})(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Ki.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){Ki.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function jD(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}}return e.\u0275fac=function(n){return new(n||e)(_(et,10),_(er,10),_(So,8))},e.\u0275dir=j({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){1&n&&P("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[ye([GO]),ae]}),e})();function BD(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function UD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const zD=class extends VD{constructor(t=null,n,r){super(bf(n),Mf(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),pl(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=UD(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){BD(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){BD(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){UD(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},ZO={provide:tr,useExisting:ce(()=>pn)},qD=(()=>Promise.resolve())();let pn=(()=>{class e extends tr{constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new zD,this._registered=!1,this.name="",this.update=new be,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Nf(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===qt?n=i:function UO(e){return Object.getPrototypeOf(e.constructor)===Sr}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function Af(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Qi(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){qD.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&bo(r);qD.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function ml(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(_(st,9),_(et,10),_(er,10),_(hn,10),_(Wa,8),_(So,8))},e.\u0275dir=j({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[ye([ZO]),ae,Ot]}),e})(),ZD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=j({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})(),XD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=Nt({}),e})(),vP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=Nt({imports:[XD]}),e})(),_P=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:So,useValue:n.callSetDisabledState??gl}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=Nt({imports:[vP]}),e})();function k(...e){return xe(e,Wo(e))}function Io(e,t){return ue(t)?ze(e,t,1):ze(e,1)}function Vn(e,t){return Ue((n,r)=>{let o=0;n.subscribe($e(r,i=>e.call(t,i,o++)&&r.next(i)))})}function gn(e,t){return Ue((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe($e(r,l=>{o?.unsubscribe();let u=0;const c=i++;Tt(e(l,c)).subscribe(o=$e(r,d=>r.next(t?t(l,d,c,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}class Dl{}class Lf{}class Ye{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{let o;if(o="string"==typeof r?[r]:"number"==typeof r?[r.toString()]:r.map(i=>i.toString()),o.length>0){const i=n.toLowerCase();this.headers.set(i,o),this.maybeSetNormalizedName(n,i)}})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof Ye?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new Ye;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof Ye?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class DP{encodeKey(t){return g0(t)}encodeValue(t){return g0(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const EP=/%(\d[a-f0-9])/gi,bP={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function g0(e){return encodeURIComponent(e).replace(EP,(t,n)=>bP[n]??t)}function wl(e){return`${e}`}class nr{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new DP,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function wP(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(wl):[wl(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new nr({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(wl(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(wl(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class MP{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function m0(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function y0(e){return typeof Blob<"u"&&e instanceof Blob}function v0(e){return typeof FormData<"u"&&e instanceof FormData}class Ji{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function SP(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new Ye),this.context||(this.context=new MP),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":ad.set(f,t.setHeaders[f]),l)),t.setParams&&(u=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),u)),new Ji(n,r,i,{params:u,headers:l,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var Pe=(()=>((Pe=Pe||{})[Pe.Sent=0]="Sent",Pe[Pe.UploadProgress=1]="UploadProgress",Pe[Pe.ResponseHeader=2]="ResponseHeader",Pe[Pe.DownloadProgress=3]="DownloadProgress",Pe[Pe.Response=4]="Response",Pe[Pe.User=5]="User",Pe))();class Vf{constructor(t,n=200,r="OK"){this.headers=t.headers||new Ye,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Hf extends Vf{constructor(t={}){super(t),this.type=Pe.ResponseHeader}clone(t={}){return new Hf({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class To extends Vf{constructor(t={}){super(t),this.type=Pe.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new To({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class C0 extends Vf{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function $f(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Tr=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Ji)i=n;else{let l,u;l=o.headers instanceof Ye?o.headers:new Ye(o.headers),o.params&&(u=o.params instanceof nr?o.params:new nr({fromObject:o.params})),i=new Ji(n,r,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=k(i).pipe(Io(l=>this.handler.handle(l)));if(n instanceof Ji||"events"===o.observe)return s;const a=s.pipe(Vn(l=>l instanceof To));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(te(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(te(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(te(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(te(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new nr).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,$f(o,r))}post(n,r,o={}){return this.request("POST",n,$f(o,r))}put(n,r,o={}){return this.request("PUT",n,$f(o,r))}}return e.\u0275fac=function(n){return new(n||e)(N(Dl))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();function _0(e,t){return t(e)}function TP(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const D0=new R(""),es=new R(""),w0=new R("");function NP(){let e=null;return(t,n)=>(null===e&&(e=(I(D0,{optional:!0})??[]).reduceRight(TP,_0)),e(t,n))}let E0=(()=>{class e extends Dl{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(es),...this.injector.get(w0,[])]));this.chain=r.reduceRight((o,i)=>function AP(e,t,n){return(r,o)=>n.runInContext(()=>t(r,i=>e(i,o)))}(o,i,this.injector),_0)}return this.chain(n,r=>this.backend.handle(r))}}return e.\u0275fac=function(n){return new(n||e)(N(Lf),N(sn))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const xP=/^\)\]\}',?\n/;let M0=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");const r=this.xhrFactory;return(r.\u0275loadImpl?xe(r.\u0275loadImpl()):k(null)).pipe(gn(()=>new Me(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,S)=>s.setRequestHeader(g,S.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const g=n.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(n.responseType){const g=n.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=n.serializeBody();let l=null;const u=()=>{if(null!==l)return l;const g=s.statusText||"OK",S=new Ye(s.getAllResponseHeaders()),F=function FP(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return l=new Hf({headers:S,status:s.status,statusText:g,url:F}),l},c=()=>{let{headers:g,status:S,statusText:F,url:Y}=u(),pe=null;204!==S&&(pe=typeof s.response>"u"?s.responseText:s.response),0===S&&(S=pe?200:0);let Bo=S>=200&&S<300;if("json"===n.responseType&&"string"==typeof pe){const Yk=pe;pe=pe.replace(xP,"");try{pe=""!==pe?JSON.parse(pe):null}catch(Xk){pe=Yk,Bo&&(Bo=!1,pe={error:Xk,text:pe})}}Bo?(i.next(new To({body:pe,headers:g,status:S,statusText:F,url:Y||void 0})),i.complete()):i.error(new C0({error:pe,headers:g,status:S,statusText:F,url:Y||void 0}))},d=g=>{const{url:S}=u(),F=new C0({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:S||void 0});i.error(F)};let f=!1;const h=g=>{f||(i.next(u()),f=!0);let S={type:Pe.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(S.total=g.total),"text"===n.responseType&&s.responseText&&(S.partialText=s.responseText),i.next(S)},p=g=>{let S={type:Pe.UploadProgress,loaded:g.loaded};g.lengthComputable&&(S.total=g.total),i.next(S)};let m;s.addEventListener("load",c),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p));const C=()=>{m??=function LP(){const e=setTimeout(()=>{},kP);return()=>clearTimeout(e)}()},b=()=>{m?.()};return s.addEventListener("loadstart",C),s.addEventListener("loadend",b),s.send(a),i.next({type:Pe.Sent}),()=>{s.removeEventListener("loadstart",C),s.removeEventListener("loadend",b),s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",c),s.removeEventListener("timeout",d),m?.(),n.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}}return e.\u0275fac=function(n){return new(n||e)(N(H_))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const kP=2147483647,jf=new R("XSRF_ENABLED"),S0=new R("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),I0=new R("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class T0{}let $P=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=I_(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(N(Mt),N(yr),N(S0))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();function jP(e,t){const n=e.url.toLowerCase();if(!I(jf)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=I(T0).getToken(),o=I(I0);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var Te=(()=>((Te=Te||{})[Te.Interceptors=0]="Interceptors",Te[Te.LegacyInterceptors=1]="LegacyInterceptors",Te[Te.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Te[Te.NoXsrfProtection=3]="NoXsrfProtection",Te[Te.JsonpSupport=4]="JsonpSupport",Te[Te.RequestsMadeViaParent=5]="RequestsMadeViaParent",Te))();function Ao(e,t){return{\u0275kind:e,\u0275providers:t}}function BP(...e){const t=[Tr,M0,E0,{provide:Dl,useExisting:E0},{provide:Lf,useExisting:M0},{provide:es,useValue:jP,multi:!0},{provide:jf,useValue:!0},{provide:T0,useClass:$P}];for(const n of e)t.push(...n.\u0275providers);return function sc(e){return{\u0275providers:e}}(t)}const A0=new R("LEGACY_INTERCEPTOR_FN");let zP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=Nt({providers:[BP(Ao(Te.LegacyInterceptors,[{provide:A0,useFactory:NP},{provide:es,useExisting:A0,multi:!0}]))]}),e})();function J(e,t,n){const r=ue(e)||t||n?{next:e,error:t,complete:n}:e;return r?Ue((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe($e(i,l=>{var u;null===(u=r.next)||void 0===u||u.call(r,l),i.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),i.complete()},l=>{var u;a=!1,null===(u=r.error)||void 0===u||u.call(r,l),i.error(l)},()=>{var l,u;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(u=r.finalize)||void 0===u||u.call(r)}))}):ar}function he(e){return Ue((t,n)=>{let i,r=null,o=!1;r=t.subscribe($e(n,void 0,void 0,s=>{i=Tt(e(s,he(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}const Ar_restServerUrl="https://tds.truyen.network";let No=(()=>{class e{constructor(){this.messages=[]}add(n){this.messages.push((new Date).toLocaleTimeString()+") "+n)}clear(){this.messages=[]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class mn{constructor(t,n){this.http=t,this.appMessageService=n,this.httpOptions={headers:new Ye({"Content-Type":"application/json",Accept:"application/json"})}}handleError(t="operation",n){return r=>(console.error(r),this.log(`Error @ ${t}: ${r.status} ${r.statusText}`),k(n))}log(t){this.appMessageService.add(`ChatMessagesService: ${t}`)}getChatMessages(){return this.http.get(mn.REST_URL,this.httpOptions).pipe(J(t=>this.log(`fetched ${t.length} messages`)),he(this.handleError("getChatMessages",[])))}addChatMessage(t,n){return this.http.post(mn.REST_URL,{author:t,text:n},this.httpOptions).pipe(J(o=>this.log(`added message w/ id=${o.id}`)),he(this.handleError("addChatMessage")))}}mn.REST_URL=Ar_restServerUrl+"/api/chat",mn.\u0275fac=function(t){return new(t||mn)(N(Tr),N(No))},mn.\u0275prov=O({token:mn,factory:mn.\u0275fac,providedIn:"root"});const Ro="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),Bf=Array.from({length:64},(e,t)=>t),El=e=>Array(e).fill(-1),rr=[...El(46),0,1,...Bf.slice(54,64),...El(7),...Bf.slice(2,28),...El(6),...Bf.slice(28,54),...El(5)],N0=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],R0=[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946,1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055,3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504,976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462],O0=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892],Uf=(e,t)=>{if(t<=0||t>e.length)throw Error(`Illegal len: ${t}`);let r,o,n=0;const i=[];for(;n>2&63]),r=(3&r)<<4,n>=t){i.push(Ro[63&r]);break}if(o=255&e[n++],r|=o>>4&15,i.push(Ro[63&r]),r=(15&o)<<2,n>=t){i.push(Ro[63&r]);break}o=255&e[n++],r|=o>>6&3,i.push(Ro[63&r]),i.push(Ro[63&o])}return i.join("")},bl="object"==typeof process&&"edge"===process.env.NEXT_RUNTIME?setTimeout:"function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:setTimeout,ns=(e,t,n,r)=>{let o,i=e[t],s=e[t+1];return i^=n[0],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^n[1],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^n[2],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^n[3],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^n[4],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^n[5],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^n[6],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^n[7],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^n[8],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^n[9],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^n[10],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^n[11],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^n[12],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^n[13],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^n[14],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^n[15],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^n[16],e[t]=s^n[17],e[t+1]=i,e},Oo=(e,t)=>{let n=0;for(let r=0;r<4;++r)n=n<<8|255&e[t],t=(t+1)%e.length;return{key:n,offp:t}},P0=(e,t,n)=>{const r=t.length,o=n.length;let a,i=0,s=[0,0];for(let l=0;l{const i=O0.slice(),s=i.length;if(n<4||n>31){const f=new Error(`Illegal number of rounds (4-31): ${n}`);if(!1===r)return Promise.reject(f);throw f}if(16!==t.length){const f=new Error(`Illegal salt length: ${t.length} != 16`);if(!1===r)return Promise.reject(f);throw f}n=1<>>0;let a,l,c,u=0;Int32Array?(a=new Int32Array(N0),l=new Int32Array(R0)):(a=N0.slice(),l=R0.slice()),((e,t,n,r)=>{const o=n.length,i=r.length;let l,s=0,a=[0,0];for(let u=0;u{if(o&&o(u/n),!(u>1;c++)ns(i,c<<1,a,l);const f=[];for(u=0;u>24&255)>>>0),f.push((i[u]>>16&255)>>>0),f.push((i[u]>>8&255)>>>0),f.push((255&i[u])>>>0);return!1===r?Promise.resolve(f):f}{const f=Date.now();for(;u100)););}if(!1===r)return new Promise(f=>bl(()=>{d().then(f)}))};if(!1===r)return d();{let f;for(;;)if(typeof(f=d())<"u")return f||[]}},zf=(e=10)=>{if("number"!=typeof e)throw Error("Illegal arguments: "+typeof e);e<4?e=4:e>31&&(e=31);const t=[];return t.push("$2a$"),e<10&&t.push("0"),t.push(e.toString()),t.push("$"),t.push(Uf((e=>{try{let t;t=typeof window<"u"?window.crypto??window.msCrypto:globalThis.crypto;const n=new Uint32Array(16);return t?.getRandomValues(n),Array.from(n)}catch{throw Error("WebCryptoAPI is not available")}})(),16)),t.join("")};const F0=(e,t=10)=>{if("number"==typeof t&&(t=zf(t)),"string"!=typeof e||"string"!=typeof t)throw Error("Illegal arguments: "+typeof e+", "+typeof t);return function Gf(e,t,n,r){if("string"!=typeof e||"string"!=typeof t){const h=new Error("Invalid string / salt: Not a string");if(!1===n)return Promise.reject(h);throw h}let o,i;if("$"!==t.charAt(0)||"2"!==t.charAt(1)){const h=new Error("Invalid salt version: "+t.substring(0,2));if(!1===n)return Promise.reject(h);throw h}if("$"===t.charAt(2))o="\0",i=3;else{if(o=t.charAt(2),"a"!==o&&"b"!==o&&"y"!==o||"$"!==t.charAt(3)){const h=Error("Invalid salt revision: "+t.substring(2,4));if(!1===n)return Promise.reject(h);throw h}i=4}if(t.charAt(i+2)>"$"){const h=new Error("Missing salt rounds");if(!1===n)return Promise.reject(h);throw h}const l=10*parseInt(t.substring(i,i+1),10)+parseInt(t.substring(i+1,i+2),10),u=t.substring(i+3,i+25),c=(e=>{const t=[];let n=0;return((e,t)=>{((e,t)=>{let n,r=null;for(;null!==(n=null!==r?r:e());)n>=55296&&n<=57343&&null!==(r=e())&&r>=56320&&r<=57343?(t(1024*(n-55296)+r-56320+65536),r=null):t(n);null!==r&&t(r)})(e,function(n){((e,t)=>{let n=null;for("number"==typeof e&&(n=e,e=()=>null);null!==n||null!==(n=e());)n<128?t(127&n):n<2048?(t(n>>6&31|192),t(63&n|128)):n<65536?(t(n>>12&15|224),t(n>>6&63|128),t(63&n|128)):(t(n>>18&7|240),t(n>>12&63|128),t(n>>6&63|128),t(63&n|128)),n=null})(n,t)})})(()=>n>=e.length?null:e.charCodeAt(n++),r=>{t.push(r)}),t})(e+=o>="a"?"\0":""),d=((e,t)=>{const n=e.length;let i,s,a,l,u,c,r=0,o=0;const d=[];for(;r>>0,u|=(48&s)>>4,d.push(String.fromCharCode(u)),++o>=16||r>=n)||(c=e.charCodeAt(r++),a=c>>0,u|=(60&a)>>2,d.push(String.fromCharCode(u)),++o>=16||r>=n)));)c=e.charCodeAt(r++),l=c>>0,u|=l,d.push(String.fromCharCode(u)),++o;return d.map(f=>f.charCodeAt(0))})(u),f=h=>{const p=[];return p.push("$2"),o>="a"&&p.push(o),p.push("$"),l<10&&p.push("0"),p.push(l.toString()),p.push("$"),p.push(Uf(d,d.length)),p.push(Uf(h,4*O0.length-1)),p.join("")};return!1===n?x0(c,d,l,!1,r).then(h=>f(h)):f(x0(c,d,l,!0,r))}(e,t,!0)};class Zt extends _n{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Wf(...e){const t=Wo(e),n=jh(e),{args:r,keys:o}=aD(e);if(0===r.length)return xe([],t);const i=new Me(function sx(e,t,n=ar){return r=>{k0(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const u=xe(e[l],t);let c=!1;u.subscribe($e(r,d=>{i[l]=d,c||(c=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>uD(o,s):ar));return n?i.pipe(lD(n)):i}function k0(e,t,n){e?Dn(n,e,t):t()}const Ml=Uo(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function qf(...e){return function ax(){return Fr(1)}()(xe(e,Wo(e)))}function L0(e){return new Me(t=>{Tt(e()).subscribe(t)})}function rs(e,t){const n=ue(e)?e:()=>e,r=o=>o.error(n());return new Me(t?o=>t.schedule(r,0,o):r)}function Zf(){return Ue((e,t)=>{let n=null;e._refCount++;const r=$e(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class V0 extends Me{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ih(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new It;const n=this.getSubject();t.add(this.source.subscribe($e(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=It.EMPTY)}return t}refCount(){return Zf()(this)}}function Po(e){return e<=0?()=>Qt:Ue((t,n)=>{let r=0;t.subscribe($e(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Sl(e){return Ue((t,n)=>{let r=!1;t.subscribe($e(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function H0(e=ux){return Ue((t,n)=>{let r=!1;t.subscribe($e(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function ux(){return new Ml}function Nr(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Vn((o,i)=>e(o,i,r)):ar,Po(1),n?Sl(t):H0(()=>new Ml))}function Yf(e){return e<=0?()=>Qt:Ue((t,n)=>{let r=[];t.subscribe($e(n,o=>{r.push(o),e{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Xf(e){return Ue((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const q="primary",os=Symbol("RouteTitle");class px{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function xo(e){return new px(e)}function gx(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.lengthr[i]===o)}return e===t}function j0(e){return e.length>0?e[e.length-1]:null}function or(e){return function ix(e){return!!e&&(e instanceof Me||ue(e.lift)&&ue(e.subscribe))}(e)?e:Oi(e)?xe(Promise.resolve(e)):k(e)}const yx={exact:function z0(e,t,n){if(!Rr(e.segments,t.segments)||!Il(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!z0(e.children[r],t.children[r],n))return!1;return!0},subset:G0},B0={exact:function vx(e,t){return yn(e,t)},subset:function Cx(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>$0(e[n],t[n]))},ignored:()=>!0};function U0(e,t,n){return yx[n.paths](e.root,t.root,n.matrixParams)&&B0[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function G0(e,t,n){return W0(e,t,t.segments,n)}function W0(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!Rr(o,n)||t.hasChildren()||!Il(o,n,r))}if(e.segments.length===n.length){if(!Rr(e.segments,n)||!Il(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!G0(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(Rr(e.segments,o)&&Il(e.segments,o,r)&&e.children[q])&&W0(e.children[q],t,i,r)}}function Il(e,t,n){return t.every((r,o)=>B0[n](e[o].parameters,r.parameters))}class Fo{constructor(t=new le([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=xo(this.queryParams)),this._queryParamMap}toString(){return wx.serialize(this)}}class le{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Tl(this)}}class is{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=xo(this.parameters)),this._parameterMap}toString(){return Y0(this)}}function Rr(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let ss=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return new Qf},providedIn:"root"}),e})();class Qf{parse(t){const n=new Px(t);return new Fo(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${as(t.root,!0)}`,r=function Mx(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${Al(n)}=${Al(o)}`).join("&"):`${Al(n)}=${Al(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function Ex(e){return encodeURI(e)}(t.fragment)}`:""}`}}const wx=new Qf;function Tl(e){return e.segments.map(t=>Y0(t)).join("/")}function as(e,t){if(!e.hasChildren())return Tl(e);if(t){const n=e.children[q]?as(e.children[q],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==q&&r.push(`${o}:${as(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function Dx(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===q&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==q&&(n=n.concat(t(o,r)))}),n}(e,(r,o)=>o===q?[as(e.children[q],!1)]:[`${o}:${as(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[q]?`${Tl(e)}/${n[0]}`:`${Tl(e)}/(${n.join("//")})`}}function q0(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Al(e){return q0(e).replace(/%3B/gi,";")}function Kf(e){return q0(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Nl(e){return decodeURIComponent(e)}function Z0(e){return Nl(e.replace(/\+/g,"%20"))}function Y0(e){return`${Kf(e.path)}${function bx(e){return Object.keys(e).map(t=>`;${Kf(t)}=${Kf(e[t])}`).join("")}(e.parameters)}`}const Sx=/^[^\/()?;#]+/;function Jf(e){const t=e.match(Sx);return t?t[0]:""}const Ix=/^[^\/()?;=#]+/,Ax=/^[^=?&#]+/,Rx=/^[^&#]+/;class Px{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new le([],{}):new le([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[q]=new le(t,n)),r}parseSegment(){const t=Jf(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new E(4009,!1);return this.capture(t),new is(Nl(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=function Tx(e){const t=e.match(Ix);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=Jf(this.remaining);o&&(r=o,this.capture(r))}t[Nl(n)]=Nl(r)}parseQueryParam(t){const n=function Nx(e){const t=e.match(Ax);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function Ox(e){const t=e.match(Rx);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=Z0(n),i=Z0(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Jf(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new E(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=q);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[q]:new le([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new E(4011,!1)}}function X0(e){return e.segments.length>0?new le([],{[q]:e}):e}function Q0(e){const t={};for(const r of Object.keys(e.children)){const i=Q0(e.children[r]);if(r===q&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function xx(e){if(1===e.numberOfChildren&&e.children[q]){const t=e.children[q];return new le(e.segments.concat(t.segments),t.children)}return e}(new le(e.segments,t))}function Or(e){return e instanceof Fo}function K0(e){let t;const o=X0(function n(i){const s={};for(const l of i.children){const u=n(l);s[l.outlet]=u}const a=new le(i.url,s);return i===e&&(t=a),a}(e.root));return t??o}function J0(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(0===t.length)return eh(o,o,o,n,r);const i=function kx(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new tw(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([l,u])=>{a[l]="string"==typeof u?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new tw(n,t,r)}(t);if(i.toRoot())return eh(o,o,new le([],{}),n,r);const s=function Lx(e,t,n){if(e.isAbsolute)return new Ol(t,!0,0);if(!n)return new Ol(t,!1,NaN);if(null===n.parent)return new Ol(n,!0,0);const r=Rl(e.commands[0])?0:1;return function Vx(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new E(4005,!1);o=r.segments.length}return new Ol(r,!1,o-i)}(n,n.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?us(s.segmentGroup,s.index,i.commands):nw(s.segmentGroup,s.index,i.commands);return eh(o,s.segmentGroup,a,n,r)}function Rl(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function ls(e){return"object"==typeof e&&null!=e&&e.outlets}function eh(e,t,n,r,o){let s,i={};r&&Object.entries(r).forEach(([l,u])=>{i[l]=Array.isArray(u)?u.map(c=>`${c}`):`${u}`}),s=e===t?n:ew(e,t,n);const a=X0(Q0(s));return new Fo(a,i,o)}function ew(e,t,n){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===t?n:ew(i,t,n)}),new le(e.segments,r)}class tw{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Rl(r[0]))throw new E(4003,!1);const o=r.find(ls);if(o&&o!==j0(r))throw new E(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ol{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function nw(e,t,n){if(e||(e=new le([],{})),0===e.segments.length&&e.hasChildren())return us(e,t,n);const r=function $x(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;const s=e.segments[o],a=n[r];if(ls(a))break;const l=`${a}`,u=r0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!ow(l,u,s))return i;r+=2}else{if(!ow(l,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=nw(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new le(e.segments,o)}}function th(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof r&&(r=[r]),null!==r&&(t[n]=th(new le([],{}),0,r))}),t}function rw(e){const t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function ow(e,t,n){return e==n.path&&yn(t,n.parameters)}const cs="imperative";class vn{constructor(t,n){this.id=t,this.url=n}}class nh extends vn{constructor(t,n,r="imperative",o=null){super(t,n),this.type=0,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Pr extends vn{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Pl extends vn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ds extends vn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=16}}class rh extends vn{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Bx extends vn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ux extends vn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zx extends vn{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Gx extends vn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wx extends vn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qx{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Zx{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Yx{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Xx{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qx{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Kx{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class iw{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Jx{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new fs,this.attachRef=null}}let fs=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Jx,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class sw{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=oh(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=oh(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=ih(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return ih(t,this._root).map(n=>n.value)}}function oh(e,t){if(e===t.value)return t;for(const n of t.children){const r=oh(e,n);if(r)return r}return null}function ih(e,t){if(e===t.value)return[t];for(const n of t.children){const r=ih(e,n);if(r.length)return r.unshift(t),r}return[]}class Hn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function ko(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class aw extends sw{constructor(t,n){super(t),this.snapshot=n,sh(this,t)}toString(){return this.snapshot.toString()}}function lw(e,t){const n=function eF(e,t){const s=new xl([],{},{},"",{},q,t,null,{});return new cw("",new Hn(s,[]))}(0,t),r=new Zt([new is("",{})]),o=new Zt({}),i=new Zt({}),s=new Zt({}),a=new Zt(""),l=new $n(r,o,s,a,i,q,t,n.root);return l.snapshot=n.root,new aw(new Hn(l,[]),n)}class $n{constructor(t,n,r,o,i,s,a,l){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(te(u=>u[os]))??k(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}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._paramMap=this.params.pipe(te(t=>xo(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(te(t=>xo(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function uw(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const o=n[r],i=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function tF(e){return e.reduce((t,n)=>({params:{...t.params,...n.params},data:{...t.data,...n.data},resolve:{...n.data,...t.resolve,...n.routeConfig?.data,...n._resolvedData}}),{params:{},data:{},resolve:{}})}(n.slice(r))}class xl{get title(){return this.data?.[os]}constructor(t,n,r,o,i,s,a,l,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=u}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._paramMap=xo(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=xo(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class cw extends sw{constructor(t,n){super(n),this.url=t,sh(this,n)}toString(){return dw(this._root)}}function sh(e,t){t.value._routerState=e,t.children.forEach(n=>sh(e,n))}function dw(e){const t=e.children.length>0?` { ${e.children.map(dw).join(", ")} } `:"";return`${e.value}${t}`}function ah(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,yn(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),yn(t.params,n.params)||e.paramsSubject.next(n.params),function mx(e,t){if(e.length!==t.length)return!1;for(let n=0;nyn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||lh(e.parent,t.parent))}let uh=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=q,this.activateEvents=new be,this.deactivateEvents=new be,this.attachEvents=new be,this.detachEvents=new be,this.parentContexts=I(fs),this.location=I(Ut),this.changeDetector=I(Wa),this.environmentInjector=I(sn),this.inputBinder=I(Fl,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new E(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new E(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new E(4012,!1);this.location.detach();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new E(4013,!1);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new nF(n,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=j({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ot]}),e})();class nF{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===$n?this.route:t===fs?this.childContexts:this.parent.get(t,n)}}const Fl=new R("");let fw=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){const{activatedRoute:r}=n,o=Wf([r.queryParams,r.params,r.data]).pipe(gn(([i,s,a],l)=>(a={...i,...s,...a},0===l?k(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(n);const s=function qN(e){const t=ne(e);if(!t)return null;const n=new Ii(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone}}}(r.component);if(s)for(const{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a]);else this.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,o)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();function hs(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function oF(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return hs(e,r,o);return hs(e,r)})}(e,t,n);return new Hn(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>hs(e,a)),s}}const r=function iF(e){return new $n(new Zt(e.url),new Zt(e.params),new Zt(e.queryParams),new Zt(e.fragment),new Zt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>hs(e,i));return new Hn(r,o)}}const ch="ngNavigationCancelingError";function hw(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=Or(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=pw(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function pw(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[ch]=!0,r.cancellationCode=t,n&&(r.url=n),r}function gw(e){return mw(e)&&Or(e.url)}function mw(e){return e&&e[ch]}let yw=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Rt({type:e,selectors:[["ng-component"]],standalone:!0,features:[jv],decls:1,vars:0,template:function(n,r){1&n&&ie(0,"router-outlet")},dependencies:[uh],encapsulation:2}),e})();function dh(e){const t=e.children&&e.children.map(dh),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==q&&(n.component=yw),n}function Yt(e){return e.outlet||q}function ps(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class fF{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),ah(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=ko(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=ko(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=ko(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){const o=ko(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Kx(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Xx(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(ah(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.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),ah(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=ps(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class vw{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class kl{constructor(t,n){this.component=t,this.route=n}}function hF(e,t,n){const r=e._root;return gs(r,t?t._root:null,n,[r.value])}function Lo(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function O1(e){return null!==Es(e)}(e)?t.get(e):e:r}function gs(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=ko(t);return e.children.forEach(s=>{(function gF(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const l=function mF(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Rr(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Rr(e.url,t.url)||!yn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!lh(e,t)||!yn(e.queryParams,t.queryParams);default:return!lh(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new vw(r)):(i.data=s.data,i._resolvedData=s._resolvedData),gs(e,t,i.component?a?a.children:null:n,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new kl(a.outlet.component,s))}else s&&ms(t,a,o),o.canActivateChecks.push(new vw(r)),gs(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>ms(a,n.getContext(s),o)),o}function ms(e,t,n){const r=ko(e),o=e.value;Object.entries(r).forEach(([i,s])=>{ms(s,o.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new kl(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function ys(e){return"function"==typeof e}function Cw(e){return e instanceof Ml||"EmptyError"===e?.name}const Ll=Symbol("INITIAL_VALUE");function Vo(){return gn(e=>Wf(e.map(t=>t.pipe(Po(1),function lx(...e){const t=Wo(e);return Ue((n,r)=>{(t?qf(e,n,t):qf(e,n)).subscribe(r)})}(Ll)))).pipe(te(t=>{for(const n of t)if(!0!==n){if(n===Ll)return Ll;if(!1===n||n instanceof Fo)return n}return!0}),Vn(t=>t!==Ll),Po(1)))}function _w(e){return function Qw(...e){return bh(e)}(J(t=>{if(Or(t))throw hw(0,t)}),te(t=>!0===t))}class Vl{constructor(t){this.segmentGroup=t||null}}class Dw{constructor(t){this.urlTree=t}}function Ho(e){return rs(new Vl(e))}function ww(e){return rs(new Dw(e))}class kF{constructor(t,n){this.urlSerializer=t,this.urlTree=n}noMatchError(t){return new E(4002,!1)}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return k(r);if(o.numberOfChildren>1||!o.children[q])return rs(new E(4e3,!1));o=o.children[q]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new Fo(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Object.entries(t).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Object.entries(n.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(t,l,r,o)}),new le(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new E(4001,!1);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}const fh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function LF(e,t,n,r,o){const i=hh(e,t,n);return i.matched?(r=function sF(e,t){return e.providers&&!e._injector&&(e._injector=ld(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,r),function PF(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?k(o.map(s=>{const a=Lo(s,e);return or(function wF(e){return e&&ys(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(Vo(),_w()):k(!0)}(r,t,n).pipe(te(s=>!0===s?i:{...fh}))):k(i)}function hh(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...fh}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||gx)(n,e,t);if(!o)return{...fh};const i={};Object.entries(o.posParams??{}).forEach(([a,l])=>{i[a]=l.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function Ew(e,t,n,r){return n.length>0&&function $F(e,t,n){return n.some(r=>Hl(e,t,r)&&Yt(r)!==q)}(e,n,r)?{segmentGroup:new le(t,HF(r,new le(n,e.children))),slicedSegments:[]}:0===n.length&&function jF(e,t,n){return n.some(r=>Hl(e,t,r))}(e,n,r)?{segmentGroup:new le(e.segments,VF(e,0,n,r,e.children)),slicedSegments:n}:{segmentGroup:new le(e.segments,e.children),slicedSegments:n}}function VF(e,t,n,r,o){const i={};for(const s of r)if(Hl(e,n,s)&&!o[Yt(s)]){const a=new le([],{});i[Yt(s)]=a}return{...o,...i}}function HF(e,t){const n={};n[q]=t;for(const r of e)if(""===r.path&&Yt(r)!==q){const o=new le([],{});n[Yt(r)]=o}return n}function Hl(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}class GF{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new kF(this.urlSerializer,this.urlTree)}noMatchError(t){return new E(4002,!1)}recognize(){const t=Ew(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,q).pipe(he(n=>{if(n instanceof Dw)return this.allowRedirects=!1,this.urlTree=n.urlTree,this.match(n.urlTree);throw n instanceof Vl?this.noMatchError(n):n}),te(n=>{const r=new xl([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},q,this.rootComponentType,null,{}),o=new Hn(r,n),i=new cw("",o),s=function Fx(e,t,n=null,r=null){return J0(K0(e),t,n,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t.root,q).pipe(he(r=>{throw r instanceof Vl?this.noMatchError(r):r}))}inheritParamsAndData(t){const n=t.value,r=uw(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o,!0)}processChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return xe(o).pipe(Io(i=>{const s=r.children[i],a=function cF(e,t){const n=e.filter(r=>Yt(r)===t);return n.push(...e.filter(r=>Yt(r)!==t)),n}(n,i);return this.processSegmentGroup(t,a,s,i)}),function dx(e,t){return Ue(function cx(e,t,n,r,o){return(i,s)=>{let a=n,l=t,u=0;i.subscribe($e(s,c=>{const d=u++;l=a?e(l,c,d):(a=!0,c),r&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}(e,t,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),Sl(null),function fx(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Vn((o,i)=>e(o,i,r)):ar,Yf(1),n?Sl(t):H0(()=>new Ml))}(),ze(i=>{if(null===i)return Ho(r);const s=bw(i);return function WF(e){e.sort((t,n)=>t.value.outlet===q?-1:n.value.outlet===q?1:t.value.outlet.localeCompare(n.value.outlet))}(s),k(s)}))}processSegment(t,n,r,o,i,s){return xe(n).pipe(Io(a=>this.processSegmentAgainstRoute(a._injector??t,n,a,r,o,i,s).pipe(he(l=>{if(l instanceof Vl)return k(null);throw l}))),Nr(a=>!!a),he(a=>{if(Cw(a))return function UF(e,t,n){return 0===t.length&&!e.children[n]}(r,o,i)?k([]):Ho(r);throw a}))}processSegmentAgainstRoute(t,n,r,o,i,s,a){return function BF(e,t,n,r){return!!(Yt(e)===r||r!==q&&Hl(t,n,e))&&("**"===e.path||hh(t,e,n).matched)}(r,o,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,o,r,i,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s):Ho(o):Ho(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o){const i=this.applyRedirects.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?ww(i):this.applyRedirects.lineralizeSegments(r,i).pipe(ze(s=>{const a=new le(s,{});return this.processSegment(t,n,a,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:l,remainingSegments:u,positionalParamSegments:c}=hh(n,o,i);if(!a)return Ho(n);const d=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,c);return o.redirectTo.startsWith("/")?ww(d):this.applyRedirects.lineralizeSegments(o,d).pipe(ze(f=>this.processSegment(t,r,n,f.concat(u),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a;if("**"===r.path){const l=o.length>0?j0(o).parameters:{};a=k({snapshot:new xl(o,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Mw(r),Yt(r),r.component??r._loadedComponent??null,r,Sw(r)),consumedSegments:[],remainingSegments:[]}),n.children={}}else a=LF(n,r,o,t).pipe(te(({matched:l,consumedSegments:u,remainingSegments:c,parameters:d})=>l?{snapshot:new xl(u,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Mw(r),Yt(r),r.component??r._loadedComponent??null,r,Sw(r)),consumedSegments:u,remainingSegments:c}:null));return a.pipe(gn(l=>null===l?Ho(n):this.getChildConfig(t=r._injector??t,r,o).pipe(gn(({routes:u})=>{const c=r._loadedInjector??t,{snapshot:d,consumedSegments:f,remainingSegments:h}=l,{segmentGroup:p,slicedSegments:m}=Ew(n,f,h,u);if(0===m.length&&p.hasChildren())return this.processChildren(c,u,p).pipe(te(b=>null===b?null:[new Hn(d,b)]));if(0===u.length&&0===m.length)return k([new Hn(d,[])]);const C=Yt(r)===i;return this.processSegment(c,u,p,m,C?q:i,!0).pipe(te(b=>[new Hn(d,b)]))}))))}getChildConfig(t,n,r){return n.children?k({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?k({routes:n._loadedRoutes,injector:n._loadedInjector}):function OF(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?k(!0):k(o.map(s=>{const a=Lo(s,e);return or(function vF(e){return e&&ys(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(Vo(),_w())}(t,n,r).pipe(ze(o=>o?this.configLoader.loadChildren(t,n).pipe(J(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function FF(e){return rs(pw(!1,3))}())):k({routes:[],injector:t})}}function qF(e){const t=e.value.routeConfig;return t&&""===t.path}function bw(e){const t=[],n=new Set;for(const r of e){if(!qF(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=bw(r.children);t.push(new Hn(r.value,o))}return t.filter(r=>!n.has(r))}function Mw(e){return e.data||{}}function Sw(e){return e.resolve||{}}function Iw(e){return"string"==typeof e.title||null===e.title}function ph(e){return gn(t=>{const n=e(t);return n?xe(n).pipe(te(()=>t)):k(t)})}const $o=new R("ROUTES");let gh=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=I(NC)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return k(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=or(n.loadComponent()).pipe(te(Tw),J(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),Xf(()=>{this.componentLoaders.delete(n)})),o=new V0(r,()=>new _n).pipe(Zf());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return k({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(te(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,u;return Array.isArray(a)?u=a:(l=a.create(n).injector,u=l.get($o,[],V.Self|V.Optional).flat()),{routes:u.map(dh),injector:l}}),Xf(()=>{this.childrenLoaders.delete(r)})),s=new V0(i,()=>new _n).pipe(Zf());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(n){return or(n()).pipe(te(Tw),ze(r=>r instanceof Hv||Array.isArray(r)?k(r):xe(this.compiler.compileModuleAsync(r))))}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Tw(e){return function ek(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let $l=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new _n,this.configLoader=I(gh),this.environmentInjector=I(sn),this.urlSerializer=I(ss),this.rootContexts=I(fs),this.inputBindingEnabled=null!==I(Fl,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>k(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new Zx(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new qx(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n){return this.transitions=new Zt({id:0,currentUrlTree:n.currentUrlTree,currentRawUrl:n.currentUrlTree,extractedUrl:n.urlHandlingStrategy.extract(n.currentUrlTree),urlAfterRedirects:n.urlHandlingStrategy.extract(n.currentUrlTree),rawUrl:n.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:cs,restoredState:null,currentSnapshot:n.routerState.snapshot,targetSnapshot:null,currentRouterState:n.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Vn(r=>0!==r.id),te(r=>({...r,extractedUrl:n.urlHandlingStrategy.extract(r.rawUrl)})),gn(r=>{let o=!1,i=!1;return k(r).pipe(J(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),gn(s=>{const a=n.browserUrlTree.toString(),l=!n.navigated||s.extractedUrl.toString()!==a||a!==n.currentUrlTree.toString();if(!l&&"reload"!==(s.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const c="";return this.events.next(new ds(s.id,n.serializeUrl(r.rawUrl),c,0)),n.rawUrlTree=s.rawUrl,s.resolve(null),Qt}if(n.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return Aw(s.source)&&(n.browserUrlTree=s.extractedUrl),k(s).pipe(gn(c=>{const d=this.transitions?.getValue();return this.events.next(new nh(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),d!==this.transitions?.getValue()?Qt:Promise.resolve(c)}),function ZF(e,t,n,r,o,i){return ze(s=>function zF(e,t,n,r,o,i,s="emptyOnly"){return new GF(e,t,n,r,o,s,i).recognize()}(e,t,n,r,s.extractedUrl,o,i).pipe(te(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),J(c=>{if(r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:c.urlAfterRedirects},"eager"===n.urlUpdateStrategy){if(!c.extras.skipLocationChange){const f=n.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl);n.setBrowserUrl(f,c)}n.browserUrlTree=c.urlAfterRedirects}const d=new Bx(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}));if(l&&n.urlHandlingStrategy.shouldProcessUrl(n.rawUrlTree)){const{id:c,extractedUrl:d,source:f,restoredState:h,extras:p}=s,m=new nh(c,this.urlSerializer.serialize(d),f,h);this.events.next(m);const C=lw(0,this.rootComponentType).snapshot;return k(r={...s,targetSnapshot:C,urlAfterRedirects:d,extras:{...p,skipLocationChange:!1,replaceUrl:!1}})}{const c="";return this.events.next(new ds(s.id,n.serializeUrl(r.extractedUrl),c,1)),n.rawUrlTree=s.rawUrl,s.resolve(null),Qt}}),J(s=>{const a=new Ux(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),te(s=>r={...s,guards:hF(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function bF(e,t){return ze(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?k({...n,guardsResult:!0}):function MF(e,t,n,r){return xe(e).pipe(ze(o=>function RF(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?k(i.map(a=>{const l=ps(t)??o,u=Lo(a,l);return or(function DF(e){return e&&ys(e.canDeactivate)}(u)?u.canDeactivate(e,t,n,r):l.runInContext(()=>u(e,t,n,r))).pipe(Nr())})).pipe(Vo()):k(!0)}(o.component,o.route,n,t,r)),Nr(o=>!0!==o,!0))}(s,r,o,e).pipe(ze(a=>a&&function yF(e){return"boolean"==typeof e}(a)?function SF(e,t,n,r){return xe(t).pipe(Io(o=>qf(function TF(e,t){return null!==e&&t&&t(new Yx(e)),k(!0)}(o.route.parent,r),function IF(e,t){return null!==e&&t&&t(new Qx(e)),k(!0)}(o.route,r),function NF(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function pF(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>L0(()=>k(s.guards.map(l=>{const u=ps(s.node)??n,c=Lo(l,u);return or(function _F(e){return e&&ys(e.canActivateChild)}(c)?c.canActivateChild(r,e):u.runInContext(()=>c(r,e))).pipe(Nr())})).pipe(Vo())));return k(i).pipe(Vo())}(e,o.path,n),function AF(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return k(!0);const o=r.map(i=>L0(()=>{const s=ps(t)??n,a=Lo(i,s);return or(function CF(e){return e&&ys(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(Nr())}));return k(o).pipe(Vo())}(e,o.route,n))),Nr(o=>!0!==o,!0))}(r,i,e,t):k(a)),te(a=>({...n,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),J(s=>{if(r.guardsResult=s.guardsResult,Or(s.guardsResult))throw hw(0,s.guardsResult);const a=new zx(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),Vn(s=>!!s.guardsResult||(n.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),ph(s=>{if(s.guards.canActivateChecks.length)return k(s).pipe(J(a=>{const l=new Gx(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),gn(a=>{let l=!1;return k(a).pipe(function YF(e,t){return ze(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return k(n);let i=0;return xe(o).pipe(Io(s=>function XF(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!Iw(o)&&(i[os]=o.title),function QF(e,t,n,r){const o=function KF(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return k({});const i={};return xe(o).pipe(ze(s=>function JF(e,t,n,r){const o=ps(t)??r,i=Lo(e,o);return or(i.resolve?i.resolve(t,n):o.runInContext(()=>i(t,n)))}(e[s],t,n,r).pipe(Nr(),J(a=>{i[s]=a}))),Yf(1),function hx(e){return te(()=>e)}(i),he(s=>Cw(s)?Qt:rs(s)))}(i,e,t,r).pipe(te(s=>(e._resolvedData=s,e.data=uw(e,n).resolve,o&&Iw(o)&&(e.data[os]=o.title),null)))}(s.route,r,e,t)),J(()=>i++),Yf(1),ze(s=>i===o.length?k(n):Qt))})}(n.paramsInheritanceStrategy,this.environmentInjector),J({next:()=>l=!0,complete:()=>{l||(n.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),J(a=>{const l=new Wx(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),ph(s=>{const a=l=>{const u=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(l.routeConfig).pipe(J(c=>{l.component=c}),te(()=>{})));for(const c of l.children)u.push(...a(c));return u};return Wf(a(s.targetSnapshot.root)).pipe(Sl(),Po(1))}),ph(()=>this.afterPreactivation()),te(s=>{const a=function rF(e,t,n){const r=hs(e,t._root,n?n._root:void 0);return new aw(r,t)}(n.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return r={...s,targetRouterState:a}}),J(s=>{n.currentUrlTree=s.urlAfterRedirects,n.rawUrlTree=n.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),n.routerState=s.targetRouterState,"deferred"===n.urlUpdateStrategy&&(s.extras.skipLocationChange||n.setBrowserUrl(n.rawUrlTree,s),n.browserUrlTree=s.urlAfterRedirects)}),((e,t,n,r)=>te(o=>(new fF(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)))(this.rootContexts,n.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),Po(1),J({next:s=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,n.navigated=!0,this.events.next(new Pr(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(n.currentUrlTree))),n.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{o=!0}}),Xf(()=>{o||i||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),he(s=>{if(i=!0,mw(s)){gw(s)||(n.navigated=!0,n.restoreHistory(r,!0));const a=new Pl(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),gw(s)){const l=n.urlHandlingStrategy.merge(s.url,n.rawUrlTree),u={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===n.urlUpdateStrategy||Aw(r.source)};n.scheduleNavigation(l,cs,null,u,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{n.restoreHistory(r,!0);const a=new rh(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);this.events.next(a);try{r.resolve(n.errorHandler(s))}catch(l){r.reject(l)}}return Qt}))}))}cancelNavigationTransition(n,r,o){const i=new Pl(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Aw(e){return e!==cs}let Nw=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===q);return r}getResolvedTitleForRoute(n){return n.data[os]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return I(tk)},providedIn:"root"}),e})(),tk=(()=>{class e extends Nw{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}}return e.\u0275fac=function(n){return new(n||e)(N(rD))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),nk=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return I(ok)},providedIn:"root"}),e})();class rk{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let ok=(()=>{class e extends rk{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=qe(e)))(r||e)}}(),e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const jl=new R("",{providedIn:"root",factory:()=>({})});let ik=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return I(sk)},providedIn:"root"}),e})(),sk=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var St=(()=>((St=St||{})[St.COMPLETE=0]="COMPLETE",St[St.FAILED=1]="FAILED",St[St.REDIRECTING=2]="REDIRECTING",St))();function Rw(e,t){e.events.pipe(Vn(n=>n instanceof Pr||n instanceof Pl||n instanceof rh||n instanceof ds),te(n=>n instanceof Pr||n instanceof ds?St.COMPLETE:n instanceof Pl&&(0===n.code||1===n.code)?St.REDIRECTING:St.FAILED),Vn(n=>n!==St.REDIRECTING),Po(1)).subscribe(()=>{t()})}function ak(e){throw e}function lk(e,t,n){return t.parse("/")}const uk={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ck={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Be=(()=>{class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=I(AC),this.isNgZoneEnabled=!1,this.options=I(jl,{optional:!0})||{},this.pendingTasks=I(f_),this.errorHandler=this.options.errorHandler||ak,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||lk,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=I(ik),this.routeReuseStrategy=I(nk),this.titleStrategy=I(Nw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=I($o,{optional:!0})?.flat()??[],this.navigationTransitions=I($l),this.urlSerializer=I(ss),this.location=I(Wd),this.componentInputBindingEnabled=!!I(Fl,{optional:!0}),this.isNgZoneEnabled=I(ve)instanceof ve&&ve.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Fo,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=lw(0,null),this.navigationTransitions.setupNavigations(this).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId??0},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),cs,n)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(n.url,r,n.state)},0)}))}navigateToSyncWithBrowser(n,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const l={...o};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(i.state=l)}const a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(dh),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,u=l?this.currentUrlTree.fragment:s;let d,c=null;switch(a){case"merge":c={...this.currentUrlTree.queryParams,...i};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}null!==c&&(c=this.removeEmptyProps(c));try{d=K0(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),d=this.currentUrlTree.root}return J0(d,n,c,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=Or(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,cs,null,r)}navigate(n,r={skipLocationChange:!1}){return function dk(e){for(let t=0;t{const i=n[o];return null!=i&&(r[o]=i),r},{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,l,u;s?(a=s.resolve,l=s.reject,u=s.promise):u=new Promise((d,f)=>{a=d,l=f});const c=this.pendingTasks.add();return Rw(this,()=>{Promise.resolve().then(()=>this.pendingTasks.remove(c))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,(this.browserPageId??0)+1)};this.location.go(o,"",i)}}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-(this.browserPageId??this.currentPageId);0!==i?this.location.historyGo(i):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===i&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),jo=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new _n;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof Pr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(n){this._preserveFragment=bo(n)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(n){this._skipLocationChange=bo(n)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(n){this._replaceUrl=bo(n)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,i,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const n=null===this.href?null:function Jg(e,t,n){return function OM(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Kg:ic}(t,n)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,r){const o=this.renderer,i=this.el.nativeElement;null!==r?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return e.\u0275fac=function(n){return new(n||e)(_(Be),_($n),function qs(e){return function tb(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o{class e{get isActive(){return this._isActive}constructor(n,r,o,i,s){this.router=n,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new be,this.routerEventsSubscription=n.events.subscribe(a=>{a instanceof Pr&&this.update()})}ngAfterContentInit(){k(this.links.changes,k(null)).pipe(Fr()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=xe(n).pipe(Fr()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){const r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const n=this.hasActiveLinks();this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),n&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(n))})}isLinkActive(n){const r=function fk(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>!!o.urlTree&&n.isActive(o.urlTree,r)}hasActiveLinks(){const n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}}return e.\u0275fac=function(n){return new(n||e)(_(Be),_(Et),_(An),_(Wa),_(jo,8))},e.\u0275dir=j({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,r,o){if(1&n&&function uC(e,t,n,r){const o=K();if(o.firstCreatePass){const i=We();dC(o,new aC(t,n,r),i.index),function P2(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}cC(o,D(),n)}(o,jo,5),2&n){let i;ja(i=Ba())&&(r.links=i)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Ot]}),e})();class Pw{}let hk=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Vn(n=>n instanceof Pr),Io(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=ld(i.providers,n,`Route: ${i.path}`));const s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return xe(o).pipe(Fr())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):k(null);const i=o.pipe(ze(s=>null===s?k(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?xe([i,this.loader.loadComponent(r)]).pipe(Fr()):i})}}return e.\u0275fac=function(n){return new(n||e)(N(Be),N(NC),N(sn),N(Pw),N(gh))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const mh=new R("");let xw=(()=>{class e{constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof nh?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Pr?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof ds&&0===n.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof iw&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new iw(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return e.\u0275fac=function(n){!function Pm(){throw new Error("invalid")}()},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();function jn(e,t){return{\u0275kind:e,\u0275providers:t}}function kw(){const e=I(an);return t=>{const n=e.get(Eo);if(t!==n.components[0])return;const r=e.get(Be),o=e.get(Lw);1===e.get(yh)&&r.initialNavigation(),e.get(Vw,null,V.Optional)?.setUpPreloading(),e.get(mh,null,V.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const Lw=new R("",{factory:()=>new _n}),yh=new R("",{providedIn:"root",factory:()=>1}),Vw=new R("");function yk(e){return jn(0,[{provide:Vw,useExisting:hk},{provide:Pw,useExisting:e}])}const Hw=new R("ROUTER_FORROOT_GUARD"),Ck=[Wd,{provide:ss,useClass:Qf},Be,fs,{provide:$n,useFactory:function Fw(e){return e.routerState.root},deps:[Be]},gh,[]];function _k(){return new jC("Router",Be)}let $w=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[Ck,[],{provide:$o,multi:!0,useValue:n},{provide:Hw,useFactory:bk,deps:[[Be,new Xs,new Qs]]},{provide:jl,useValue:r||{}},r?.useHash?{provide:Qn,useClass:y_}:{provide:Qn,useClass:m_},{provide:mh,useFactory:()=>{const e=I(h3),t=I(ve),n=I(jl),r=I($l),o=I(ss);return n.scrollOffset&&e.setOffset(n.scrollOffset),new xw(o,r,e,t,n)}},r?.preloadingStrategy?yk(r.preloadingStrategy).\u0275providers:[],{provide:jC,multi:!0,useFactory:_k},r?.initialNavigation?Mk(r):[],r?.bindToComponentInputs?jn(8,[fw,{provide:Fl,useExisting:fw}]).\u0275providers:[],[{provide:jw,useFactory:kw},{provide:Fd,multi:!0,useExisting:jw}]]}}static forChild(n){return{ngModule:e,providers:[{provide:$o,multi:!0,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)(N(Hw,8))},e.\u0275mod=Vt({type:e}),e.\u0275inj=Nt({}),e})();function bk(e){return"guarded"}function Mk(e){return["disabled"===e.initialNavigation?jn(3,[{provide:Sd,multi:!0,useFactory:()=>{const t=I(Be);return()=>{t.setUpLocationChangeListener()}}},{provide:yh,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?jn(2,[{provide:yh,useValue:0},{provide:Sd,multi:!0,deps:[an],useFactory:t=>{const n=t.get(XN,Promise.resolve());return()=>n.then(()=>new Promise(r=>{const o=t.get(Be),i=t.get(Lw);Rw(o,()=>{r(!0)}),t.get($l).afterPreactivation=()=>(r(!0),i.closed?k(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const jw=new R("");class tt{constructor(t,n,r){this.http=t,this.router=n,this.appMessageService=r,this.authenticated=!1,this.credentials={username:"",password:""},this.authority="none",this.httpOptions={headers:new Ye({"Content-Type":"application/json",Accept:"application/json"})}}handleError(t="operation",n){return r=>(console.error(r),this.log(`Error @ ${t}: ${r.status} ${r.statusText}`),r)}log(t){this.appMessageService.add(`LoginService: ${t}`)}isAuthenticated(){return this.authenticated}getAuthorizationToken(){return`Basic ${window.btoa(this.credentials.username+":"+this.credentials.password)}`}getUsername(){return this.credentials.username}getAuthority(){return this.authority}authenticate(t){this.log(`Authenticating: ${t.username}`),this.credentials=t;const n=new Ye({"Content-Type":"application/json",Accept:"application/json",Authorization:this.getAuthorizationToken()});return this.http.get(tt.REST_URL,{headers:n}).pipe(J(r=>this.authorizationRecieved(r)),he(this.handleError("authenticate")))}logout(){this.authenticated=!1,this.log("Logged out"),this.router.navigateByUrl("/").then(()=>{})}authorizationRecieved(t){if(this.authenticated=!0,t.authorities){let n=t.authorities[0].authority;n=n.substring(n.indexOf("_")+1),this.authority=n}this.log(`Authenticated '${t.name}' as '${this.authority}'`),console.log(`Authenticated as ${JSON.stringify(t)}`)}changePassword(t){this.log("Changing password.");const n=zf(10),r=F0(t,n);let o={};return o.username=this.credentials.username,o.password=r,this.http.post(tt.REST_URL,o,this.httpOptions).pipe(J(i=>this.authorizationRecieved(i)),he(this.handleError("changePassword")))}}tt.REST_URL=Ar_restServerUrl+"/api/user",tt.\u0275fac=function(t){return new(t||tt)(N(Tr),N(Be),N(No))},tt.\u0275prov=O({token:tt,factory:tt.\u0275fac,providedIn:"root"});const Ik=["scrollMe"];function Tk(e,t){if(1&e&&(y(0,"li")(1,"div",8)(2,"span",9),w(3),v(),y(4,"span",10),w(5),wr(6,"date"),v(),y(7,"span",11),w(8),v()(),y(9,"span",12),w(10),v()()),2&e){const n=t.$implicit;M(3),me(n.id),M(2),me(Er(6,4,n.dateCreated,"dd-MM-yyyy HH:mm:ss")),M(3),me(n.author),M(2),me(n.text)}}function Ak(e,t){if(1&e&&(y(0,"ul",5,6),On(2,Tk,11,7,"li",7),v()),2&e){const n=Pi();M(2),x("ngForOf",n.messages)}}let vh=(()=>{class e{constructor(n,r){this.chatService=n,this.loginService=r,this.disableScrollDown=!1,this.messages=[],this.newMessage="",this.message=""}getChatMessages(){this.message="Loading chat ...",this.chatService.getChatMessages().subscribe({next:n=>{this.messages=n,this.scrollToBottom(),this.message="Loaded chat."},error:n=>this.message=`Error loading chat: ${n}`})}ngOnInit(){this.loginService.isAuthenticated()&&this.getChatMessages()}sendMessage(){this.message="Sending message ...",this.chatService.addChatMessage(this.loginService.getUsername(),this.newMessage).subscribe({next:n=>{this.messages.push(n),this.message="Send OK.",this.disableScrollDown=!1,this.scrollToBottom()},error:n=>this.message=`Error loading chat: ${n}`}),this.newMessage=""}ngAfterViewChecked(){this.scrollToBottom()}scrollToBottom(){try{this.myScrollContainer.nativeElement.scrollTop=this.myScrollContainer.nativeElement.scrollHeight}catch{}}}return e.\u0275fac=function(n){return new(n||e)(_(mn),_(tt))},e.\u0275cmp=Rt({type:e,selectors:[["app-chat"]],viewQuery:function(n,r){if(1&n&&_d(Ik,5),2&n){let o;ja(o=Ba())&&(r.myScrollContainer=o.first)}},decls:9,vars:4,consts:[[3,"hidden"],["class","chat",4,"ngIf"],[1,"input"],["id","message-text","placeholder","hello",3,"ngModel","ngModelChange","keydown.enter"],[3,"click"],[1,"chat"],["scrollMe",""],[4,"ngFor","ngForOf"],[1,"message-title"],[1,"badge"],[1,"date"],[1,"author"],[1,"text"]],template:function(n,r){1&n&&(y(0,"span",0),w(1),v(),On(2,Ak,3,1,"ul",1),y(3,"div",2)(4,"input",3),P("ngModelChange",function(i){return r.newMessage=i})("keydown.enter",function(){return r.sendMessage()}),v(),y(5,"button",4),P("click",function(){return r.sendMessage()}),w(6,"Send"),v(),y(7,"button",4),P("click",function(){return r.getChatMessages()}),w(8,"Reload"),v()()),2&n&&(x("hidden",""===r.message),M(1),me(r.message),M(1),x("ngIf",r.messages.length),M(2),x("ngModel",r.newMessage))},dependencies:[Mr,O_,qt,Ln,pn,Wi],styles:[".chat[_ngcontent-%COMP%]{margin:0;list-style-type:none;padding:.1em;max-height:20em;overflow:auto}.chat[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{position:relative;left:0;margin:.1em;padding:0;border-radius:4px;border:solid 1px darkblue}.chat[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:#e6e6e688}.message-title[_ngcontent-%COMP%]{display:block;text-align:left;font-size:x-small}.message-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;color:#fff}.badge[_ngcontent-%COMP%]{padding:.3em .7em;background-color:#405061;border-radius:2px 0 0}.date[_ngcontent-%COMP%]{padding:.3em .7em;background-color:#605061}.author[_ngcontent-%COMP%]{padding:.3em .7em;background-color:#a0b0b1;border-radius:0 0 2px}.chat[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{align-self:center;margin:0 .1em .1em}.input[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{left:0;padding:0}.input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:inline-block;padding-right:.2em}"]}),e})();const Bw=function(){return{exact:!0}};let Nk=(()=>{class e{constructor(n){this.loginService=n,this.title="Familie TDS",this.chatLoaded=!1,this.chatHidden=!0,this.linksHidden=!0,this.profileHidden=!0,this.pos1=0,this.pos2=0,this.pos3=0,this.pos4=0,this.target=null}isAuthenticated(){return this.loginService.isAuthenticated()}username(){return this.loginService.getUsername()}logout(){localStorage.setItem("username",""),localStorage.setItem("password",""),this.loginService.logout()}toggleLinks(){this.linksHidden=!this.linksHidden,this.profileHidden=!0}isLinksHidden(){return this.linksHidden}toggleProfile(){this.profileHidden=!this.profileHidden,this.linksHidden=!0}isProfileHidden(){return this.profileHidden}toggleChatHidden(){this.chatHidden=!this.chatHidden,!this.chatHidden&&!this.chatLoaded&&(this.chatComponent.getChatMessages(),this.chatLoaded=!0)}isChatHidden(){return this.chatHidden}startMouseDragging(n){0===n.button&&(n.preventDefault(),this.pos3=n.clientX,this.pos4=n.clientY,document.onmouseup=()=>this.endMouseDrag(),document.onmousemove=r=>this.mouseDragElement(r),this.target=document.getElementById("chatwindow"))}mouseDragElement(n){n.preventDefault(),this.pos1=this.pos3-n.clientX,this.pos2=this.pos4-n.clientY,this.pos3=n.clientX,this.pos4=n.clientY;let r=this.target.offsetTop-this.pos2;r<0&&(r=0),this.target.style.top=r+"px";let o=this.target.offsetLeft-this.pos1;o<0&&(o=0),this.target.style.left=o+"px"}endMouseDrag(){document.onmouseup=null,document.onmousemove=null,this.target=null}startTouchDragging(n){n.preventDefault(),this.pos3=n.targetTouches[0].clientX,this.pos4=n.targetTouches[0].clientY,document.ontouchend=()=>this.endTouchDrag(),document.ontouchmove=r=>this.touchDragElement(r),this.target=document.getElementById("chatwindow")}touchDragElement(n){n.preventDefault(),this.pos1=this.pos3-n.targetTouches[0].clientX,this.pos2=this.pos4-n.targetTouches[0].clientY,this.pos3=n.targetTouches[0].clientX,this.pos4=n.targetTouches[0].clientY;let r=this.target.offsetTop-this.pos2;r<0&&(r=0),this.target.style.top=r+"px";let o=this.target.offsetLeft-this.pos1;o<0&&(o=0),this.target.style.left=o+"px"}endTouchDrag(){document.ontouchend=null,document.ontouchmove=null,this.target=null}toggleTheme(){const n="theme-dark",r=document.querySelector(":root");if(!r)throw new Error("No root!?");r.classList.toggle(n),r.classList.contains(n)?localStorage.setItem("theme",n):localStorage.setItem("theme","theme-light")}setTheme(n){const r=document.querySelector(":root");if(!r)throw new Error("No root!?");r.classList.add(n),localStorage.setItem("theme",n)}detectTheme(){const n=localStorage.getItem("theme");"theme-dark"!==n&&"theme-light"!==n?window.matchMedia("(prefers-color-scheme: dark)").matches?this.setTheme("theme-dark"):(window.matchMedia("(prefers-color-scheme: light)"),this.setTheme("theme-light")):this.setTheme(n)}ngOnInit(){this.detectTheme()}}return e.\u0275fac=function(n){return new(n||e)(_(tt))},e.\u0275cmp=Rt({type:e,selectors:[["app-root"]],viewQuery:function(n,r){if(1&n&&_d(vh,5),2&n){let o;ja(o=Ba())&&(r.chatComponent=o.first)}},decls:45,vars:12,consts:[[3,"hidden"],["id","toggle-links",1,"big",3,"click"],["id","toggle-profile",1,"big","float-right",3,"click"],["id","links",3,"hidden"],["routerLinkActive","active-link","routerLink","/",3,"routerLinkActiveOptions"],["routerLinkActive","active-link","routerLink","/checklists"],["routerLinkActive","active-link","routerLink","/contacts"],["routerLinkActive","active-link","routerLink","/todo"],["id","profile",1,"float-right",3,"hidden"],[3,"click"],["title","Dark theme on/off",3,"click"],["routerLinkActive","active-link","routerLink","/profile"],["id","logout",3,"click"],[1,"float-right"],["routerLinkActive","active-link","routerLink","/login"],["id","tools",3,"hidden"],["id","toolbar"],["id","chatwindow",3,"hidden"],["id","chattitlebar",3,"mousedown","touchstart"],[1,"close-button",3,"click"],["id","chatcontent"]],template:function(n,r){1&n&&(y(0,"nav")(1,"span",0)(2,"a",1),P("click",function(){return r.toggleLinks()}),w(3,"\u2261"),v(),y(4,"a",2),P("click",function(){return r.toggleProfile()}),w(5),v(),y(6,"div")(7,"div",3)(8,"a",4),w(9,"Home"),v(),y(10,"a",5),w(11,"Checklists"),v(),y(12,"a",6),w(13,"Contacts"),v(),y(14,"a",7),w(15,"Todo"),v()(),y(16,"div",8)(17,"button",9),P("click",function(){return r.toggleChatHidden()}),w(18,"Toggle Chat"),v(),y(19,"button",10),P("click",function(){return r.toggleTheme()}),w(20,"\u2600 Theme"),v(),y(21,"a",11),w(22,"Profile"),v(),y(23,"a",12),P("click",function(){return r.logout()}),w(24,"Logout"),v()()()(),y(25,"span",0)(26,"h1",13),w(27),v(),y(28,"a",4),w(29,"Home"),v(),y(30,"a",14),w(31,"Login"),v()()(),y(32,"div",15)(33,"div",16)(34,"button",9),P("click",function(){return r.toggleChatHidden()}),w(35,"Toggle Chat"),v()(),y(36,"div",17)(37,"div",18),P("mousedown",function(i){return r.startMouseDragging(i)})("touchstart",function(i){return r.startTouchDragging(i)}),w(38," Chat"),y(39,"button",19),P("click",function(){return r.toggleChatHidden()}),w(40,"\u2716"),v()(),y(41,"div",20),ie(42,"app-chat"),v()()(),y(43,"main"),ie(44,"router-outlet"),v()),2&n&&(M(1),x("hidden",!r.isAuthenticated()),M(4),me(r.username()),M(2),x("hidden",r.isLinksHidden()),M(1),x("routerLinkActiveOptions",cd(10,Bw)),M(8),x("hidden",r.isProfileHidden()),M(9),x("hidden",r.isAuthenticated()),M(2),me(r.title),M(1),x("routerLinkActiveOptions",cd(11,Bw)),M(4),x("hidden",!r.isAuthenticated()),M(4),x("hidden",r.isChatHidden()))},dependencies:[uh,jo,Ow,vh],styles:["#toggle-links[_ngcontent-%COMP%]{padding:.2em .5em}#toggle-profile[_ngcontent-%COMP%]{color:unset}.big[_ngcontent-%COMP%]{font-size:x-large}.float-right[_ngcontent-%COMP%]{margin:0;float:right}nav[_ngcontent-%COMP%]{display:block;background:#93c6f948 linear-gradient(80deg,rgb(132,168,205) 05%,rgb(145,185,224) 30%,rgba(0,0,0,0) 100%);border-bottom:1px solid #336699;padding:.4em}nav[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;float:right}nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:.2rem;padding:.2rem .3rem;text-decoration:none;text-shadow:2px 2px 2px #40404080;display:inline-block;border-radius:2px}nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#fff;background-color:#42545c;-webkit-text-decoration:underline #93c6f9;text-decoration:underline #93c6f9}.active-link[_ngcontent-%COMP%]{background-color:#00000048}#logout[_ngcontent-%COMP%]{color:#ef4040;cursor:pointer}#logout[_ngcontent-%COMP%]:hover{background-color:#604040}#toolbar[_ngcontent-%COMP%]{margin-top:-.4em;margin-bottom:-.4em;margin-left:.2em}#toolbar[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{border:1px solid #40404080}#chatwindow[_ngcontent-%COMP%]{border:1px solid black;z-index:9990;background:#f0f0f080;border-radius:2px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);box-shadow:3px 3px 3px #0006;position:fixed;top:5em;left:5em}#chattitlebar[_ngcontent-%COMP%]{border-bottom:1px solid black;padding:2px;background:#d0d0d080;cursor:grab}#chatcontent[_ngcontent-%COMP%]{padding:2px}.close-button[_ngcontent-%COMP%]{padding:0 4px;margin:0;float:right}"]}),e})();class Xt{constructor(t,n){this.http=t,this.appMessageService=n,this.httpOptions={headers:new Ye({"Content-Type":"application/json",Accept:"application/json"})}}handleError(t="operation",n){return r=>(console.error(r),this.log(`Error @ ${t}: ${r.status} ${r.statusText}`),k(n))}log(t){this.appMessageService.add(`TodoService: ${t}`)}getTodos(){return this.http.get(Xt.REST_URL,this.httpOptions).pipe(J(t=>this.log(`fetched ${t.length} todos`)),he(this.handleError("getTodos",[])))}addTodo(t){return this.http.post(Xt.REST_URL,{text:t},this.httpOptions).pipe(J(r=>this.log(`added todo w/ id=${r.id}`)),he(this.handleError("addTodo")))}deleteTodo(t){return this.http.delete(`${Xt.REST_URL}/${t}`,this.httpOptions).pipe(J(r=>this.log(`deleted todo id=${t}`)),he(this.handleError("deleteTodo")))}}function Rk(e,t){if(1&e){const n=Yc();y(0,"li")(1,"div",7)(2,"span",8),w(3),v(),y(4,"span",9),w(5),wr(6,"date"),v(),y(7,"button",10),P("click",function(){const i=ti(n).$implicit;return ni(Pi().delete(i))}),w(8,"x"),v()(),y(9,"span",11),w(10),v()()}if(2&e){const n=t.$implicit;M(3),me(n.id),M(2),me(Er(6,3,n.dateCreated,"dd-MM-yyyy HH:mm:ss")),M(5),me(n.text)}}Xt.REST_URL=Ar_restServerUrl+"/api/todos",Xt.\u0275fac=function(t){return new(t||Xt)(N(Tr),N(No))},Xt.\u0275prov=O({token:Xt,factory:Xt.\u0275fac,providedIn:"root"});let Ok=(()=>{class e{constructor(n){this.todoService=n,this.todos=[],this.newTodo="",this.message=""}getTodos(){this.message="Loading todos ...",this.todoService.getTodos().subscribe({next:n=>{this.todos=n,this.message=0==n.length?"Nothing to do!":""},error:n=>this.message=`Error while loggin in: ${n}`})}ngOnInit(){this.getTodos()}sendTodo(){this.message="Adding todo ...",this.todoService.addTodo(this.newTodo).subscribe({next:n=>{this.todos.push(n),this.newTodo="",this.message="Added todo."},error:n=>this.message=`Error while adding todo: ${n}`})}delete(n){this.message="Removing todo ...",this.todoService.deleteTodo(n.id).subscribe({next:()=>{this.todos=this.todos.filter(r=>r!==n),this.message="Removed todo."},error:r=>this.message=`Error while removing todo: ${r}`})}}return e.\u0275fac=function(n){return new(n||e)(_(Xt))},e.\u0275cmp=Rt({type:e,selectors:[["app-todo"]],decls:15,vars:4,consts:[[3,"hidden"],[1,"element-list"],[4,"ngFor","ngForOf"],[1,"input"],["for","input-text"],["id","input-text","placeholder","text",3,"ngModel","ngModelChange","keydown.enter"],[3,"click"],[1,"element-title"],[1,"badge"],[1,"date"],["type","button","title","Delete todo",1,"delete",3,"click"],[1,"text"]],template:function(n,r){1&n&&(y(0,"h2"),w(1,"Todos"),v(),y(2,"p",0),w(3),v(),y(4,"ol",1),On(5,Rk,11,6,"li",2),v(),y(6,"h2"),w(7,"New Todo:"),v(),y(8,"div",3)(9,"div")(10,"label",4),w(11,"Text:"),v(),y(12,"input",5),P("ngModelChange",function(i){return r.newTodo=i})("keydown.enter",function(){return r.sendTodo()}),v(),y(13,"button",6),P("click",function(){return r.sendTodo()}),w(14,"Send"),v()()()),2&n&&(M(2),x("hidden",""===r.message),M(1),me(r.message),M(2),x("ngForOf",r.todos),M(7),x("ngModel",r.newTodo))},dependencies:[Mr,qt,Ln,pn,Wi],styles:[".element-list[_ngcontent-%COMP%]{margin-left:2em;padding:0}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{position:relative;left:0;margin-top:.5em;padding:0;border-radius:4px;border:solid 1px #808080}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{background-color:#e6e6e680}.element-title[_ngcontent-%COMP%]{display:block;text-align:left;font-size:x-small}.element-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;color:#fff}.element-title[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-size:small;padding:1px 6px;margin:0;border-radius:2px;float:right;background-color:#ff000080}.badge[_ngcontent-%COMP%]{padding:.3em .7em;background-color:#405061;border-radius:2px 0 0}.date[_ngcontent-%COMP%]{padding:.3em .7em;background-color:#605061;border-radius:0 0 2px}.text[_ngcontent-%COMP%]{align-self:center;margin:0 .1em .1em}.input[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{left:0;margin:0 0 .2em;padding:0}.input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:inline-block;width:4em;text-align:right;padding-right:.2em}"]}),e})();class Cn{constructor(t,n){this.http=t,this.appMessageService=n,this.httpOptions={headers:new Ye({"Content-Type":"application/json",Accept:"application/json"})}}handleError(t="operation",n){return r=>(console.error(r),this.log(`Error @ ${t}: ${r.status} ${r.statusText}`),k(n))}log(t){this.appMessageService.add(`NewsService: ${t}`)}getNewsPosts(){return this.http.get(Cn.REST_URL,this.httpOptions).pipe(J(t=>this.log(`fetched ${t.length} news posts`)),he(this.handleError("getNews",[])))}addNewsPost(t,n){return this.http.post(Cn.REST_URL,{author:t,text:n},this.httpOptions).pipe(J(o=>this.log(`added message w/ id=${o.id}`)),he(this.handleError("addNewsPost")))}}function Pk(e,t){if(1&e&&(y(0,"p"),w(1),v()),2&e){const n=t.$implicit;M(1),me(n.text)}}Cn.REST_URL=Ar_restServerUrl+"/api/news",Cn.\u0275fac=function(t){return new(t||Cn)(N(Tr),N(No))},Cn.\u0275prov=O({token:Cn,factory:Cn.\u0275fac,providedIn:"root"});let xk=(()=>{class e{constructor(n,r){this.loginService=n,this.newsService=r,this.messages=[],this.message=""}getNews(){this.loginService.isAuthenticated()&&(this.message="Loading news messages ...",this.newsService.getNewsPosts().subscribe({next:n=>{this.messages=n,this.message=""},error:n=>this.message=`Error while loading news: ${n}`}))}ngOnInit(){this.getNews()}isAuthenticated(){return this.loginService.isAuthenticated()}username(){return this.loginService.getUsername()}}return e.\u0275fac=function(n){return new(n||e)(_(tt),_(Cn))},e.\u0275cmp=Rt({type:e,selectors:[["app-home"]],decls:11,vars:6,consts:[[3,"hidden"],[1,"context"],[4,"ngFor","ngForOf"]],template:function(n,r){1&n&&(y(0,"span",0)(1,"p"),w(2),v(),y(3,"h3"),w(4,"News"),v(),y(5,"p",0),w(6),v(),y(7,"div",1),On(8,Pk,2,1,"p",2),v()(),y(9,"p",0),w(10,"Welcome to our family site! Please login."),v()),2&n&&(x("hidden",!r.isAuthenticated()),M(2),Ze("Welcome, ",r.username(),"!"),M(3),x("hidden",""===r.message),M(1),me(r.message),M(2),x("ngForOf",r.messages),M(1),x("hidden",r.isAuthenticated()))},dependencies:[Mr],styles:[".context[_ngcontent-%COMP%]{padding-left:1em;border:1px solid darkgrey}"]}),e})(),Fk=(()=>{class e{constructor(n,r){this.loginService=n,this.router=r,this.error=!1,this.rememberme=!1,this.credentials={username:"",password:""},this.message="",this.checkPreviousLogin()}checkPreviousLogin(){this.credentials.username=localStorage.getItem("username"),this.credentials.password=localStorage.getItem("password"),this.credentials.username&&this.credentials.password&&this.login()}login(){return this.message="Loggin in ...",this.loginService.authenticate(this.credentials).subscribe({next:()=>{this.rememberme&&(localStorage.setItem("username",this.credentials.username),localStorage.setItem("password",this.credentials.password)),this.router.navigateByUrl("/").then(n=>{})},error:n=>{console.log("Login failed",n),this.message=`Error while loggin in: ${n}`,this.error=!0}}),!1}}return e.\u0275fac=function(n){return new(n||e)(_(tt),_(Be))},e.\u0275cmp=Rt({type:e,selectors:[["app-login"]],decls:21,vars:6,consts:[[3,"hidden"],[1,"alert",3,"hidden"],["role","form",3,"submit"],[1,"form-group"],["for","username"],["type","text","id","username","name","username","placeholder","username",1,"form-control",3,"ngModel","ngModelChange"],["for","password"],["type","password","id","password","name","password","placeholder","password",1,"form-control",3,"ngModel","ngModelChange"],["for","rememberme"],["type","checkbox","id","rememberme","name","rememberme",1,"form-control",3,"ngModel","ngModelChange"],["type","submit",1,"btn","btn-primary"]],template:function(n,r){1&n&&(y(0,"h2"),w(1,"Login form"),v(),y(2,"p",0),w(3),v(),y(4,"p",1),w(5," There was a problem logging in. Please try again.\n"),v(),y(6,"form",2),P("submit",function(){return r.login()}),y(7,"div",3)(8,"label",4),w(9,"Username:"),v(),y(10,"input",5),P("ngModelChange",function(i){return r.credentials.username=i}),v()(),y(11,"div",3)(12,"label",6),w(13,"Password:"),v(),y(14,"input",7),P("ngModelChange",function(i){return r.credentials.password=i}),v()(),y(15,"div",3)(16,"label",8),w(17,"Remember me:"),v(),y(18,"input",9),P("ngModelChange",function(i){return r.rememberme=i}),v()(),y(19,"button",10),w(20,"Login"),v()()),2&n&&(M(2),x("hidden",""===r.message),M(1),me(r.message),M(1),x("hidden",!r.error),M(6),x("ngModel",r.credentials.username),M(4),x("ngModel",r.credentials.password),M(4),x("ngModel",r.rememberme))},dependencies:[ZD,qt,ul,Ln,xD,pn,_l],styles:[".form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:inline-block;width:8em;padding-right:.2em}.form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{margin:0 0 .2em}.alert[_ngcontent-%COMP%]{color:red}button[_ngcontent-%COMP%]{border:revert}"]}),e})();const xr=(e,t)=>{const n=I(tt),r=I(Be);return!!n.isAuthenticated()||r.parseUrl("/login")};class mt{constructor(t,n){this.http=t,this.appMessageService=n,this.httpOptions={headers:new Ye({"Content-Type":"application/json",Accept:"application/json"})}}handleError(t="operation",n){return r=>(console.error(r),this.log(`Error @ ${t}: ${r.status} ${r.statusText}`),k(n))}log(t){this.appMessageService.add(`ContactService: ${t}`)}getContacts(){return this.http.get(mt.REST_URL,this.httpOptions).pipe(J(t=>this.log(`fetched ${t.length} contacts`)),he(this.handleError("getContacts",[])))}getContact(t){return this.http.get(`${mt.REST_URL}/${t}`,this.httpOptions).pipe(J(n=>this.log(`fetched Contact ${n.id}`)),he(this.handleError("getContact",{})))}addContact(t){return this.http.post(mt.REST_URL,t,this.httpOptions).pipe(J(n=>this.log(`added contact w/ id=${n.id}`)),he(this.handleError("addContact")))}saveContact(t){return this.http.post(mt.REST_URL,t,this.httpOptions).pipe(J(n=>this.log(`saved contact w/ id=${n.id}`)),he(this.handleError("addContact")))}deleteContact(t){return this.http.delete(`${mt.REST_URL}/${t}`,this.httpOptions).pipe(J(r=>this.log(`deleted contact id=${t}`)),he(this.handleError("deleteContact")))}}mt.REST_URL=Ar_restServerUrl+"/api/contacts",mt.\u0275fac=function(t){return new(t||mt)(N(Tr),N(No))},mt.\u0275prov=O({token:mt,factory:mt.\u0275fac,providedIn:"root"});const kk=function(e){return["/contact",e]};function Lk(e,t){if(1&e&&(y(0,"li")(1,"div",19)(2,"span")(3,"a",20),w(4),v()()(),y(5,"span",21),w(6),ie(7,"br"),w(8),ie(9,"br"),w(10),ie(11,"br"),w(12,"Website: "),y(13,"a",22),w(14),v(),ie(15,"br"),w(16),v()()),2&e){const n=t.$implicit;M(3),x("routerLink",Ha(9,kk,n.id)),M(1),xa("",n.firstName," ",n.lastName,""),M(2),Ze(" Telephone: ",n.telephone," "),M(2),Ze("E-mail: ",n.email," "),M(2),Ze("Address: ",n.address," "),M(3),Na("href","https://",n.website,"",ic),M(1),me(n.website),M(2),Ze("Description: ",n.description,"")}}let Vk=(()=>{class e{constructor(n){this.contactsService=n,this.contacts=[],this.newContact={},this.message=""}getContacts(){this.message="Loading contacts ...",this.contactsService.getContacts().subscribe({next:n=>{this.contacts=n,this.message=n.length?"":"No contacts in database."},error:n=>this.message=`Error while loading contacts: ${n}`})}ngOnInit(){this.getContacts()}sendContact(){this.message="Adding contact ...",this.contactsService.addContact(this.newContact).subscribe({next:n=>{this.contacts.push(n),this.message="Added contact."},error:n=>this.message=`Error while adding contact: ${n}`}),this.newContact={}}}return e.\u0275fac=function(n){return new(n||e)(_(mt))},e.\u0275cmp=Rt({type:e,selectors:[["app-contacts"]],decls:40,vars:10,consts:[[3,"hidden"],[1,"element-list"],[4,"ngFor","ngForOf"],[1,"input"],["for","input-firstName"],["id","input-firstName","placeholder","firstname",3,"ngModel","ngModelChange"],["for","input-lastName"],["id","input-lastName","placeholder","lastname",3,"ngModel","ngModelChange"],["for","input-telephone"],["id","input-telephone","placeholder","telephone",3,"ngModel","ngModelChange"],["for","input-email"],["id","input-email","placeholder","email",3,"ngModel","ngModelChange"],["for","input-website"],["id","input-website","placeholder","website",3,"ngModel","ngModelChange"],["for","input-address"],["id","input-address","placeholder","address",3,"ngModel","ngModelChange"],["for","input-description"],["id","input-description","placeholder","description",3,"ngModel","ngModelChange"],[3,"click"],[1,"element-title"],[3,"routerLink"],[1,"text"],["target","_blank",3,"href"]],template:function(n,r){1&n&&(y(0,"h2"),w(1,"Contacts:"),v(),y(2,"p",0),w(3),v(),y(4,"ol",1),On(5,Lk,17,11,"li",2),v(),y(6,"h2"),w(7,"New Contact:"),v(),y(8,"div",3)(9,"div")(10,"label",4),w(11,"Firstname:"),v(),y(12,"input",5),P("ngModelChange",function(i){return r.newContact.firstName=i}),v(),ie(13,"br"),y(14,"label",6),w(15,"Lastname:"),v(),y(16,"input",7),P("ngModelChange",function(i){return r.newContact.lastName=i}),v(),ie(17,"br"),y(18,"label",8),w(19,"Telephone:"),v(),y(20,"input",9),P("ngModelChange",function(i){return r.newContact.telephone=i}),v(),ie(21,"br"),y(22,"label",10),w(23,"Email:"),v(),y(24,"input",11),P("ngModelChange",function(i){return r.newContact.email=i}),v(),ie(25,"br"),y(26,"label",12),w(27,"Website:"),v(),y(28,"input",13),P("ngModelChange",function(i){return r.newContact.website=i}),v(),ie(29,"br"),y(30,"label",14),w(31,"Address:"),v(),y(32,"input",15),P("ngModelChange",function(i){return r.newContact.address=i}),v(),ie(33,"br"),y(34,"label",16),w(35,"Description:"),v(),y(36,"input",17),P("ngModelChange",function(i){return r.newContact.description=i}),v(),ie(37,"br"),y(38,"button",18),P("click",function(){return r.sendContact()}),w(39,"Send"),v()()()),2&n&&(M(2),x("hidden",""===r.message),M(1),me(r.message),M(2),x("ngForOf",r.contacts),M(7),x("ngModel",r.newContact.firstName),M(4),x("ngModel",r.newContact.lastName),M(4),x("ngModel",r.newContact.telephone),M(4),x("ngModel",r.newContact.email),M(4),x("ngModel",r.newContact.website),M(4),x("ngModel",r.newContact.address),M(4),x("ngModel",r.newContact.description))},dependencies:[Mr,qt,Ln,pn,jo],styles:[".element-list[_ngcontent-%COMP%]{margin-left:2em;padding:0}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{position:relative;left:0;margin-top:.5em;padding:.1em;border-radius:4px;border:solid 1px #808080}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{background-color:#e6e6e680}"]}),e})();class yt{constructor(t,n){this.http=t,this.appMessageService=n,this.httpOptions={headers:new Ye({"Content-Type":"application/json",Accept:"application/json"})}}handleError(t="operation",n){return r=>(console.error(r),this.log(`Error @ ${t}: ${r.status} ${r.statusText}`),k(n))}log(t){this.appMessageService.add(`ChecklistService: ${t}`)}getChecklists(){return this.http.get(yt.REST_URL,this.httpOptions).pipe(J(t=>this.log(`fetched ${t.length} checklists`)),he(this.handleError("getChecklists",[])))}getChecklist(t){return this.http.get(`${yt.REST_URL}/${t}`,this.httpOptions).pipe(J(n=>this.log(`fetched checklist ${n.id}`)),he(this.handleError("getChecklist",{})))}addChecklist(t){return this.http.post(yt.REST_URL,{name:t},this.httpOptions).pipe(J(r=>this.log(`added checklist w/ id=${r.id}`)),he(this.handleError("addChecklist")))}saveChecklist(t){return this.http.post(yt.REST_URL,t,this.httpOptions).pipe(J(n=>this.log(`saved checklist w/ id=${n.id}`)),he(this.handleError("addChecklist")))}deleteChecklist(t){return this.http.delete(`${yt.REST_URL}/${t}`,this.httpOptions).pipe(J(r=>this.log(`deleted checklist id=${t}`)),he(this.handleError("deleteChecklist")))}}yt.REST_URL=Ar_restServerUrl+"/api/checklists",yt.\u0275fac=function(t){return new(t||yt)(N(Tr),N(No))},yt.\u0275prov=O({token:yt,factory:yt.\u0275fac,providedIn:"root"});const Hk=function(e){return{strikethrough:e}};function $k(e,t){if(1&e&&(y(0,"li",11),w(1),v()),2&e){const n=t.$implicit;x("ngClass",Ha(2,Hk,!0===n.checked)),M(1),Ze(" ",n.text," ")}}const jk=function(e){return["/checklist",e]};function Bk(e,t){if(1&e&&(y(0,"li")(1,"span",7)(2,"a",8),w(3),v(),y(4,"ul",9),On(5,$k,2,4,"li",10),v()()()),2&e){const n=t.$implicit;M(2),x("routerLink",Ha(3,jk,n.id)),M(1),me(n.name),M(2),x("ngForOf",n.checks)}}let Uk=(()=>{class e{constructor(n,r){this.checklistService=n,this.router=r,this.route=I($n),this.checklists=[],this.newChecklist="",this.message=""}getChecklists(){this.message="Loading checklists ...",this.checklistService.getChecklists().subscribe({next:n=>{this.checklists=n,this.message=n.length?"":"No checklist in database."},error:n=>this.message=`Error while loading checklists: ${n}`})}ngOnInit(){this.getChecklists()}sendChecklist(){""!==this.newChecklist&&(this.message="Creating checklist ...",this.checklistService.addChecklist(this.newChecklist).subscribe({next:n=>this.router.navigate(["/checklist/",n.id]),error:n=>this.message=`Error while creating checklist: ${n}`}))}}return e.\u0275fac=function(n){return new(n||e)(_(yt),_(Be))},e.\u0275cmp=Rt({type:e,selectors:[["app-checklists"]],decls:15,vars:4,consts:[[3,"hidden"],[1,"element-list"],[4,"ngFor","ngForOf"],[1,"input"],["for","input-name"],["id","input-name","placeholder","myChecklist",3,"ngModel","ngModelChange","keydown.enter"],[3,"click"],[1,"text"],[3,"routerLink"],[1,"item-list"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"]],template:function(n,r){1&n&&(y(0,"h2"),w(1,"Checklists"),v(),y(2,"p",0),w(3),v(),y(4,"ol",1),On(5,Bk,6,5,"li",2),v(),y(6,"h2"),w(7,"New Checklist:"),v(),y(8,"div",3)(9,"div")(10,"label",4),w(11,"name:"),v(),y(12,"input",5),P("ngModelChange",function(i){return r.newChecklist=i})("keydown.enter",function(){return r.sendChecklist()}),v(),y(13,"button",6),P("click",function(){return r.sendChecklist()}),w(14,"Send"),v()()()),2&n&&(M(2),x("hidden",""===r.message),M(1),me(r.message),M(2),x("ngForOf",r.checklists),M(7),x("ngModel",r.newChecklist))},dependencies:[A_,Mr,qt,Ln,pn,jo],styles:[".element-list[_ngcontent-%COMP%]{margin-left:2em;padding:0}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{position:relative;left:0;margin-top:.5em;padding:.1em;border-radius:4px;border:solid 1px #808080}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{background-color:#e6e6e680}.strikethrough[_ngcontent-%COMP%]{text-decoration:line-through}"]}),e})();function zk(e,t){if(1&e){const n=Yc();y(0,"li")(1,"input",9),P("ngModelChange",function(o){return ni(ti(n).$implicit.checked=o)})("change",function(){return ti(n),ni(Pi().saveCheckList())}),v(),y(2,"label"),w(3),v(),y(4,"button",10),P("click",function(){const i=ti(n).index;return ni(Pi().removeItem(i))}),w(5,"x"),v()()}if(2&e){const n=t.$implicit;M(1),x("ngModel",n.checked),M(2),me(n.text)}}const Gk=[{path:"",component:xk,pathMatch:"full"},{path:"login",component:Fk},{path:"profile",component:(()=>{class e{constructor(n){this.loginService=n,this.newPassword1="",this.newPassword2="",this.message=""}username(){return this.loginService.getUsername()}saveProfile(){this.newPassword1==this.newPassword2?(this.message="Updating password ...",this.loginService.changePassword(this.newPassword1).subscribe({next:()=>{this.message="Password changed"},error:n=>this.message=`Error while updating password: ${n}`})):this.message="Passwords do not match!"}toggleTheme(){const n="theme-dark",r=document.querySelector(":root");if(!r)throw new Error("No root!?");r.classList.toggle(n),r.classList.contains(n)?localStorage.setItem("theme",n):localStorage.setItem("theme","theme-light")}}return e.\u0275fac=function(n){return new(n||e)(_(tt))},e.\u0275cmp=Rt({type:e,selectors:[["app-profile"]],decls:22,vars:6,consts:[[3,"hidden"],["title","Dark theme on/off",3,"click"],[1,"input"],["for","input-newPassword1"],["type","password","id","input-newPassword1","placeholder","new password",3,"ngModel","ngModelChange"],["for","input-newPassword2"],["type","password","id","input-newPassword2","placeholder","new password",3,"ngModel","ngModelChange"],[3,"click"]],template:function(n,r){1&n&&(y(0,"h1"),w(1),v(),y(2,"p",0),w(3),v(),y(4,"button",1),P("click",function(){return r.toggleTheme()}),w(5,"\u2600 Theme"),v(),y(6,"h2"),w(7,"Change password:"),v(),y(8,"div",2)(9,"div")(10,"label",3),w(11,"New password:"),v(),y(12,"input",4),P("ngModelChange",function(i){return r.newPassword1=i}),v(),ie(13,"br"),y(14,"label",5),w(15,"Repeat new password:"),v(),y(16,"input",6),P("ngModelChange",function(i){return r.newPassword2=i}),v(),ie(17,"br"),y(18,"button",7),P("click",function(){return r.saveProfile()}),w(19,"Save"),v(),y(20,"span"),w(21),v()()()),2&n&&(M(1),Ze("Profile of: ",r.username(),""),M(1),x("hidden",""===r.message),M(1),me(r.message),M(9),x("ngModel",r.newPassword1),M(4),x("ngModel",r.newPassword2),M(5),me(r.message))},dependencies:[qt,Ln,pn]}),e})(),canActivate:[xr]},{path:"chat",component:vh,canActivate:[xr]},{path:"todo",component:Ok,canActivate:[xr]},{path:"contacts",component:Vk,canActivate:[xr]},{path:"contact/:id",component:(()=>{class e{constructor(n,r){this.contactsService=n,this.router=r,this.route=I($n),this.contactId=-1,this.contact={},this.message="",this.contactId=Number(this.route.snapshot.params.id)}getChecklist(){this.message="Loading contact ...",this.contactsService.getContact(this.contactId).subscribe({next:n=>{this.contact=n,this.message=""},error:n=>this.message=`Error while loading contact: ${n}`})}ngOnInit(){this.getChecklist()}saveContact(){this.message="Updating contact ...",this.contactsService.saveContact(this.contact).subscribe({next:n=>{this.contact=n,this.message="Updated contact."},error:n=>this.message=`Error while updating contact: ${n}`})}deleteContact(){this.message="Deleting contact ...",this.contactsService.deleteContact(this.contactId).subscribe({next:()=>this.router.navigateByUrl("/contacts"),error:n=>this.message=`Error while deleting contact: ${n}`})}}return e.\u0275fac=function(n){return new(n||e)(_(mt),_(Be))},e.\u0275cmp=Rt({type:e,selectors:[["app-edit-contact"]],decls:48,vars:20,consts:[[3,"hidden"],["type","button","title","Delete contact",1,"delete",3,"click"],[1,"input"],["for","input-firstName"],["id","input-firstName","placeholder","firstname",3,"ngModel","ngModelChange"],["for","input-lastName"],["id","input-lastName","placeholder","lastname",3,"ngModel","ngModelChange"],["for","input-telephone"],["id","input-telephone","placeholder","telephone",3,"ngModel","ngModelChange"],["for","input-email"],["id","input-email","placeholder","email",3,"ngModel","ngModelChange"],["for","input-website"],["id","input-website","placeholder","website",3,"ngModel","ngModelChange"],["for","input-address"],["id","input-address","placeholder","address",3,"ngModel","ngModelChange"],["for","input-description"],["id","input-description","placeholder","description",3,"ngModel","ngModelChange"],[3,"click"]],template:function(n,r){1&n&&(y(0,"h2"),w(1),v(),y(2,"p",0),w(3),v(),y(4,"p"),w(5),y(6,"button",1),P("click",function(){return r.deleteContact()}),w(7,"Delete contact"),v(),ie(8,"br"),w(9),wr(10,"date"),ie(11,"br"),w(12),wr(13,"date"),v(),ie(14,"p"),y(15,"h3"),w(16,"Details:"),v(),y(17,"div",2)(18,"label",3),w(19,"Firstname:"),v(),y(20,"input",4),P("ngModelChange",function(i){return r.contact.firstName=i}),v(),ie(21,"br"),y(22,"label",5),w(23,"Lastname:"),v(),y(24,"input",6),P("ngModelChange",function(i){return r.contact.lastName=i}),v(),ie(25,"br"),y(26,"label",7),w(27,"Telephone:"),v(),y(28,"input",8),P("ngModelChange",function(i){return r.contact.telephone=i}),v(),ie(29,"br"),y(30,"label",9),w(31,"Email:"),v(),y(32,"input",10),P("ngModelChange",function(i){return r.contact.email=i}),v(),ie(33,"br"),y(34,"label",11),w(35,"Website:"),v(),y(36,"input",12),P("ngModelChange",function(i){return r.contact.website=i}),v(),ie(37,"br"),y(38,"label",13),w(39,"Address:"),v(),y(40,"input",14),P("ngModelChange",function(i){return r.contact.address=i}),v(),ie(41,"br"),y(42,"label",15),w(43,"Description:"),v(),y(44,"input",16),P("ngModelChange",function(i){return r.contact.description=i}),v(),ie(45,"br"),y(46,"button",17),P("click",function(){return r.saveContact()}),w(47,"Save"),v()()),2&n&&(M(1),xa("Editing contact: ",r.contact.firstName," ",r.contact.lastName,""),M(1),x("hidden",""===r.message),M(1),me(r.message),M(2),Ze("Id: ",r.contact.id," "),M(4),Ze("Created on: ",Er(10,14,r.contact.dateCreated,"dd-MM-yyyy HH:mm:ss")," "),M(3),Ze("Updated on: ",Er(13,17,r.contact.dateUpdated,"dd-MM-yyyy HH:mm:ss"),"\n"),M(8),x("ngModel",r.contact.firstName),M(4),x("ngModel",r.contact.lastName),M(4),x("ngModel",r.contact.telephone),M(4),x("ngModel",r.contact.email),M(4),x("ngModel",r.contact.website),M(4),x("ngModel",r.contact.address),M(4),x("ngModel",r.contact.description))},dependencies:[qt,Ln,pn,Wi],styles:[".delete[_ngcontent-%COMP%]{background-color:#ff000080}"]}),e})(),canActivate:[xr]},{path:"checklists",component:Uk,canActivate:[xr]},{path:"checklist/:id",component:(()=>{class e{constructor(n,r){this.checklistService=n,this.router=r,this.route=I($n),this.checklistId=-1,this.checklist={},this.newItem="",this.message="",this.checklistId=Number(this.route.snapshot.params.id)}getChecklist(){this.message="Loading checklist ...",this.checklistService.getChecklist(this.checklistId).subscribe({next:n=>{this.checklist=n,this.message=""},error:n=>this.message=`Error while getting checklists: ${n}`})}ngOnInit(){this.getChecklist()}addItem(){""!==this.newItem&&(this.checklist.checks.push({text:this.newItem,checklist_id:this.checklist.id}),this.newItem="",this.saveCheckList())}removeItem(n){(this.checklist.checks[n].text||""===this.checklist.checks[n].text)&&(this.checklist.checks.splice(n,1),this.saveCheckList())}saveCheckList(){this.message="Updating checklist ...",this.checklistService.saveChecklist(this.checklist).subscribe({next:n=>{this.checklist=n,this.message="Saved checklist."},error:n=>this.message=`Error while saving checklist: ${n}`})}deleteChecklist(){this.message="Removing checklist ...",this.checklistService.deleteChecklist(this.checklistId).subscribe({next:()=>{this.router.navigateByUrl("/checklists")},error:n=>this.message=`Error while deleting checklist: ${n}`})}}return e.\u0275fac=function(n){return new(n||e)(_(yt),_(Be))},e.\u0275cmp=Rt({type:e,selectors:[["app-edit-checklist"]],decls:36,vars:15,consts:[[3,"hidden"],["type","button","title","Delete checklist",1,"delete",3,"click"],[4,"ngFor","ngForOf"],[1,"input"],["for","input-item"],["id","input-item","placeholder","Remember x",3,"ngModel","ngModelChange","keydown.enter"],[3,"click"],["for","input-checklist-name"],["id","input-checklist-name","placeholder","myChecklist",3,"ngModel","ngModelChange","keydown.enter"],["type","checkbox",3,"ngModel","ngModelChange","change"],["type","button","title","Delete item",1,"delete",3,"click"]],template:function(n,r){1&n&&(y(0,"h2"),w(1),v(),y(2,"p",0),w(3),v(),y(4,"p"),w(5),y(6,"button",1),P("click",function(){return r.deleteChecklist()}),w(7,"Delete checklist"),v(),ie(8,"br"),w(9),wr(10,"date"),ie(11,"br"),w(12),wr(13,"date"),v(),y(14,"h3"),w(15,"Items:"),v(),y(16,"ol"),On(17,zk,6,2,"li",2),v(),y(18,"h2"),w(19,"add item:"),v(),y(20,"div",3)(21,"div")(22,"label",4),w(23,"item:"),v(),y(24,"input",5),P("ngModelChange",function(i){return r.newItem=i})("keydown.enter",function(){return r.addItem()}),v(),y(25,"button",6),P("click",function(){return r.addItem()}),w(26,"Add"),v()()(),y(27,"h2"),w(28,"change checklist name:"),v(),y(29,"div",3)(30,"div")(31,"label",7),w(32,"newName:"),v(),y(33,"input",8),P("ngModelChange",function(i){return r.checklist.name=i})("keydown.enter",function(){return r.saveCheckList()}),v(),y(34,"button",6),P("click",function(){return r.saveCheckList()}),w(35,"Save"),v()()()),2&n&&(M(1),Ze("Editing checklist: ",r.checklist.name,""),M(1),x("hidden",""===r.message),M(1),me(r.message),M(2),Ze("Id: ",r.checklist.id," "),M(4),Ze("Created on: ",Er(10,9,r.checklist.dateCreated,"dd-MM-yyyy HH:mm:ss")," "),M(3),Ze("Updated on: ",Er(13,12,r.checklist.dateUpdated,"dd-MM-yyyy HH:mm:ss"),"\n"),M(5),x("ngForOf",r.checklist.checks),M(7),x("ngModel",r.newItem),M(9),x("ngModel",r.checklist.name))},dependencies:[Mr,qt,ul,Ln,pn,Wi],styles:[".delete[_ngcontent-%COMP%]{background-color:#ff000080;margin-left:2em}"]}),e})(),canActivate:[xr]}];let Wk=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=Nt({imports:[$w.forRoot(Gk),$w]}),e})(),qk=(()=>{class e{constructor(n){this.auth=n}intercept(n,r){if(this.auth.isAuthenticated()){const o=this.auth.getAuthorizationToken(),i=n.clone({headers:n.headers.set("Authorization",o)});return r.handle(i)}return r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(N(tt))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})(),Zk=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Vt({type:e,bootstrap:[Nk]}),e.\u0275inj=Nt({providers:[{provide:D0,useClass:qk,multi:!0},{provide:Qn,useClass:y_}],imports:[cO,_P,zP,Wk]}),e})();lO().bootstrapModule(Zk).catch(e=>console.error(e))}},ue=>{ue(ue.s=830)}]); \ No newline at end of file diff --git a/front/dist/familySite1/main.ccf2a072d6add4a0.js b/front/dist/familySite1/main.ccf2a072d6add4a0.js deleted file mode 100644 index 6bc4728..0000000 --- a/front/dist/familySite1/main.ccf2a072d6add4a0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkfamilySite1=self.webpackChunkfamilySite1||[]).push([[179],{830:()=>{function le(e){return"function"==typeof e}function jo(e){const n=e(r=>{Error.call(r),r.stack=(new Error).stack});return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n}const ms=jo(e=>function(n){e(this),this.message=n?`${n.length} errors occurred during unsubscription:\n${n.map((r,o)=>`${o+1}) ${r.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=n});function Bo(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}class It{constructor(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let t;if(!this.closed){this.closed=!0;const{_parentage:n}=this;if(n)if(this._parentage=null,Array.isArray(n))for(const i of n)i.remove(this);else n.remove(this);const{initialTeardown:r}=this;if(le(r))try{r()}catch(i){t=i instanceof ms?i.errors:[i]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const i of o)try{Dh(i)}catch(s){t=t??[],s instanceof ms?t=[...t,...s.errors]:t.push(s)}}if(t)throw new ms(t)}}add(t){var n;if(t&&t!==this)if(this.closed)Dh(t);else{if(t instanceof It){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}}_hasParent(t){const{_parentage:n}=this;return n===t||Array.isArray(n)&&n.includes(t)}_addParent(t){const{_parentage:n}=this;this._parentage=Array.isArray(n)?(n.push(t),n):n?[n,t]:t}_removeParent(t){const{_parentage:n}=this;n===t?this._parentage=null:Array.isArray(n)&&Bo(n,t)}remove(t){const{_finalizers:n}=this;n&&Bo(n,t),t instanceof It&&t._removeParent(this)}}It.EMPTY=(()=>{const e=new It;return e.closed=!0,e})();const Ch=It.EMPTY;function _h(e){return e instanceof It||e&&"closed"in e&&le(e.remove)&&le(e.add)&&le(e.unsubscribe)}function Dh(e){le(e)?e():e.unsubscribe()}const ir={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ys={setTimeout(e,t,...n){const{delegate:r}=ys;return r?.setTimeout?r.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=ys;return(t?.clearTimeout||clearTimeout)(e)},delegate:void 0};function wh(e){ys.setTimeout(()=>{const{onUnhandledError:t}=ir;if(!t)throw e;t(e)})}function Eh(){}const Bw=jl("C",void 0,void 0);function jl(e,t,n){return{kind:e,value:t,error:n}}let sr=null;function vs(e){if(ir.useDeprecatedSynchronousErrorHandling){const t=!sr;if(t&&(sr={errorThrown:!1,error:null}),e(),t){const{errorThrown:n,error:r}=sr;if(sr=null,n)throw r}}else e()}class Bl extends It{constructor(t){super(),this.isStopped=!1,t?(this.destination=t,_h(t)&&t.add(this)):this.destination=Yw}static create(t,n,r){return new Uo(t,n,r)}next(t){this.isStopped?zl(function zw(e){return jl("N",e,void 0)}(t),this):this._next(t)}error(t){this.isStopped?zl(function Uw(e){return jl("E",void 0,e)}(t),this):(this.isStopped=!0,this._error(t))}complete(){this.isStopped?zl(Bw,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(t){this.destination.next(t)}_error(t){try{this.destination.error(t)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Ww=Function.prototype.bind;function Ul(e,t){return Ww.call(e,t)}class qw{constructor(t){this.partialObserver=t}next(t){const{partialObserver:n}=this;if(n.next)try{n.next(t)}catch(r){Cs(r)}}error(t){const{partialObserver:n}=this;if(n.error)try{n.error(t)}catch(r){Cs(r)}else Cs(t)}complete(){const{partialObserver:t}=this;if(t.complete)try{t.complete()}catch(n){Cs(n)}}}class Uo extends Bl{constructor(t,n,r){let o;if(super(),le(t)||!t)o={next:t??void 0,error:n??void 0,complete:r??void 0};else{let i;this&&ir.useDeprecatedNextContext?(i=Object.create(t),i.unsubscribe=()=>this.unsubscribe(),o={next:t.next&&Ul(t.next,i),error:t.error&&Ul(t.error,i),complete:t.complete&&Ul(t.complete,i)}):o=t}this.destination=new qw(o)}}function Cs(e){ir.useDeprecatedSynchronousErrorHandling?function Gw(e){ir.useDeprecatedSynchronousErrorHandling&&sr&&(sr.errorThrown=!0,sr.error=e)}(e):wh(e)}function zl(e,t){const{onStoppedNotification:n}=ir;n&&ys.setTimeout(()=>n(e,t))}const Yw={closed:!0,next:Eh,error:function Zw(e){throw e},complete:Eh},Gl="function"==typeof Symbol&&Symbol.observable||"@@observable";function ar(e){return e}function bh(e){return 0===e.length?ar:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}let be=(()=>{class e{constructor(n){n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const i=function Kw(e){return e&&e instanceof Bl||function Qw(e){return e&&le(e.next)&&le(e.error)&&le(e.complete)}(e)&&_h(e)}(n)?n:new Uo(n,r,o);return vs(()=>{const{operator:s,source:a}=this;i.add(s?s.call(i,a):a?this._subscribe(i):this._trySubscribe(i))}),i}_trySubscribe(n){try{return this._subscribe(n)}catch(r){n.error(r)}}forEach(n,r){return new(r=Mh(r))((o,i)=>{const s=new Uo({next:a=>{try{n(a)}catch(l){i(l),s.unsubscribe()}},error:i,complete:o});this.subscribe(s)})}_subscribe(n){var r;return null===(r=this.source)||void 0===r?void 0:r.subscribe(n)}[Gl](){return this}pipe(...n){return bh(n)(this)}toPromise(n){return new(n=Mh(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Mh(e){var t;return null!==(t=e??ir.Promise)&&void 0!==t?t:Promise}const Jw=jo(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let _n=(()=>{class e extends be{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new Sh(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new Jw}next(n){vs(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const r of this.currentObservers)r.next(n)}})}error(n){vs(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){vs(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:o,observers:i}=this;return r||o?Ch:(this.currentObservers=null,i.push(n),new It(()=>{this.currentObservers=null,Bo(i,n)}))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:o,isStopped:i}=this;r?n.error(o):i&&n.complete()}asObservable(){const n=new be;return n.source=this,n}}return e.create=(t,n)=>new Sh(t,n),e})();class Sh extends _n{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:Ch}}function Ih(e){return le(e?.lift)}function je(e){return t=>{if(Ih(t))return t.lift(function(n){try{return e(n,this)}catch(r){this.error(r)}});throw new TypeError("Unable to lift unknown Observable type")}}function He(e,t,n,r,o){return new eE(e,t,n,r,o)}class eE extends Bl{constructor(t,n,r,o,i,s){super(t),this.onFinalize=i,this.shouldUnsubscribe=s,this._next=n?function(a){try{n(a)}catch(l){t.error(l)}}:super._next,this._error=o?function(a){try{o(a)}catch(l){t.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=r?function(){try{r()}catch(a){t.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:n}=this;super.unsubscribe(),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}}}function te(e,t){return je((n,r)=>{let o=0;n.subscribe(He(r,i=>{r.next(e.call(t,i,o++))}))})}function lr(e){return this instanceof lr?(this.v=e,this):new lr(e)}function oE(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=function Nh(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(i){n[i]=e[i]&&function(s){return new Promise(function(a,l){!function o(i,s,a,l){Promise.resolve(l).then(function(u){i({value:u,done:a})},s)}(a,l,(s=e[i](s)).done,s.value)})}}}const Rh=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Oh(e){return le(e?.then)}function Ph(e){return le(e[Gl])}function xh(e){return Symbol.asyncIterator&&le(e?.[Symbol.asyncIterator])}function Fh(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const kh=function sE(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Lh(e){return le(e?.[kh])}function Vh(e){return function rE(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,r=n.apply(e,t||[]),i=[];return o={},s("next"),s("throw"),s("return"),o[Symbol.asyncIterator]=function(){return this},o;function s(f){r[f]&&(o[f]=function(h){return new Promise(function(p,m){i.push([f,h,p,m])>1||a(f,h)})})}function a(f,h){try{!function l(f){f.value instanceof lr?Promise.resolve(f.value.v).then(u,c):d(i[0][2],f)}(r[f](h))}catch(p){d(i[0][3],p)}}function u(f){a("next",f)}function c(f){a("throw",f)}function d(f,h){f(h),i.shift(),i.length&&a(i[0][0],i[0][1])}}(this,arguments,function*(){const n=e.getReader();try{for(;;){const{value:r,done:o}=yield lr(n.read());if(o)return yield lr(void 0);yield yield lr(r)}}finally{n.releaseLock()}})}function Hh(e){return le(e?.getReader)}function Tt(e){if(e instanceof be)return e;if(null!=e){if(Ph(e))return function aE(e){return new be(t=>{const n=e[Gl]();if(le(n.subscribe))return n.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(e);if(Rh(e))return function lE(e){return new be(t=>{for(let n=0;n{e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,wh)})}(e);if(xh(e))return $h(e);if(Lh(e))return function cE(e){return new be(t=>{for(const n of e)if(t.next(n),t.closed)return;t.complete()})}(e);if(Hh(e))return function dE(e){return $h(Vh(e))}(e)}throw Fh(e)}function $h(e){return new be(t=>{(function fE(e,t){var n,r,o,i;return function tE(e,t,n,r){return new(n||(n=Promise))(function(i,s){function a(c){try{u(r.next(c))}catch(d){s(d)}}function l(c){try{u(r.throw(c))}catch(d){s(d)}}function u(c){c.done?i(c.value):function o(i){return i instanceof n?i:new n(function(s){s(i)})}(c.value).then(a,l)}u((r=r.apply(e,t||[])).next())})}(this,void 0,void 0,function*(){try{for(n=oE(e);!(r=yield n.next()).done;)if(t.next(r.value),t.closed)return}catch(s){o={error:s}}finally{try{r&&!r.done&&(i=n.return)&&(yield i.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(n=>t.error(n))})}function Dn(e,t,n,r=0,o=!1){const i=t.schedule(function(){n(),o?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(i),!o)return i}function Be(e,t,n=1/0){return le(t)?Be((r,o)=>te((i,s)=>t(r,i,o,s))(Tt(e(r,o))),n):("number"==typeof t&&(n=t),je((r,o)=>function hE(e,t,n,r,o,i,s,a){const l=[];let u=0,c=0,d=!1;const f=()=>{d&&!l.length&&!u&&t.complete()},h=m=>u{i&&t.next(m),u++;let C=!1;Tt(n(m,c++)).subscribe(He(t,b=>{o?.(b),i?h(b):t.next(b)},()=>{C=!0},void 0,()=>{if(C)try{for(u--;l.length&&up(b)):p(b)}f()}catch(b){t.error(b)}}))};return e.subscribe(He(t,h,()=>{d=!0,f()})),()=>{a?.()}}(r,o,e,n)))}function Pr(e=1/0){return Be(ar,e)}const Qt=new be(e=>e.complete());function ql(e){return e[e.length-1]}function jh(e){return le(ql(e))?e.pop():void 0}function zo(e){return function gE(e){return e&&le(e.schedule)}(ql(e))?e.pop():void 0}function Bh(e,t=0){return je((n,r)=>{n.subscribe(He(r,o=>Dn(r,e,()=>r.next(o),t),()=>Dn(r,e,()=>r.complete(),t),o=>Dn(r,e,()=>r.error(o),t)))})}function Uh(e,t=0){return je((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}function zh(e,t){if(!e)throw new Error("Iterable cannot be null");return new be(n=>{Dn(n,t,()=>{const r=e[Symbol.asyncIterator]();Dn(n,t,()=>{r.next().then(o=>{o.done?n.complete():n.next(o.value)})},0,!0)})})}function Pe(e,t){return t?function wE(e,t){if(null!=e){if(Ph(e))return function yE(e,t){return Tt(e).pipe(Uh(t),Bh(t))}(e,t);if(Rh(e))return function CE(e,t){return new be(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if(Oh(e))return function vE(e,t){return Tt(e).pipe(Uh(t),Bh(t))}(e,t);if(xh(e))return zh(e,t);if(Lh(e))return function _E(e,t){return new be(n=>{let r;return Dn(n,t,()=>{r=e[kh](),Dn(n,t,()=>{let o,i;try{({value:o,done:i}=r.next())}catch(s){return void n.error(s)}i?n.complete():n.next(o)},0,!0)}),()=>le(r?.return)&&r.return()})}(e,t);if(Hh(e))return function DE(e,t){return zh(Vh(e),t)}(e,t)}throw Fh(e)}(e,t):Tt(e)}function Zl(e,t,...n){if(!0===t)return void e();if(!1===t)return;const r=new Uo({next:()=>{r.unsubscribe(),e()}});return Tt(t(...n)).subscribe(r)}function ie(e){for(let t in e)if(e[t]===ie)return t;throw Error("Could not find renamed property on target object.")}function Yl(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function xe(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(xe).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Xl(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const ME=ie({__forward_ref__:ie});function ce(e){return e.__forward_ref__=ce,e.toString=function(){return xe(this())},e}function B(e){return Ql(e)?e():e}function Ql(e){return"function"==typeof e&&e.hasOwnProperty(ME)&&e.__forward_ref__===ce}function Kl(e){return e&&!!e.\u0275providers}const Gh="https://g.co/ng/security#xss";class w extends Error{constructor(t,n){super(function Jl(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function U(e){return"string"==typeof e?e:null==e?"":String(e)}function _s(e,t){throw new w(-201,!1)}function At(e,t){null==e&&function oe(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function O(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Nt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ds(e){return Wh(e,ws)||Wh(e,Zh)}function Wh(e,t){return e.hasOwnProperty(t)?e[t]:null}function qh(e){return e&&(e.hasOwnProperty(eu)||e.hasOwnProperty(PE))?e[eu]:null}const ws=ie({\u0275prov:ie}),eu=ie({\u0275inj:ie}),Zh=ie({ngInjectableDef:ie}),PE=ie({ngInjectorDef:ie});var L=(()=>((L=L||{})[L.Default=0]="Default",L[L.Host=1]="Host",L[L.Self=2]="Self",L[L.SkipSelf=4]="SkipSelf",L[L.Optional=8]="Optional",L))();let tu;function at(e){const t=tu;return tu=e,t}function Xh(e,t,n){const r=Ds(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&L.Optional?null:void 0!==t?t:void _s(xe(e))}const de=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Go={},nu="__NG_DI_FLAG__",Es="ngTempTokenPath",FE=/\n/gm,Qh="__source";let xr;function Bn(e){const t=xr;return xr=e,t}function VE(e,t=L.Default){if(void 0===xr)throw new w(-203,!1);return null===xr?Xh(e,void 0,t):xr.get(e,t&L.Optional?null:void 0,t)}function N(e,t=L.Default){return(function Yh(){return tu}()||VE)(B(e),t)}function I(e,t=L.Default){return N(e,bs(t))}function bs(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ru(e){const t=[];for(let n=0;n((Kt=Kt||{})[Kt.OnPush=0]="OnPush",Kt[Kt.Default=1]="Default",Kt))(),Ct=(()=>{return(e=Ct||(Ct={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Ct;var e})();const En={},ee=[],Ms=ie({\u0275cmp:ie}),ou=ie({\u0275dir:ie}),iu=ie({\u0275pipe:ie}),Jh=ie({\u0275mod:ie}),bn=ie({\u0275fac:ie}),qo=ie({__NG_ELEMENT_ID__:ie}),ep=ie({__NG_ENV_ID__:ie});function tp(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function su(e,t,n){let r=0;for(;rt){s=i-1;break}}}for(;ii?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==tp(h,u,0)||2&r&&u!==f){if(Lt(r))return!1;s=!0}}}}else{if(!s&&!Lt(r)&&!Lt(l))return!1;if(s&&Lt(l))continue;s=!1,r=l|1&r}}return Lt(r)||s}function Lt(e){return 0==(1&e)}function GE(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o-1)for(n++;n0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!Lt(s)&&(t+=lp(i,o),o=""),r=s,i=i||!Lt(r);n++}return""!==o&&(t+=lp(i,o)),t}function Rt(e){return wn(()=>{const t=cp(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Kt.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,data:e.data||{},encapsulation:e.encapsulation||Ct.Emulated,styles:e.styles||ee,_:null,schemas:e.schemas||null,tView:null,id:""};dp(n);const r=e.dependencies;return n.directiveDefs=Ss(r,!1),n.pipeDefs=Ss(r,!0),n.id=function o1(e){let t=0;const n=JSON.stringify([e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.exportAs,e.inputs,e.outputs,Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery]);for(const o of n)t=Math.imul(31,t)+o.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function e1(e){return ne(e)||Ze(e)}function t1(e){return null!==e}function Vt(e){return wn(()=>({type:e.type,bootstrap:e.bootstrap||ee,declarations:e.declarations||ee,imports:e.imports||ee,exports:e.exports||ee,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function up(e,t){if(null==e)return En;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function $(e){return wn(()=>{const t=cp(e);return dp(t),t})}function lt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function ne(e){return e[Ms]||null}function Ze(e){return e[ou]||null}function ut(e){return e[iu]||null}function _t(e,t){const n=e[Jh]||null;if(!n&&!0===t)throw new Error(`Type ${xe(e)} does not have '\u0275mod' property.`);return n}function cp(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,exportAs:e.exportAs||null,standalone:!0===e.standalone,selectors:e.selectors||ee,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:up(e.inputs,t),outputs:up(e.outputs)}}function dp(e){e.features?.forEach(t=>t(e))}function Ss(e,t){if(!e)return null;const n=t?ut:e1;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(t1)}const Fe=0,T=1,W=2,ve=3,Ht=4,ur=5,Ye=6,kr=7,De=8,Lr=9,cr=10,z=11,Yo=12,fp=13,Vr=14,Te=15,Xo=16,Hr=17,Jt=18,Qo=19,hp=20,Un=21,Mn=22,Is=23,Ts=24,Q=25,au=1,pp=2,en=7,As=8,$r=9,Ue=11;function Dt(e){return Array.isArray(e)&&"object"==typeof e[au]}function ct(e){return Array.isArray(e)&&!0===e[au]}function lu(e){return 0!=(4&e.flags)}function dr(e){return e.componentOffset>-1}function Ns(e){return 1==(1&e.flags)}function $t(e){return!!e.template}function uu(e){return 0!=(512&e[W])}function fr(e,t){return e.hasOwnProperty(bn)?e[bn]:null}let u1=de.WeakRef??class l1{constructor(t){this.ref=t}deref(){return this.ref}},d1=0,tn=null,Rs=!1;function $e(e){const t=tn;return tn=e,t}class Cp{constructor(){this.id=d1++,this.ref=function c1(e){return new u1(e)}(this),this.producers=new Map,this.consumers=new Map,this.trackingVersion=0,this.valueVersion=0}consumerPollProducersForChange(){for(const[t,n]of this.producers){const r=n.producerNode.deref();if(void 0!==r&&n.atTrackingVersion===this.trackingVersion){if(r.producerPollStatus(n.seenValueVersion))return!0}else this.producers.delete(t),r?.consumers.delete(this.id)}return!1}producerMayHaveChanged(){const t=Rs;Rs=!0;try{for(const[n,r]of this.consumers){const o=r.consumerNode.deref();void 0!==o&&o.trackingVersion===r.atTrackingVersion?o.onConsumerDependencyMayHaveChanged():(this.consumers.delete(n),o?.producers.delete(this.id))}}finally{Rs=t}}producerAccessed(){if(Rs)throw new Error("");if(null===tn)return;let t=tn.producers.get(this.id);void 0===t?(t={consumerNode:tn.ref,producerNode:this.ref,seenValueVersion:this.valueVersion,atTrackingVersion:tn.trackingVersion},tn.producers.set(this.id,t),this.consumers.set(tn.id,t)):(t.seenValueVersion=this.valueVersion,t.atTrackingVersion=tn.trackingVersion)}get hasProducers(){return this.producers.size>0}get producerUpdatesAllowed(){return!1!==tn?.consumerAllowSignalWrites}producerPollStatus(t){return this.valueVersion!==t||(this.onProducerUpdateValueVersion(),this.valueVersion!==t)}}let _p=null;const Dp=()=>{};class g1 extends Cp{constructor(t,n,r){super(),this.watch=t,this.schedule=n,this.dirty=!1,this.cleanupFn=Dp,this.registerOnCleanup=o=>{this.cleanupFn=o},this.consumerAllowSignalWrites=r}notify(){this.dirty||this.schedule(this),this.dirty=!0}onConsumerDependencyMayHaveChanged(){this.notify()}onProducerUpdateValueVersion(){}run(){if(this.dirty=!1,0!==this.trackingVersion&&!this.consumerPollProducersForChange())return;const t=$e(this);this.trackingVersion++;try{this.cleanupFn(),this.cleanupFn=Dp,this.watch(this.registerOnCleanup)}finally{$e(t)}}cleanup(){this.cleanupFn()}}class m1{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Ot(){return wp}function wp(e){return e.type.prototype.ngOnChanges&&(e.setInput=v1),y1}function y1(){const e=bp(this),t=e?.current;if(t){const n=e.previous;if(n===En)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function v1(e,t,n,r){const o=this.declaredInputs[n],i=bp(e)||function C1(e,t){return e[Ep]=t}(e,{previous:En,current:null}),s=i.current||(i.current={}),a=i.previous,l=a[o];s[o]=new m1(l&&l.currentValue,t,a===En),e[r]=t}Ot.ngInherit=!0;const Ep="__ngSimpleChanges__";function bp(e){return e[Ep]||null}const nn=function(e,t,n){};function ge(e){for(;Array.isArray(e);)e=e[Fe];return e}function xs(e,t){return ge(t[e])}function dt(e,t){return ge(t[e.index])}function Ip(e,t){return e.data[t]}function ft(e,t){const n=t[e];return Dt(n)?n:n[Fe]}function Fs(e){return 128==(128&e[W])}function zn(e,t){return null==t?null:e[t]}function Tp(e){e[Hr]=0}function M1(e){1024&e[W]||(e[W]|=1024,Np(e,1))}function Ap(e){1024&e[W]&&(e[W]&=-1025,Np(e,-1))}function Np(e,t){let n=e[ve];if(null===n)return;n[ur]+=t;let r=n;for(n=n[ve];null!==n&&(1===t&&1===r[ur]||-1===t&&0===r[ur]);)n[ur]+=t,r=n,n=n[ve]}const H={lFrame:jp(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Pp(){return H.bindingsEnabled}function D(){return H.lFrame.lView}function K(){return H.lFrame.tView}function ks(e){return H.lFrame.contextLView=e,e[De]}function Ls(e){return H.lFrame.contextLView=null,e}function ze(){let e=xp();for(;null!==e&&64===e.type;)e=e.parent;return e}function xp(){return H.lFrame.currentTNode}function rn(e,t){const n=H.lFrame;n.currentTNode=e,n.isParent=t}function gu(){return H.lFrame.isParent}function tt(){const e=H.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ur(){return H.lFrame.bindingIndex++}function In(e){const t=H.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function L1(e,t){const n=H.lFrame;n.bindingIndex=n.bindingRootIndex=e,yu(t)}function yu(e){H.lFrame.currentDirectiveIndex=e}function Vp(){return H.lFrame.currentQueryIndex}function Cu(e){H.lFrame.currentQueryIndex=e}function H1(e){const t=e[T];return 2===t.type?t.declTNode:1===t.type?e[Ye]:null}function Hp(e,t,n){if(n&L.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&L.Host||(o=H1(i),null===o||(i=i[Vr],10&o.type))););if(null===o)return!1;t=o,e=i}const r=H.lFrame=$p();return r.currentTNode=t,r.lView=e,!0}function _u(e){const t=$p(),n=e[T];H.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function $p(){const e=H.lFrame,t=null===e?null:e.child;return null===t?jp(e):t}function jp(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Bp(){const e=H.lFrame;return H.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Up=Bp;function Du(){const e=Bp();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function nt(){return H.lFrame.selectedIndex}function hr(e){H.lFrame.selectedIndex=e}function Ce(){const e=H.lFrame;return Ip(e.tView,e.selectedIndex)}let Gp=!0;function Vs(){return Gp}function Gn(e){Gp=e}function Hs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n=r)break}else t[l]<0&&(e[Hr]+=65536),(a>12>16&&(3&e[W])===t&&(e[W]+=4096,qp(a,i)):qp(a,i)}const zr=-1;class ei{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Zp(e){return e!==zr}function Bs(e){return 32767&e}function Us(e,t){let n=function Q1(e){return e>>16}(e),r=t;for(;n>0;)r=r[Vr],n--;return r}let bu=!0;function zs(e){const t=bu;return bu=e,t}const Yp=255,Xp=5;let K1=0;const on={};function Gs(e,t){const n=Qp(e,t);if(-1!==n)return n;const r=t[T];r.firstCreatePass&&(e.injectorIndex=t.length,Mu(r.data,e),Mu(t,null),Mu(r.blueprint,null));const o=Su(e,t),i=e.injectorIndex;if(Zp(o)){const s=Bs(o),a=Us(o,t),l=a[T].data;for(let u=0;u<8;u++)t[i+u]=a[s+u]|l[s+u]}return t[i+8]=o,i}function Mu(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Qp(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Su(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){if(r=og(o),null===r)return zr;if(n++,o=o[Vr],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return zr}function Iu(e,t,n){!function J1(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(qo)&&(r=n[qo]),null==r&&(r=n[qo]=K1++);const o=r&Yp;t.data[e+(o>>Xp)]|=1<=0?t&Yp:rb:t}(n);if("function"==typeof i){if(!Hp(t,e,r))return r&L.Host?Kp(o,0,r):Jp(t,n,r,o);try{const s=i(r);if(null!=s||r&L.Optional)return s;_s()}finally{Up()}}else if("number"==typeof i){let s=null,a=Qp(e,t),l=zr,u=r&L.Host?t[Te][Ye]:null;for((-1===a||r&L.SkipSelf)&&(l=-1===a?Su(e,t):t[a+8],l!==zr&&rg(r,!1)?(s=t[T],a=Bs(l),t=Us(l,t)):a=-1);-1!==a;){const c=t[T];if(ng(i,a,c.data)){const d=tb(a,t,n,s,r,u);if(d!==on)return d}l=t[a+8],l!==zr&&rg(r,t[T].data[a+8]===u)&&ng(i,a,t)?(s=c,a=Bs(l),t=Us(l,t)):a=-1}}return o}function tb(e,t,n,r,o,i){const s=t[T],a=s.data[e+8],c=Ws(a,s,n,null==r?dr(a)&&bu:r!=s&&0!=(3&a.type),o&L.Host&&i===a);return null!==c?pr(t,s,c,a):on}function Ws(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,l=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h=l&&p.type===n)return h}if(o){const h=s[l];if(h&&$t(h)&&h.type===n)return l}return null}function pr(e,t,n,r){let o=e[n];const i=t.data;if(function Z1(e){return e instanceof ei}(o)){const s=o;s.resolving&&function SE(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new w(-200,`Circular dependency in DI detected for ${e}${n}`)}(function re(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():U(e)}(i[n]));const a=zs(s.canSeeViewProviders);s.resolving=!0;const l=s.injectImpl?at(s.injectImpl):null;Hp(e,r,L.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function W1(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=wp(t);(n.preOrderHooks??=[]).push(e,s),(n.preOrderCheckHooks??=[]).push(e,s)}o&&(n.preOrderHooks??=[]).push(0-e,o),i&&((n.preOrderHooks??=[]).push(e,i),(n.preOrderCheckHooks??=[]).push(e,i))}(n,i[n],t)}finally{null!==l&&at(l),zs(a),s.resolving=!1,Up()}}return o}function ng(e,t,n){return!!(n[t+(e>>Xp)]&1<{const t=e.prototype.constructor,n=t[bn]||Tu(t),r=Object.prototype;let o=Object.getPrototypeOf(e.prototype).constructor;for(;o&&o!==r;){const i=o[bn]||Tu(o);if(i&&i!==n)return i;o=Object.getPrototypeOf(o)}return i=>new i})}function Tu(e){return Ql(e)?()=>{const t=Tu(B(e));return t&&t()}:fr(e)}function og(e){const t=e[T],n=t.type;return 2===n?t.declTNode:1===n?e[Ye]:null}const qr="__parameters__";function Yr(e,t,n){return wn(()=>{const r=function Au(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(l,u,c){const d=l.hasOwnProperty(qr)?l[qr]:Object.defineProperty(l,qr,{value:[]})[qr];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),l}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function ri(e,t){e.forEach(n=>Array.isArray(n)?ri(n,t):t(n))}function sg(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Zs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function wt(e,t,n){let r=Xr(e,t);return r>=0?e[1|r]=n:(r=~r,function ub(e,t,n,r){let o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Nu(e,t){const n=Xr(e,t);if(n>=0)return e[1|n]}function Xr(e,t){return function ag(e,t,n){let r=0,o=e.length>>n;for(;o!==r;){const i=r+(o-r>>1),s=e[i<t?o=i:r=i+1}return~(o<((ht=ht||{})[ht.Important=1]="Important",ht[ht.DashCase=2]="DashCase",ht))();const Lu=new Map;let Pb=0;const Hu="__ngContext__";function Xe(e,t){Dt(t)?(e[Hu]=t[Qo],function Fb(e){Lu.set(e[Qo],e)}(t)):e[Hu]=t}let $u;function ju(e,t){return $u(e,t)}function ai(e){const t=e[ve];return ct(t)?t[ve]:t}function Bu(e){return Sg(e[Yo])}function Uu(e){return Sg(e[Ht])}function Sg(e){for(;null!==e&&!ct(e);)e=e[Ht];return e}function Jr(e,t,n,r,o){if(null!=r){let i,s=!1;ct(r)?i=r:Dt(r)&&(s=!0,r=r[Fe]);const a=ge(r);0===e&&null!==n?null==o?Rg(t,n,a):gr(t,n,a,o||null,!0):1===e&&null!==n?gr(t,n,a,o||null,!0):2===e?function sa(e,t,n){const r=oa(e,t);r&&function eM(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function rM(e,t,n,r,o){const i=n[en];i!==ge(n)&&Jr(t,e,r,i,o);for(let a=Ue;a0&&(e[n-1][Ht]=r[Ht]);const i=Zs(e,Ue+t);!function Wb(e,t){ui(e,t,t[z],2,null,null),t[Fe]=null,t[Ye]=null}(r[T],r);const s=i[Jt];null!==s&&s.detachView(i[T]),r[ve]=null,r[Ht]=null,r[W]&=-129}return r}function Ag(e,t){if(!(256&t[W])){const n=t[z];t[Is]?.destroy(),t[Ts]?.destroy(),n.destroyNode&&ui(e,t,n,3,null,null),function Yb(e){let t=e[Yo];if(!t)return Wu(e[T],e);for(;t;){let n=null;if(Dt(t))n=t[Yo];else{const r=t[Ue];r&&(n=r)}if(!n){for(;t&&!t[Ht]&&t!==e;)Dt(t)&&Wu(t[T],t),t=t[ve];null===t&&(t=e),Dt(t)&&Wu(t[T],t),n=t&&t[Ht]}t=n}}(t)}}function Wu(e,t){if(!(256&t[W])){t[W]&=-129,t[W]|=256,function Jb(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r=0?r[s]():r[-s].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);null!==r&&(t[kr]=null);const o=t[Un];if(null!==o){for(let i=0;i-1){const{encapsulation:i}=e.data[r.directiveStart+o];if(i===Ct.None||i===Ct.Emulated)return null}return dt(r,n)}}(e,t.parent,n)}function gr(e,t,n,r,o){e.insertBefore(t,n,r,o)}function Rg(e,t,n){e.appendChild(t,n)}function Og(e,t,n,r,o){null!==r?gr(e,t,n,r,o):Rg(e,t,n)}function oa(e,t){return e.parentNode(t)}let Zu,Ku,la,Fg=function xg(e,t,n){return 40&e.type?dt(e,n):null};function ia(e,t,n,r){const o=qu(e,r,t),i=t[z],a=function Pg(e,t,n){return Fg(e,t,n)}(r.parent||t[Ye],r,t);if(null!=o)if(Array.isArray(n))for(let l=0;le,createScript:e=>e,createScriptURL:e=>e})}catch{}return la}()?.createScriptURL(e)||e}class Gg{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Gh})`}}function Wn(e){return e instanceof Gg?e.changingThisBreaksApplicationSecurity:e}function di(e,t){const n=function gM(e){return e instanceof Gg&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${Gh})`)}return n===t}const CM=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;var Ae=(()=>((Ae=Ae||{})[Ae.NONE=0]="NONE",Ae[Ae.HTML=1]="HTML",Ae[Ae.STYLE=2]="STYLE",Ae[Ae.SCRIPT=3]="SCRIPT",Ae[Ae.URL=4]="URL",Ae[Ae.RESOURCE_URL=5]="RESOURCE_URL",Ae))();function oc(e){const t=hi();return t?t.sanitize(Ae.URL,e)||"":di(e,"URL")?Wn(e):function ec(e){return(e=String(e)).match(CM)?e:"unsafe:"+e}(U(e))}function Kg(e){const t=hi();if(t)return zg(t.sanitize(Ae.RESOURCE_URL,e)||"");if(di(e,"ResourceURL"))return zg(Wn(e));throw new w(904,!1)}function hi(){const e=D();return e&&e[cr].sanitizer}class R{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=O({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const pi=new R("ENVIRONMENT_INITIALIZER"),em=new R("INJECTOR",-1),tm=new R("INJECTOR_DEF_TYPES");class nm{get(t,n=Go){if(n===Go){const r=new Error(`NullInjectorError: No provider for ${xe(t)}!`);throw r.name="NullInjectorError",r}return n}}function OM(...e){return{\u0275providers:rm(0,e),\u0275fromNgModule:!0}}function rm(e,...t){const n=[],r=new Set;let o;return ri(t,i=>{const s=i;sc(s,n,[],r)&&(o||=[],o.push(s))}),void 0!==o&&om(o,n),n}function om(e,t){for(let n=0;n{t.push(i)})}}function sc(e,t,n,r){if(!(e=B(e)))return!1;let o=null,i=qh(e);const s=!i&&ne(e);if(i||s){if(s&&!s.standalone)return!1;o=e}else{const l=e.ngModule;if(i=qh(l),!i)return!1;o=l}const a=r.has(o);if(s){if(a)return!1;if(r.add(o),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)sc(u,t,n,r)}}else{if(!i)return!1;{if(null!=i.imports&&!a){let u;r.add(o);try{ri(i.imports,c=>{sc(c,t,n,r)&&(u||=[],u.push(c))})}finally{}void 0!==u&&om(u,t)}if(!a){const u=fr(o)||(()=>new o);t.push({provide:o,useFactory:u,deps:ee},{provide:tm,useValue:o,multi:!0},{provide:pi,useValue:()=>N(o),multi:!0})}const l=i.providers;null==l||a||ac(l,c=>{t.push(c)})}}return o!==e&&void 0!==e.providers}function ac(e,t){for(let n of e)Kl(n)&&(n=n.\u0275providers),Array.isArray(n)?ac(n,t):t(n)}const PM=ie({provide:String,useValue:ie});function lc(e){return null!==e&&"object"==typeof e&&PM in e}function mr(e){return"function"==typeof e}const uc=new R("Set Injector scope."),ca={},FM={};let cc;function da(){return void 0===cc&&(cc=new nm),cc}class sn{}class dc extends sn{get destroyed(){return this._destroyed}constructor(t,n,r,o){super(),this.parent=n,this.source=r,this.scopes=o,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,hc(t,s=>this.processProvider(s)),this.records.set(em,to(void 0,this)),o.has("environment")&&this.records.set(sn,to(void 0,this));const i=this.records.get(uc);null!=i&&"string"==typeof i.value&&this.scopes.add(i.value),this.injectorDefTypes=new Set(this.get(tm.multi,ee,L.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=Bn(this),r=at(void 0);try{return t()}finally{Bn(n),at(r)}}get(t,n=Go,r=L.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(ep))return t[ep](this);r=bs(r);const o=Bn(this),i=at(void 0);try{if(!(r&L.SkipSelf)){let a=this.records.get(t);if(void 0===a){const l=function $M(e){return"function"==typeof e||"object"==typeof e&&e instanceof R}(t)&&Ds(t);a=l&&this.injectableDefInScope(l)?to(fc(t),ca):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&L.Self?da():this.parent).get(t,n=r&L.Optional&&n===Go?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Es]=s[Es]||[]).unshift(xe(t)),o)throw s;return function $E(e,t,n,r){const o=e[Es];throw t[Qh]&&o.unshift(t[Qh]),e.message=function jE(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let o=xe(t);if(Array.isArray(t))o=t.map(xe).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):xe(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(FE,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Es]=null,e}(s,t,"R3InjectorError",this.source)}throw s}finally{at(i),Bn(o)}}resolveInjectorInitializers(){const t=Bn(this),n=at(void 0);try{const r=this.get(pi.multi,ee,L.Self);for(const o of r)o()}finally{Bn(t),at(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(xe(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new w(205,!1)}processProvider(t){let n=mr(t=B(t))?t:B(t&&t.provide);const r=function LM(e){return lc(e)?to(void 0,e.useValue):to(am(e),ca)}(t);if(mr(t)||!0!==t.multi)this.records.get(n);else{let o=this.records.get(n);o||(o=to(void 0,ca,!0),o.factory=()=>ru(o.multi),this.records.set(n,o)),n=t,o.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===ca&&(n.value=FM,n.value=n.factory()),"object"==typeof n.value&&n.value&&function HM(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this._ngOnDestroyHooks.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=B(t.providedIn);return"string"==typeof n?"any"===n||this.scopes.has(n):this.injectorDefTypes.has(n)}removeOnDestroy(t){const n=this._onDestroyHooks.indexOf(t);-1!==n&&this._onDestroyHooks.splice(n,1)}}function fc(e){const t=Ds(e),n=null!==t?t.factory:fr(e);if(null!==n)return n;if(e instanceof R)throw new w(204,!1);if(e instanceof Function)return function kM(e){const t=e.length;if(t>0)throw function oi(e,t){const n=[];for(let r=0;rn.factory(e):()=>new e}(e);throw new w(204,!1)}function am(e,t,n){let r;if(mr(e)){const o=B(e);return fr(o)||fc(o)}if(lc(e))r=()=>B(e.useValue);else if(function sm(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...ru(e.deps||[]));else if(function im(e){return!(!e||!e.useExisting)}(e))r=()=>N(B(e.useExisting));else{const o=B(e&&(e.useClass||e.provide));if(!function VM(e){return!!e.deps}(e))return fr(o)||fc(o);r=()=>new o(...ru(e.deps))}return r}function to(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function hc(e,t){for(const n of e)Array.isArray(n)?hc(n,t):n&&Kl(n)?hc(n.\u0275providers,t):t(n)}const fa=new R("AppId",{providedIn:"root",factory:()=>jM}),jM="ng",lm=new R("Platform Initializer"),yr=new R("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),um=new R("CSP nonce",{providedIn:"root",factory:()=>function ci(){if(void 0!==Ku)return Ku;if(typeof document<"u")return document;throw new w(210,!1)}().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let dm=(e,t)=>null;function fm(e,t){return dm(e,t)}class QM{}class gm{}class JM{resolveComponentFactory(t){throw function KM(e){const t=Error(`No component factory found for ${xe(e)}.`);return t.ngComponent=e,t}(t)}}let ya=(()=>{class e{}return e.NULL=new JM,e})();function eS(){return no(ze(),D())}function no(e,t){return new Et(dt(e,t))}let Et=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=eS,e})();function tS(e){return e instanceof Et?e.nativeElement:e}class ym{}let An=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function nS(){const e=D(),n=ft(ze().index,e);return(Dt(n)?n:e)[z]}(),e})(),rS=(()=>{class e{}return e.\u0275prov=O({token:e,providedIn:"root",factory:()=>null}),e})();class vi{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const oS=new vi("16.0.1"),bc={};function Ci(e){for(;e;){e[W]|=64;const t=ai(e);if(uu(e)&&!t)return e;e=t}return null}function Mc(e){return e.ngOriginalError}class vr{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t);this._console.error("ERROR",t),n&&this._console.error("ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&Mc(t);for(;n&&Mc(n);)n=Mc(n);return n||null}}const _m=new R("",{providedIn:"root",factory:()=>!1});function Nn(e){return e instanceof Function?e():e}class Em extends Cp{constructor(){super(...arguments),this.consumerAllowSignalWrites=!1,this._lView=null}set lView(t){this._lView=t}onConsumerDependencyMayHaveChanged(){Ci(this._lView)}onProducerUpdateValueVersion(){}get hasReadASignal(){return this.hasProducers}runInContext(t,n,r){const o=$e(this);this.trackingVersion++;try{t(n,r)}finally{$e(o)}}destroy(){this.trackingVersion++}}let Ca=null;function bm(){return Ca??=new Em,Ca}function Mm(e,t){return e[t]??bm()}function Sm(e,t){const n=bm();n.hasReadASignal&&(e[t]=Ca,n.lView=e,Ca=new Em)}const G={};function S(e){Im(K(),D(),nt()+e,!1)}function Im(e,t,n,r){if(!r)if(3==(3&t[W])){const i=e.preOrderCheckHooks;null!==i&&$s(t,i,n)}else{const i=e.preOrderHooks;null!==i&&js(t,i,0,n)}hr(n)}function Rm(e,t=null,n=null,r){const o=Om(e,t,n,r);return o.resolveInjectorInitializers(),o}function Om(e,t=null,n=null,r,o=new Set){const i=[n||ee,OM(e)];return r=r||("object"==typeof e?void 0:xe(e)),new dc(i,t||da(),r||null,o)}let an=(()=>{class e{static create(n,r){if(Array.isArray(n))return Rm({name:""},r,n,"");{const o=n.name??"";return Rm({name:o},n.parent,n.providers,o)}}}return e.THROW_IF_NOT_FOUND=Go,e.NULL=new nm,e.\u0275prov=O({token:e,providedIn:"any",factory:()=>N(em)}),e.__NG_ELEMENT_ID__=-1,e})();function _(e,t=L.Default){const n=D();return null===n?N(e,t):eg(ze(),n,B(e),t)}function _a(e,t,n,r,o,i,s,a,l,u,c){const d=t.blueprint.slice();return d[Fe]=o,d[W]=140|r,(null!==u||e&&2048&e[W])&&(d[W]|=2048),Tp(d),d[ve]=d[Vr]=e,d[De]=n,d[cr]=s||e&&e[cr],d[z]=a||e&&e[z],d[Lr]=l||e&&e[Lr]||null,d[Ye]=i,d[Qo]=function xb(){return Pb++}(),d[Mn]=c,d[hp]=u,d[Te]=2==t.type?e[Te]:d,d}function oo(e,t,n,r,o){let i=e.data[t];if(null===i)i=function Sc(e,t,n,r,o){const i=xp(),s=gu(),l=e.data[t]=function MS(e,t,n,r,o,i){let s=t?t.injectorIndex:-1,a=0;return function Br(){return null!==H.skipHydrationRootTNode}()&&(a|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=l),null!==i&&(s?null==i.child&&null!==l.parent&&(i.child=l):null===i.next&&(i.next=l,l.prev=i)),l}(e,t,n,r,o),function k1(){return H.lFrame.inI18n}()&&(i.flags|=32);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function Jo(){const e=H.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return rn(i,!0),i}function _i(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;iQ&&Im(e,t,Q,!1),nn(a?2:0,o),a)i.runInContext(n,r,o);else{const u=$e(null);try{n(r,o)}finally{$e(u)}}}finally{a&&null===t[Is]&&Sm(t,Is),hr(s),nn(a?3:1,o)}}function Ic(e,t,n){if(lu(t)){const r=$e(null);try{const i=t.directiveEnd;for(let s=t.directiveStart;snull;function Lm(e,t,n,r){for(let o in e)if(e.hasOwnProperty(o)){n=null===n?{}:n;const i=e[o];null===r?Vm(n,t,o,i):r.hasOwnProperty(o)&&Vm(n,t,r[o],i)}return n}function Vm(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function bt(e,t,n,r,o,i,s,a){const l=dt(t,n);let c,u=t.inputs;!a&&null!=u&&(c=u[r])?(Fc(e,n,c,r,o),dr(t)&&function TS(e,t){const n=ft(t,e);16&n[W]||(n[W]|=64)}(n,t.index)):3&t.type&&(r=function IS(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,i.setProperty(l,r,o))}function Rc(e,t,n,r){if(Pp()){const o=null===r?null:{"":-1},i=function xS(e,t){const n=e.directiveRegistry;let r=null,o=null;if(n)for(let i=0;i0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=a&&s.push(a),s.push(n,r,i)}}(e,t,r,_i(e,n,o.hostVars,G),o)}function ln(e,t,n,r,o,i){const s=dt(e,t);!function Pc(e,t,n,r,o,i,s){if(null==i)e.removeAttribute(t,o,n);else{const a=null==s?U(i):s(i,r||"",o);e.setAttribute(t,o,a,n)}}(t[z],s,i,e.value,n,r,o)}function $S(e,t,n,r,o,i){const s=i[t];if(null!==s)for(let a=0;a{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,o){const i=typeof Zone>"u"?null:Zone.current,s=new g1(n,u=>{this.all.has(u)&&this.queue.set(u,i)},o);let a;this.all.add(s),s.notify();const l=()=>{s.cleanup(),a?.(),this.all.delete(s),this.queue.delete(s)};return a=r?.onDestroy(l),{destroy:l}}flush(){if(0!==this.queue.size)for(const[n,r]of this.queue)this.queue.delete(n),r?r.run(()=>n.run()):n.run()}get isQueueEmpty(){return 0===this.queue.size}}return e.\u0275prov=O({token:e,providedIn:"root",factory:()=>new e}),e})();function wa(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s0&&Lc(n)}}function Lc(e){for(let r=Bu(e);null!==r;r=Uu(r))for(let o=Ue;o0&&Lc(i)}const n=e[T].components;if(null!==n)for(let r=0;r0&&Lc(o)}}class wi{get rootNodes(){const t=this._lView,n=t[T];return Di(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[De]}set context(t){this._lView[De]=t}get destroyed(){return 256==(256&this._lView[W])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[ve];if(ct(t)){const n=t[As],r=n?n.indexOf(this):-1;r>-1&&(Gu(t,r),Zs(n,r))}this._attachedToViewContainer=!1}Ag(this._lView[T],this._lView)}onDestroy(t){!function Rp(e,t){if(256==(256&e[W]))throw new w(911,!1);null===e[Un]&&(e[Un]=[]),e[Un].push(t)}(this._lView,t)}markForCheck(){Ci(this._cdRefInjectingView||this._lView)}detach(){this._lView[W]&=-129}reattach(){this._lView[W]|=128}detectChanges(){Ea(this._lView[T],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new w(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Zb(e,t){ui(e,t,t[z],2,null,null)}(this._lView[T],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new w(902,!1);this._appRef=t}}class JS extends wi{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Ea(t[T],t,t[De],!1)}checkNoChanges(){}get context(){return null}}class Ym extends ya{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=ne(t);return new Ei(n,this.ngModule)}}function Xm(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class tI{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=bs(r);const o=this.injector.get(t,bc,r);return o!==bc||n===bc?o:this.parentInjector.get(t,n,r)}}class Ei extends gm{get inputs(){return Xm(this.componentDef.inputs)}get outputs(){return Xm(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function QE(e){return e.map(XE).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,o){let i=(o=o||this.ngModule)instanceof sn?o:o?.injector;i&&null!==this.componentDef.getStandaloneInjector&&(i=this.componentDef.getStandaloneInjector(i)||i);const s=i?new tI(t,i):t,a=s.get(ym,null);if(null===a)throw new w(407,!1);const c={rendererFactory:a,sanitizer:s.get(rS,null),effectManager:s.get(Zm,null)},d=a.createRenderer(null,this.componentDef),f=this.componentDef.selectors[0][0]||"div",h=r?function _S(e,t,n,r){const i=r.get(_m,!1)||n===Ct.ShadowDom,s=e.selectRootElement(t,i);return function DS(e){km(e)}(s),s}(d,r,this.componentDef.encapsulation,s):ra(d,f,function eI(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(f)),p=this.componentDef.onPush?576:528,m=Nc(0,null,null,1,0,null,null,null,null,null,null),C=_a(null,m,null,p,null,null,c,d,s,null,null);let b,g;_u(C);try{const M=this.componentDef;let x,Y=null;M.findHostDirectiveDefs?(x=[],Y=new Map,M.findHostDirectiveDefs(M,x,Y),x.push(M)):x=[M];const pe=function rI(e,t){const n=e[T],r=Q;return e[r]=t,oo(n,r,2,"#host",null)}(C,h),$o=function oI(e,t,n,r,o,i,s){const a=o[T];!function iI(e,t,n,r){for(const o of e)t.mergedAttrs=Zo(t.mergedAttrs,o.hostAttrs);null!==t.mergedAttrs&&(wa(t,t.mergedAttrs,!0),null!==n&&jg(r,n,t))}(r,e,t,s);let l=null;null!==t&&(l=fm(t,o[Lr]));const u=i.rendererFactory.createRenderer(t,n),c=_a(o,Fm(n),null,n.onPush?64:16,o[e.index],e,i,u,null,null,l);return a.firstCreatePass&&Oc(a,e,r.length-1),Da(o,c),o[e.index]=c}(pe,h,M,x,C,c,d);g=Ip(m,Q),h&&function aI(e,t,n,r){if(r)su(e,n,["ng-version",oS.full]);else{const{attrs:o,classes:i}=function KE(e){const t=[],n=[];let r=1,o=2;for(;r0&&$g(e,n,i.join(" "))}}(d,M,h,r),void 0!==n&&function lI(e,t,n){const r=e.projection=[];for(let o=0;o=0;r--){const o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Zo(o.hostAttrs,n=Zo(n,o.hostAttrs))}}(r)}function Vc(e){return e===En?{}:e===ee?[]:e}function dI(e,t){const n=e.viewQuery;e.viewQuery=n?(r,o)=>{t(r,o),n(r,o)}:t}function fI(e,t){const n=e.contentQueries;e.contentQueries=n?(r,o,i)=>{t(r,o,i),n(r,o,i)}:t}function hI(e,t){const n=e.hostBindings;e.hostBindings=n?(r,o)=>{t(r,o),n(r,o)}:t}function Ma(e){return!!function Hc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function un(e,t,n){return e[t]=n}function Qe(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Cr(e,t,n,r){const o=Qe(e,t,n);return Qe(e,t+1,r)||o}function cn(e,t,n,r){const o=D();return Qe(o,Ur(),t)&&(K(),ln(Ce(),o,e,t,n,r)),cn}function so(e,t,n,r){return Qe(e,Ur(),n)?t+U(n)+r:G}function ao(e,t,n,r,o,i){const a=Cr(e,function Sn(){return H.lFrame.bindingIndex}(),n,o);return In(2),a?t+U(n)+r+U(o)+i:G}function On(e,t,n,r,o,i,s,a){const l=D(),u=K(),c=e+Q,d=u.firstCreatePass?function VI(e,t,n,r,o,i,s,a,l){const u=t.consts,c=oo(t,e,4,s||null,zn(u,a));Rc(t,n,c,zn(u,l)),Hs(t,c);const d=c.tView=Nc(2,c,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u,null);return null!==t.queries&&(t.queries.template(t,c),d.queries=t.queries.embeddedTView(c)),c}(c,u,l,t,n,r,o,i,s):u.data[c];rn(d,!1);const f=hy(u,l,d,e);Vs()&&ia(u,l,f,d),Xe(f,l),Da(l,l[c]=Bm(f,l,f,d)),Ns(d)&&Tc(u,l,d),null!=s&&Ac(l,d,a)}let hy=function py(e,t,n,r){return Gn(!0),t[z].createComment("")};function j(e,t,n){const r=D();return Qe(r,Ur(),t)&&bt(K(),Ce(),r,e,t,r[z],n,!1),j}function Gc(e,t,n,r,o){const s=o?"class":"style";Fc(e,n,t.inputs[s],s,r)}function y(e,t,n,r){const o=D(),i=K(),s=Q+e,a=o[z],l=i.firstCreatePass?function UI(e,t,n,r,o,i){const s=t.consts,l=oo(t,e,2,r,zn(s,o));return Rc(t,n,l,zn(s,i)),null!==l.attrs&&wa(l,l.attrs,!1),null!==l.mergedAttrs&&wa(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,t,n,r):i.data[s],u=gy(i,o,l,a,t,e);o[s]=u;const c=Ns(l);return rn(l,!0),jg(a,u,l),32!=(32&l.flags)&&Vs()&&ia(i,o,u,l),0===function I1(){return H.lFrame.elementDepthCount}()&&Xe(u,o),function T1(){H.lFrame.elementDepthCount++}(),c&&(Tc(i,o,l),Ic(i,l,o)),null!==r&&Ac(o,l),y}function v(){let e=ze();gu()?function mu(){H.lFrame.isParent=!1}():(e=e.parent,rn(e,!1));const t=e;(function N1(e){return H.skipHydrationRootTNode===e})(t)&&function x1(){H.skipHydrationRootTNode=null}(),function A1(){H.lFrame.elementDepthCount--}();const n=K();return n.firstCreatePass&&(Hs(n,e),lu(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Y1(e){return 0!=(8&e.flags)}(t)&&Gc(n,t,D(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function X1(e){return 0!=(16&e.flags)}(t)&&Gc(n,t,D(),t.stylesWithoutHost,!1),v}function ue(e,t,n,r){return y(e,t,n,r),v(),ue}let gy=(e,t,n,r,o,i)=>(Gn(!0),ra(r,o,function zp(){return H.lFrame.currentNamespace}()));function Na(){return D()}function Ti(e){return!!e&&"function"==typeof e.then}function vy(e){return!!e&&"function"==typeof e.subscribe}function P(e,t,n,r){const o=D(),i=K(),s=ze();return function _y(e,t,n,r,o,i,s){const a=Ns(r),u=e.firstCreatePass&&Gm(e),c=t[De],d=zm(t);let f=!0;if(3&r.type||s){const m=dt(r,t),C=s?s(m):m,b=d.length,g=s?x=>s(ge(x[r.index])):r.index;let M=null;if(!s&&a&&(M=function YI(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;il?a[l]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==M)(M.__ngLastListenerFn__||M).__ngNextListenerFn__=i,M.__ngLastListenerFn__=i,f=!1;else{i=wy(r,t,c,i,!1);const x=n.listen(C,o,i);d.push(i,x),u&&u.push(o,g,b,b+1)}}else i=wy(r,t,c,i,!1);const h=r.outputs;let p;if(f&&null!==h&&(p=h[o])){const m=p.length;if(m)for(let C=0;C-1?ft(e.index,t):t);let l=Dy(t,n,r,s),u=i.__ngNextListenerFn__;for(;u;)l=Dy(t,n,u,s)&&l,u=u.__ngNextListenerFn__;return o&&!1===l&&(s.preventDefault(),s.returnValue=!1),l}}function Ai(e=1){return function $1(e){return(H.lFrame.contextLView=function j1(e,t){for(;e>0;)t=t[Vr],e--;return t}(e,H.lFrame.contextLView))[De]}(e)}function Ra(e,t,n,r,o){const i=D(),s=so(i,t,n,r);return s!==G&&bt(K(),Ce(),i,e,s,i[z],o,!1),Ra}function Oa(e,t){return e<<17|t<<2}function qn(e){return e>>17&32767}function Zc(e){return 2|e}function _r(e){return(131068&e)>>2}function Yc(e,t){return-131069&e|t<<2}function Xc(e){return 1|e}function Oy(e,t,n,r,o){const i=e[n+1],s=null===t;let a=r?qn(i):_r(i),l=!1;for(;0!==a&&(!1===l||s);){const c=e[a+1];oT(e[a],t)&&(l=!0,e[a+1]=r?Xc(c):Zc(c)),a=r?qn(c):_r(c)}l&&(e[n+1]=r?Zc(i):Xc(i))}function oT(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Xr(e,t)>=0}function Pa(e,t){return function jt(e,t,n,r){const o=D(),i=K(),s=In(2);i.firstUpdatePass&&function jy(e,t,n,r){const o=e.data;if(null===o[n+1]){const i=o[nt()],s=function $y(e,t){return t>=e.expandoStartIndex}(e,n);(function Gy(e,t){return 0!=(e.flags&(t?8:16))})(i,r)&&null===t&&!s&&(t=!1),t=function hT(e,t,n,r){const o=function vu(e){const t=H.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Ni(n=Qc(null,e,t,n,r),t.attrs,r),i=null);else{const s=t.directiveStylingLast;if(-1===s||e[s]!==o)if(n=Qc(o,e,t,n,r),null===i){let l=function pT(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==_r(r))return e[qn(r)]}(e,t,r);void 0!==l&&Array.isArray(l)&&(l=Qc(null,e,t,l[1],r),l=Ni(l,t.attrs,r),function gT(e,t,n,r){e[qn(n?t.classBindings:t.styleBindings)]=r}(e,t,r,l))}else i=function mT(e,t,n){let r;const o=t.directiveEnd;for(let i=1+t.directiveStylingLast;i0)&&(u=!0)):c=n,o)if(0!==l){const f=qn(e[a+1]);e[r+1]=Oa(f,a),0!==f&&(e[f+1]=Yc(e[f+1],r)),e[a+1]=function eT(e,t){return 131071&e|t<<17}(e[a+1],r)}else e[r+1]=Oa(a,0),0!==a&&(e[a+1]=Yc(e[a+1],r)),a=r;else e[r+1]=Oa(l,0),0===a?a=r:e[l+1]=Yc(e[l+1],r),l=r;u&&(e[r+1]=Zc(e[r+1])),Oy(e,c,r,!0),Oy(e,c,r,!1),function rT(e,t,n,r,o){const i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&Xr(i,t)>=0&&(n[r+1]=Xc(n[r+1]))}(t,c,e,r,i),s=Oa(a,l),i?t.classBindings=s:t.styleBindings=s}(o,i,t,n,s,r)}}(i,e,s,r),t!==G&&Qe(o,s,t)&&function Uy(e,t,n,r,o,i,s,a){if(!(3&t.type))return;const l=e.data,u=l[a+1],c=function tT(e){return 1==(1&e)}(u)?zy(l,t,n,o,_r(u),s):void 0;xa(c)||(xa(i)||function JI(e){return 2==(2&e)}(u)&&(i=zy(l,null,n,o,a,s)),function oM(e,t,n,r,o){if(t)o?e.addClass(n,r):e.removeClass(n,r);else{let i=-1===r.indexOf("-")?void 0:ht.DashCase;null==o?e.removeStyle(n,r,i):("string"==typeof o&&o.endsWith("!important")&&(o=o.slice(0,-10),i|=ht.Important),e.setStyle(n,r,o,i))}}(r,s,xs(nt(),n),o,i))}(i,i.data[nt()],o,o[z],e,o[s+1]=function _T(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=xe(Wn(e)))),e}(t,n),r,s)}(e,t,null,!0),Pa}function Qc(e,t,n,r,o){let i=null;const s=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a0;){const l=e[o],u=Array.isArray(l),c=u?l[1]:l,d=null===c;let f=n[o+1];f===G&&(f=d?ee:void 0);let h=d?Nu(f,r):c===r?f:void 0;if(u&&!xa(h)&&(h=Nu(l,r)),xa(h)&&(a=h,s))return a;const p=e[o+1];o=s?qn(p):_r(p)}if(null!==t){let l=i?t.residualClasses:t.residualStyles;null!=l&&(a=Nu(l,r))}return a}function xa(e){return void 0!==e}function E(e,t=""){const n=D(),r=K(),o=e+Q,i=r.firstCreatePass?oo(r,o,1,t,null):r.data[o],s=Wy(r,n,i,t,e);n[o]=s,Vs()&&ia(r,n,s,i),rn(i,!1)}let Wy=(e,t,n,r,o)=>(Gn(!0),function na(e,t){return e.createText(t)}(t[z],r));function rt(e){return Ke("",e,""),rt}function Ke(e,t,n){const r=D(),o=so(r,e,t,n);return o!==G&&Rn(r,nt(),o),Ke}function Fa(e,t,n,r,o){const i=D(),s=ao(i,e,t,n,r,o);return s!==G&&Rn(i,nt(),s),Fa}const Dr=void 0;var BT=["en",[["a","p"],["AM","PM"],Dr],[["AM","PM"],Dr,Dr],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Dr,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Dr,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Dr,"{1} 'at' {0}",Dr],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function jT(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let mo={};function ot(e){const t=function UT(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=fv(t);if(n)return n;const r=t.split("-")[0];if(n=fv(r),n)return n;if("en"===r)return BT;throw new w(701,!1)}function fv(e){return e in mo||(mo[e]=de.ng&&de.ng.common&&de.ng.common.locales&&de.ng.common.locales[e]),mo[e]}var A=(()=>((A=A||{})[A.LocaleId=0]="LocaleId",A[A.DayPeriodsFormat=1]="DayPeriodsFormat",A[A.DayPeriodsStandalone=2]="DayPeriodsStandalone",A[A.DaysFormat=3]="DaysFormat",A[A.DaysStandalone=4]="DaysStandalone",A[A.MonthsFormat=5]="MonthsFormat",A[A.MonthsStandalone=6]="MonthsStandalone",A[A.Eras=7]="Eras",A[A.FirstDayOfWeek=8]="FirstDayOfWeek",A[A.WeekendRange=9]="WeekendRange",A[A.DateFormat=10]="DateFormat",A[A.TimeFormat=11]="TimeFormat",A[A.DateTimeFormat=12]="DateTimeFormat",A[A.NumberSymbols=13]="NumberSymbols",A[A.NumberFormats=14]="NumberFormats",A[A.CurrencyCode=15]="CurrencyCode",A[A.CurrencySymbol=16]="CurrencySymbol",A[A.CurrencyName=17]="CurrencyName",A[A.Currencies=18]="Currencies",A[A.Directionality=19]="Directionality",A[A.PluralCase=20]="PluralCase",A[A.ExtraData=21]="ExtraData",A))();const yo="en-US";let hv=yo;function ed(e,t,n,r,o){if(e=B(e),Array.isArray(e))for(let i=0;i>20;if(mr(e)||!e.multi){const h=new ei(l,o,_),p=nd(a,t,o?c:c+f,d);-1===p?(Iu(Gs(u,s),i,a),td(i,e,t.length),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(h),s.push(h)):(n[p]=h,s[p]=h)}else{const h=nd(a,t,c+f,d),p=nd(a,t,c,c+f),C=p>=0&&n[p];if(o&&!C||!o&&!(h>=0&&n[h])){Iu(Gs(u,s),i,a);const b=function $A(e,t,n,r,o){const i=new ei(e,n,_);return i.multi=[],i.index=t,i.componentProviders=0,Vv(i,o,r&&!n),i}(o?HA:VA,n.length,o,r,l);!o&&C&&(n[p].providerFactory=b),td(i,e,t.length,0),t.push(a),u.directiveStart++,u.directiveEnd++,o&&(u.providerIndexes+=1048576),n.push(b),s.push(b)}else td(i,e,h>-1?h:p,Vv(n[o?p:h],l,!o&&r));!o&&r&&C&&n[p].componentProviders++}}}function td(e,t,n,r){const o=mr(t),i=function xM(e){return!!e.useClass}(t);if(o||i){const l=(i?B(t.useClass):t).prototype.ngOnDestroy;if(l){const u=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){const c=u.indexOf(n);-1===c?u.push(n,[r,l]):u[c+1].push(r,l)}else u.push(n,l)}}}function Vv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function nd(e,t,n,r){for(let o=n;o{n.providersResolver=(r,o)=>function LA(e,t,n){const r=K();if(r.firstCreatePass){const o=$t(e);ed(n,r.data,r.blueprint,o,!0),ed(t,r.data,r.blueprint,o,!1)}}(r,o?o(e):e,t)}}class vo{}class Hv{}class od extends vo{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ym(this);const o=_t(t);this._bootstrapComponents=Nn(o.bootstrap),this._r3Injector=Om(t,n,[{provide:vo,useValue:this},{provide:ya,useValue:this.componentFactoryResolver},...r],xe(t),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(t)}get injector(){return this._r3Injector}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class id extends Hv{constructor(t){super(),this.moduleType=t}create(t){return new od(this.moduleType,t,[])}}class $v extends vo{constructor(t){super(),this.componentFactoryResolver=new Ym(this),this.instance=null;const n=new dc([...t.providers,{provide:vo,useValue:this},{provide:ya,useValue:this.componentFactoryResolver}],t.parent||da(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function sd(e,t,n=null){return new $v({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}let UA=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n.id)){const r=rm(0,n.type),o=r.length>0?sd([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n.id,o)}return this.cachedInjectors.get(n.id)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=O({token:e,providedIn:"environment",factory:()=>new e(N(sn))}),e})();function jv(e){e.getStandaloneInjector=t=>t.get(UA).getOrCreateStandaloneInjector(e)}function ld(e,t,n){const r=tt()+e,o=D();return o[r]===G?un(o,r,n?t.call(n):t()):function bi(e,t){return e[t]}(o,r)}function ud(e,t,n,r){return function Zv(e,t,n,r,o,i){const s=t+n;return Qe(e,s,o)?un(e,s+1,i?r.call(i,o):r(o)):ki(e,s+1)}(D(),tt(),e,t,n,r)}function ki(e,t){const n=e[t];return n===G?void 0:n}function Li(e,t){const n=K();let r;const o=e+Q;n.firstCreatePass?(r=function s2(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[o]=r,r.onDestroy&&(n.destroyHooks??=[]).push(o,r.onDestroy)):r=n.data[o];const i=r.factory||(r.factory=fr(r.type)),s=at(_);try{const a=zs(!1),l=i();return zs(a),function jI(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,D(),o,l),l}finally{at(s)}}function Vi(e,t,n,r){const o=e+Q,i=D(),s=function jr(e,t){return e[t]}(i,o);return function Hi(e,t){return e[T].data[t].pure}(i,o)?function Yv(e,t,n,r,o,i,s){const a=t+n;return Cr(e,a,o,i)?un(e,a+2,s?r.call(s,o,i):r(o,i)):ki(e,a+2)}(i,tt(),t,s.transform,n,r,s):s.transform(n,r)}function cd(e){return t=>{setTimeout(e,void 0,t)}}const Ee=class d2 extends _n{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let o=t,i=n||(()=>null),s=r;if(t&&"object"==typeof t){const l=t;o=l.next?.bind(l),i=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(i=cd(i),o&&(o=cd(o)),s&&(s=cd(s)));const a=super.subscribe({next:o,error:i,complete:s});return t instanceof It&&t.add(a),a}};function f2(){return this._results[Symbol.iterator]()}class dd{get changes(){return this._changes||(this._changes=new Ee)}constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=dd.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=f2)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const o=function Pt(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function ab(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r{class e{}return e.__NG_ELEMENT_ID__=g2,e})();const h2=Pn,p2=class extends h2{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(t,n){return this.createEmbeddedViewImpl(t,n,null)}createEmbeddedViewImpl(t,n,r){const o=this._declarationTContainer.tView,i=_a(this._declarationLView,o,t,16,null,o.declTNode,null,null,null,n||null,r||null);i[Xo]=this._declarationLView[this._declarationTContainer.index];const a=this._declarationLView[Jt];return null!==a&&(i[Jt]=a.createEmbeddedView(o)),kc(o,i,t),new wi(i)}};function g2(){return $a(ze(),D())}function $a(e,t){return 4&e.type?new p2(t,e,no(e,t)):null}let Ut=(()=>{class e{}return e.__NG_ELEMENT_ID__=w2,e})();function w2(){return oC(ze(),D())}const E2=Ut,nC=class extends E2{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return no(this._hostTNode,this._hostLView)}get injector(){return new Gr(this._hostTNode,this._hostLView)}get parentInjector(){const t=Su(this._hostTNode,this._hostLView);if(Zp(t)){const n=Us(t,this._hostLView),r=Bs(t);return new Gr(n[T].data[r+8],n)}return new Gr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=rC(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-Ue}createEmbeddedView(t,n,r){let o,i;"number"==typeof r?o=r:null!=r&&(o=r.index,i=r.injector);const a=t.createEmbeddedViewImpl(n||{},i,null);return this.insertImpl(a,o,false),a}createComponent(t,n,r,o,i){const s=t&&!function ni(e){return"function"==typeof e}(t);let a;if(s)a=n;else{const m=n||{};a=m.index,r=m.injector,o=m.projectableNodes,i=m.environmentInjector||m.ngModuleRef}const l=s?t:new Ei(ne(t)),u=r||this.parentInjector;if(!i&&null==l.ngModule){const C=(s?u:this.parentInjector).get(sn,null);C&&(i=C)}ne(l.componentType??{});const h=l.create(u,o,null,i);return this.insertImpl(h.hostView,a,false),h}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const o=t._lView,i=o[T];if(function b1(e){return ct(e[ve])}(o)){const l=this.indexOf(t);if(-1!==l)this.detach(l);else{const u=o[ve],c=new nC(u,u[Ye],u[ve]);c.detach(c.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;if(function Xb(e,t,n,r){const o=Ue+r,i=n.length;r>0&&(n[o-1][Ht]=t),r0)r.push(s[a/2]);else{const u=i[a+1],c=t[-l];for(let d=Ue;d{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=I(Md,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const o of this.appInits){const i=o();if(Ti(i))n.push(i);else if(vy(i)){const s=new Promise((a,l)=>{i.subscribe({complete:a,error:l})});n.push(s)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),AC=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const xn=new R("LocaleId",{providedIn:"root",factory:()=>I(xn,L.Optional|L.SkipSelf)||function eN(){return typeof $localize<"u"&&$localize.locale||yo}()});class nN{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let NC=(()=>{class e{compileModuleSync(n){return new id(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),i=Nn(_t(n).declarations).reduce((s,a)=>{const l=ne(a);return l&&s.push(new Ei(l)),s},[]);return new nN(r,i)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const iN=(()=>Promise.resolve(0))();function Id(e){typeof Zone>"u"?iN.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}function PC(...e){}class ye{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ee(!1),this.onMicrotaskEmpty=new Ee(!1),this.onStable=new Ee(!1),this.onError=new Ee(!1),typeof Zone>"u")throw new w(908,!1);Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function sN(){let e=de.requestAnimationFrame,t=de.cancelAnimationFrame;if(typeof Zone<"u"&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function uN(e){const t=()=>{!function lN(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(de,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Ad(e),e.isCheckStableRunning=!0,Td(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Ad(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return xC(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),FC(e)}},onInvoke:(n,r,o,i,s,a,l)=>{try{return xC(e),n.invoke(o,i,s,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),FC(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,Ad(e),Td(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ye.isInAngularZone())throw new w(909,!1)}static assertNotInAngularZone(){if(ye.isInAngularZone())throw new w(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,aN,PC,PC);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const aN={};function Td(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Ad(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function xC(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function FC(e){e._nesting--,Td(e)}class cN{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ee,this.onMicrotaskEmpty=new Ee,this.onStable=new Ee,this.onError=new Ee}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}const kC=new R("",{providedIn:"root",factory:LC});function LC(){const e=I(ye);let t=!0;return function EE(...e){const t=zo(e),n=function mE(e,t){return"number"==typeof ql(e)?e.pop():t}(e,1/0),r=e;return r.length?1===r.length?Tt(r[0]):Pr(n)(Pe(r,t)):Qt}(new be(o=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{o.next(t),o.complete()})}),new be(o=>{let i;e.runOutsideAngular(()=>{i=e.onStable.subscribe(()=>{ye.assertNotInAngularZone(),Id(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,o.next(!0))})})});const s=e.onUnstable.subscribe(()=>{ye.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{o.next(!1)}))});return()=>{i.unsubscribe(),s.unsubscribe()}}).pipe(function bE(e={}){const{connector:t=(()=>new _n),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:o=!0}=e;return i=>{let s,a,l,u=0,c=!1,d=!1;const f=()=>{a?.unsubscribe(),a=void 0},h=()=>{f(),s=l=void 0,c=d=!1},p=()=>{const m=s;h(),m?.unsubscribe()};return je((m,C)=>{u++,!d&&!c&&f();const b=l=l??t();C.add(()=>{u--,0===u&&!d&&!c&&(a=Zl(p,o))}),b.subscribe(C),!s&&u>0&&(s=new Uo({next:g=>b.next(g),error:g=>{d=!0,f(),a=Zl(h,n,g),b.error(g)},complete:()=>{c=!0,f(),a=Zl(h,r),b.complete()}}),Tt(m).subscribe(s))})(i)}}()))}const VC=new R(""),za=new R("");let Od,Nd=(()=>{class e{constructor(n,r,o){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Od||(function dN(e){Od=e}(o),o.addToWindow(r)),this._watchAngularEvents(),n.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{ye.assertNotInAngularZone(),Id(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Id(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(N(ye),N(Rd),N(za))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})(),Rd=(()=>{class e{constructor(){this._applications=new Map}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return Od?.findTestabilityInTree(this,n,r)??null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})(),Zn=null;const HC=new R("AllowMultipleToken"),Pd=new R("PlatformDestroyListeners"),xd=new R("appBootstrapListener");class jC{constructor(t,n){this.name=t,this.token=n}}function UC(e,t,n=[]){const r=`Platform: ${t}`,o=new R(r);return(i=[])=>{let s=Fd();if(!s||s.injector.get(HC,!1)){const a=[...n,...i,{provide:o,useValue:!0}];e?e(a):function pN(e){if(Zn&&!Zn.get(HC,!1))throw new w(400,!1);(function $C(){!function h1(e){_p=e}(()=>{throw new w(600,!1)})})(),Zn=e;const t=e.get(GC);(function BC(e){e.get(lm,null)?.forEach(n=>n())})(e)}(function zC(e=[],t){return an.create({name:t,providers:[{provide:uc,useValue:"platform"},{provide:Pd,useValue:new Set([()=>Zn=null])},...e]})}(a,r))}return function mN(e){const t=Fd();if(!t)throw new w(401,!1);return t}()}}function Fd(){return Zn?.get(GC)??null}let GC=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const o=function yN(e="zone.js",t){return"noop"===e?new cN:"zone.js"===e?new ye(t):e}(r?.ngZone,function WC(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return o.run(()=>{const i=function BA(e,t,n){return new od(e,t,n)}(n.moduleType,this.injector,function QC(e){return[{provide:ye,useFactory:e},{provide:pi,multi:!0,useFactory:()=>{const t=I(CN,{optional:!0});return()=>t.initialize()}},{provide:XC,useFactory:vN},{provide:kC,useFactory:LC}]}(()=>o)),s=i.injector.get(vr,null);return o.runOutsideAngular(()=>{const a=o.onError.subscribe({next:l=>{s.handleError(l)}});i.onDestroy(()=>{Ga(this._modules,i),a.unsubscribe()})}),function qC(e,t,n){try{const r=n();return Ti(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(s,o,()=>{const a=i.injector.get(Sd);return a.runInitializers(),a.donePromise.then(()=>(function pv(e){At(e,"Expected localeId to be defined"),"string"==typeof e&&(hv=e.toLowerCase().replace(/_/g,"-"))}(i.injector.get(xn,yo)||yo),this._moduleDoBootstrap(i),i))})})}bootstrapModule(n,r=[]){const o=ZC({},r);return function fN(e,t,n){const r=new id(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Do);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new w(-403,!1);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new w(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(Pd,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(N(an))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function ZC(e,t){return Array.isArray(t)?t.reduce(ZC,e):{...e,...t}}let Do=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=I(XC),this.componentTypes=[],this.components=[],this.isStable=I(kC),this._injector=I(sn)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const o=n instanceof gm;if(!this._injector.get(Sd).done)throw!o&&function Fr(e){const t=ne(e)||Ze(e)||ut(e);return null!==t&&t.standalone}(n),new w(405,!1);let s;s=o?n:this._injector.get(ya).resolveComponentFactory(n),this.componentTypes.push(s.componentType);const a=function hN(e){return e.isBoundToModule}(s)?void 0:this._injector.get(vo),u=s.create(an.NULL,[],r||s.selector,a),c=u.location.nativeElement,d=u.injector.get(VC,null);return d?.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),Ga(this.components,u),d?.unregisterApplication(c)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new w(101,!1);try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this.internalErrorHandler(n)}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Ga(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(xd,[]);r.push(...this._bootstrapListeners),r.forEach(o=>o(n))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(n=>n()),this._views.slice().forEach(n=>n.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(n){return this._destroyListeners.push(n),()=>Ga(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new w(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Ga(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const XC=new R("",{providedIn:"root",factory:()=>I(vr).handleError.bind(void 0)});function vN(){const e=I(ye),t=I(vr);return n=>e.runOutsideAngular(()=>t.handleError(n))}let CN=(()=>{class e{constructor(){this.zone=I(ye),this.applicationRef=I(Do)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();let Wa=(()=>{class e{}return e.__NG_ELEMENT_ID__=DN,e})();function DN(e){return function wN(e,t,n){if(dr(e)&&!n){const r=ft(e.index,t);return new wi(r,r)}return 47&e.type?new wi(t[Te],t):null}(ze(),D(),16==(16&e))}class t_{constructor(){}supports(t){return Ma(t)}create(t){return new TN(t)}}const IN=(e,t)=>t;class TN{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||IN}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new AN(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new n_),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new n_),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class AN{constructor(t,n){this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class NN{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class n_{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new NN,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function r_(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||i_()),deps:[[e,new Qs,new Xs]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new w(901,!1)}}return e.\u0275prov=O({token:e,providedIn:"root",factory:i_}),e})();const FN=UC(null,"core",[]);let kN=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(N(Do))},e.\u0275mod=Vt({type:e}),e.\u0275inj=Nt({}),e})(),f_=(()=>{class e{get whenAllTasksComplete(){return 0===this.collection.size&&this.complete(),this.promise}constructor(){this.taskId=0,this.collection=new Set,this.ngZone=I(ye),this.completed=!1,this.ngZone.runOutsideAngular(()=>{this.promise=new Promise(n=>{this.resolve=n})})}add(){if(this.completed)return-1;const n=this.taskId++;return this.collection.add(n),n}remove(n){this.completed||(this.collection.delete(n),0===this.collection.size&&this.complete())}ngOnDestroy(){this.complete(),this.collection.clear()}complete(){this.completed=!0,this.resolve()}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function wo(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}let Bd=null;function Yn(){return Bd}class ZN{}const Mt=new R("DocumentToken");let Ud=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return I(XN)},providedIn:"platform"}),e})();const YN=new R("Location Initialized");let XN=(()=>{class e extends Ud{constructor(){super(),this._doc=I(Mt),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Yn().getBaseHref(this._doc)}onPopState(n){const r=Yn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("popstate",n,!1),()=>r.removeEventListener("popstate",n)}onHashChange(n){const r=Yn().getGlobalEventTarget(this._doc,"window");return r.addEventListener("hashchange",n,!1),()=>r.removeEventListener("hashchange",n)}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(n){this._location.pathname=n}pushState(n,r,o){this._history.pushState(n,r,o)}replaceState(n,r,o){this._history.replaceState(n,r,o)}forward(){this._history.forward()}back(){this._history.back()}historyGo(n=0){this._history.go(n)}getState(){return this._history.state}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return new e},providedIn:"platform"}),e})();function zd(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function p_(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function Fn(e){return e&&"?"!==e[0]?"?"+e:e}let Xn=(()=>{class e{historyGo(n){throw new Error("Not implemented")}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return I(m_)},providedIn:"root"}),e})();const g_=new R("appBaseHref");let m_=(()=>{class e extends Xn{constructor(n,r){super(),this._platformLocation=n,this._removeListenerFns=[],this._baseHref=r??this._platformLocation.getBaseHrefFromDOM()??I(Mt).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}prepareExternalUrl(n){return zd(this._baseHref,n)}path(n=!1){const r=this._platformLocation.pathname+Fn(this._platformLocation.search),o=this._platformLocation.hash;return o&&n?`${r}${o}`:r}pushState(n,r,o,i){const s=this.prepareExternalUrl(o+Fn(i));this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){const s=this.prepareExternalUrl(o+Fn(i));this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(N(Ud),N(g_,8))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),y_=(()=>{class e extends Xn{constructor(n,r){super(),this._platformLocation=n,this._baseHref="",this._removeListenerFns=[],null!=r&&(this._baseHref=r)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(n){this._removeListenerFns.push(this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n))}getBaseHref(){return this._baseHref}path(n=!1){let r=this._platformLocation.hash;return null==r&&(r="#"),r.length>0?r.substring(1):r}prepareExternalUrl(n){const r=zd(this._baseHref,n);return r.length>0?"#"+r:r}pushState(n,r,o,i){let s=this.prepareExternalUrl(o+Fn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(n,r,s)}replaceState(n,r,o,i){let s=this.prepareExternalUrl(o+Fn(i));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(n,r,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(n=0){this._platformLocation.historyGo?.(n)}}return e.\u0275fac=function(n){return new(n||e)(N(Ud),N(g_,8))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})(),Gd=(()=>{class e{constructor(n){this._subject=new Ee,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=n;const r=this._locationStrategy.getBaseHref();this._basePath=function JN(e){if(new RegExp("^(https?:)?//").test(e)){const[,n]=e.split(/\/\/[^\/]+/);return n}return e}(p_(v_(r))),this._locationStrategy.onPopState(o=>{this._subject.emit({url:this.path(!0),pop:!0,state:o.state,type:o.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(n=!1){return this.normalize(this._locationStrategy.path(n))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(n,r=""){return this.path()==this.normalize(n+Fn(r))}normalize(n){return e.stripTrailingSlash(function KN(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);return""===n||["/",";","?","#"].includes(n[0])?n:t}(this._basePath,v_(n)))}prepareExternalUrl(n){return n&&"/"!==n[0]&&(n="/"+n),this._locationStrategy.prepareExternalUrl(n)}go(n,r="",o=null){this._locationStrategy.pushState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Fn(r)),o)}replaceState(n,r="",o=null){this._locationStrategy.replaceState(o,"",n,r),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+Fn(r)),o)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(n=0){this._locationStrategy.historyGo?.(n)}onUrlChange(n){return this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(r=>{this._notifyUrlChangeListeners(r.url,r.state)})),()=>{const r=this._urlChangeListeners.indexOf(n);this._urlChangeListeners.splice(r,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(n="",r){this._urlChangeListeners.forEach(o=>o(n,r))}subscribe(n,r,o){return this._subject.subscribe({next:n,error:r,complete:o})}}return e.normalizeQueryParams=Fn,e.joinWithSlash=zd,e.stripTrailingSlash=p_,e.\u0275fac=function(n){return new(n||e)(N(Xn))},e.\u0275prov=O({token:e,factory:function(){return function QN(){return new Gd(N(Xn))}()},providedIn:"root"}),e})();function v_(e){return e.replace(/\/index.html$/,"")}var Me=(()=>((Me=Me||{})[Me.Format=0]="Format",Me[Me.Standalone=1]="Standalone",Me))(),X=(()=>((X=X||{})[X.Narrow=0]="Narrow",X[X.Abbreviated=1]="Abbreviated",X[X.Wide=2]="Wide",X[X.Short=3]="Short",X))(),_e=(()=>((_e=_e||{})[_e.Short=0]="Short",_e[_e.Medium=1]="Medium",_e[_e.Long=2]="Long",_e[_e.Full=3]="Full",_e))(),k=(()=>((k=k||{})[k.Decimal=0]="Decimal",k[k.Group=1]="Group",k[k.List=2]="List",k[k.PercentSign=3]="PercentSign",k[k.PlusSign=4]="PlusSign",k[k.MinusSign=5]="MinusSign",k[k.Exponential=6]="Exponential",k[k.SuperscriptingExponent=7]="SuperscriptingExponent",k[k.PerMille=8]="PerMille",k[k.Infinity=9]="Infinity",k[k.NaN=10]="NaN",k[k.TimeSeparator=11]="TimeSeparator",k[k.CurrencyDecimal=12]="CurrencyDecimal",k[k.CurrencyGroup=13]="CurrencyGroup",k))();function Qa(e,t){return kt(ot(e)[A.DateFormat],t)}function Ka(e,t){return kt(ot(e)[A.TimeFormat],t)}function Ja(e,t){return kt(ot(e)[A.DateTimeFormat],t)}function Ft(e,t){const n=ot(e),r=n[A.NumberSymbols][t];if(typeof r>"u"){if(t===k.CurrencyDecimal)return n[A.NumberSymbols][k.Decimal];if(t===k.CurrencyGroup)return n[A.NumberSymbols][k.Group]}return r}function __(e){if(!e[A.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[A.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function kt(e,t){for(let n=t;n>-1;n--)if(typeof e[n]<"u")return e[n];throw new Error("Locale data API: locale data undefined")}function qd(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}const fR=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Bi={},hR=/((?:[^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]*)/;var Ve=(()=>((Ve=Ve||{})[Ve.Short=0]="Short",Ve[Ve.ShortGMT=1]="ShortGMT",Ve[Ve.Long=2]="Long",Ve[Ve.Extended=3]="Extended",Ve))(),V=(()=>((V=V||{})[V.FullYear=0]="FullYear",V[V.Month=1]="Month",V[V.Date=2]="Date",V[V.Hours=3]="Hours",V[V.Minutes=4]="Minutes",V[V.Seconds=5]="Seconds",V[V.FractionalSeconds=6]="FractionalSeconds",V[V.Day=7]="Day",V))(),Z=(()=>((Z=Z||{})[Z.DayPeriods=0]="DayPeriods",Z[Z.Days=1]="Days",Z[Z.Months=2]="Months",Z[Z.Eras=3]="Eras",Z))();function pR(e,t,n,r){let o=function ER(e){if(E_(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[o,i=1,s=1]=e.split("-").map(a=>+a);return el(o,i-1,s)}const n=parseFloat(e);if(!isNaN(e-n))return new Date(n);let r;if(r=e.match(fR))return function bR(e){const t=new Date(0);let n=0,r=0;const o=e[8]?t.setUTCFullYear:t.setFullYear,i=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),r=Number(e[9]+e[11])),o.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const s=Number(e[4]||0)-n,a=Number(e[5]||0)-r,l=Number(e[6]||0),u=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return i.call(t,s,a,l,u),t}(r)}const t=new Date(e);if(!E_(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=kn(n,t)||t;let a,s=[];for(;t;){if(a=hR.exec(t),!a){s.push(t);break}{s=s.concat(a.slice(1));const c=s.pop();if(!c)break;t=c}}let l=o.getTimezoneOffset();r&&(l=w_(r,l),o=function wR(e,t,n){const r=n?-1:1,o=e.getTimezoneOffset();return function DR(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,r*(w_(t,o)-o))}(o,r,!0));let u="";return s.forEach(c=>{const d=function _R(e){if(Yd[e])return Yd[e];let t;switch(e){case"G":case"GG":case"GGG":t=fe(Z.Eras,X.Abbreviated);break;case"GGGG":t=fe(Z.Eras,X.Wide);break;case"GGGGG":t=fe(Z.Eras,X.Narrow);break;case"y":t=Re(V.FullYear,1,0,!1,!0);break;case"yy":t=Re(V.FullYear,2,0,!0,!0);break;case"yyy":t=Re(V.FullYear,3,0,!1,!0);break;case"yyyy":t=Re(V.FullYear,4,0,!1,!0);break;case"Y":t=ol(1);break;case"YY":t=ol(2,!0);break;case"YYY":t=ol(3);break;case"YYYY":t=ol(4);break;case"M":case"L":t=Re(V.Month,1,1);break;case"MM":case"LL":t=Re(V.Month,2,1);break;case"MMM":t=fe(Z.Months,X.Abbreviated);break;case"MMMM":t=fe(Z.Months,X.Wide);break;case"MMMMM":t=fe(Z.Months,X.Narrow);break;case"LLL":t=fe(Z.Months,X.Abbreviated,Me.Standalone);break;case"LLLL":t=fe(Z.Months,X.Wide,Me.Standalone);break;case"LLLLL":t=fe(Z.Months,X.Narrow,Me.Standalone);break;case"w":t=Zd(1);break;case"ww":t=Zd(2);break;case"W":t=Zd(1,!0);break;case"d":t=Re(V.Date,1);break;case"dd":t=Re(V.Date,2);break;case"c":case"cc":t=Re(V.Day,1);break;case"ccc":t=fe(Z.Days,X.Abbreviated,Me.Standalone);break;case"cccc":t=fe(Z.Days,X.Wide,Me.Standalone);break;case"ccccc":t=fe(Z.Days,X.Narrow,Me.Standalone);break;case"cccccc":t=fe(Z.Days,X.Short,Me.Standalone);break;case"E":case"EE":case"EEE":t=fe(Z.Days,X.Abbreviated);break;case"EEEE":t=fe(Z.Days,X.Wide);break;case"EEEEE":t=fe(Z.Days,X.Narrow);break;case"EEEEEE":t=fe(Z.Days,X.Short);break;case"a":case"aa":case"aaa":t=fe(Z.DayPeriods,X.Abbreviated);break;case"aaaa":t=fe(Z.DayPeriods,X.Wide);break;case"aaaaa":t=fe(Z.DayPeriods,X.Narrow);break;case"b":case"bb":case"bbb":t=fe(Z.DayPeriods,X.Abbreviated,Me.Standalone,!0);break;case"bbbb":t=fe(Z.DayPeriods,X.Wide,Me.Standalone,!0);break;case"bbbbb":t=fe(Z.DayPeriods,X.Narrow,Me.Standalone,!0);break;case"B":case"BB":case"BBB":t=fe(Z.DayPeriods,X.Abbreviated,Me.Format,!0);break;case"BBBB":t=fe(Z.DayPeriods,X.Wide,Me.Format,!0);break;case"BBBBB":t=fe(Z.DayPeriods,X.Narrow,Me.Format,!0);break;case"h":t=Re(V.Hours,1,-12);break;case"hh":t=Re(V.Hours,2,-12);break;case"H":t=Re(V.Hours,1);break;case"HH":t=Re(V.Hours,2);break;case"m":t=Re(V.Minutes,1);break;case"mm":t=Re(V.Minutes,2);break;case"s":t=Re(V.Seconds,1);break;case"ss":t=Re(V.Seconds,2);break;case"S":t=Re(V.FractionalSeconds,1);break;case"SS":t=Re(V.FractionalSeconds,2);break;case"SSS":t=Re(V.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=nl(Ve.Short);break;case"ZZZZZ":t=nl(Ve.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=nl(Ve.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=nl(Ve.Long);break;default:return null}return Yd[e]=t,t}(c);u+=d?d(o,n,l):"''"===c?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function el(e,t,n){const r=new Date(0);return r.setFullYear(e,t,n),r.setHours(0,0,0),r}function kn(e,t){const n=function eR(e){return ot(e)[A.LocaleId]}(e);if(Bi[n]=Bi[n]||{},Bi[n][t])return Bi[n][t];let r="";switch(t){case"shortDate":r=Qa(e,_e.Short);break;case"mediumDate":r=Qa(e,_e.Medium);break;case"longDate":r=Qa(e,_e.Long);break;case"fullDate":r=Qa(e,_e.Full);break;case"shortTime":r=Ka(e,_e.Short);break;case"mediumTime":r=Ka(e,_e.Medium);break;case"longTime":r=Ka(e,_e.Long);break;case"fullTime":r=Ka(e,_e.Full);break;case"short":const o=kn(e,"shortTime"),i=kn(e,"shortDate");r=tl(Ja(e,_e.Short),[o,i]);break;case"medium":const s=kn(e,"mediumTime"),a=kn(e,"mediumDate");r=tl(Ja(e,_e.Medium),[s,a]);break;case"long":const l=kn(e,"longTime"),u=kn(e,"longDate");r=tl(Ja(e,_e.Long),[l,u]);break;case"full":const c=kn(e,"fullTime"),d=kn(e,"fullDate");r=tl(Ja(e,_e.Full),[c,d])}return r&&(Bi[n][t]=r),r}function tl(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(n,r){return null!=t&&r in t?t[r]:n})),e}function Gt(e,t,n="-",r,o){let i="";(e<0||o&&e<=0)&&(o?e=1-e:(e=-e,i=n));let s=String(e);for(;s.length0||a>-n)&&(a+=n),e===V.Hours)0===a&&-12===n&&(a=12);else if(e===V.FractionalSeconds)return function gR(e,t){return Gt(e,3).substring(0,t)}(a,t);const l=Ft(s,k.MinusSign);return Gt(a,t,l,r,o)}}function fe(e,t,n=Me.Format,r=!1){return function(o,i){return function yR(e,t,n,r,o,i){switch(n){case Z.Months:return function rR(e,t,n){const r=ot(e),i=kt([r[A.MonthsFormat],r[A.MonthsStandalone]],t);return kt(i,n)}(t,o,r)[e.getMonth()];case Z.Days:return function nR(e,t,n){const r=ot(e),i=kt([r[A.DaysFormat],r[A.DaysStandalone]],t);return kt(i,n)}(t,o,r)[e.getDay()];case Z.DayPeriods:const s=e.getHours(),a=e.getMinutes();if(i){const u=function aR(e){const t=ot(e);return __(t),(t[A.ExtraData][2]||[]).map(r=>"string"==typeof r?qd(r):[qd(r[0]),qd(r[1])])}(t),c=function lR(e,t,n){const r=ot(e);__(r);const i=kt([r[A.ExtraData][0],r[A.ExtraData][1]],t)||[];return kt(i,n)||[]}(t,o,r),d=u.findIndex(f=>{if(Array.isArray(f)){const[h,p]=f,m=s>=h.hours&&a>=h.minutes,C=s0?Math.floor(o/60):Math.ceil(o/60);switch(e){case Ve.Short:return(o>=0?"+":"")+Gt(s,2,i)+Gt(Math.abs(o%60),2,i);case Ve.ShortGMT:return"GMT"+(o>=0?"+":"")+Gt(s,1,i);case Ve.Long:return"GMT"+(o>=0?"+":"")+Gt(s,2,i)+":"+Gt(Math.abs(o%60),2,i);case Ve.Extended:return 0===r?"Z":(o>=0?"+":"")+Gt(s,2,i)+":"+Gt(Math.abs(o%60),2,i);default:throw new Error(`Unknown zone width "${e}"`)}}}const vR=0,rl=4;function D_(e){return el(e.getFullYear(),e.getMonth(),e.getDate()+(rl-e.getDay()))}function Zd(e,t=!1){return function(n,r){let o;if(t){const i=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,s=n.getDate();o=1+Math.floor((s+i)/7)}else{const i=D_(n),s=function CR(e){const t=el(e,vR,1).getDay();return el(e,0,1+(t<=rl?rl:rl+7)-t)}(i.getFullYear()),a=i.getTime()-s.getTime();o=1+Math.round(a/6048e5)}return Gt(o,e,Ft(r,k.MinusSign))}}function ol(e,t=!1){return function(n,r){return Gt(D_(n).getFullYear(),e,Ft(r,k.MinusSign),t)}}const Yd={};function w_(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function E_(e){return e instanceof Date&&!isNaN(e.valueOf())}function I_(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}class VR{constructor(t,n,r,o){this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let Er=(()=>{class e{set ngForOf(n){this._ngForOf=n,this._ngForOfDirty=!0}set ngForTrackBy(n){this._trackByFn=n}get ngForTrackBy(){return this._trackByFn}constructor(n,r,o){this._viewContainer=n,this._template=r,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(n){n&&(this._template=n)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;!this._differ&&n&&(this._differ=this._differs.find(n).create(this.ngForTrackBy))}if(this._differ){const n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}_applyChanges(n){const r=this._viewContainer;n.forEachOperation((o,i,s)=>{if(null==o.previousIndex)r.createEmbeddedView(this._template,new VR(o.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)r.remove(null===i?void 0:i);else if(null!==i){const a=r.get(i);r.move(a,s),N_(a,o)}});for(let o=0,i=r.length;o{N_(r.get(o.currentIndex),o)})}static ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(_(Ut),_(Pn),_(Ya))},e.\u0275dir=$({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),e})();function N_(e,t){e.context.$implicit=t.item}let R_=(()=>{class e{constructor(n,r){this._viewContainer=n,this._context=new HR,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=r}set ngIf(n){this._context.$implicit=this._context.ngIf=n,this._updateView()}set ngIfThen(n){O_("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()}set ngIfElse(n){O_("ngIfElse",n),this._elseTemplateRef=n,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 ngTemplateContextGuard(n,r){return!0}}return e.\u0275fac=function(n){return new(n||e)(_(Ut),_(Pn))},e.\u0275dir=$({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),e})();class HR{constructor(){this.$implicit=null,this.ngIf=null}}function O_(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${xe(t)}'.`)}const KR=new R("DATE_PIPE_DEFAULT_TIMEZONE"),JR=new R("DATE_PIPE_DEFAULT_OPTIONS");let zi=(()=>{class e{constructor(n,r,o){this.locale=n,this.defaultTimezone=r,this.defaultOptions=o}transform(n,r,o,i){if(null==n||""===n||n!=n)return null;try{return pR(n,r??this.defaultOptions?.dateFormat??"mediumDate",i||this.locale,o??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(s){throw function Wt(e,t){return new w(2100,!1)}()}}}return e.\u0275fac=function(n){return new(n||e)(_(xn,16),_(KR,24),_(JR,24))},e.\u0275pipe=lt({name:"date",type:e,pure:!0,standalone:!0}),e})(),uO=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=Nt({}),e})();function k_(e){return"server"===e}let hO=(()=>{class e{}return e.\u0275prov=O({token:e,providedIn:"root",factory:()=>new pO(N(Mt),window)}),e})();class pO{constructor(t,n){this.document=t,this.window=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(!this.supportsScrolling())return;const n=function gO(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const r=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let o=r.currentNode;for(;o;){const i=o.shadowRoot;if(i){const s=i.getElementById(t)||i.querySelector(`[name="${t}"]`);if(s)return s}o=r.nextNode()}}return null}(this.document,t);n&&(this.scrollToElement(n),n.focus())}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=t)}}scrollToElement(t){const n=t.getBoundingClientRect(),r=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(r-i[0],o-i[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const t=L_(this.window.history)||L_(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function L_(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}class V_{}class BO extends ZN{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class cf extends BO{static makeCurrent(){!function qN(e){Bd||(Bd=e)}(new cf)}onAndCancel(t,n,r){return t.addEventListener(n,r),()=>{t.removeEventListener(n,r)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=function UO(){return Wi=Wi||document.querySelector("base"),Wi?Wi.getAttribute("href"):null}();return null==n?null:function zO(e){ll=ll||document.createElement("a"),ll.setAttribute("href",e);const t=ll.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Wi=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return I_(document.cookie,t)}}let ll,Wi=null,WO=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const df=new R("EventManagerPlugins");let U_=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>{o.manager=this}),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){let r=this._eventNameToPlugin.get(n);if(r)return r;if(r=this._plugins.find(i=>i.supports(n)),!r)throw new w(5101,!1);return this._eventNameToPlugin.set(n,r),r}}return e.\u0275fac=function(n){return new(n||e)(N(df),N(ye))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();class z_{constructor(t){this._doc=t}}const ff="ng-app-id";let G_=(()=>{class e{constructor(n,r,o,i={}){this.doc=n,this.appId=r,this.nonce=o,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=k_(i),this.resetHostNodes()}addStyles(n){for(const r of n)1===this.changeUsageCount(r,1)&&this.onStyleAdded(r)}removeStyles(n){for(const r of n)this.changeUsageCount(r,-1)<=0&&this.onStyleRemoved(r)}ngOnDestroy(){const n=this.styleNodesInDOM;n&&(n.forEach(r=>r.remove()),n.clear());for(const r of this.getAllStyles())this.onStyleRemoved(r);this.resetHostNodes()}addHost(n){this.hostNodes.add(n);for(const r of this.getAllStyles())this.addStyleToHost(n,r)}removeHost(n){this.hostNodes.delete(n)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(n){for(const r of this.hostNodes)this.addStyleToHost(r,n)}onStyleRemoved(n){const r=this.styleRef;r.get(n)?.elements?.forEach(o=>o.remove()),r.delete(n)}collectServerRenderedStyles(){const n=this.doc.head?.querySelectorAll(`style[${ff}="${this.appId}"]`);if(n?.length){const r=new Map;return n.forEach(o=>{null!=o.textContent&&r.set(o.textContent,o)}),r}return null}changeUsageCount(n,r){const o=this.styleRef;if(o.has(n)){const i=o.get(n);return i.usage+=r,i.usage}return o.set(n,{usage:r,elements:[]}),r}getStyleElement(n,r){const o=this.styleNodesInDOM,i=o?.get(r);if(i?.parentNode===n)return o.delete(r),i.removeAttribute(ff),i;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=r,this.platformIsServer&&s.setAttribute(ff,this.appId),s}}addStyleToHost(n,r){const o=this.getStyleElement(n,r);n.appendChild(o);const i=this.styleRef,s=i.get(r)?.elements;s?s.push(o):i.set(r,{elements:[o],usage:1})}resetHostNodes(){const n=this.hostNodes;n.clear(),n.add(this.doc.head)}}return e.\u0275fac=function(n){return new(n||e)(N(Mt),N(fa),N(um,8),N(yr))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const hf={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/MathML/"},pf=/%COMP%/g,XO=new R("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function q_(e,t){return t.map(n=>n.replace(pf,e))}let Z_=(()=>{class e{constructor(n,r,o,i,s,a,l,u=null){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.removeStylesOnCompDestory=i,this.doc=s,this.platformId=a,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=k_(a),this.defaultRenderer=new gf(n,s,l,this.platformIsServer)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;this.platformIsServer&&r.encapsulation===Ct.ShadowDom&&(r={...r,encapsulation:Ct.Emulated});const o=this.getOrCreateRenderer(n,r);return o instanceof X_?o.applyToHost(n):o instanceof mf&&o.applyStyles(),o}getOrCreateRenderer(n,r){const o=this.rendererByCompId;let i=o.get(r.id);if(!i){const s=this.doc,a=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,c=this.removeStylesOnCompDestory,d=this.platformIsServer;switch(r.encapsulation){case Ct.Emulated:i=new X_(l,u,r,this.appId,c,s,a,d);break;case Ct.ShadowDom:return new e3(l,u,n,r,s,a,this.nonce,d);default:i=new mf(l,u,r,c,s,a,d)}i.onDestroy=()=>o.delete(r.id),o.set(r.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}}return e.\u0275fac=function(n){return new(n||e)(N(U_),N(G_),N(fa),N(XO),N(Mt),N(yr),N(ye),N(um))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();class gf{constructor(t,n,r,o){this.eventManager=t,this.doc=n,this.ngZone=r,this.platformIsServer=o,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(t,n){return n?this.doc.createElementNS(hf[n]||n,t):this.doc.createElement(t)}createComment(t){return this.doc.createComment(t)}createText(t){return this.doc.createTextNode(t)}appendChild(t,n){(Y_(t)?t.content:t).appendChild(n)}insertBefore(t,n,r){t&&(Y_(t)?t.content:t).insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?this.doc.querySelector(t):t;if(!r)throw new w(5104,!1);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=hf[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=hf[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(ht.DashCase|ht.Important)?t.style.setProperty(n,r,o&ht.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&ht.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){if("string"==typeof t&&!(t=Yn().getGlobalEventTarget(this.doc,t)))throw new Error(`Unsupported event target ${t} for event ${n}`);return this.eventManager.addEventListener(t,n,this.decoratePreventDefault(r))}decoratePreventDefault(t){return n=>{if("__ngUnwrap__"===n)return t;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>t(n)):t(n))&&(n.preventDefault(),n.returnValue=!1)}}}function Y_(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class e3 extends gf{constructor(t,n,r,o,i,s,a,l){super(t,i,s,l),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const u=q_(o.id,o.styles);for(const c of u){const d=document.createElement("style");a&&d.setAttribute("nonce",a),d.textContent=c,this.shadowRoot.appendChild(d)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class mf extends gf{constructor(t,n,r,o,i,s,a,l){super(t,i,s,a),this.sharedStylesHost=n,this.removeStylesOnCompDestory=o,this.rendererUsageCount=0,this.styles=l?q_(l,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class X_ extends mf{constructor(t,n,r,o,i,s,a,l){const u=o+"-"+r.id;super(t,n,r,i,s,a,l,u),this.contentAttr=function QO(e){return"_ngcontent-%COMP%".replace(pf,e)}(u),this.hostAttr=function KO(e){return"_nghost-%COMP%".replace(pf,e)}(u)}applyToHost(t){this.applyStyles(),this.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}let t3=(()=>{class e extends z_{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(N(Mt))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const Q_=["alt","control","meta","shift"],n3={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},r3={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let o3=(()=>{class e extends z_{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Yn().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="",a=r.indexOf("code");if(a>-1&&(r.splice(a,1),s="code."),Q_.forEach(u=>{const c=r.indexOf(u);c>-1&&(r.splice(c,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const l={};return l.domEventName=o,l.fullKey=s,l}static matchEventFullKeyCode(n,r){let o=n3[n.key]||n.key,i="";return r.indexOf("code.")>-1&&(o=n.code,i="code."),!(null==o||!o)&&(o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Q_.forEach(s=>{s!==o&&(0,r3[s])(n)&&(i+=s+".")}),i+=o,i===r)}static eventCallback(n,r,o){return i=>{e.matchEventFullKeyCode(i,n)&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){return"esc"===n?"escape":n}}return e.\u0275fac=function(n){return new(n||e)(N(Mt))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const l3=UC(FN,"browser",[{provide:yr,useValue:"browser"},{provide:lm,useValue:function i3(){cf.makeCurrent()},multi:!0},{provide:Mt,useFactory:function a3(){return function uM(e){Ku=e}(document),document},deps:[]}]),u3=new R(""),eD=[{provide:za,useClass:class GO{addToWindow(t){de.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new w(5103,!1);return i},de.getAllAngularTestabilities=()=>t.getAllTestabilities(),de.getAllAngularRootElements=()=>t.getAllRootElements(),de.frameworkStabilizers||(de.frameworkStabilizers=[]),de.frameworkStabilizers.push(r=>{const o=de.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(l){s=s||l,i--,0==i&&r(s)};o.forEach(function(l){l.whenStable(a)})})}findTestabilityInTree(t,n,r){return null==n?null:t.getTestability(n)??(r?Yn().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null)}},deps:[]},{provide:VC,useClass:Nd,deps:[ye,Rd,za]},{provide:Nd,useClass:Nd,deps:[ye,Rd,za]}],tD=[{provide:uc,useValue:"root"},{provide:vr,useFactory:function s3(){return new vr},deps:[]},{provide:df,useClass:t3,multi:!0,deps:[Mt,ye,yr]},{provide:df,useClass:o3,multi:!0,deps:[Mt]},Z_,G_,U_,{provide:ym,useExisting:Z_},{provide:V_,useClass:WO,deps:[]},[]];let c3=(()=>{class e{constructor(n){}static withServerTransition(n){return{ngModule:e,providers:[{provide:fa,useValue:n.appId}]}}}return e.\u0275fac=function(n){return new(n||e)(N(u3,12))},e.\u0275mod=Vt({type:e}),e.\u0275inj=Nt({providers:[...tD,...eD],imports:[uO,kN]}),e})(),nD=(()=>{class e{constructor(n){this._doc=n}getTitle(){return this._doc.title}setTitle(n){this._doc.title=n||""}}return e.\u0275fac=function(n){return new(n||e)(N(Mt))},e.\u0275prov=O({token:e,factory:function(n){let r=null;return r=n?new n:function f3(){return new nD(N(Mt))}(),r},providedIn:"root"}),e})();typeof window<"u"&&window;const{isArray:y3}=Array,{getPrototypeOf:v3,prototype:C3,keys:_3}=Object;function sD(e){if(1===e.length){const t=e[0];if(y3(t))return{args:t,keys:null};if(function D3(e){return e&&"object"==typeof e&&v3(e)===C3}(t)){const n=_3(t);return{args:n.map(r=>t[r]),keys:n}}}return{args:e,keys:null}}const{isArray:w3}=Array;function aD(e){return te(t=>function E3(e,t){return w3(t)?e(...t):e(t)}(e,t))}function lD(e,t){return e.reduce((n,r,o)=>(n[r]=t[o],n),{})}let uD=(()=>{class e{constructor(n,r){this._renderer=n,this._elementRef=r,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(n,r){this._renderer.setProperty(this._elementRef.nativeElement,n,r)}registerOnTouched(n){this.onTouched=n}registerOnChange(n){this.onChange=n}setDisabledState(n){this.setProperty("disabled",n)}}return e.\u0275fac=function(n){return new(n||e)(_(An),_(Et))},e.\u0275dir=$({type:e}),e})(),br=(()=>{class e extends uD{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ge(e)))(r||e)}}(),e.\u0275dir=$({type:e,features:[se]}),e})();const hn=new R("NgValueAccessor"),M3={provide:hn,useExisting:ce(()=>vf),multi:!0};let vf=(()=>{class e extends br{writeValue(n){this.setProperty("checked",n)}}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ge(e)))(r||e)}}(),e.\u0275dir=$({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(n,r){1&n&&P("change",function(i){return r.onChange(i.target.checked)})("blur",function(){return r.onTouched()})},features:[me([M3]),se]}),e})();const S3={provide:hn,useExisting:ce(()=>qt),multi:!0},T3=new R("CompositionEventMode");let qt=(()=>{class e extends uD{constructor(n,r,o){super(n,r),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function I3(){const e=Yn()?Yn().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(n){this.setProperty("value",n??"")}_handleInput(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)}_compositionStart(){this._composing=!0}_compositionEnd(n){this._composing=!1,this._compositionMode&&this.onChange(n)}}return e.\u0275fac=function(n){return new(n||e)(_(An),_(Et),_(T3,8))},e.\u0275dir=$({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(n,r){1&n&&P("input",function(i){return r._handleInput(i.target.value)})("blur",function(){return r.onTouched()})("compositionstart",function(){return r._compositionStart()})("compositionend",function(i){return r._compositionEnd(i.target.value)})},features:[me([S3]),se]}),e})();const Je=new R("NgValidators"),Jn=new R("NgAsyncValidators");function CD(e){return null!=e}function _D(e){return Ti(e)?Pe(e):e}function DD(e){let t={};return e.forEach(n=>{t=null!=n?{...t,...n}:t}),0===Object.keys(t).length?null:t}function wD(e,t){return t.map(n=>n(e))}function ED(e){return e.map(t=>function N3(e){return!e.validate}(t)?t:n=>t.validate(n))}function Cf(e){return null!=e?function bD(e){if(!e)return null;const t=e.filter(CD);return 0==t.length?null:function(n){return DD(wD(n,t))}}(ED(e)):null}function _f(e){return null!=e?function MD(e){if(!e)return null;const t=e.filter(CD);return 0==t.length?null:function(n){return function b3(...e){const t=jh(e),{args:n,keys:r}=sD(e),o=new be(i=>{const{length:s}=n;if(!s)return void i.complete();const a=new Array(s);let l=s,u=s;for(let c=0;c{d||(d=!0,u--),a[c]=f},()=>l--,void 0,()=>{(!l||!d)&&(u||i.next(r?lD(r,a):a),i.complete())}))}});return t?o.pipe(aD(t)):o}(wD(n,t).map(_D)).pipe(te(DD))}}(ED(e)):null}function SD(e,t){return null===e?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Df(e){return e?Array.isArray(e)?e:[e]:[]}function cl(e,t){return Array.isArray(e)?e.includes(t):e===t}function AD(e,t){const n=Df(t);return Df(e).forEach(o=>{cl(n,o)||n.push(o)}),n}function ND(e,t){return Df(t).filter(n=>!cl(e,n))}class RD{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(t){this._rawValidators=t||[],this._composedValidatorFn=Cf(this._rawValidators)}_setAsyncValidators(t){this._rawAsyncValidators=t||[],this._composedAsyncValidatorFn=_f(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(t){this._onDestroyCallbacks.push(t)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(t=>t()),this._onDestroyCallbacks=[]}reset(t=void 0){this.control&&this.control.reset(t)}hasError(t,n){return!!this.control&&this.control.hasError(t,n)}getError(t,n){return this.control?this.control.getError(t,n):null}}class st extends RD{get formDirective(){return null}get path(){return null}}class er extends RD{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class OD{constructor(t){this._cd=t}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let Ln=(()=>{class e extends OD{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(_(er,2))},e.\u0275dir=$({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(n,r){2&n&&Pa("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)},features:[se]}),e})(),PD=(()=>{class e extends OD{constructor(n){super(n)}}return e.\u0275fac=function(n){return new(n||e)(_(st,10))},e.\u0275dir=$({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(n,r){2&n&&Pa("ng-untouched",r.isUntouched)("ng-touched",r.isTouched)("ng-pristine",r.isPristine)("ng-dirty",r.isDirty)("ng-valid",r.isValid)("ng-invalid",r.isInvalid)("ng-pending",r.isPending)("ng-submitted",r.isSubmitted)},features:[se]}),e})();const qi="VALID",fl="INVALID",Eo="PENDING",Zi="DISABLED";function bf(e){return(hl(e)?e.validators:e)||null}function Mf(e,t){return(hl(t)?t.asyncValidators:e)||null}function hl(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class LD{constructor(t,n){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(t),this._assignAsyncValidators(n)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return this.status===qi}get invalid(){return this.status===fl}get pending(){return this.status==Eo}get disabled(){return this.status===Zi}get enabled(){return this.status!==Zi}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._assignValidators(t)}setAsyncValidators(t){this._assignAsyncValidators(t)}addValidators(t){this.setValidators(AD(t,this._rawValidators))}addAsyncValidators(t){this.setAsyncValidators(AD(t,this._rawAsyncValidators))}removeValidators(t){this.setValidators(ND(t,this._rawValidators))}removeAsyncValidators(t){this.setAsyncValidators(ND(t,this._rawAsyncValidators))}hasValidator(t){return cl(this._rawValidators,t)}hasAsyncValidator(t){return cl(this._rawAsyncValidators,t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(n=>{n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(n=>{n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status=Eo,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=Zi,this.errors=null,this._forEachChild(r=>{r.disable({...t,onlySelf:!0})}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!0))}enable(t={}){const n=this._parentMarkedDirty(t.onlySelf);this.status=qi,this._forEachChild(r=>{r.enable({...t,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors({...t,skipPristineCheck:n}),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}getRawValue(){return this.value}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===qi||this.status===Eo)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(n=>n._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Zi:qi}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status=Eo,this._hasOwnPendingAsyncValidator=!0;const n=_D(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,n={}){this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}get(t){let n=t;return null==n||(Array.isArray(n)||(n=n.split(".")),0===n.length)?null:n.reduce((r,o)=>r&&r._find(o),this)}getError(t,n){const r=n?this.get(n):this;return r&&r.errors?r.errors[t]:null}hasError(t,n){return!!this.getError(t,n)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new Ee,this.statusChanges=new Ee}_calculateStatus(){return this._allControlsDisabled()?Zi:this.errors?fl:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Eo)?Eo:this._anyControlsHaveStatus(fl)?fl:qi}_anyControlsHaveStatus(t){return this._anyControls(n=>n.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){hl(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(t){return null}_assignValidators(t){this._rawValidators=Array.isArray(t)?t.slice():t,this._composedValidatorFn=function x3(e){return Array.isArray(e)?Cf(e):e||null}(this._rawValidators)}_assignAsyncValidators(t){this._rawAsyncValidators=Array.isArray(t)?t.slice():t,this._composedAsyncValidatorFn=function F3(e){return Array.isArray(e)?_f(e):e||null}(this._rawAsyncValidators)}}class Sf extends LD{constructor(t,n,r){super(bf(n),Mf(r,n)),this.controls=t,this._initObservables(),this._setUpdateStrategy(n),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(t,n){return this.controls[t]?this.controls[t]:(this.controls[t]=n,n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange),n)}addControl(t,n,r={}){this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(t,n={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity({emitEvent:n.emitEvent}),this._onCollectionChange()}setControl(t,n,r={}){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],n&&this.registerControl(t,n),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,n={}){(function kD(e,t,n){e._forEachChild((r,o)=>{if(void 0===n[o])throw new w(1002,"")})})(this,0,t),Object.keys(t).forEach(r=>{(function FD(e,t,n){const r=e.controls;if(!(t?Object.keys(r):r).length)throw new w(1e3,"");if(!r[n])throw new w(1001,"")})(this,!0,r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}patchValue(t,n={}){null!=t&&(Object.keys(t).forEach(r=>{const o=this.controls[r];o&&o.patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}reset(t={},n={}){this._forEachChild((r,o)=>{r.reset(t[o],{onlySelf:!0,emitEvent:n.emitEvent})}),this._updatePristine(n),this._updateTouched(n),this.updateValueAndValidity(n)}getRawValue(){return this._reduceChildren({},(t,n,r)=>(t[r]=n.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(n,r)=>!!r._syncPendingControls()||n);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_forEachChild(t){Object.keys(this.controls).forEach(n=>{const r=this.controls[n];r&&t(r,n)})}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const[n,r]of Object.entries(this.controls))if(this.contains(n)&&t(r))return!0;return!1}_reduceValue(){return this._reduceChildren({},(n,r,o)=>((r.enabled||this.disabled)&&(n[o]=r.value),n))}_reduceChildren(t,n){let r=t;return this._forEachChild((o,i)=>{r=n(r,o,i)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(t){return this.controls.hasOwnProperty(t)?this.controls[t]:null}}const bo=new R("CallSetDisabledState",{providedIn:"root",factory:()=>pl}),pl="always";function Yi(e,t,n=pl){If(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||"always"===n)&&t.valueAccessor.setDisabledState?.(e.disabled),function V3(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&VD(e,t)})}(e,t),function $3(e,t){const n=(r,o)=>{t.valueAccessor.writeValue(r),o&&t.viewToModelUpdate(r)};e.registerOnChange(n),t._registerOnDestroy(()=>{e._unregisterOnChange(n)})}(e,t),function H3(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&VD(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function L3(e,t){if(t.valueAccessor.setDisabledState){const n=r=>{t.valueAccessor.setDisabledState(r)};e.registerOnDisabledChange(n),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(n)})}}(e,t)}function yl(e,t){e.forEach(n=>{n.registerOnValidatorChange&&n.registerOnValidatorChange(t)})}function If(e,t){const n=function ID(e){return e._rawValidators}(e);null!==t.validator?e.setValidators(SD(n,t.validator)):"function"==typeof n&&e.setValidators([n]);const r=function TD(e){return e._rawAsyncValidators}(e);null!==t.asyncValidator?e.setAsyncValidators(SD(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]);const o=()=>e.updateValueAndValidity();yl(t._rawValidators,o),yl(t._rawAsyncValidators,o)}function VD(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}const G3={provide:st,useExisting:ce(()=>Cl)},Xi=(()=>Promise.resolve())();let Cl=(()=>{class e extends st{constructor(n,r,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Ee,this.form=new Sf({},Cf(n),_f(r))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(n){Xi.then(()=>{const r=this._findContainer(n.path);n.control=r.registerControl(n.name,n.control),Yi(n.control,n,this.callSetDisabledState),n.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(n)})}getControl(n){return this.form.get(n.path)}removeControl(n){Xi.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name),this._directives.delete(n)})}addFormGroup(n){Xi.then(()=>{const r=this._findContainer(n.path),o=new Sf({});(function HD(e,t){If(e,t)})(o,n),r.registerControl(n.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(n){Xi.then(()=>{const r=this._findContainer(n.path);r&&r.removeControl(n.name)})}getFormGroup(n){return this.form.get(n.path)}updateModel(n,r){Xi.then(()=>{this.form.get(n.path).setValue(r)})}setValue(n){this.control.setValue(n)}onSubmit(n){return this.submitted=!0,function $D(e,t){e._syncPendingControls(),t.forEach(n=>{const r=n.control;"submit"===r.updateOn&&r._pendingChange&&(n.viewToModelUpdate(r._pendingValue),r._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(n),"dialog"===n?.target?.method}onReset(){this.resetForm()}resetForm(n=void 0){this.form.reset(n),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(n){return n.pop(),n.length?this.form.get(n):this.form}}return e.\u0275fac=function(n){return new(n||e)(_(Je,10),_(Jn,10),_(bo,8))},e.\u0275dir=$({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(n,r){1&n&&P("submit",function(i){return r.onSubmit(i)})("reset",function(){return r.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[me([G3]),se]}),e})();function jD(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function BD(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}const UD=class extends LD{constructor(t=null,n,r){super(bf(n),Mf(r,n)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(t),this._setUpdateStrategy(n),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),hl(n)&&(n.nonNullable||n.initialValueIsDefault)&&(this.defaultValue=BD(t)?t.value:t)}setValue(t,n={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(r=>r(this.value,!1!==n.emitViewToModelChange)),this.updateValueAndValidity(n)}patchValue(t,n={}){this.setValue(t,n)}reset(t=this.defaultValue,n={}){this._applyFormState(t),this.markAsPristine(n),this.markAsUntouched(n),this.setValue(this.value,n),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_unregisterOnChange(t){jD(this._onChange,t)}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_unregisterOnDisabledChange(t){jD(this._onDisabledChange,t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){BD(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}},Z3={provide:er,useExisting:ce(()=>pn)},WD=(()=>Promise.resolve())();let pn=(()=>{class e extends er{constructor(n,r,o,i,s,a){super(),this._changeDetectorRef=s,this.callSetDisabledState=a,this.control=new UD,this._registered=!1,this.name="",this.update=new Ee,this._parent=n,this._setValidators(r),this._setAsyncValidators(o),this.valueAccessor=function Nf(e,t){if(!t)return null;let n,r,o;return Array.isArray(t),t.forEach(i=>{i.constructor===qt?n=i:function U3(e){return Object.getPrototypeOf(e.constructor)===br}(i)?r=i:o=i}),o||r||n||null}(0,i)}ngOnChanges(n){if(this._checkForErrors(),!this._registered||"name"in n){if(this._registered&&(this._checkName(),this.formDirective)){const r=n.name.previousValue;this.formDirective.removeControl({name:r,path:this._getPath(r)})}this._setUpControl()}"isDisabled"in n&&this._updateDisabled(n),function Af(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(n){this.viewModel=n,this.update.emit(n)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Yi(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(n){WD.then(()=>{this.control.setValue(n,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(n){const r=n.isDisabled.currentValue,o=0!==r&&wo(r);WD.then(()=>{o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(n){return this._parent?function gl(e,t){return[...t.path,e]}(n,this._parent):[n]}}return e.\u0275fac=function(n){return new(n||e)(_(st,9),_(Je,10),_(Jn,10),_(hn,10),_(Wa,8),_(bo,8))},e.\u0275dir=$({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[me([Z3]),se,Ot]}),e})(),qD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})(),YD=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=Nt({}),e})(),vP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=Nt({imports:[YD]}),e})(),_P=(()=>{class e{static withConfig(n){return{ngModule:e,providers:[{provide:bo,useValue:n.callSetDisabledState??pl}]}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=Nt({imports:[vP]}),e})();function F(...e){return Pe(e,zo(e))}function Mo(e,t){return le(t)?Be(e,t,1):Be(e,1)}function Vn(e,t){return je((n,r)=>{let o=0;n.subscribe(He(r,i=>e.call(t,i,o++)&&r.next(i)))})}function gn(e,t){return je((n,r)=>{let o=null,i=0,s=!1;const a=()=>s&&!o&&r.complete();n.subscribe(He(r,l=>{o?.unsubscribe();let u=0;const c=i++;Tt(e(l,c)).subscribe(o=He(r,d=>r.next(t?t(l,d,c,u++):d),()=>{o=null,a()}))},()=>{s=!0,a()}))})}class _l{}class Lf{}class We{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),i=o.toLowerCase(),s=n.slice(r+1).trim();this.maybeSetNormalizedName(o,i),this.headers.has(i)?this.headers.get(i).push(s):this.headers.set(i,[s])}})}:()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{let o;if(o="string"==typeof r?[r]:"number"==typeof r?[r.toString()]:r.map(i=>i.toString()),o.length>0){const i=n.toLowerCase();this.headers.set(i,o),this.maybeSetNormalizedName(n,i)}})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof We?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new We;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof We?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const i=t.value;if(i){let s=this.headers.get(n);if(!s)return;s=s.filter(a=>-1===i.indexOf(a)),0===s.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,s)}else this.headers.delete(n),this.normalizedNames.delete(n)}}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class DP{encodeKey(t){return p0(t)}encodeValue(t){return p0(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const EP=/%(\d[a-f0-9])/gi,bP={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function p0(e){return encodeURIComponent(e).replace(EP,(t,n)=>bP[n]??t)}function Dl(e){return`${e}`}class tr{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new DP,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function wP(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const i=o.indexOf("="),[s,a]=-1==i?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,i)),t.decodeValue(o.slice(i+1))],l=n.get(s)||[];l.push(a),n.set(s,l)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(Dl):[Dl(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(i=>{n.push({param:r,value:i,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new tr({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(Dl(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(Dl(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class MP{constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function g0(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function m0(e){return typeof Blob<"u"&&e instanceof Blob}function y0(e){return typeof FormData<"u"&&e instanceof FormData}class Qi{constructor(t,n,r,o){let i;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function SP(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.context&&(this.context=i.context),i.params&&(this.params=i.params)),this.headers||(this.headers=new We),this.context||(this.context=new MP),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=n;else{const a=n.indexOf("?");this.urlWithParams=n+(-1===a?"?":ad.set(f,t.setHeaders[f]),l)),t.setParams&&(u=Object.keys(t.setParams).reduce((d,f)=>d.set(f,t.setParams[f]),u)),new Qi(n,r,i,{params:u,headers:l,context:c,reportProgress:a,responseType:o,withCredentials:s})}}var Oe=(()=>((Oe=Oe||{})[Oe.Sent=0]="Sent",Oe[Oe.UploadProgress=1]="UploadProgress",Oe[Oe.ResponseHeader=2]="ResponseHeader",Oe[Oe.DownloadProgress=3]="DownloadProgress",Oe[Oe.Response=4]="Response",Oe[Oe.User=5]="User",Oe))();class Vf{constructor(t,n=200,r="OK"){this.headers=t.headers||new We,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}}class Hf extends Vf{constructor(t={}){super(t),this.type=Oe.ResponseHeader}clone(t={}){return new Hf({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class So extends Vf{constructor(t={}){super(t),this.type=Oe.Response,this.body=void 0!==t.body?t.body:null}clone(t={}){return new So({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}class v0 extends Vf{constructor(t){super(t,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${t.url||"(unknown url)"}`:`Http failure response for ${t.url||"(unknown url)"}: ${t.status} ${t.statusText}`,this.error=t.error||null}}function $f(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let Sr=(()=>{class e{constructor(n){this.handler=n}request(n,r,o={}){let i;if(n instanceof Qi)i=n;else{let l,u;l=o.headers instanceof We?o.headers:new We(o.headers),o.params&&(u=o.params instanceof tr?o.params:new tr({fromObject:o.params})),i=new Qi(n,r,void 0!==o.body?o.body:null,{headers:l,context:o.context,params:u,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const s=F(i).pipe(Mo(l=>this.handler.handle(l)));if(n instanceof Qi||"events"===o.observe)return s;const a=s.pipe(Vn(l=>l instanceof So));switch(o.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(te(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return a.pipe(te(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return a.pipe(te(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return a.pipe(te(l=>l.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(n,r={}){return this.request("DELETE",n,r)}get(n,r={}){return this.request("GET",n,r)}head(n,r={}){return this.request("HEAD",n,r)}jsonp(n,r){return this.request("JSONP",n,{params:(new tr).append(r,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(n,r={}){return this.request("OPTIONS",n,r)}patch(n,r,o={}){return this.request("PATCH",n,$f(o,r))}post(n,r,o={}){return this.request("POST",n,$f(o,r))}put(n,r,o={}){return this.request("PUT",n,$f(o,r))}}return e.\u0275fac=function(n){return new(n||e)(N(_l))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();function C0(e,t){return t(e)}function TP(e,t){return(n,r)=>t.intercept(n,{handle:o=>e(o,r)})}const _0=new R(""),Ki=new R(""),D0=new R("");function NP(){let e=null;return(t,n)=>(null===e&&(e=(I(_0,{optional:!0})??[]).reduceRight(TP,C0)),e(t,n))}let w0=(()=>{class e extends _l{constructor(n,r){super(),this.backend=n,this.injector=r,this.chain=null}handle(n){if(null===this.chain){const r=Array.from(new Set([...this.injector.get(Ki),...this.injector.get(D0,[])]));this.chain=r.reduceRight((o,i)=>function AP(e,t,n){return(r,o)=>n.runInContext(()=>t(r,i=>e(i,o)))}(o,i,this.injector),C0)}return this.chain(n,r=>this.backend.handle(r))}}return e.\u0275fac=function(n){return new(n||e)(N(Lf),N(sn))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const xP=/^\)\]\}',?\n/;let b0=(()=>{class e{constructor(n){this.xhrFactory=n}handle(n){if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");const r=this.xhrFactory;return(r.\u0275loadImpl?Pe(r.\u0275loadImpl()):F(null)).pipe(gn(()=>new be(i=>{const s=r.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach((g,M)=>s.setRequestHeader(g,M.join(","))),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){const g=n.detectContentTypeHeader();null!==g&&s.setRequestHeader("Content-Type",g)}if(n.responseType){const g=n.responseType.toLowerCase();s.responseType="json"!==g?g:"text"}const a=n.serializeBody();let l=null;const u=()=>{if(null!==l)return l;const g=s.statusText||"OK",M=new We(s.getAllResponseHeaders()),x=function FP(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return l=new Hf({headers:M,status:s.status,statusText:g,url:x}),l},c=()=>{let{headers:g,status:M,statusText:x,url:Y}=u(),pe=null;204!==M&&(pe=typeof s.response>"u"?s.responseText:s.response),0===M&&(M=pe?200:0);let $o=M>=200&&M<300;if("json"===n.responseType&&"string"==typeof pe){const Zk=pe;pe=pe.replace(xP,"");try{pe=""!==pe?JSON.parse(pe):null}catch(Yk){pe=Zk,$o&&($o=!1,pe={error:Yk,text:pe})}}$o?(i.next(new So({body:pe,headers:g,status:M,statusText:x,url:Y||void 0})),i.complete()):i.error(new v0({error:pe,headers:g,status:M,statusText:x,url:Y||void 0}))},d=g=>{const{url:M}=u(),x=new v0({error:g,status:s.status||0,statusText:s.statusText||"Unknown Error",url:M||void 0});i.error(x)};let f=!1;const h=g=>{f||(i.next(u()),f=!0);let M={type:Oe.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(M.total=g.total),"text"===n.responseType&&s.responseText&&(M.partialText=s.responseText),i.next(M)},p=g=>{let M={type:Oe.UploadProgress,loaded:g.loaded};g.lengthComputable&&(M.total=g.total),i.next(M)};let m;s.addEventListener("load",c),s.addEventListener("error",d),s.addEventListener("timeout",d),s.addEventListener("abort",d),n.reportProgress&&(s.addEventListener("progress",h),null!==a&&s.upload&&s.upload.addEventListener("progress",p));const C=()=>{m??=function LP(){const e=setTimeout(()=>{},kP);return()=>clearTimeout(e)}()},b=()=>{m?.()};return s.addEventListener("loadstart",C),s.addEventListener("loadend",b),s.send(a),i.next({type:Oe.Sent}),()=>{s.removeEventListener("loadstart",C),s.removeEventListener("loadend",b),s.removeEventListener("error",d),s.removeEventListener("abort",d),s.removeEventListener("load",c),s.removeEventListener("timeout",d),m?.(),n.reportProgress&&(s.removeEventListener("progress",h),null!==a&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}}return e.\u0275fac=function(n){return new(n||e)(N(V_))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();const kP=2147483647,jf=new R("XSRF_ENABLED"),M0=new R("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),S0=new R("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class I0{}let $P=(()=>{class e{constructor(n,r,o){this.doc=n,this.platform=r,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=I_(n,this.cookieName),this.lastCookieString=n),this.lastToken}}return e.\u0275fac=function(n){return new(n||e)(N(Mt),N(yr),N(M0))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();function jP(e,t){const n=e.url.toLowerCase();if(!I(jf)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const r=I(I0).getToken(),o=I(S0);return null!=r&&!e.headers.has(o)&&(e=e.clone({headers:e.headers.set(o,r)})),t(e)}var Ie=(()=>((Ie=Ie||{})[Ie.Interceptors=0]="Interceptors",Ie[Ie.LegacyInterceptors=1]="LegacyInterceptors",Ie[Ie.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",Ie[Ie.NoXsrfProtection=3]="NoXsrfProtection",Ie[Ie.JsonpSupport=4]="JsonpSupport",Ie[Ie.RequestsMadeViaParent=5]="RequestsMadeViaParent",Ie))();function Io(e,t){return{\u0275kind:e,\u0275providers:t}}function BP(...e){const t=[Sr,b0,w0,{provide:_l,useExisting:w0},{provide:Lf,useExisting:b0},{provide:Ki,useValue:jP,multi:!0},{provide:jf,useValue:!0},{provide:I0,useClass:$P}];for(const n of e)t.push(...n.\u0275providers);return function ic(e){return{\u0275providers:e}}(t)}const T0=new R("LEGACY_INTERCEPTOR_FN");let zP=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=Nt({providers:[BP(Io(Ie.LegacyInterceptors,[{provide:T0,useFactory:NP},{provide:Ki,useExisting:T0,multi:!0}]))]}),e})();function J(e,t,n){const r=le(e)||t||n?{next:e,error:t,complete:n}:e;return r?je((o,i)=>{var s;null===(s=r.subscribe)||void 0===s||s.call(r);let a=!0;o.subscribe(He(i,l=>{var u;null===(u=r.next)||void 0===u||u.call(r,l),i.next(l)},()=>{var l;a=!1,null===(l=r.complete)||void 0===l||l.call(r),i.complete()},l=>{var u;a=!1,null===(u=r.error)||void 0===u||u.call(r,l),i.error(l)},()=>{var l,u;a&&(null===(l=r.unsubscribe)||void 0===l||l.call(r)),null===(u=r.finalize)||void 0===u||u.call(r)}))}):ar}function he(e){return je((t,n)=>{let i,r=null,o=!1;r=t.subscribe(He(n,void 0,void 0,s=>{i=Tt(e(s,he(e)(t))),r?(r.unsubscribe(),r=null,i.subscribe(n)):o=!0})),o&&(r.unsubscribe(),r=null,i.subscribe(n))})}const Ir_restServerUrl="https://tds.truyen.network";let To=(()=>{class e{constructor(){this.messages=[]}add(n){this.messages.push((new Date).toLocaleTimeString()+") "+n)}clear(){this.messages=[]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class mn{constructor(t,n){this.http=t,this.appMessageService=n,this.httpOptions={headers:new We({"Content-Type":"application/json",Accept:"application/json"})}}handleError(t="operation",n){return r=>(console.error(r),this.log(`Error @ ${t}: ${r.status} ${r.statusText}`),F(n))}log(t){this.appMessageService.add(`ChatMessagesService: ${t}`)}getChatMessages(){return this.http.get(mn.REST_URL,this.httpOptions).pipe(J(t=>this.log(`fetched ${t.length} messages`)),he(this.handleError("getChatMessages",[])))}addChatMessage(t,n){return this.http.post(mn.REST_URL,{author:t,text:n},this.httpOptions).pipe(J(o=>this.log(`added message w/ id=${o.id}`)),he(this.handleError("addChatMessage")))}}mn.REST_URL=Ir_restServerUrl+"/api/chat",mn.\u0275fac=function(t){return new(t||mn)(N(Sr),N(To))},mn.\u0275prov=O({token:mn,factory:mn.\u0275fac,providedIn:"root"});const Ao="./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),Bf=Array.from({length:64},(e,t)=>t),wl=e=>Array(e).fill(-1),nr=[...wl(46),0,1,...Bf.slice(54,64),...wl(7),...Bf.slice(2,28),...wl(6),...Bf.slice(28,54),...wl(5)],A0=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],N0=[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946,1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055,3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504,976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462],R0=[1332899944,1700884034,1701343084,1684370003,1668446532,1869963892],Uf=(e,t)=>{if(t<=0||t>e.length)throw Error(`Illegal len: ${t}`);let r,o,n=0;const i=[];for(;n>2&63]),r=(3&r)<<4,n>=t){i.push(Ao[63&r]);break}if(o=255&e[n++],r|=o>>4&15,i.push(Ao[63&r]),r=(15&o)<<2,n>=t){i.push(Ao[63&r]);break}o=255&e[n++],r|=o>>6&3,i.push(Ao[63&r]),i.push(Ao[63&o])}return i.join("")},El="object"==typeof process&&"edge"===process.env.NEXT_RUNTIME?setTimeout:"function"==typeof setImmediate?setImmediate:"object"==typeof process&&"function"==typeof process.nextTick?process.nextTick:setTimeout,es=(e,t,n,r)=>{let o,i=e[t],s=e[t+1];return i^=n[0],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^n[1],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^n[2],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^n[3],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^n[4],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^n[5],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^n[6],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^n[7],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^n[8],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^n[9],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^n[10],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^n[11],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^n[12],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^n[13],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^n[14],o=r[i>>>24],o+=r[256|i>>16&255],o^=r[512|i>>8&255],o+=r[768|255&i],s^=o^n[15],o=r[s>>>24],o+=r[256|s>>16&255],o^=r[512|s>>8&255],o+=r[768|255&s],i^=o^n[16],e[t]=s^n[17],e[t+1]=i,e},No=(e,t)=>{let n=0;for(let r=0;r<4;++r)n=n<<8|255&e[t],t=(t+1)%e.length;return{key:n,offp:t}},O0=(e,t,n)=>{const r=t.length,o=n.length;let a,i=0,s=[0,0];for(let l=0;l{const i=R0.slice(),s=i.length;if(n<4||n>31){const f=new Error(`Illegal number of rounds (4-31): ${n}`);if(!1===r)return Promise.reject(f);throw f}if(16!==t.length){const f=new Error(`Illegal salt length: ${t.length} != 16`);if(!1===r)return Promise.reject(f);throw f}n=1<>>0;let a,l,c,u=0;Int32Array?(a=new Int32Array(A0),l=new Int32Array(N0)):(a=A0.slice(),l=N0.slice()),((e,t,n,r)=>{const o=n.length,i=r.length;let l,s=0,a=[0,0];for(let u=0;u{if(o&&o(u/n),!(u>1;c++)es(i,c<<1,a,l);const f=[];for(u=0;u>24&255)>>>0),f.push((i[u]>>16&255)>>>0),f.push((i[u]>>8&255)>>>0),f.push((255&i[u])>>>0);return!1===r?Promise.resolve(f):f}{const f=Date.now();for(;u100)););}if(!1===r)return new Promise(f=>El(()=>{d().then(f)}))};if(!1===r)return d();{let f;for(;;)if(typeof(f=d())<"u")return f||[]}},zf=(e=10)=>{if("number"!=typeof e)throw Error("Illegal arguments: "+typeof e);e<4?e=4:e>31&&(e=31);const t=[];return t.push("$2a$"),e<10&&t.push("0"),t.push(e.toString()),t.push("$"),t.push(Uf((e=>{try{let t;t=typeof window<"u"?window.crypto??window.msCrypto:globalThis.crypto;const n=new Uint32Array(16);return t?.getRandomValues(n),Array.from(n)}catch{throw Error("WebCryptoAPI is not available")}})(),16)),t.join("")};const x0=(e,t=10)=>{if("number"==typeof t&&(t=zf(t)),"string"!=typeof e||"string"!=typeof t)throw Error("Illegal arguments: "+typeof e+", "+typeof t);return function Gf(e,t,n,r){if("string"!=typeof e||"string"!=typeof t){const h=new Error("Invalid string / salt: Not a string");if(!1===n)return Promise.reject(h);throw h}let o,i;if("$"!==t.charAt(0)||"2"!==t.charAt(1)){const h=new Error("Invalid salt version: "+t.substring(0,2));if(!1===n)return Promise.reject(h);throw h}if("$"===t.charAt(2))o="\0",i=3;else{if(o=t.charAt(2),"a"!==o&&"b"!==o&&"y"!==o||"$"!==t.charAt(3)){const h=Error("Invalid salt revision: "+t.substring(2,4));if(!1===n)return Promise.reject(h);throw h}i=4}if(t.charAt(i+2)>"$"){const h=new Error("Missing salt rounds");if(!1===n)return Promise.reject(h);throw h}const l=10*parseInt(t.substring(i,i+1),10)+parseInt(t.substring(i+1,i+2),10),u=t.substring(i+3,i+25),c=(e=>{const t=[];let n=0;return((e,t)=>{((e,t)=>{let n,r=null;for(;null!==(n=null!==r?r:e());)n>=55296&&n<=57343&&null!==(r=e())&&r>=56320&&r<=57343?(t(1024*(n-55296)+r-56320+65536),r=null):t(n);null!==r&&t(r)})(e,function(n){((e,t)=>{let n=null;for("number"==typeof e&&(n=e,e=()=>null);null!==n||null!==(n=e());)n<128?t(127&n):n<2048?(t(n>>6&31|192),t(63&n|128)):n<65536?(t(n>>12&15|224),t(n>>6&63|128),t(63&n|128)):(t(n>>18&7|240),t(n>>12&63|128),t(n>>6&63|128),t(63&n|128)),n=null})(n,t)})})(()=>n>=e.length?null:e.charCodeAt(n++),r=>{t.push(r)}),t})(e+=o>="a"?"\0":""),d=((e,t)=>{const n=e.length;let i,s,a,l,u,c,r=0,o=0;const d=[];for(;r>>0,u|=(48&s)>>4,d.push(String.fromCharCode(u)),++o>=16||r>=n)||(c=e.charCodeAt(r++),a=c>>0,u|=(60&a)>>2,d.push(String.fromCharCode(u)),++o>=16||r>=n)));)c=e.charCodeAt(r++),l=c>>0,u|=l,d.push(String.fromCharCode(u)),++o;return d.map(f=>f.charCodeAt(0))})(u),f=h=>{const p=[];return p.push("$2"),o>="a"&&p.push(o),p.push("$"),l<10&&p.push("0"),p.push(l.toString()),p.push("$"),p.push(Uf(d,d.length)),p.push(Uf(h,4*R0.length-1)),p.join("")};return!1===n?P0(c,d,l,!1,r).then(h=>f(h)):f(P0(c,d,l,!0,r))}(e,t,!0)};class Zt extends _n{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const n=super._subscribe(t);return!n.closed&&t.next(this._value),n}getValue(){const{hasError:t,thrownError:n,_value:r}=this;if(t)throw n;return this._throwIfClosed(),r}next(t){super.next(this._value=t)}}function Wf(...e){const t=zo(e),n=jh(e),{args:r,keys:o}=sD(e);if(0===r.length)return Pe([],t);const i=new be(function sx(e,t,n=ar){return r=>{F0(t,()=>{const{length:o}=e,i=new Array(o);let s=o,a=o;for(let l=0;l{const u=Pe(e[l],t);let c=!1;u.subscribe(He(r,d=>{i[l]=d,c||(c=!0,a--),a||r.next(n(i.slice()))},()=>{--s||r.complete()}))},r)},r)}}(r,t,o?s=>lD(o,s):ar));return n?i.pipe(aD(n)):i}function F0(e,t,n){e?Dn(n,e,t):t()}const bl=jo(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"});function qf(...e){return function ax(){return Pr(1)}()(Pe(e,zo(e)))}function k0(e){return new be(t=>{Tt(e()).subscribe(t)})}function ts(e,t){const n=le(e)?e:()=>e,r=o=>o.error(n());return new be(t?o=>t.schedule(r,0,o):r)}function Zf(){return je((e,t)=>{let n=null;e._refCount++;const r=He(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const o=e._connection,i=n;n=null,o&&(!i||o===i)&&o.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}class L0 extends be{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._subject=null,this._refCount=0,this._connection=null,Ih(t)&&(this.lift=t.lift)}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:t}=this;this._subject=this._connection=null,t?.unsubscribe()}connect(){let t=this._connection;if(!t){t=this._connection=new It;const n=this.getSubject();t.add(this.source.subscribe(He(n,void 0,()=>{this._teardown(),n.complete()},r=>{this._teardown(),n.error(r)},()=>this._teardown()))),t.closed&&(this._connection=null,t=It.EMPTY)}return t}refCount(){return Zf()(this)}}function Ro(e){return e<=0?()=>Qt:je((t,n)=>{let r=0;t.subscribe(He(n,o=>{++r<=e&&(n.next(o),e<=r&&n.complete())}))})}function Ml(e){return je((t,n)=>{let r=!1;t.subscribe(He(n,o=>{r=!0,n.next(o)},()=>{r||n.next(e),n.complete()}))})}function V0(e=ux){return je((t,n)=>{let r=!1;t.subscribe(He(n,o=>{r=!0,n.next(o)},()=>r?n.complete():n.error(e())))})}function ux(){return new bl}function Tr(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Vn((o,i)=>e(o,i,r)):ar,Ro(1),n?Ml(t):V0(()=>new bl))}function Yf(e){return e<=0?()=>Qt:je((t,n)=>{let r=[];t.subscribe(He(n,o=>{r.push(o),e{for(const o of r)n.next(o);n.complete()},void 0,()=>{r=null}))})}function Xf(e){return je((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}const q="primary",ns=Symbol("RouteTitle");class px{constructor(t){this.params=t||{}}has(t){return Object.prototype.hasOwnProperty.call(this.params,t)}get(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n[0]:n}return null}getAll(t){if(this.has(t)){const n=this.params[t];return Array.isArray(n)?n:[n]}return[]}get keys(){return Object.keys(this.params)}}function Oo(e){return new px(e)}function gx(e,t,n){const r=n.path.split("/");if(r.length>e.length||"full"===n.pathMatch&&(t.hasChildren()||r.lengthr[i]===o)}return e===t}function $0(e){return e.length>0?e[e.length-1]:null}function rr(e){return function ix(e){return!!e&&(e instanceof be||le(e.lift)&&le(e.subscribe))}(e)?e:Ti(e)?Pe(Promise.resolve(e)):F(e)}const yx={exact:function U0(e,t,n){if(!Ar(e.segments,t.segments)||!Sl(e.segments,t.segments,n)||e.numberOfChildren!==t.numberOfChildren)return!1;for(const r in t.children)if(!e.children[r]||!U0(e.children[r],t.children[r],n))return!1;return!0},subset:z0},j0={exact:function vx(e,t){return yn(e,t)},subset:function Cx(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>H0(e[n],t[n]))},ignored:()=>!0};function B0(e,t,n){return yx[n.paths](e.root,t.root,n.matrixParams)&&j0[n.queryParams](e.queryParams,t.queryParams)&&!("exact"===n.fragment&&e.fragment!==t.fragment)}function z0(e,t,n){return G0(e,t,t.segments,n)}function G0(e,t,n,r){if(e.segments.length>n.length){const o=e.segments.slice(0,n.length);return!(!Ar(o,n)||t.hasChildren()||!Sl(o,n,r))}if(e.segments.length===n.length){if(!Ar(e.segments,n)||!Sl(e.segments,n,r))return!1;for(const o in t.children)if(!e.children[o]||!z0(e.children[o],t.children[o],r))return!1;return!0}{const o=n.slice(0,e.segments.length),i=n.slice(e.segments.length);return!!(Ar(e.segments,o)&&Sl(e.segments,o,r)&&e.children[q])&&G0(e.children[q],t,i,r)}}function Sl(e,t,n){return t.every((r,o)=>j0[n](e[o].parameters,r.parameters))}class Po{constructor(t=new ae([],{}),n={},r=null){this.root=t,this.queryParams=n,this.fragment=r}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Oo(this.queryParams)),this._queryParamMap}toString(){return wx.serialize(this)}}class ae{constructor(t,n){this.segments=t,this.children=n,this.parent=null,Object.values(n).forEach(r=>r.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Il(this)}}class rs{constructor(t,n){this.path=t,this.parameters=n}get parameterMap(){return this._parameterMap||(this._parameterMap=Oo(this.parameters)),this._parameterMap}toString(){return Z0(this)}}function Ar(e,t){return e.length===t.length&&e.every((n,r)=>n.path===t[r].path)}let os=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return new Qf},providedIn:"root"}),e})();class Qf{parse(t){const n=new Px(t);return new Po(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}serialize(t){const n=`/${is(t.root,!0)}`,r=function Mx(e){const t=Object.keys(e).map(n=>{const r=e[n];return Array.isArray(r)?r.map(o=>`${Tl(n)}=${Tl(o)}`).join("&"):`${Tl(n)}=${Tl(r)}`}).filter(n=>!!n);return t.length?`?${t.join("&")}`:""}(t.queryParams);return`${n}${r}${"string"==typeof t.fragment?`#${function Ex(e){return encodeURI(e)}(t.fragment)}`:""}`}}const wx=new Qf;function Il(e){return e.segments.map(t=>Z0(t)).join("/")}function is(e,t){if(!e.hasChildren())return Il(e);if(t){const n=e.children[q]?is(e.children[q],!1):"",r=[];return Object.entries(e.children).forEach(([o,i])=>{o!==q&&r.push(`${o}:${is(i,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=function Dx(e,t){let n=[];return Object.entries(e.children).forEach(([r,o])=>{r===q&&(n=n.concat(t(o,r)))}),Object.entries(e.children).forEach(([r,o])=>{r!==q&&(n=n.concat(t(o,r)))}),n}(e,(r,o)=>o===q?[is(e.children[q],!1)]:[`${o}:${is(r,!1)}`]);return 1===Object.keys(e.children).length&&null!=e.children[q]?`${Il(e)}/${n[0]}`:`${Il(e)}/(${n.join("//")})`}}function W0(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Tl(e){return W0(e).replace(/%3B/gi,";")}function Kf(e){return W0(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Al(e){return decodeURIComponent(e)}function q0(e){return Al(e.replace(/\+/g,"%20"))}function Z0(e){return`${Kf(e.path)}${function bx(e){return Object.keys(e).map(t=>`;${Kf(t)}=${Kf(e[t])}`).join("")}(e.parameters)}`}const Sx=/^[^\/()?;#]+/;function Jf(e){const t=e.match(Sx);return t?t[0]:""}const Ix=/^[^\/()?;=#]+/,Ax=/^[^=?&#]+/,Rx=/^[^&#]+/;class Px{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ae([],{}):new ae([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));let r={};return this.peekStartsWith("(")&&(r=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(r[q]=new ae(t,n)),r}parseSegment(){const t=Jf(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new w(4009,!1);return this.capture(t),new rs(Al(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const n=function Tx(e){const t=e.match(Ix);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const o=Jf(this.remaining);o&&(r=o,this.capture(r))}t[Al(n)]=Al(r)}parseQueryParam(t){const n=function Nx(e){const t=e.match(Ax);return t?t[0]:""}(this.remaining);if(!n)return;this.capture(n);let r="";if(this.consumeOptional("=")){const s=function Ox(e){const t=e.match(Rx);return t?t[0]:""}(this.remaining);s&&(r=s,this.capture(r))}const o=q0(n),i=q0(r);if(t.hasOwnProperty(o)){let s=t[o];Array.isArray(s)||(s=[s],t[o]=s),s.push(i)}else t[o]=i}parseParens(t){const n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const r=Jf(this.remaining),o=this.remaining[r.length];if("/"!==o&&")"!==o&&";"!==o)throw new w(4010,!1);let i;r.indexOf(":")>-1?(i=r.slice(0,r.indexOf(":")),this.capture(i),this.capture(":")):t&&(i=q);const s=this.parseChildren();n[i]=1===Object.keys(s).length?s[q]:new ae([],s),this.consumeOptional("//")}return n}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new w(4011,!1)}}function Y0(e){return e.segments.length>0?new ae([],{[q]:e}):e}function X0(e){const t={};for(const r of Object.keys(e.children)){const i=X0(e.children[r]);if(r===q&&0===i.segments.length&&i.hasChildren())for(const[s,a]of Object.entries(i.children))t[s]=a;else(i.segments.length>0||i.hasChildren())&&(t[r]=i)}return function xx(e){if(1===e.numberOfChildren&&e.children[q]){const t=e.children[q];return new ae(e.segments.concat(t.segments),t.children)}return e}(new ae(e.segments,t))}function Nr(e){return e instanceof Po}function Q0(e){let t;const o=Y0(function n(i){const s={};for(const l of i.children){const u=n(l);s[l.outlet]=u}const a=new ae(i.url,s);return i===e&&(t=a),a}(e.root));return t??o}function K0(e,t,n,r){let o=e;for(;o.parent;)o=o.parent;if(0===t.length)return eh(o,o,o,n,r);const i=function kx(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new ew(!0,0,e);let t=0,n=!1;const r=e.reduce((o,i,s)=>{if("object"==typeof i&&null!=i){if(i.outlets){const a={};return Object.entries(i.outlets).forEach(([l,u])=>{a[l]="string"==typeof u?u.split("/"):u}),[...o,{outlets:a}]}if(i.segmentPath)return[...o,i.segmentPath]}return"string"!=typeof i?[...o,i]:0===s?(i.split("/").forEach((a,l)=>{0==l&&"."===a||(0==l&&""===a?n=!0:".."===a?t++:""!=a&&o.push(a))}),o):[...o,i]},[]);return new ew(n,t,r)}(t);if(i.toRoot())return eh(o,o,new ae([],{}),n,r);const s=function Lx(e,t,n){if(e.isAbsolute)return new Rl(t,!0,0);if(!n)return new Rl(t,!1,NaN);if(null===n.parent)return new Rl(n,!0,0);const r=Nl(e.commands[0])?0:1;return function Vx(e,t,n){let r=e,o=t,i=n;for(;i>o;){if(i-=o,r=r.parent,!r)throw new w(4005,!1);o=r.segments.length}return new Rl(r,!1,o-i)}(n,n.segments.length-1+r,e.numberOfDoubleDots)}(i,o,e),a=s.processChildren?as(s.segmentGroup,s.index,i.commands):tw(s.segmentGroup,s.index,i.commands);return eh(o,s.segmentGroup,a,n,r)}function Nl(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function ss(e){return"object"==typeof e&&null!=e&&e.outlets}function eh(e,t,n,r,o){let s,i={};r&&Object.entries(r).forEach(([l,u])=>{i[l]=Array.isArray(u)?u.map(c=>`${c}`):`${u}`}),s=e===t?n:J0(e,t,n);const a=Y0(X0(s));return new Po(a,i,o)}function J0(e,t,n){const r={};return Object.entries(e.children).forEach(([o,i])=>{r[o]=i===t?n:J0(i,t,n)}),new ae(e.segments,r)}class ew{constructor(t,n,r){if(this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Nl(r[0]))throw new w(4003,!1);const o=r.find(ss);if(o&&o!==$0(r))throw new w(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Rl{constructor(t,n,r){this.segmentGroup=t,this.processChildren=n,this.index=r}}function tw(e,t,n){if(e||(e=new ae([],{})),0===e.segments.length&&e.hasChildren())return as(e,t,n);const r=function $x(e,t,n){let r=0,o=t;const i={match:!1,pathIndex:0,commandIndex:0};for(;o=n.length)return i;const s=e.segments[o],a=n[r];if(ss(a))break;const l=`${a}`,u=r0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!rw(l,u,s))return i;r+=2}else{if(!rw(l,{},s))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex{"string"==typeof s&&(s=[s]),null!==s&&(o[i]=tw(e.children[i],t,s))}),Object.entries(e.children).forEach(([i,s])=>{void 0===r[i]&&(o[i]=s)}),new ae(e.segments,o)}}function th(e,t,n){const r=e.segments.slice(0,t);let o=0;for(;o{"string"==typeof r&&(r=[r]),null!==r&&(t[n]=th(new ae([],{}),0,r))}),t}function nw(e){const t={};return Object.entries(e).forEach(([n,r])=>t[n]=`${r}`),t}function rw(e,t,n){return e==n.path&&yn(t,n.parameters)}const ls="imperative";class vn{constructor(t,n){this.id=t,this.url=n}}class nh extends vn{constructor(t,n,r="imperative",o=null){super(t,n),this.type=0,this.navigationTrigger=r,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Rr extends vn{constructor(t,n,r){super(t,n),this.urlAfterRedirects=r,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Ol extends vn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class us extends vn{constructor(t,n,r,o){super(t,n),this.reason=r,this.code=o,this.type=16}}class rh extends vn{constructor(t,n,r,o){super(t,n),this.error=r,this.target=o,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Bx extends vn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ux extends vn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class zx extends vn{constructor(t,n,r,o,i){super(t,n),this.urlAfterRedirects=r,this.state=o,this.shouldActivate=i,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Gx extends vn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wx extends vn{constructor(t,n,r,o){super(t,n),this.urlAfterRedirects=r,this.state=o,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class qx{constructor(t){this.route=t,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Zx{constructor(t){this.route=t,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Yx{constructor(t){this.snapshot=t,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Xx{constructor(t){this.snapshot=t,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Qx{constructor(t){this.snapshot=t,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Kx{constructor(t){this.snapshot=t,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ow{constructor(t,n,r){this.routerEvent=t,this.position=n,this.anchor=r,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Jx{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new cs,this.attachRef=null}}let cs=(()=>{class e{constructor(){this.contexts=new Map}onChildOutletCreated(n,r){const o=this.getOrCreateContext(n);o.outlet=r,this.contexts.set(n,o)}onChildOutletDestroyed(n){const r=this.getContext(n);r&&(r.outlet=null,r.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let r=this.getContext(n);return r||(r=new Jx,this.contexts.set(n,r)),r}getContext(n){return this.contexts.get(n)||null}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();class iw{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}children(t){const n=oh(t,this._root);return n?n.children.map(r=>r.value):[]}firstChild(t){const n=oh(t,this._root);return n&&n.children.length>0?n.children[0].value:null}siblings(t){const n=ih(t,this._root);return n.length<2?[]:n[n.length-2].children.map(o=>o.value).filter(o=>o!==t)}pathFromRoot(t){return ih(t,this._root).map(n=>n.value)}}function oh(e,t){if(e===t.value)return t;for(const n of t.children){const r=oh(e,n);if(r)return r}return null}function ih(e,t){if(e===t.value)return[t];for(const n of t.children){const r=ih(e,n);if(r.length)return r.unshift(t),r}return[]}class Hn{constructor(t,n){this.value=t,this.children=n}toString(){return`TreeNode(${this.value})`}}function xo(e){const t={};return e&&e.children.forEach(n=>t[n.value.outlet]=n),t}class sw extends iw{constructor(t,n){super(t),this.snapshot=n,sh(this,t)}toString(){return this.snapshot.toString()}}function aw(e,t){const n=function eF(e,t){const s=new Pl([],{},{},"",{},q,t,null,{});return new uw("",new Hn(s,[]))}(0,t),r=new Zt([new rs("",{})]),o=new Zt({}),i=new Zt({}),s=new Zt({}),a=new Zt(""),l=new or(r,o,s,a,i,q,t,n.root);return l.snapshot=n.root,new sw(new Hn(l,[]),n)}class or{constructor(t,n,r,o,i,s,a,l){this.urlSubject=t,this.paramsSubject=n,this.queryParamsSubject=r,this.fragmentSubject=o,this.dataSubject=i,this.outlet=s,this.component=a,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(te(u=>u[ns]))??F(void 0),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i}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._paramMap=this.params.pipe(te(t=>Oo(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(te(t=>Oo(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function lw(e,t="emptyOnly"){const n=e.pathFromRoot;let r=0;if("always"!==t)for(r=n.length-1;r>=1;){const o=n[r],i=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function tF(e){return e.reduce((t,n)=>({params:{...t.params,...n.params},data:{...t.data,...n.data},resolve:{...n.data,...t.resolve,...n.routeConfig?.data,...n._resolvedData}}),{params:{},data:{},resolve:{}})}(n.slice(r))}class Pl{get title(){return this.data?.[ns]}constructor(t,n,r,o,i,s,a,l,u){this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=s,this.component=a,this.routeConfig=l,this._resolve=u}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._paramMap=Oo(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Oo(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(r=>r.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class uw extends iw{constructor(t,n){super(n),this.url=t,sh(this,n)}toString(){return cw(this._root)}}function sh(e,t){t.value._routerState=e,t.children.forEach(n=>sh(e,n))}function cw(e){const t=e.children.length>0?` { ${e.children.map(cw).join(", ")} } `:"";return`${e.value}${t}`}function ah(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,yn(t.queryParams,n.queryParams)||e.queryParamsSubject.next(n.queryParams),t.fragment!==n.fragment&&e.fragmentSubject.next(n.fragment),yn(t.params,n.params)||e.paramsSubject.next(n.params),function mx(e,t){if(e.length!==t.length)return!1;for(let n=0;nyn(n.parameters,t[r].parameters))}(e.url,t.url);return n&&!(!e.parent!=!t.parent)&&(!e.parent||lh(e.parent,t.parent))}let uh=(()=>{class e{constructor(){this.activated=null,this._activatedRoute=null,this.name=q,this.activateEvents=new Ee,this.deactivateEvents=new Ee,this.attachEvents=new Ee,this.detachEvents=new Ee,this.parentContexts=I(cs),this.location=I(Ut),this.changeDetector=I(Wa),this.environmentInjector=I(sn),this.inputBinder=I(xl,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(n){if(n.name){const{firstChange:r,previousValue:o}=n.name;if(r)return;this.isTrackedInParentContexts(o)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(o)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(n){return this.parentContexts.getContext(n)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const n=this.parentContexts.getContext(this.name);n?.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.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();const n=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(n.instance),n}attach(n,r){this.activated=n,this._activatedRoute=r,this.location.insert(n.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(n.instance)}deactivate(){if(this.activated){const n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}}activateWith(n,r){if(this.isActivated)throw new w(4013,!1);this._activatedRoute=n;const o=this.location,s=n.snapshot.component,a=this.parentContexts.getOrCreateContext(this.name).children,l=new nF(n,a,o.injector);this.activated=o.createComponent(s,{index:o.length,injector:l,environmentInjector:r??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275dir=$({type:e,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Ot]}),e})();class nF{constructor(t,n,r){this.route=t,this.childContexts=n,this.parent=r}get(t,n){return t===or?this.route:t===cs?this.childContexts:this.parent.get(t,n)}}const xl=new R("");let dw=(()=>{class e{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(n){this.unsubscribeFromRouteData(n),this.subscribeToRouteData(n)}unsubscribeFromRouteData(n){this.outletDataSubscriptions.get(n)?.unsubscribe(),this.outletDataSubscriptions.delete(n)}subscribeToRouteData(n){const{activatedRoute:r}=n,o=Wf([r.queryParams,r.params,r.data]).pipe(gn(([i,s,a],l)=>(a={...i,...s,...a},0===l?F(a):Promise.resolve(a)))).subscribe(i=>{if(!n.isActivated||!n.activatedComponentRef||n.activatedRoute!==r||null===r.component)return void this.unsubscribeFromRouteData(n);const s=function WN(e){const t=ne(e);if(!t)return null;const n=new Ei(t);return{get selector(){return n.selector},get type(){return n.componentType},get inputs(){return n.inputs},get outputs(){return n.outputs},get ngContentSelectors(){return n.ngContentSelectors},get isStandalone(){return t.standalone}}}(r.component);if(s)for(const{templateName:a}of s.inputs)n.activatedComponentRef.setInput(a,i[a]);else this.unsubscribeFromRouteData(n)});this.outletDataSubscriptions.set(n,o)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();function ds(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){const r=n.value;r._futureSnapshot=t.value;const o=function oF(e,t,n){return t.children.map(r=>{for(const o of n.children)if(e.shouldReuseRoute(r.value,o.value.snapshot))return ds(e,r,o);return ds(e,r)})}(e,t,n);return new Hn(r,o)}{if(e.shouldAttach(t.value)){const i=e.retrieve(t.value);if(null!==i){const s=i.route;return s.value._futureSnapshot=t.value,s.children=t.children.map(a=>ds(e,a)),s}}const r=function iF(e){return new or(new Zt(e.url),new Zt(e.params),new Zt(e.queryParams),new Zt(e.fragment),new Zt(e.data),e.outlet,e.component,e)}(t.value),o=t.children.map(i=>ds(e,i));return new Hn(r,o)}}const ch="ngNavigationCancelingError";function fw(e,t){const{redirectTo:n,navigationBehaviorOptions:r}=Nr(t)?{redirectTo:t,navigationBehaviorOptions:void 0}:t,o=hw(!1,0,t);return o.url=n,o.navigationBehaviorOptions=r,o}function hw(e,t,n){const r=new Error("NavigationCancelingError: "+(e||""));return r[ch]=!0,r.cancellationCode=t,n&&(r.url=n),r}function pw(e){return gw(e)&&Nr(e.url)}function gw(e){return e&&e[ch]}let mw=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Rt({type:e,selectors:[["ng-component"]],standalone:!0,features:[jv],decls:1,vars:0,template:function(n,r){1&n&&ue(0,"router-outlet")},dependencies:[uh],encapsulation:2}),e})();function dh(e){const t=e.children&&e.children.map(dh),n=t?{...e,children:t}:{...e};return!n.component&&!n.loadComponent&&(t||n.loadChildren)&&n.outlet&&n.outlet!==q&&(n.component=mw),n}function Yt(e){return e.outlet||q}function fs(e){if(!e)return null;if(e.routeConfig?._injector)return e.routeConfig._injector;for(let t=e.parent;t;t=t.parent){const n=t.routeConfig;if(n?._loadedInjector)return n._loadedInjector;if(n?._injector)return n._injector}return null}class fF{constructor(t,n,r,o,i){this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o,this.inputBindingEnabled=i}activate(t){const n=this.futureState._root,r=this.currState?this.currState._root:null;this.deactivateChildRoutes(n,r,t),ah(this.futureState.root),this.activateChildRoutes(n,r,t)}deactivateChildRoutes(t,n,r){const o=xo(n);t.children.forEach(i=>{const s=i.value.outlet;this.deactivateRoutes(i,o[s],r),delete o[s]}),Object.values(o).forEach(i=>{this.deactivateRouteAndItsChildren(i,r)})}deactivateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(o===i)if(o.component){const s=r.getContext(o.outlet);s&&this.deactivateChildRoutes(t,n,s.children)}else this.deactivateChildRoutes(t,n,r);else i&&this.deactivateRouteAndItsChildren(n,r)}deactivateRouteAndItsChildren(t,n){t.value.component&&this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,n):this.deactivateRouteAndOutlet(t,n)}detachAndStoreRouteSubtree(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=xo(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);if(r&&r.outlet){const s=r.outlet.detach(),a=r.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:s,route:t,contexts:a})}}deactivateRouteAndOutlet(t,n){const r=n.getContext(t.value.outlet),o=r&&t.value.component?r.children:n,i=xo(t);for(const s of Object.keys(i))this.deactivateRouteAndItsChildren(i[s],o);r&&(r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated()),r.attachRef=null,r.route=null)}activateChildRoutes(t,n,r){const o=xo(n);t.children.forEach(i=>{this.activateRoutes(i,o[i.value.outlet],r),this.forwardEvent(new Kx(i.value.snapshot))}),t.children.length&&this.forwardEvent(new Xx(t.value.snapshot))}activateRoutes(t,n,r){const o=t.value,i=n?n.value:null;if(ah(o),o===i)if(o.component){const s=r.getOrCreateContext(o.outlet);this.activateChildRoutes(t,n,s.children)}else this.activateChildRoutes(t,n,r);else if(o.component){const s=r.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.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),ah(a.route.value),this.activateChildRoutes(t,null,s.children)}else{const a=fs(o.snapshot);s.attachRef=null,s.route=o,s.injector=a,s.outlet&&s.outlet.activateWith(o,s.injector),this.activateChildRoutes(t,null,s.children)}}else this.activateChildRoutes(t,null,r)}}class yw{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class Fl{constructor(t,n){this.component=t,this.route=n}}function hF(e,t,n){const r=e._root;return hs(r,t?t._root:null,n,[r.value])}function Fo(e,t){const n=Symbol(),r=t.get(e,n);return r===n?"function"!=typeof e||function RE(e){return null!==Ds(e)}(e)?t.get(e):e:r}function hs(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=xo(t);return e.children.forEach(s=>{(function gF(e,t,n,r,o={canDeactivateChecks:[],canActivateChecks:[]}){const i=e.value,s=t?t.value:null,a=n?n.getContext(e.value.outlet):null;if(s&&i.routeConfig===s.routeConfig){const l=function mF(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Ar(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Ar(e.url,t.url)||!yn(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!lh(e,t)||!yn(e.queryParams,t.queryParams);default:return!lh(e,t)}}(s,i,i.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new yw(r)):(i.data=s.data,i._resolvedData=s._resolvedData),hs(e,t,i.component?a?a.children:null:n,r,o),l&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Fl(a.outlet.component,s))}else s&&ps(t,a,o),o.canActivateChecks.push(new yw(r)),hs(e,null,i.component?a?a.children:null:n,r,o)})(s,i[s.value.outlet],n,r.concat([s.value]),o),delete i[s.value.outlet]}),Object.entries(i).forEach(([s,a])=>ps(a,n.getContext(s),o)),o}function ps(e,t,n){const r=xo(e),o=e.value;Object.entries(r).forEach(([i,s])=>{ps(s,o.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Fl(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}function gs(e){return"function"==typeof e}function vw(e){return e instanceof bl||"EmptyError"===e?.name}const kl=Symbol("INITIAL_VALUE");function ko(){return gn(e=>Wf(e.map(t=>t.pipe(Ro(1),function lx(...e){const t=zo(e);return je((n,r)=>{(t?qf(e,n,t):qf(e,n)).subscribe(r)})}(kl)))).pipe(te(t=>{for(const n of t)if(!0!==n){if(n===kl)return kl;if(!1===n||n instanceof Po)return n}return!0}),Vn(t=>t!==kl),Ro(1)))}function Cw(e){return function Xw(...e){return bh(e)}(J(t=>{if(Nr(t))throw fw(0,t)}),te(t=>!0===t))}class Ll{constructor(t){this.segmentGroup=t||null}}class _w{constructor(t){this.urlTree=t}}function Lo(e){return ts(new Ll(e))}function Dw(e){return ts(new _w(e))}class kF{constructor(t,n){this.urlSerializer=t,this.urlTree=n}noMatchError(t){return new w(4002,!1)}lineralizeSegments(t,n){let r=[],o=n.root;for(;;){if(r=r.concat(o.segments),0===o.numberOfChildren)return F(r);if(o.numberOfChildren>1||!o.children[q])return ts(new w(4e3,!1));o=o.children[q]}}applyRedirectCommands(t,n,r){return this.applyRedirectCreateUrlTree(n,this.urlSerializer.parse(n),t,r)}applyRedirectCreateUrlTree(t,n,r,o){const i=this.createSegmentGroup(t,n.root,r,o);return new Po(i,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}createQueryParams(t,n){const r={};return Object.entries(t).forEach(([o,i])=>{if("string"==typeof i&&i.startsWith(":")){const a=i.substring(1);r[o]=n[a]}else r[o]=i}),r}createSegmentGroup(t,n,r,o){const i=this.createSegments(t,n.segments,r,o);let s={};return Object.entries(n.children).forEach(([a,l])=>{s[a]=this.createSegmentGroup(t,l,r,o)}),new ae(i,s)}createSegments(t,n,r,o){return n.map(i=>i.path.startsWith(":")?this.findPosParam(t,i,o):this.findOrReturn(i,r))}findPosParam(t,n,r){const o=r[n.path.substring(1)];if(!o)throw new w(4001,!1);return o}findOrReturn(t,n){let r=0;for(const o of n){if(o.path===t.path)return n.splice(r),o;r++}return t}}const fh={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function LF(e,t,n,r,o){const i=hh(e,t,n);return i.matched?(r=function sF(e,t){return e.providers&&!e._injector&&(e._injector=sd(e.providers,t,`Route: ${e.path}`)),e._injector??t}(t,r),function PF(e,t,n,r){const o=t.canMatch;return o&&0!==o.length?F(o.map(s=>{const a=Fo(s,e);return rr(function wF(e){return e&&gs(e.canMatch)}(a)?a.canMatch(t,n):e.runInContext(()=>a(t,n)))})).pipe(ko(),Cw()):F(!0)}(r,t,n).pipe(te(s=>!0===s?i:{...fh}))):F(i)}function hh(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{...fh}:{matched:!0,consumedSegments:[],remainingSegments:n,parameters:{},positionalParamSegments:{}};const o=(t.matcher||gx)(n,e,t);if(!o)return{...fh};const i={};Object.entries(o.posParams??{}).forEach(([a,l])=>{i[a]=l.path});const s=o.consumed.length>0?{...i,...o.consumed[o.consumed.length-1].parameters}:i;return{matched:!0,consumedSegments:o.consumed,remainingSegments:n.slice(o.consumed.length),parameters:s,positionalParamSegments:o.posParams??{}}}function ww(e,t,n,r){return n.length>0&&function $F(e,t,n){return n.some(r=>Vl(e,t,r)&&Yt(r)!==q)}(e,n,r)?{segmentGroup:new ae(t,HF(r,new ae(n,e.children))),slicedSegments:[]}:0===n.length&&function jF(e,t,n){return n.some(r=>Vl(e,t,r))}(e,n,r)?{segmentGroup:new ae(e.segments,VF(e,0,n,r,e.children)),slicedSegments:n}:{segmentGroup:new ae(e.segments,e.children),slicedSegments:n}}function VF(e,t,n,r,o){const i={};for(const s of r)if(Vl(e,n,s)&&!o[Yt(s)]){const a=new ae([],{});i[Yt(s)]=a}return{...o,...i}}function HF(e,t){const n={};n[q]=t;for(const r of e)if(""===r.path&&Yt(r)!==q){const o=new ae([],{});n[Yt(r)]=o}return n}function Vl(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}class GF{constructor(t,n,r,o,i,s,a){this.injector=t,this.configLoader=n,this.rootComponentType=r,this.config=o,this.urlTree=i,this.paramsInheritanceStrategy=s,this.urlSerializer=a,this.allowRedirects=!0,this.applyRedirects=new kF(this.urlSerializer,this.urlTree)}noMatchError(t){return new w(4002,!1)}recognize(){const t=ww(this.urlTree.root,[],[],this.config).segmentGroup;return this.processSegmentGroup(this.injector,this.config,t,q).pipe(he(n=>{if(n instanceof _w)return this.allowRedirects=!1,this.urlTree=n.urlTree,this.match(n.urlTree);throw n instanceof Ll?this.noMatchError(n):n}),te(n=>{const r=new Pl([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},q,this.rootComponentType,null,{}),o=new Hn(r,n),i=new uw("",o),s=function Fx(e,t,n=null,r=null){return K0(Q0(e),t,n,r)}(r,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,i.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(i._root),{state:i,tree:s}}))}match(t){return this.processSegmentGroup(this.injector,this.config,t.root,q).pipe(he(r=>{throw r instanceof Ll?this.noMatchError(r):r}))}inheritParamsAndData(t){const n=t.value,r=lw(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),t.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(t,n,r,o){return 0===r.segments.length&&r.hasChildren()?this.processChildren(t,n,r):this.processSegment(t,n,r,r.segments,o,!0)}processChildren(t,n,r){const o=[];for(const i of Object.keys(r.children))"primary"===i?o.unshift(i):o.push(i);return Pe(o).pipe(Mo(i=>{const s=r.children[i],a=function cF(e,t){const n=e.filter(r=>Yt(r)===t);return n.push(...e.filter(r=>Yt(r)!==t)),n}(n,i);return this.processSegmentGroup(t,a,s,i)}),function dx(e,t){return je(function cx(e,t,n,r,o){return(i,s)=>{let a=n,l=t,u=0;i.subscribe(He(s,c=>{const d=u++;l=a?e(l,c,d):(a=!0,c),r&&s.next(l)},o&&(()=>{a&&s.next(l),s.complete()})))}}(e,t,arguments.length>=2,!0))}((i,s)=>(i.push(...s),i)),Ml(null),function fx(e,t){const n=arguments.length>=2;return r=>r.pipe(e?Vn((o,i)=>e(o,i,r)):ar,Yf(1),n?Ml(t):V0(()=>new bl))}(),Be(i=>{if(null===i)return Lo(r);const s=Ew(i);return function WF(e){e.sort((t,n)=>t.value.outlet===q?-1:n.value.outlet===q?1:t.value.outlet.localeCompare(n.value.outlet))}(s),F(s)}))}processSegment(t,n,r,o,i,s){return Pe(n).pipe(Mo(a=>this.processSegmentAgainstRoute(a._injector??t,n,a,r,o,i,s).pipe(he(l=>{if(l instanceof Ll)return F(null);throw l}))),Tr(a=>!!a),he(a=>{if(vw(a))return function UF(e,t,n){return 0===t.length&&!e.children[n]}(r,o,i)?F([]):Lo(r);throw a}))}processSegmentAgainstRoute(t,n,r,o,i,s,a){return function BF(e,t,n,r){return!!(Yt(e)===r||r!==q&&Vl(t,n,e))&&("**"===e.path||hh(t,e,n).matched)}(r,o,i,s)?void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,o,r,i,s,a):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,o,n,r,i,s):Lo(o):Lo(o)}expandSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,r,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o){const i=this.applyRedirects.applyRedirectCommands([],r.redirectTo,{});return r.redirectTo.startsWith("/")?Dw(i):this.applyRedirects.lineralizeSegments(r,i).pipe(Be(s=>{const a=new ae(s,{});return this.processSegment(t,n,a,s,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,n,r,o,i,s){const{matched:a,consumedSegments:l,remainingSegments:u,positionalParamSegments:c}=hh(n,o,i);if(!a)return Lo(n);const d=this.applyRedirects.applyRedirectCommands(l,o.redirectTo,c);return o.redirectTo.startsWith("/")?Dw(d):this.applyRedirects.lineralizeSegments(o,d).pipe(Be(f=>this.processSegment(t,r,n,f.concat(u),s,!1)))}matchSegmentAgainstRoute(t,n,r,o,i,s){let a;if("**"===r.path){const l=o.length>0?$0(o).parameters:{};a=F({snapshot:new Pl(o,l,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,bw(r),Yt(r),r.component??r._loadedComponent??null,r,Mw(r)),consumedSegments:[],remainingSegments:[]}),n.children={}}else a=LF(n,r,o,t).pipe(te(({matched:l,consumedSegments:u,remainingSegments:c,parameters:d})=>l?{snapshot:new Pl(u,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,bw(r),Yt(r),r.component??r._loadedComponent??null,r,Mw(r)),consumedSegments:u,remainingSegments:c}:null));return a.pipe(gn(l=>null===l?Lo(n):this.getChildConfig(t=r._injector??t,r,o).pipe(gn(({routes:u})=>{const c=r._loadedInjector??t,{snapshot:d,consumedSegments:f,remainingSegments:h}=l,{segmentGroup:p,slicedSegments:m}=ww(n,f,h,u);if(0===m.length&&p.hasChildren())return this.processChildren(c,u,p).pipe(te(b=>null===b?null:[new Hn(d,b)]));if(0===u.length&&0===m.length)return F([new Hn(d,[])]);const C=Yt(r)===i;return this.processSegment(c,u,p,m,C?q:i,!0).pipe(te(b=>[new Hn(d,b)]))}))))}getChildConfig(t,n,r){return n.children?F({routes:n.children,injector:t}):n.loadChildren?void 0!==n._loadedRoutes?F({routes:n._loadedRoutes,injector:n._loadedInjector}):function OF(e,t,n,r){const o=t.canLoad;return void 0===o||0===o.length?F(!0):F(o.map(s=>{const a=Fo(s,e);return rr(function vF(e){return e&&gs(e.canLoad)}(a)?a.canLoad(t,n):e.runInContext(()=>a(t,n)))})).pipe(ko(),Cw())}(t,n,r).pipe(Be(o=>o?this.configLoader.loadChildren(t,n).pipe(J(i=>{n._loadedRoutes=i.routes,n._loadedInjector=i.injector})):function FF(e){return ts(hw(!1,3))}())):F({routes:[],injector:t})}}function qF(e){const t=e.value.routeConfig;return t&&""===t.path}function Ew(e){const t=[],n=new Set;for(const r of e){if(!qF(r)){t.push(r);continue}const o=t.find(i=>r.value.routeConfig===i.value.routeConfig);void 0!==o?(o.children.push(...r.children),n.add(o)):t.push(r)}for(const r of n){const o=Ew(r.children);t.push(new Hn(r.value,o))}return t.filter(r=>!n.has(r))}function bw(e){return e.data||{}}function Mw(e){return e.resolve||{}}function Sw(e){return"string"==typeof e.title||null===e.title}function ph(e){return gn(t=>{const n=e(t);return n?Pe(n).pipe(te(()=>t)):F(t)})}const Vo=new R("ROUTES");let gh=(()=>{class e{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=I(NC)}loadComponent(n){if(this.componentLoaders.get(n))return this.componentLoaders.get(n);if(n._loadedComponent)return F(n._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(n);const r=rr(n.loadComponent()).pipe(te(Iw),J(i=>{this.onLoadEndListener&&this.onLoadEndListener(n),n._loadedComponent=i}),Xf(()=>{this.componentLoaders.delete(n)})),o=new L0(r,()=>new _n).pipe(Zf());return this.componentLoaders.set(n,o),o}loadChildren(n,r){if(this.childrenLoaders.get(r))return this.childrenLoaders.get(r);if(r._loadedRoutes)return F({routes:r._loadedRoutes,injector:r._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(r);const i=this.loadModuleFactoryOrRoutes(r.loadChildren).pipe(te(a=>{this.onLoadEndListener&&this.onLoadEndListener(r);let l,u;return Array.isArray(a)?u=a:(l=a.create(n).injector,u=l.get(Vo,[],L.Self|L.Optional).flat()),{routes:u.map(dh),injector:l}}),Xf(()=>{this.childrenLoaders.delete(r)})),s=new L0(i,()=>new _n).pipe(Zf());return this.childrenLoaders.set(r,s),s}loadModuleFactoryOrRoutes(n){return rr(n()).pipe(te(Iw),Be(r=>r instanceof Hv||Array.isArray(r)?F(r):Pe(this.compiler.compileModuleAsync(r))))}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Iw(e){return function ek(e){return e&&"object"==typeof e&&"default"in e}(e)?e.default:e}let Hl=(()=>{class e{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new _n,this.configLoader=I(gh),this.environmentInjector=I(sn),this.urlSerializer=I(os),this.rootContexts=I(cs),this.inputBindingEnabled=null!==I(xl,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>F(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=o=>this.events.next(new Zx(o)),this.configLoader.onLoadStartListener=o=>this.events.next(new qx(o))}complete(){this.transitions?.complete()}handleNavigationRequest(n){const r=++this.navigationId;this.transitions?.next({...this.transitions.value,...n,id:r})}setupNavigations(n){return this.transitions=new Zt({id:0,currentUrlTree:n.currentUrlTree,currentRawUrl:n.currentUrlTree,extractedUrl:n.urlHandlingStrategy.extract(n.currentUrlTree),urlAfterRedirects:n.urlHandlingStrategy.extract(n.currentUrlTree),rawUrl:n.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ls,restoredState:null,currentSnapshot:n.routerState.snapshot,targetSnapshot:null,currentRouterState:n.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Vn(r=>0!==r.id),te(r=>({...r,extractedUrl:n.urlHandlingStrategy.extract(r.rawUrl)})),gn(r=>{let o=!1,i=!1;return F(r).pipe(J(s=>{this.currentNavigation={id:s.id,initialUrl:s.rawUrl,extractedUrl:s.extractedUrl,trigger:s.source,extras:s.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),gn(s=>{const a=n.browserUrlTree.toString(),l=!n.navigated||s.extractedUrl.toString()!==a||a!==n.currentUrlTree.toString();if(!l&&"reload"!==(s.extras.onSameUrlNavigation??n.onSameUrlNavigation)){const c="";return this.events.next(new us(s.id,n.serializeUrl(r.rawUrl),c,0)),n.rawUrlTree=s.rawUrl,s.resolve(null),Qt}if(n.urlHandlingStrategy.shouldProcessUrl(s.rawUrl))return Tw(s.source)&&(n.browserUrlTree=s.extractedUrl),F(s).pipe(gn(c=>{const d=this.transitions?.getValue();return this.events.next(new nh(c.id,this.urlSerializer.serialize(c.extractedUrl),c.source,c.restoredState)),d!==this.transitions?.getValue()?Qt:Promise.resolve(c)}),function ZF(e,t,n,r,o,i){return Be(s=>function zF(e,t,n,r,o,i,s="emptyOnly"){return new GF(e,t,n,r,o,s,i).recognize()}(e,t,n,r,s.extractedUrl,o,i).pipe(te(({state:a,tree:l})=>({...s,targetSnapshot:a,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,n.config,this.urlSerializer,n.paramsInheritanceStrategy),J(c=>{if(r.targetSnapshot=c.targetSnapshot,r.urlAfterRedirects=c.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:c.urlAfterRedirects},"eager"===n.urlUpdateStrategy){if(!c.extras.skipLocationChange){const f=n.urlHandlingStrategy.merge(c.urlAfterRedirects,c.rawUrl);n.setBrowserUrl(f,c)}n.browserUrlTree=c.urlAfterRedirects}const d=new Bx(c.id,this.urlSerializer.serialize(c.extractedUrl),this.urlSerializer.serialize(c.urlAfterRedirects),c.targetSnapshot);this.events.next(d)}));if(l&&n.urlHandlingStrategy.shouldProcessUrl(n.rawUrlTree)){const{id:c,extractedUrl:d,source:f,restoredState:h,extras:p}=s,m=new nh(c,this.urlSerializer.serialize(d),f,h);this.events.next(m);const C=aw(0,this.rootComponentType).snapshot;return F(r={...s,targetSnapshot:C,urlAfterRedirects:d,extras:{...p,skipLocationChange:!1,replaceUrl:!1}})}{const c="";return this.events.next(new us(s.id,n.serializeUrl(r.extractedUrl),c,1)),n.rawUrlTree=s.rawUrl,s.resolve(null),Qt}}),J(s=>{const a=new Ux(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot);this.events.next(a)}),te(s=>r={...s,guards:hF(s.targetSnapshot,s.currentSnapshot,this.rootContexts)}),function bF(e,t){return Be(n=>{const{targetSnapshot:r,currentSnapshot:o,guards:{canActivateChecks:i,canDeactivateChecks:s}}=n;return 0===s.length&&0===i.length?F({...n,guardsResult:!0}):function MF(e,t,n,r){return Pe(e).pipe(Be(o=>function RF(e,t,n,r,o){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return i&&0!==i.length?F(i.map(a=>{const l=fs(t)??o,u=Fo(a,l);return rr(function DF(e){return e&&gs(e.canDeactivate)}(u)?u.canDeactivate(e,t,n,r):l.runInContext(()=>u(e,t,n,r))).pipe(Tr())})).pipe(ko()):F(!0)}(o.component,o.route,n,t,r)),Tr(o=>!0!==o,!0))}(s,r,o,e).pipe(Be(a=>a&&function yF(e){return"boolean"==typeof e}(a)?function SF(e,t,n,r){return Pe(t).pipe(Mo(o=>qf(function TF(e,t){return null!==e&&t&&t(new Yx(e)),F(!0)}(o.route.parent,r),function IF(e,t){return null!==e&&t&&t(new Qx(e)),F(!0)}(o.route,r),function NF(e,t,n){const r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map(s=>function pF(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(s)).filter(s=>null!==s).map(s=>k0(()=>F(s.guards.map(l=>{const u=fs(s.node)??n,c=Fo(l,u);return rr(function _F(e){return e&&gs(e.canActivateChild)}(c)?c.canActivateChild(r,e):u.runInContext(()=>c(r,e))).pipe(Tr())})).pipe(ko())));return F(i).pipe(ko())}(e,o.path,n),function AF(e,t,n){const r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return F(!0);const o=r.map(i=>k0(()=>{const s=fs(t)??n,a=Fo(i,s);return rr(function CF(e){return e&&gs(e.canActivate)}(a)?a.canActivate(t,e):s.runInContext(()=>a(t,e))).pipe(Tr())}));return F(o).pipe(ko())}(e,o.route,n))),Tr(o=>!0!==o,!0))}(r,i,e,t):F(a)),te(a=>({...n,guardsResult:a})))})}(this.environmentInjector,s=>this.events.next(s)),J(s=>{if(r.guardsResult=s.guardsResult,Nr(s.guardsResult))throw fw(0,s.guardsResult);const a=new zx(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(s.urlAfterRedirects),s.targetSnapshot,!!s.guardsResult);this.events.next(a)}),Vn(s=>!!s.guardsResult||(n.restoreHistory(s),this.cancelNavigationTransition(s,"",3),!1)),ph(s=>{if(s.guards.canActivateChecks.length)return F(s).pipe(J(a=>{const l=new Gx(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}),gn(a=>{let l=!1;return F(a).pipe(function YF(e,t){return Be(n=>{const{targetSnapshot:r,guards:{canActivateChecks:o}}=n;if(!o.length)return F(n);let i=0;return Pe(o).pipe(Mo(s=>function XF(e,t,n,r){const o=e.routeConfig,i=e._resolve;return void 0!==o?.title&&!Sw(o)&&(i[ns]=o.title),function QF(e,t,n,r){const o=function KF(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e)]}(e);if(0===o.length)return F({});const i={};return Pe(o).pipe(Be(s=>function JF(e,t,n,r){const o=fs(t)??r,i=Fo(e,o);return rr(i.resolve?i.resolve(t,n):o.runInContext(()=>i(t,n)))}(e[s],t,n,r).pipe(Tr(),J(a=>{i[s]=a}))),Yf(1),function hx(e){return te(()=>e)}(i),he(s=>vw(s)?Qt:ts(s)))}(i,e,t,r).pipe(te(s=>(e._resolvedData=s,e.data=lw(e,n).resolve,o&&Sw(o)&&(e.data[ns]=o.title),null)))}(s.route,r,e,t)),J(()=>i++),Yf(1),Be(s=>i===o.length?F(n):Qt))})}(n.paramsInheritanceStrategy,this.environmentInjector),J({next:()=>l=!0,complete:()=>{l||(n.restoreHistory(a),this.cancelNavigationTransition(a,"",2))}}))}),J(a=>{const l=new Wx(a.id,this.urlSerializer.serialize(a.extractedUrl),this.urlSerializer.serialize(a.urlAfterRedirects),a.targetSnapshot);this.events.next(l)}))}),ph(s=>{const a=l=>{const u=[];l.routeConfig?.loadComponent&&!l.routeConfig._loadedComponent&&u.push(this.configLoader.loadComponent(l.routeConfig).pipe(J(c=>{l.component=c}),te(()=>{})));for(const c of l.children)u.push(...a(c));return u};return Wf(a(s.targetSnapshot.root)).pipe(Ml(),Ro(1))}),ph(()=>this.afterPreactivation()),te(s=>{const a=function rF(e,t,n){const r=ds(e,t._root,n?n._root:void 0);return new sw(r,t)}(n.routeReuseStrategy,s.targetSnapshot,s.currentRouterState);return r={...s,targetRouterState:a}}),J(s=>{n.currentUrlTree=s.urlAfterRedirects,n.rawUrlTree=n.urlHandlingStrategy.merge(s.urlAfterRedirects,s.rawUrl),n.routerState=s.targetRouterState,"deferred"===n.urlUpdateStrategy&&(s.extras.skipLocationChange||n.setBrowserUrl(n.rawUrlTree,s),n.browserUrlTree=s.urlAfterRedirects)}),((e,t,n,r)=>te(o=>(new fF(t,o.targetRouterState,o.currentRouterState,n,r).activate(e),o)))(this.rootContexts,n.routeReuseStrategy,s=>this.events.next(s),this.inputBindingEnabled),Ro(1),J({next:s=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,n.navigated=!0,this.events.next(new Rr(s.id,this.urlSerializer.serialize(s.extractedUrl),this.urlSerializer.serialize(n.currentUrlTree))),n.titleStrategy?.updateTitle(s.targetRouterState.snapshot),s.resolve(!0)},complete:()=>{o=!0}}),Xf(()=>{o||i||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),he(s=>{if(i=!0,gw(s)){pw(s)||(n.navigated=!0,n.restoreHistory(r,!0));const a=new Ol(r.id,this.urlSerializer.serialize(r.extractedUrl),s.message,s.cancellationCode);if(this.events.next(a),pw(s)){const l=n.urlHandlingStrategy.merge(s.url,n.rawUrlTree),u={skipLocationChange:r.extras.skipLocationChange,replaceUrl:"eager"===n.urlUpdateStrategy||Tw(r.source)};n.scheduleNavigation(l,ls,null,u,{resolve:r.resolve,reject:r.reject,promise:r.promise})}else r.resolve(!1)}else{n.restoreHistory(r,!0);const a=new rh(r.id,this.urlSerializer.serialize(r.extractedUrl),s,r.targetSnapshot??void 0);this.events.next(a);try{r.resolve(n.errorHandler(s))}catch(l){r.reject(l)}}return Qt}))}))}cancelNavigationTransition(n,r,o){const i=new Ol(n.id,this.urlSerializer.serialize(n.extractedUrl),r,o);this.events.next(i),n.resolve(!1)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function Tw(e){return e!==ls}let Aw=(()=>{class e{buildTitle(n){let r,o=n.root;for(;void 0!==o;)r=this.getResolvedTitleForRoute(o)??r,o=o.children.find(i=>i.outlet===q);return r}getResolvedTitleForRoute(n){return n.data[ns]}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return I(tk)},providedIn:"root"}),e})(),tk=(()=>{class e extends Aw{constructor(n){super(),this.title=n}updateTitle(n){const r=this.buildTitle(n);void 0!==r&&this.title.setTitle(r)}}return e.\u0275fac=function(n){return new(n||e)(N(nD))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),nk=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return I(ok)},providedIn:"root"}),e})();class rk{shouldDetach(t){return!1}store(t,n){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,n){return t.routeConfig===n.routeConfig}}let ok=(()=>{class e extends rk{}return e.\u0275fac=function(){let t;return function(r){return(t||(t=Ge(e)))(r||e)}}(),e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const $l=new R("",{providedIn:"root",factory:()=>({})});let ik=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:function(){return I(sk)},providedIn:"root"}),e})(),sk=(()=>{class e{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,r){return n}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var St=(()=>((St=St||{})[St.COMPLETE=0]="COMPLETE",St[St.FAILED=1]="FAILED",St[St.REDIRECTING=2]="REDIRECTING",St))();function Nw(e,t){e.events.pipe(Vn(n=>n instanceof Rr||n instanceof Ol||n instanceof rh||n instanceof us),te(n=>n instanceof Rr||n instanceof us?St.COMPLETE:n instanceof Ol&&(0===n.code||1===n.code)?St.REDIRECTING:St.FAILED),Vn(n=>n!==St.REDIRECTING),Ro(1)).subscribe(()=>{t()})}function ak(e){throw e}function lk(e,t,n){return t.parse("/")}const uk={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},ck={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let qe=(()=>{class e{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=I(AC),this.isNgZoneEnabled=!1,this.options=I($l,{optional:!0})||{},this.pendingTasks=I(f_),this.errorHandler=this.options.errorHandler||ak,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||lk,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=I(ik),this.routeReuseStrategy=I(nk),this.titleStrategy=I(Aw),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=I(Vo,{optional:!0})?.flat()??[],this.navigationTransitions=I(Hl),this.urlSerializer=I(os),this.location=I(Gd),this.componentInputBindingEnabled=!!I(xl,{optional:!0}),this.isNgZoneEnabled=I(ye)instanceof ye&&ye.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Po,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=aw(0,null),this.navigationTransitions.setupNavigations(this).subscribe(n=>{this.lastSuccessfulId=n.id,this.currentPageId=this.browserPageId??0},n=>{this.console.warn(`Unhandled Navigation Error: ${n}`)})}resetRootComponentType(n){this.routerState.root.component=n,this.navigationTransitions.rootComponentType=n}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const n=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),ls,n)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(n=>{const r="popstate"===n.type?"popstate":"hashchange";"popstate"===r&&setTimeout(()=>{this.navigateToSyncWithBrowser(n.url,r,n.state)},0)}))}navigateToSyncWithBrowser(n,r,o){const i={replaceUrl:!0},s=o?.navigationId?o:null;if(o){const l={...o};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(i.state=l)}const a=this.parseUrl(n);this.scheduleNavigation(a,r,s,i)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(n){this.config=n.map(dh),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(n,r={}){const{relativeTo:o,queryParams:i,fragment:s,queryParamsHandling:a,preserveFragment:l}=r,u=l?this.currentUrlTree.fragment:s;let d,c=null;switch(a){case"merge":c={...this.currentUrlTree.queryParams,...i};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}null!==c&&(c=this.removeEmptyProps(c));try{d=Q0(o?o.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof n[0]||!n[0].startsWith("/"))&&(n=[]),d=this.currentUrlTree.root}return K0(d,n,c,u??null)}navigateByUrl(n,r={skipLocationChange:!1}){const o=Nr(n)?n:this.parseUrl(n),i=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(i,ls,null,r)}navigate(n,r={skipLocationChange:!1}){return function dk(e){for(let t=0;t{const i=n[o];return null!=i&&(r[o]=i),r},{})}scheduleNavigation(n,r,o,i,s){if(this.disposed)return Promise.resolve(!1);let a,l,u;s?(a=s.resolve,l=s.reject,u=s.promise):u=new Promise((d,f)=>{a=d,l=f});const c=this.pendingTasks.add();return Nw(this,()=>{Promise.resolve().then(()=>this.pendingTasks.remove(c))}),this.navigationTransitions.handleNavigationRequest({source:r,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:n,extras:i,resolve:a,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(d=>Promise.reject(d))}setBrowserUrl(n,r){const o=this.urlSerializer.serialize(n);if(this.location.isCurrentPathEqualTo(o)||r.extras.replaceUrl){const s={...r.extras.state,...this.generateNgRouterState(r.id,this.browserPageId)};this.location.replaceState(o,"",s)}else{const i={...r.extras.state,...this.generateNgRouterState(r.id,(this.browserPageId??0)+1)};this.location.go(o,"",i)}}restoreHistory(n,r=!1){if("computed"===this.canceledNavigationResolution){const i=this.currentPageId-(this.browserPageId??this.currentPageId);0!==i?this.location.historyGo(i):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===i&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(r&&this.resetState(n),this.resetUrlToCurrentUrlTree())}resetState(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(n,r){return"computed"===this.canceledNavigationResolution?{navigationId:n,\u0275routerPageId:r}:{navigationId:n}}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),Ho=(()=>{class e{constructor(n,r,o,i,s,a){this.router=n,this.route=r,this.tabIndexAttribute=o,this.renderer=i,this.el=s,this.locationStrategy=a,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new _n;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=n.events.subscribe(u=>{u instanceof Rr&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(n){this._preserveFragment=wo(n)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(n){this._skipLocationChange=wo(n)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(n){this._replaceUrl=wo(n)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(n){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",n)}ngOnChanges(n){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(n){null!=n?(this.commands=Array.isArray(n)?n:[n],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(n,r,o,i,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==n||r||o||i||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const n=null===this.href?null:function Jg(e,t,n){return function RM(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Kg:oc}(t,n)(e)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",n)}applyAttributeValue(n,r){const o=this.renderer,i=this.el.nativeElement;null!==r?o.setAttribute(i,n,r):o.removeAttribute(i,n)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return e.\u0275fac=function(n){return new(n||e)(_(qe),_(or),function qs(e){return function eb(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let o=0;for(;o{class e{get isActive(){return this._isActive}constructor(n,r,o,i,s){this.router=n,this.element=r,this.renderer=o,this.cdr=i,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Ee,this.routerEventsSubscription=n.events.subscribe(a=>{a instanceof Rr&&this.update()})}ngAfterContentInit(){F(this.links.changes,F(null)).pipe(Pr()).subscribe(n=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const n=[...this.links.toArray(),this.link].filter(r=>!!r).map(r=>r.onChanges);this.linkInputChangesSubscription=Pe(n).pipe(Pr()).subscribe(r=>{this._isActive!==this.isLinkActive(this.router)(r)&&this.update()})}set routerLinkActive(n){const r=Array.isArray(n)?n:n.split(" ");this.classes=r.filter(o=>!!o)}ngOnChanges(n){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const n=this.hasActiveLinks();this._isActive!==n&&(this._isActive=n,this.cdr.markForCheck(),this.classes.forEach(r=>{n?this.renderer.addClass(this.element.nativeElement,r):this.renderer.removeClass(this.element.nativeElement,r)}),n&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(n))})}isLinkActive(n){const r=function fk(e){return!!e.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return o=>!!o.urlTree&&n.isActive(o.urlTree,r)}hasActiveLinks(){const n=this.isLinkActive(this.router);return this.link&&n(this.link)||this.links.some(n)}}return e.\u0275fac=function(n){return new(n||e)(_(qe),_(Et),_(An),_(Wa),_(Ho,8))},e.\u0275dir=$({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(n,r,o){if(1&n&&function uC(e,t,n,r){const o=K();if(o.firstCreatePass){const i=ze();dC(o,new aC(t,n,r),i.index),function O2(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(o,e),2==(2&n)&&(o.staticContentQueries=!0)}cC(o,D(),n)}(o,Ho,5),2&n){let i;ja(i=Ba())&&(r.links=i)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Ot]}),e})();class Ow{}let hk=(()=>{class e{constructor(n,r,o,i,s){this.router=n,this.injector=o,this.preloadingStrategy=i,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Vn(n=>n instanceof Rr),Mo(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(n,r){const o=[];for(const i of r){i.providers&&!i._injector&&(i._injector=sd(i.providers,n,`Route: ${i.path}`));const s=i._injector??n,a=i._loadedInjector??s;(i.loadChildren&&!i._loadedRoutes&&void 0===i.canLoad||i.loadComponent&&!i._loadedComponent)&&o.push(this.preloadConfig(s,i)),(i.children||i._loadedRoutes)&&o.push(this.processRoutes(a,i.children??i._loadedRoutes))}return Pe(o).pipe(Pr())}preloadConfig(n,r){return this.preloadingStrategy.preload(r,()=>{let o;o=r.loadChildren&&void 0===r.canLoad?this.loader.loadChildren(n,r):F(null);const i=o.pipe(Be(s=>null===s?F(void 0):(r._loadedRoutes=s.routes,r._loadedInjector=s.injector,this.processRoutes(s.injector??n,s.routes))));return r.loadComponent&&!r._loadedComponent?Pe([i,this.loader.loadComponent(r)]).pipe(Pr()):i})}}return e.\u0275fac=function(n){return new(n||e)(N(qe),N(NC),N(sn),N(Ow),N(gh))},e.\u0275prov=O({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const mh=new R("");let Pw=(()=>{class e{constructor(n,r,o,i,s={}){this.urlSerializer=n,this.transitions=r,this.viewportScroller=o,this.zone=i,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof nh?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=n.navigationTrigger,this.restoredId=n.restoredState?n.restoredState.navigationId:0):n instanceof Rr?(this.lastId=n.id,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.urlAfterRedirects).fragment)):n instanceof us&&0===n.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(n,this.urlSerializer.parse(n.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(n=>{n instanceof ow&&(n.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(n.position):n.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(n.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(n,r){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ow(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,r))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return e.\u0275fac=function(n){!function Pm(){throw new Error("invalid")}()},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})();function $n(e,t){return{\u0275kind:e,\u0275providers:t}}function Fw(){const e=I(an);return t=>{const n=e.get(Do);if(t!==n.components[0])return;const r=e.get(qe),o=e.get(kw);1===e.get(yh)&&r.initialNavigation(),e.get(Lw,null,L.Optional)?.setUpPreloading(),e.get(mh,null,L.Optional)?.init(),r.resetRootComponentType(n.componentTypes[0]),o.closed||(o.next(),o.complete(),o.unsubscribe())}}const kw=new R("",{factory:()=>new _n}),yh=new R("",{providedIn:"root",factory:()=>1}),Lw=new R("");function yk(e){return $n(0,[{provide:Lw,useExisting:hk},{provide:Ow,useExisting:e}])}const Vw=new R("ROUTER_FORROOT_GUARD"),Ck=[Gd,{provide:os,useClass:Qf},qe,cs,{provide:or,useFactory:function xw(e){return e.routerState.root},deps:[qe]},gh,[]];function _k(){return new jC("Router",qe)}let Hw=(()=>{class e{constructor(n){}static forRoot(n,r){return{ngModule:e,providers:[Ck,[],{provide:Vo,multi:!0,useValue:n},{provide:Vw,useFactory:bk,deps:[[qe,new Xs,new Qs]]},{provide:$l,useValue:r||{}},r?.useHash?{provide:Xn,useClass:y_}:{provide:Xn,useClass:m_},{provide:mh,useFactory:()=>{const e=I(hO),t=I(ye),n=I($l),r=I(Hl),o=I(os);return n.scrollOffset&&e.setOffset(n.scrollOffset),new Pw(o,r,e,t,n)}},r?.preloadingStrategy?yk(r.preloadingStrategy).\u0275providers:[],{provide:jC,multi:!0,useFactory:_k},r?.initialNavigation?Mk(r):[],r?.bindToComponentInputs?$n(8,[dw,{provide:xl,useExisting:dw}]).\u0275providers:[],[{provide:$w,useFactory:Fw},{provide:xd,multi:!0,useExisting:$w}]]}}static forChild(n){return{ngModule:e,providers:[{provide:Vo,multi:!0,useValue:n}]}}}return e.\u0275fac=function(n){return new(n||e)(N(Vw,8))},e.\u0275mod=Vt({type:e}),e.\u0275inj=Nt({}),e})();function bk(e){return"guarded"}function Mk(e){return["disabled"===e.initialNavigation?$n(3,[{provide:Md,multi:!0,useFactory:()=>{const t=I(qe);return()=>{t.setUpLocationChangeListener()}}},{provide:yh,useValue:2}]).\u0275providers:[],"enabledBlocking"===e.initialNavigation?$n(2,[{provide:yh,useValue:0},{provide:Md,multi:!0,deps:[an],useFactory:t=>{const n=t.get(YN,Promise.resolve());return()=>n.then(()=>new Promise(r=>{const o=t.get(qe),i=t.get(kw);Nw(o,()=>{r(!0)}),t.get(Hl).afterPreactivation=()=>(r(!0),i.closed?F(void 0):i),o.initialNavigation()}))}}]).\u0275providers:[]]}const $w=new R("");class et{constructor(t,n,r){this.http=t,this.router=n,this.appMessageService=r,this.authenticated=!1,this.credentials={username:"",password:""},this.authority="none",this.httpOptions={headers:new We({"Content-Type":"application/json",Accept:"application/json"})}}handleError(t="operation",n){return r=>(console.error(r),this.log(`Error @ ${t}: ${r.status} ${r.statusText}`),r)}log(t){this.appMessageService.add(`LoginService: ${t}`)}isAuthenticated(){return this.authenticated}getAuthorizationToken(){return`Basic ${window.btoa(this.credentials.username+":"+this.credentials.password)}`}getUsername(){return this.credentials.username}getAuthority(){return this.authority}authenticate(t){this.log(`Authenticating: ${t.username}`),this.credentials=t;const n=new We({"Content-Type":"application/json",Accept:"application/json",Authorization:this.getAuthorizationToken()});return this.http.get(et.REST_URL,{headers:n}).pipe(J(r=>this.authorizationRecieved(r)),he(this.handleError("authenticate")))}logout(){this.authenticated=!1,this.log("Logged out"),this.router.navigateByUrl("/").then(()=>{})}authorizationRecieved(t){if(this.authenticated=!0,t.authorities){let n=t.authorities[0].authority;n=n.substring(n.indexOf("_")+1),this.authority=n}this.log(`Authenticated '${t.name}' as '${this.authority}'`),console.log(`Authenticated as ${JSON.stringify(t)}`)}changePassword(t){this.log("Changing password.");const n=zf(10),r=x0(t,n);let o={};return o.username=this.credentials.username,o.password=r,this.http.post(et.REST_URL,o,this.httpOptions).pipe(J(i=>this.authorizationRecieved(i)),he(this.handleError("changePassword")))}}et.REST_URL=Ir_restServerUrl+"/api/user",et.\u0275fac=function(t){return new(t||et)(N(Sr),N(qe),N(To))},et.\u0275prov=O({token:et,factory:et.\u0275fac,providedIn:"root"});const Ik=["scrollMe"];function Tk(e,t){if(1&e&&(y(0,"li")(1,"div",7)(2,"span",8),E(3),v(),y(4,"span",9),E(5),Li(6,"date"),v(),y(7,"span",10),E(8),v()(),y(9,"span",11),E(10),v()()),2&e){const n=t.$implicit;S(3),rt(n.id),S(2),rt(Vi(6,4,n.dateCreated,"dd-MM-yyyy HH:mm:ss")),S(3),rt(n.author),S(2),rt(n.text)}}function Ak(e,t){if(1&e){const n=Na();y(0,"ul",4,5),P("scroll",function(){return ks(n),Ls(Ai().onScroll())}),On(2,Tk,11,7,"li",6),v()}if(2&e){const n=Ai();S(2),j("ngForOf",n.messages)}}let vh=(()=>{class e{constructor(n,r){this.chatService=n,this.loginService=r,this.disableScrollDown=!1,this.messages=[],this.newMessage=""}getChatMessages(){this.chatService.getChatMessages().subscribe(n=>{this.messages=n,this.disableScrollDown=!1,this.scrollToBottom()})}ngOnInit(){this.loginService.isAuthenticated()&&this.getChatMessages()}sendMessage(){this.chatService.addChatMessage(this.loginService.getUsername(),this.newMessage).subscribe(()=>this.getChatMessages()),this.newMessage=""}ngAfterViewChecked(){this.scrollToBottom()}onScroll(){let n=this.myScrollContainer.nativeElement;this.disableScrollDown=!(this.disableScrollDown&&n.scrollHeight-n.scrollTop===n.clientHeight)}scrollToBottom(){if(!this.disableScrollDown)try{this.myScrollContainer.nativeElement.scrollTop=this.myScrollContainer.nativeElement.scrollHeight}catch{}}}return e.\u0275fac=function(n){return new(n||e)(_(mn),_(et))},e.\u0275cmp=Rt({type:e,selectors:[["app-chat"]],viewQuery:function(n,r){if(1&n&&Cd(Ik,5),2&n){let o;ja(o=Ba())&&(r.myScrollContainer=o.first)}},decls:7,vars:2,consts:[["class","chat",3,"scroll",4,"ngIf"],[1,"input"],["id","message-text","placeholder","hello",3,"ngModel","ngModelChange","keydown.enter"],[3,"click"],[1,"chat",3,"scroll"],["scrollMe",""],[4,"ngFor","ngForOf"],[1,"message-title"],[1,"badge"],[1,"date"],[1,"author"],[1,"text"]],template:function(n,r){1&n&&(On(0,Ak,3,1,"ul",0),y(1,"div",1)(2,"input",2),P("ngModelChange",function(i){return r.newMessage=i})("keydown.enter",function(){return r.sendMessage()}),v(),y(3,"button",3),P("click",function(){return r.sendMessage()}),E(4,"Send"),v(),y(5,"button",3),P("click",function(){return r.getChatMessages()}),E(6,"Reload"),v()()),2&n&&(j("ngIf",r.messages.length),S(2),j("ngModel",r.newMessage))},dependencies:[Er,R_,qt,Ln,pn,zi],styles:[".chat[_ngcontent-%COMP%]{margin:0;list-style-type:none;padding:.1em;max-height:20em;overflow:auto}.chat[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{position:relative;left:0;margin:.1em;padding:0;border-radius:4px;border:solid 1px darkblue}.chat[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:#e6e6e688}.message-title[_ngcontent-%COMP%]{display:block;text-align:left;font-size:x-small}.message-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;color:#fff}.badge[_ngcontent-%COMP%]{padding:.3em .7em;background-color:#405061;border-radius:2px 0 0}.date[_ngcontent-%COMP%]{padding:.3em .7em;background-color:#605061}.author[_ngcontent-%COMP%]{padding:.3em .7em;background-color:#a0b0b1;border-radius:0 0 2px}.chat[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{align-self:center;margin:0 .1em .1em}.input[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{left:0;padding:0}.input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:inline-block;padding-right:.2em}"]}),e})();const jw=function(){return{exact:!0}};let Nk=(()=>{class e{constructor(n){this.loginService=n,this.title="Familie TDS",this.chatLoaded=!1,this.chatHidden=!0,this.linksHidden=!0,this.profileHidden=!0,this.pos1=0,this.pos2=0,this.pos3=0,this.pos4=0,this.target=null}isAuthenticated(){return this.loginService.isAuthenticated()}username(){return this.loginService.getUsername()}logout(){localStorage.setItem("username",""),localStorage.setItem("password",""),this.loginService.logout()}toggleLinks(){this.linksHidden=!this.linksHidden,this.profileHidden=!0}isLinksHidden(){return this.linksHidden}toggleProfile(){this.profileHidden=!this.profileHidden,this.linksHidden=!0}isProfileHidden(){return this.profileHidden}toggleChatHidden(){this.chatHidden=!this.chatHidden,!this.chatHidden&&!this.chatLoaded&&(this.chatComponent.getChatMessages(),this.chatLoaded=!0)}isChatHidden(){return this.chatHidden}startMouseDragging(n){0===n.button&&(n.preventDefault(),this.pos3=n.clientX,this.pos4=n.clientY,document.onmouseup=()=>this.endMouseDrag(),document.onmousemove=r=>this.mouseDragElement(r),this.target=document.getElementById("chatwindow"))}mouseDragElement(n){n.preventDefault(),this.pos1=this.pos3-n.clientX,this.pos2=this.pos4-n.clientY,this.pos3=n.clientX,this.pos4=n.clientY;let r=this.target.offsetTop-this.pos2;r<0&&(r=0),this.target.style.top=r+"px";let o=this.target.offsetLeft-this.pos1;o<0&&(o=0),this.target.style.left=o+"px"}endMouseDrag(){document.onmouseup=null,document.onmousemove=null,this.target=null}startTouchDragging(n){n.preventDefault(),this.pos3=n.targetTouches[0].clientX,this.pos4=n.targetTouches[0].clientY,document.ontouchend=()=>this.endTouchDrag(),document.ontouchmove=r=>this.touchDragElement(r),this.target=document.getElementById("chatwindow")}touchDragElement(n){n.preventDefault(),this.pos1=this.pos3-n.targetTouches[0].clientX,this.pos2=this.pos4-n.targetTouches[0].clientY,this.pos3=n.targetTouches[0].clientX,this.pos4=n.targetTouches[0].clientY;let r=this.target.offsetTop-this.pos2;r<0&&(r=0),this.target.style.top=r+"px";let o=this.target.offsetLeft-this.pos1;o<0&&(o=0),this.target.style.left=o+"px"}endTouchDrag(){document.ontouchend=null,document.ontouchmove=null,this.target=null}toggleTheme(){const n="theme-dark",r=document.querySelector(":root");if(!r)throw new Error("No root!?");r.classList.toggle(n),r.classList.contains(n)?localStorage.setItem("theme",n):localStorage.setItem("theme","theme-light")}setTheme(n){const r=document.querySelector(":root");if(!r)throw new Error("No root!?");r.classList.add(n),localStorage.setItem("theme",n)}detectTheme(){const n=localStorage.getItem("theme");"theme-dark"!==n&&"theme-light"!==n?window.matchMedia("(prefers-color-scheme: dark)").matches?this.setTheme("theme-dark"):(window.matchMedia("(prefers-color-scheme: light)"),this.setTheme("theme-light")):this.setTheme(n)}ngOnInit(){this.detectTheme()}}return e.\u0275fac=function(n){return new(n||e)(_(et))},e.\u0275cmp=Rt({type:e,selectors:[["app-root"]],viewQuery:function(n,r){if(1&n&&Cd(vh,5),2&n){let o;ja(o=Ba())&&(r.chatComponent=o.first)}},decls:45,vars:12,consts:[[3,"hidden"],["id","toggle-links",1,"big",3,"click"],["id","toggle-profile",1,"big","float-right",3,"click"],["id","links",3,"hidden"],["routerLinkActive","active-link","routerLink","/",3,"routerLinkActiveOptions"],["routerLinkActive","active-link","routerLink","/checklists"],["routerLinkActive","active-link","routerLink","/contacts"],["routerLinkActive","active-link","routerLink","/todo"],["id","profile",1,"float-right",3,"hidden"],[3,"click"],["title","Dark theme on/off",3,"click"],["routerLinkActive","active-link","routerLink","/profile"],["id","logout",3,"click"],[1,"float-right"],["routerLinkActive","active-link","routerLink","/login"],["id","tools",3,"hidden"],["id","toolbar"],["id","chatwindow",3,"hidden"],["id","chattitlebar",3,"mousedown","touchstart"],[1,"close-button",3,"click"],["id","chatcontent"]],template:function(n,r){1&n&&(y(0,"nav")(1,"span",0)(2,"a",1),P("click",function(){return r.toggleLinks()}),E(3,"\u2261"),v(),y(4,"a",2),P("click",function(){return r.toggleProfile()}),E(5),v(),y(6,"div")(7,"div",3)(8,"a",4),E(9,"Home"),v(),y(10,"a",5),E(11,"Checklists"),v(),y(12,"a",6),E(13,"Contacts"),v(),y(14,"a",7),E(15,"Todo"),v()(),y(16,"div",8)(17,"button",9),P("click",function(){return r.toggleChatHidden()}),E(18,"Toggle Chat"),v(),y(19,"button",10),P("click",function(){return r.toggleTheme()}),E(20,"\u2600 Theme"),v(),y(21,"a",11),E(22,"Profile"),v(),y(23,"a",12),P("click",function(){return r.logout()}),E(24,"Logout"),v()()()(),y(25,"span",0)(26,"h1",13),E(27),v(),y(28,"a",4),E(29,"Home"),v(),y(30,"a",14),E(31,"Login"),v()()(),y(32,"div",15)(33,"div",16)(34,"button",9),P("click",function(){return r.toggleChatHidden()}),E(35,"Toggle Chat"),v()(),y(36,"div",17)(37,"div",18),P("mousedown",function(i){return r.startMouseDragging(i)})("touchstart",function(i){return r.startTouchDragging(i)}),E(38," Chat"),y(39,"button",19),P("click",function(){return r.toggleChatHidden()}),E(40,"\u2716"),v()(),y(41,"div",20),ue(42,"app-chat"),v()()(),y(43,"main"),ue(44,"router-outlet"),v()),2&n&&(S(1),j("hidden",!r.isAuthenticated()),S(4),rt(r.username()),S(2),j("hidden",r.isLinksHidden()),S(1),j("routerLinkActiveOptions",ld(10,jw)),S(8),j("hidden",r.isProfileHidden()),S(9),j("hidden",r.isAuthenticated()),S(2),rt(r.title),S(1),j("routerLinkActiveOptions",ld(11,jw)),S(4),j("hidden",!r.isAuthenticated()),S(4),j("hidden",r.isChatHidden()))},dependencies:[uh,Ho,Rw,vh],styles:["#toggle-links[_ngcontent-%COMP%]{padding:.2em .5em}#toggle-profile[_ngcontent-%COMP%]{color:unset}.big[_ngcontent-%COMP%]{font-size:x-large}.float-right[_ngcontent-%COMP%]{margin:0;float:right}nav[_ngcontent-%COMP%]{display:block;background:#93c6f948 linear-gradient(80deg,rgb(132,168,205) 05%,rgb(145,185,224) 30%,rgba(0,0,0,0) 100%);border-bottom:1px solid #336699;padding:.4em}nav[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;float:right}nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:.2rem;padding:.2rem .3rem;text-decoration:none;text-shadow:2px 2px 2px #40404080;display:inline-block;border-radius:2px}nav[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#fff;background-color:#42545c;-webkit-text-decoration:underline #93c6f9;text-decoration:underline #93c6f9}.active-link[_ngcontent-%COMP%]{background-color:#00000048}#logout[_ngcontent-%COMP%]{color:#ef4040;cursor:pointer}#logout[_ngcontent-%COMP%]:hover{background-color:#604040}#toolbar[_ngcontent-%COMP%]{margin-top:-.4em;margin-bottom:-.4em;margin-left:.2em}#toolbar[_ngcontent-%COMP%] > button[_ngcontent-%COMP%]{border:1px solid #40404080}#chatwindow[_ngcontent-%COMP%]{border:1px solid black;z-index:9990;background:#f0f0f080;border-radius:2px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);box-shadow:3px 3px 3px #0006;position:fixed;top:5em;left:5em}#chattitlebar[_ngcontent-%COMP%]{border-bottom:1px solid black;padding:2px;background:#d0d0d080;cursor:grab}#chatcontent[_ngcontent-%COMP%]{padding:2px}.close-button[_ngcontent-%COMP%]{padding:0 4px;margin:0;float:right}"]}),e})();class Xt{constructor(t,n){this.http=t,this.appMessageService=n,this.httpOptions={headers:new We({"Content-Type":"application/json",Accept:"application/json"})}}handleError(t="operation",n){return r=>(console.error(r),this.log(`Error @ ${t}: ${r.status} ${r.statusText}`),F(n))}log(t){this.appMessageService.add(`TodoService: ${t}`)}getTodos(){return this.http.get(Xt.REST_URL,this.httpOptions).pipe(J(t=>this.log(`fetched ${t.length} todos`)),he(this.handleError("getTodos",[])))}addTodo(t){return this.http.post(Xt.REST_URL,{text:t},this.httpOptions).pipe(J(r=>this.log(`added todo w/ id=${r.id}`)),he(this.handleError("addTodo")))}deleteTodo(t){return this.http.delete(`${Xt.REST_URL}/${t}`,this.httpOptions).pipe(J(r=>this.log(`deleted todo id=${t}`)),he(this.handleError("deleteTodo")))}}function Rk(e,t){if(1&e){const n=Na();y(0,"li")(1,"div",6)(2,"span",7),E(3),v(),y(4,"span",8),E(5),Li(6,"date"),v(),y(7,"button",9),P("click",function(){const i=ks(n).$implicit;return Ls(Ai().delete(i))}),E(8,"x"),v()(),y(9,"span",10),E(10),v()()}if(2&e){const n=t.$implicit;S(3),rt(n.id),S(2),rt(Vi(6,3,n.dateCreated,"dd-MM-yyyy HH:mm:ss")),S(5),rt(n.text)}}Xt.REST_URL=Ir_restServerUrl+"/api/todos",Xt.\u0275fac=function(t){return new(t||Xt)(N(Sr),N(To))},Xt.\u0275prov=O({token:Xt,factory:Xt.\u0275fac,providedIn:"root"});let Ok=(()=>{class e{constructor(n){this.todoService=n,this.todos=[],this.newTodo=""}getTodos(){this.todoService.getTodos().subscribe(n=>this.todos=n)}ngOnInit(){this.getTodos()}sendTodo(){this.todoService.addTodo(this.newTodo).subscribe(()=>this.getTodos()),this.newTodo=""}delete(n){this.todoService.deleteTodo(n.id).subscribe(()=>this.todos=this.todos.filter(r=>r!==n))}}return e.\u0275fac=function(n){return new(n||e)(_(Xt))},e.\u0275cmp=Rt({type:e,selectors:[["app-todo"]],decls:13,vars:2,consts:[[1,"element-list"],[4,"ngFor","ngForOf"],[1,"input"],["for","input-text"],["id","input-text","placeholder","text",3,"ngModel","ngModelChange","keydown.enter"],[3,"click"],[1,"element-title"],[1,"badge"],[1,"date"],["type","button","title","Delete todo",1,"delete",3,"click"],[1,"text"]],template:function(n,r){1&n&&(y(0,"h2"),E(1,"Todos"),v(),y(2,"ol",0),On(3,Rk,11,6,"li",1),v(),y(4,"h2"),E(5,"New Todo:"),v(),y(6,"div",2)(7,"div")(8,"label",3),E(9,"Text:"),v(),y(10,"input",4),P("ngModelChange",function(i){return r.newTodo=i})("keydown.enter",function(){return r.sendTodo()}),v(),y(11,"button",5),P("click",function(){return r.sendTodo()}),E(12,"Send"),v()()()),2&n&&(S(3),j("ngForOf",r.todos),S(7),j("ngModel",r.newTodo))},dependencies:[Er,qt,Ln,pn,zi],styles:[".element-list[_ngcontent-%COMP%]{margin-left:2em;padding:0}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{position:relative;left:0;margin-top:.5em;padding:0;border-radius:4px;border:solid 1px #808080}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{background-color:#e6e6e680}.element-title[_ngcontent-%COMP%]{display:block;text-align:left;font-size:x-small}.element-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;color:#fff}.element-title[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-size:small;padding:1px 6px;margin:0;border-radius:2px;float:right;background-color:#ff000080}.badge[_ngcontent-%COMP%]{padding:.3em .7em;background-color:#405061;border-radius:2px 0 0}.date[_ngcontent-%COMP%]{padding:.3em .7em;background-color:#605061;border-radius:0 0 2px}.text[_ngcontent-%COMP%]{align-self:center;margin:0 .1em .1em}.input[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{left:0;margin:0 0 .2em;padding:0}.input[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:inline-block;width:4em;text-align:right;padding-right:.2em}"]}),e})();class Cn{constructor(t,n){this.http=t,this.appMessageService=n,this.httpOptions={headers:new We({"Content-Type":"application/json",Accept:"application/json"})}}handleError(t="operation",n){return r=>(console.error(r),this.log(`Error @ ${t}: ${r.status} ${r.statusText}`),F(n))}log(t){this.appMessageService.add(`NewsService: ${t}`)}getNewsPosts(){return this.http.get(Cn.REST_URL,this.httpOptions).pipe(J(t=>this.log(`fetched ${t.length} news posts`)),he(this.handleError("getNews",[])))}addNewsPost(t,n){return this.http.post(Cn.REST_URL,{author:t,text:n},this.httpOptions).pipe(J(o=>this.log(`added message w/ id=${o.id}`)),he(this.handleError("addNewsPost")))}}function Pk(e,t){if(1&e&&(y(0,"p"),E(1),v()),2&e){const n=t.$implicit;S(1),rt(n.text)}}Cn.REST_URL=Ir_restServerUrl+"/api/news",Cn.\u0275fac=function(t){return new(t||Cn)(N(Sr),N(To))},Cn.\u0275prov=O({token:Cn,factory:Cn.\u0275fac,providedIn:"root"});let xk=(()=>{class e{constructor(n,r){this.loginService=n,this.newsService=r,this.messages=[]}getNews(){this.loginService.isAuthenticated()&&this.newsService.getNewsPosts().subscribe(n=>this.messages=n)}ngOnInit(){this.getNews()}isAuthenticated(){return this.loginService.isAuthenticated()}username(){return this.loginService.getUsername()}}return e.\u0275fac=function(n){return new(n||e)(_(et),_(Cn))},e.\u0275cmp=Rt({type:e,selectors:[["app-home"]],decls:9,vars:4,consts:[[3,"hidden"],[1,"context"],[4,"ngFor","ngForOf"]],template:function(n,r){1&n&&(y(0,"span",0)(1,"p"),E(2),v(),y(3,"h3"),E(4,"News"),v(),y(5,"div",1),On(6,Pk,2,1,"p",2),v()(),y(7,"p",0),E(8,"Welcome to our family site! Please login."),v()),2&n&&(j("hidden",!r.isAuthenticated()),S(2),Ke("Welcome, ",r.username(),"!"),S(4),j("ngForOf",r.messages),S(1),j("hidden",r.isAuthenticated()))},dependencies:[Er],styles:[".context[_ngcontent-%COMP%]{margin-left:1em}"]}),e})(),Fk=(()=>{class e{constructor(n,r){this.loginService=n,this.router=r,this.error=!1,this.rememberme=!1,this.credentials={username:"",password:""},this.checkPreviousLogin()}checkPreviousLogin(){this.credentials.username=localStorage.getItem("username"),this.credentials.password=localStorage.getItem("password"),this.credentials.username&&this.credentials.password&&this.login()}login(){return this.loginService.authenticate(this.credentials).subscribe({next:()=>{this.rememberme&&(localStorage.setItem("username",this.credentials.username),localStorage.setItem("password",this.credentials.password)),this.router.navigateByUrl("/").then(n=>{})},error:n=>{console.log("Login failed",n),this.error=!0}}),!1}}return e.\u0275fac=function(n){return new(n||e)(_(et),_(qe))},e.\u0275cmp=Rt({type:e,selectors:[["app-login"]],decls:19,vars:4,consts:[[1,"alert",3,"hidden"],["role","form",3,"submit"],[1,"form-group"],["for","username"],["type","text","id","username","name","username","placeholder","username",1,"form-control",3,"ngModel","ngModelChange"],["for","password"],["type","password","id","password","name","password","placeholder","password",1,"form-control",3,"ngModel","ngModelChange"],["for","rememberme"],["type","checkbox","id","rememberme","name","rememberme",1,"form-control",3,"ngModel","ngModelChange"],["type","submit",1,"btn","btn-primary"]],template:function(n,r){1&n&&(y(0,"h2"),E(1,"Login form"),v(),y(2,"p",0),E(3," There was a problem logging in. Please try again.\n"),v(),y(4,"form",1),P("submit",function(){return r.login()}),y(5,"div",2)(6,"label",3),E(7,"Username:"),v(),y(8,"input",4),P("ngModelChange",function(i){return r.credentials.username=i}),v()(),y(9,"div",2)(10,"label",5),E(11,"Password:"),v(),y(12,"input",6),P("ngModelChange",function(i){return r.credentials.password=i}),v()(),y(13,"div",2)(14,"label",7),E(15,"Remember me:"),v(),y(16,"input",8),P("ngModelChange",function(i){return r.rememberme=i}),v()(),y(17,"button",9),E(18,"Login"),v()()),2&n&&(S(2),j("hidden",!r.error),S(6),j("ngModel",r.credentials.username),S(4),j("ngModel",r.credentials.password),S(4),j("ngModel",r.rememberme))},dependencies:[qD,qt,vf,Ln,PD,pn,Cl],styles:[".form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:inline-block;width:8em;padding-right:.2em}.form-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{margin:0 0 .2em}.alert[_ngcontent-%COMP%]{color:red}button[_ngcontent-%COMP%]{border:revert}"]}),e})();const Or=(e,t)=>{const n=I(et),r=I(qe);return!!n.isAuthenticated()||r.parseUrl("/login")};class mt{constructor(t,n){this.http=t,this.appMessageService=n,this.httpOptions={headers:new We({"Content-Type":"application/json",Accept:"application/json"})}}handleError(t="operation",n){return r=>(console.error(r),this.log(`Error @ ${t}: ${r.status} ${r.statusText}`),F(n))}log(t){this.appMessageService.add(`TodoService: ${t}`)}getContacts(){return this.http.get(mt.REST_URL,this.httpOptions).pipe(J(t=>this.log(`fetched ${t.length} contacts`)),he(this.handleError("getContacts",[])))}getContact(t){return this.http.get(`${mt.REST_URL}/${t}`,this.httpOptions).pipe(J(n=>this.log(`fetched Contact ${n.id}`)),he(this.handleError("getContact",{})))}addContact(t){return this.http.post(mt.REST_URL,t,this.httpOptions).pipe(J(n=>this.log(`added contact w/ id=${n.id}`)),he(this.handleError("addContact")))}saveContact(t){return this.http.post(mt.REST_URL,t,this.httpOptions).pipe(J(n=>this.log(`added todo w/ id=${n.id}`)),he(this.handleError("addContact")))}deleteContact(t){return this.http.delete(`${mt.REST_URL}/${t}`,this.httpOptions).pipe(J(r=>this.log(`deleted contact id=${t}`)),he(this.handleError("deleteContact")))}}mt.REST_URL=Ir_restServerUrl+"/api/contacts",mt.\u0275fac=function(t){return new(t||mt)(N(Sr),N(To))},mt.\u0275prov=O({token:mt,factory:mt.\u0275fac,providedIn:"root"});const kk=function(e){return["/contact",e]};function Lk(e,t){if(1&e&&(y(0,"li")(1,"div",18)(2,"span")(3,"a",19),E(4),v()()(),y(5,"span",20),E(6),ue(7,"br"),E(8),ue(9,"br"),E(10),ue(11,"br"),E(12,"Website: "),y(13,"a",21),E(14),v(),ue(15,"br"),E(16),v()()),2&e){const n=t.$implicit;S(3),j("routerLink",ud(9,kk,n.id)),S(1),Fa("",n.firstName," ",n.lastName,""),S(2),Ke(" Telephone: ",n.telephone," "),S(2),Ke("E-mail: ",n.email," "),S(2),Ke("Address: ",n.address," "),S(3),Ra("href","https://",n.website,"",oc),S(1),rt(n.website),S(2),Ke("Description: ",n.description,"")}}let Vk=(()=>{class e{constructor(n){this.contactsService=n,this.contacts=[],this.newContact={}}getContacts(){this.contactsService.getContacts().subscribe(n=>this.contacts=n)}ngOnInit(){this.getContacts()}sendContact(){this.contactsService.addContact(this.newContact).subscribe(()=>this.getContacts()),this.newContact={}}}return e.\u0275fac=function(n){return new(n||e)(_(mt))},e.\u0275cmp=Rt({type:e,selectors:[["app-contacts"]],decls:38,vars:8,consts:[[1,"element-list"],[4,"ngFor","ngForOf"],[1,"input"],["for","input-firstName"],["id","input-firstName","placeholder","firstname",3,"ngModel","ngModelChange"],["for","input-lastName"],["id","input-lastName","placeholder","lastname",3,"ngModel","ngModelChange"],["for","input-telephone"],["id","input-telephone","placeholder","telephone",3,"ngModel","ngModelChange"],["for","input-email"],["id","input-email","placeholder","email",3,"ngModel","ngModelChange"],["for","input-website"],["id","input-website","placeholder","website",3,"ngModel","ngModelChange"],["for","input-address"],["id","input-address","placeholder","address",3,"ngModel","ngModelChange"],["for","input-description"],["id","input-description","placeholder","description",3,"ngModel","ngModelChange"],[3,"click"],[1,"element-title"],[3,"routerLink"],[1,"text"],["target","_blank",3,"href"]],template:function(n,r){1&n&&(y(0,"h2"),E(1,"Contacts:"),v(),y(2,"ol",0),On(3,Lk,17,11,"li",1),v(),y(4,"h2"),E(5,"New Contact:"),v(),y(6,"div",2)(7,"div")(8,"label",3),E(9,"Firstname:"),v(),y(10,"input",4),P("ngModelChange",function(i){return r.newContact.firstName=i}),v(),ue(11,"br"),y(12,"label",5),E(13,"Lastname:"),v(),y(14,"input",6),P("ngModelChange",function(i){return r.newContact.lastName=i}),v(),ue(15,"br"),y(16,"label",7),E(17,"Telephone:"),v(),y(18,"input",8),P("ngModelChange",function(i){return r.newContact.telephone=i}),v(),ue(19,"br"),y(20,"label",9),E(21,"Email:"),v(),y(22,"input",10),P("ngModelChange",function(i){return r.newContact.email=i}),v(),ue(23,"br"),y(24,"label",11),E(25,"Website:"),v(),y(26,"input",12),P("ngModelChange",function(i){return r.newContact.website=i}),v(),ue(27,"br"),y(28,"label",13),E(29,"Address:"),v(),y(30,"input",14),P("ngModelChange",function(i){return r.newContact.address=i}),v(),ue(31,"br"),y(32,"label",15),E(33,"Description:"),v(),y(34,"input",16),P("ngModelChange",function(i){return r.newContact.description=i}),v(),ue(35,"br"),y(36,"button",17),P("click",function(){return r.sendContact()}),E(37,"Send"),v()()()),2&n&&(S(3),j("ngForOf",r.contacts),S(7),j("ngModel",r.newContact.firstName),S(4),j("ngModel",r.newContact.lastName),S(4),j("ngModel",r.newContact.telephone),S(4),j("ngModel",r.newContact.email),S(4),j("ngModel",r.newContact.website),S(4),j("ngModel",r.newContact.address),S(4),j("ngModel",r.newContact.description))},dependencies:[Er,qt,Ln,pn,Ho],styles:[".element-list[_ngcontent-%COMP%]{margin-left:2em;padding:0}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{position:relative;left:0;margin-top:.5em;padding:.1em;border-radius:4px;border:solid 1px #808080}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{background-color:#e6e6e680}"]}),e})();class yt{constructor(t,n){this.http=t,this.appMessageService=n,this.httpOptions={headers:new We({"Content-Type":"application/json",Accept:"application/json"})}}handleError(t="operation",n){return r=>(console.error(r),this.log(`Error @ ${t}: ${r.status} ${r.statusText}`),F(n))}log(t){this.appMessageService.add(`ChecklistService: ${t}`)}getChecklists(){return this.http.get(yt.REST_URL,this.httpOptions).pipe(J(t=>this.log(`fetched ${t.length} checklists`)),he(this.handleError("getChecklists",[])))}getChecklist(t){return this.http.get(`${yt.REST_URL}/${t}`,this.httpOptions).pipe(J(n=>this.log(`fetched checklist ${n.id}`)),he(this.handleError("getChecklist",{})))}addChecklist(t){return this.http.post(yt.REST_URL,{name:t},this.httpOptions).pipe(J(r=>this.log(`added todo w/ id=${r.id}`)),he(this.handleError("addChecklist")))}saveChecklist(t){return this.http.post(yt.REST_URL,t,this.httpOptions).pipe(J(n=>this.log(`added todo w/ id=${n.id}`)),he(this.handleError("addChecklist")))}deleteChecklist(t){return this.http.delete(`${yt.REST_URL}/${t}`,this.httpOptions).pipe(J(r=>this.log(`deleted checklist id=${t}`)),he(this.handleError("deleteChecklist")))}}function Hk(e,t){if(1&e&&(y(0,"li"),E(1),v()),2&e){const n=t.$implicit;S(1),Ke(" ",n," ")}}yt.REST_URL=Ir_restServerUrl+"/api/checklists",yt.\u0275fac=function(t){return new(t||yt)(N(Sr),N(To))},yt.\u0275prov=O({token:yt,factory:yt.\u0275fac,providedIn:"root"});const $k=function(e){return["/checklist",e]};function jk(e,t){if(1&e&&(y(0,"li")(1,"span",6)(2,"a",7),E(3),v(),y(4,"ul",8),On(5,Hk,2,1,"li",1),v()()()),2&e){const n=t.$implicit;S(2),j("routerLink",ud(3,$k,n.id)),S(1),rt(n.name),S(2),j("ngForOf",n.checks)}}let Bk=(()=>{class e{constructor(n){this.checklistService=n,this.checklists=[],this.newChecklist=""}getChecklists(){this.checklistService.getChecklists().subscribe(n=>this.checklists=n)}ngOnInit(){this.getChecklists()}sendChecklist(){""!==this.newChecklist&&(this.checklistService.addChecklist(this.newChecklist).subscribe(()=>this.getChecklists()),this.newChecklist="")}}return e.\u0275fac=function(n){return new(n||e)(_(yt))},e.\u0275cmp=Rt({type:e,selectors:[["app-checklists"]],decls:13,vars:2,consts:[[1,"element-list"],[4,"ngFor","ngForOf"],[1,"input"],["for","input-name"],["id","input-name","placeholder","myChecklist",3,"ngModel","ngModelChange","keydown.enter"],[3,"click"],[1,"text"],[3,"routerLink"],[1,"item-list"]],template:function(n,r){1&n&&(y(0,"h2"),E(1,"Checklists"),v(),y(2,"ol",0),On(3,jk,6,5,"li",1),v(),y(4,"h2"),E(5,"New Checklist:"),v(),y(6,"div",2)(7,"div")(8,"label",3),E(9,"name:"),v(),y(10,"input",4),P("ngModelChange",function(i){return r.newChecklist=i})("keydown.enter",function(){return r.sendChecklist()}),v(),y(11,"button",5),P("click",function(){return r.sendChecklist()}),E(12,"Send"),v()()()),2&n&&(S(3),j("ngForOf",r.checklists),S(7),j("ngModel",r.newChecklist))},dependencies:[Er,qt,Ln,pn,Ho],styles:[".element-list[_ngcontent-%COMP%]{margin-left:2em;padding:0}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{position:relative;left:0;margin-top:.5em;padding:.1em;border-radius:4px;border:solid 1px #808080}.element-list[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{background-color:#e6e6e680}"]}),e})();function Uk(e,t){if(1&e){const n=Na();y(0,"li"),E(1),y(2,"button",8),P("click",function(){const i=ks(n).index;return Ls(Ai().removeItem(i))}),E(3,"x"),v()()}if(2&e){const n=t.$implicit;S(1),Ke("",n," ")}}const zk=[{path:"",component:xk,pathMatch:"full"},{path:"login",component:Fk},{path:"profile",component:(()=>{class e{constructor(n){this.loginService=n,this.newPassword1="",this.newPassword2="",this.message=""}username(){return this.loginService.getUsername()}saveProfile(){this.newPassword1==this.newPassword2?this.loginService.changePassword(this.newPassword1).subscribe({next:()=>{this.message="Password changed"},error:n=>{this.message="Failed to change password"}}):this.message="Passwords do not match!"}toggleTheme(){const n="theme-dark",r=document.querySelector(":root");if(!r)throw new Error("No root!?");r.classList.toggle(n),r.classList.contains(n)?localStorage.setItem("theme",n):localStorage.setItem("theme","theme-light")}}return e.\u0275fac=function(n){return new(n||e)(_(et))},e.\u0275cmp=Rt({type:e,selectors:[["app-profile"]],decls:20,vars:4,consts:[["title","Dark theme on/off",3,"click"],[1,"input"],["for","input-newPassword1"],["id","input-newPassword1","placeholder","new password",3,"ngModel","ngModelChange"],["for","input-newPassword2"],["id","input-newPassword2","placeholder","new password",3,"ngModel","ngModelChange"],[3,"click"]],template:function(n,r){1&n&&(y(0,"h1"),E(1),v(),y(2,"button",0),P("click",function(){return r.toggleTheme()}),E(3,"\u2600 Theme"),v(),y(4,"h2"),E(5,"Change password:"),v(),y(6,"div",1)(7,"div")(8,"label",2),E(9,"New password:"),v(),y(10,"input",3),P("ngModelChange",function(i){return r.newPassword1=i}),v(),ue(11,"br"),y(12,"label",4),E(13,"Repeat new password:"),v(),y(14,"input",5),P("ngModelChange",function(i){return r.newPassword2=i}),v(),ue(15,"br"),y(16,"button",6),P("click",function(){return r.saveProfile()}),E(17,"Save"),v(),y(18,"span"),E(19),v()()()),2&n&&(S(1),Ke("Profile of: ",r.username(),""),S(9),j("ngModel",r.newPassword1),S(4),j("ngModel",r.newPassword2),S(5),rt(r.message))},dependencies:[qt,Ln,pn]}),e})(),canActivate:[Or]},{path:"chat",component:vh,canActivate:[Or]},{path:"todo",component:Ok,canActivate:[Or]},{path:"contacts",component:Vk,canActivate:[Or]},{path:"contact/:id",component:(()=>{class e{constructor(n,r){this.contactsService=n,this.router=r,this.route=I(or),this.contactId=-1,this.contact={},this.contactId=Number(this.route.snapshot.params.id)}getChecklist(){this.contactsService.getContact(this.contactId).subscribe(n=>this.contact=n)}ngOnInit(){this.getChecklist()}saveContact(){this.contactsService.saveContact(this.contact).subscribe()}deleteContact(){this.contactsService.deleteContact(this.contactId).subscribe(),this.router.navigateByUrl("/contacts").then(n=>{})}}return e.\u0275fac=function(n){return new(n||e)(_(mt),_(qe))},e.\u0275cmp=Rt({type:e,selectors:[["app-edit-contact"]],decls:43,vars:14,consts:[["type","button","title","Delete contact",1,"delete",3,"click"],[1,"input"],["for","input-firstName"],["id","input-firstName","placeholder","firstname",3,"ngModel","ngModelChange"],["for","input-lastName"],["id","input-lastName","placeholder","lastname",3,"ngModel","ngModelChange"],["for","input-telephone"],["id","input-telephone","placeholder","telephone",3,"ngModel","ngModelChange"],["for","input-email"],["id","input-email","placeholder","email",3,"ngModel","ngModelChange"],["for","input-website"],["id","input-website","placeholder","website",3,"ngModel","ngModelChange"],["for","input-address"],["id","input-address","placeholder","address",3,"ngModel","ngModelChange"],["for","input-description"],["id","input-description","placeholder","description",3,"ngModel","ngModelChange"],[3,"click"]],template:function(n,r){1&n&&(y(0,"h2"),E(1),v(),y(2,"p"),E(3),Li(4,"date"),y(5,"button",0),P("click",function(){return r.deleteContact()}),E(6,"Delete contact"),v(),ue(7,"br"),E(8),v(),ue(9,"p"),y(10,"h3"),E(11,"Details:"),v(),y(12,"div",1)(13,"label",2),E(14,"Firstname:"),v(),y(15,"input",3),P("ngModelChange",function(i){return r.contact.firstName=i}),v(),ue(16,"br"),y(17,"label",4),E(18,"Lastname:"),v(),y(19,"input",5),P("ngModelChange",function(i){return r.contact.lastName=i}),v(),ue(20,"br"),y(21,"label",6),E(22,"Telephone:"),v(),y(23,"input",7),P("ngModelChange",function(i){return r.contact.telephone=i}),v(),ue(24,"br"),y(25,"label",8),E(26,"Email:"),v(),y(27,"input",9),P("ngModelChange",function(i){return r.contact.email=i}),v(),ue(28,"br"),y(29,"label",10),E(30,"Website:"),v(),y(31,"input",11),P("ngModelChange",function(i){return r.contact.website=i}),v(),ue(32,"br"),y(33,"label",12),E(34,"Address:"),v(),y(35,"input",13),P("ngModelChange",function(i){return r.contact.address=i}),v(),ue(36,"br"),y(37,"label",14),E(38,"Description:"),v(),y(39,"input",15),P("ngModelChange",function(i){return r.contact.description=i}),v(),ue(40,"br"),y(41,"button",16),P("click",function(){return r.saveContact()}),E(42,"Save"),v()()),2&n&&(S(1),Fa("Editing contact: ",r.contact.firstName," ",r.contact.lastName,""),S(2),Ke("Created on: ",Vi(4,11,r.contact.dateCreated,"dd-MM-yyyy HH:mm:ss")," "),S(5),Ke("Id: ",r.contact.id,"\n"),S(7),j("ngModel",r.contact.firstName),S(4),j("ngModel",r.contact.lastName),S(4),j("ngModel",r.contact.telephone),S(4),j("ngModel",r.contact.email),S(4),j("ngModel",r.contact.website),S(4),j("ngModel",r.contact.address),S(4),j("ngModel",r.contact.description))},dependencies:[qt,Ln,pn,zi],styles:[".delete[_ngcontent-%COMP%]{background-color:#ff000080}"]}),e})(),canActivate:[Or]},{path:"checklists",component:Bk,canActivate:[Or]},{path:"checklist/:id",component:(()=>{class e{constructor(n,r){this.checklistService=n,this.router=r,this.route=I(or),this.checklistId=-1,this.checklist={},this.newItem="",this.checklistId=Number(this.route.snapshot.params.id)}getChecklist(){this.checklistService.getChecklist(this.checklistId).subscribe(n=>this.checklist=n)}ngOnInit(){this.getChecklist()}addItem(){""!==this.newItem&&(this.checklist.checks.push(this.newItem),this.newItem="",this.saveCheckList())}removeItem(n){(this.checklist.checks[n]||""===this.checklist.checks[n])&&(this.checklist.checks.splice(n,1),this.saveCheckList())}saveCheckList(){this.checklistService.saveChecklist(this.checklist).subscribe()}deleteChecklist(){this.checklistService.deleteChecklist(this.checklistId).subscribe(),this.router.navigateByUrl("/checklists").then(n=>{})}}return e.\u0275fac=function(n){return new(n||e)(_(yt),_(qe))},e.\u0275cmp=Rt({type:e,selectors:[["app-edit-checklist"]],decls:31,vars:9,consts:[["type","button","title","Delete checklist",1,"delete",3,"click"],[4,"ngFor","ngForOf"],[1,"input"],["for","input-item"],["id","input-item","placeholder","Remember x",3,"ngModel","ngModelChange","keydown.enter"],[3,"click"],["for","input-checklist-name"],["id","input-checklist-name","placeholder","myChecklist",3,"ngModel","ngModelChange","keydown.enter"],["type","button","title","Delete item",1,"delete",3,"click"]],template:function(n,r){1&n&&(y(0,"h2"),E(1),v(),y(2,"p"),E(3),Li(4,"date"),y(5,"button",0),P("click",function(){return r.deleteChecklist()}),E(6,"Delete checklist"),v(),ue(7,"br"),E(8),v(),y(9,"h3"),E(10,"Items:"),v(),y(11,"ol"),On(12,Uk,4,1,"li",1),v(),y(13,"h2"),E(14,"add item:"),v(),y(15,"div",2)(16,"div")(17,"label",3),E(18,"item:"),v(),y(19,"input",4),P("ngModelChange",function(i){return r.newItem=i})("keydown.enter",function(){return r.addItem()}),v(),y(20,"button",5),P("click",function(){return r.addItem()}),E(21,"Add"),v()()(),y(22,"h2"),E(23,"change checklist name:"),v(),y(24,"div",2)(25,"div")(26,"label",6),E(27,"newName:"),v(),y(28,"input",7),P("ngModelChange",function(i){return r.checklist.name=i})("keydown.enter",function(){return r.saveCheckList()}),v(),y(29,"button",5),P("click",function(){return r.saveCheckList()}),E(30,"Save"),v()()()),2&n&&(S(1),Ke("Editing checklist: ",r.checklist.name,""),S(2),Ke("Created on: ",Vi(4,6,r.checklist.dateCreated,"dd-MM-yyyy HH:mm:ss")," "),S(5),Ke("Id: ",r.checklist.id,"\n"),S(4),j("ngForOf",r.checklist.checks),S(7),j("ngModel",r.newItem),S(9),j("ngModel",r.checklist.name))},dependencies:[Er,qt,Ln,pn,zi],styles:[".delete[_ngcontent-%COMP%]{background-color:#ff000080}"]}),e})(),canActivate:[Or]}];let Gk=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Vt({type:e}),e.\u0275inj=Nt({imports:[Hw.forRoot(zk),Hw]}),e})(),Wk=(()=>{class e{constructor(n){this.auth=n}intercept(n,r){if(this.auth.isAuthenticated()){const o=this.auth.getAuthorizationToken(),i=n.clone({headers:n.headers.set("Authorization",o)});return r.handle(i)}return r.handle(n)}}return e.\u0275fac=function(n){return new(n||e)(N(et))},e.\u0275prov=O({token:e,factory:e.\u0275fac}),e})(),qk=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Vt({type:e,bootstrap:[Nk]}),e.\u0275inj=Nt({providers:[{provide:_0,useClass:Wk,multi:!0},{provide:Xn,useClass:y_}],imports:[c3,_P,zP,Gk]}),e})();l3().bootstrapModule(qk).catch(e=>console.error(e))}},le=>{le(le.s=830)}]); \ No newline at end of file