@sdkgen/playground 0.0.0-dev.20240110164608 → 0.0.0-dev.20240110170317

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- (self.webpackChunksdkgen_playground=self.webpackChunksdkgen_playground||[]).push([[179],{1505:function(et,Me,v){var h;!function(o){"use strict";var W,De=1e9,Ee={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},ae=!0,se="[DecimalError] ",te=se+"Invalid argument: ",de=se+"Exponent out of range: ",ce=Math.floor,z=Math.pow,j=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,ne=1e7,le=7,ie=9007199254740991,ge=ce(ie/le),B={};function Z(V,K){var F,R,P,L,Q,q,Ae,Ue,ut=V.constructor,it=ut.precision;if(!V.s||!K.s)return K.s||(K=new ut(V)),ae?me(K,it):K;if(Ue=K.d,Q=V.e,P=K.e,Ae=(Ae=V.d).slice(),L=Q-P){for(L<0?(R=Ae,L=-L,q=Ue.length):(R=Ue,P=Q,q=Ae.length),L>(q=(Q=Math.ceil(it/le))>q?Q+1:q+1)&&(L=q,R.length=1),R.reverse();L--;)R.push(0);R.reverse()}for((q=Ae.length)-(L=Ue.length)<0&&(L=q,R=Ue,Ue=Ae,Ae=R),F=0;L;)F=(Ae[--L]=Ae[L]+Ue[L]+F)/ne|0,Ae[L]%=ne;for(F&&(Ae.unshift(F),++P),q=Ae.length;0==Ae[--q];)Ae.pop();return K.d=Ae,K.e=P,ae?me(K,it):K}function re(V,K,F){if(V!==~~V||V<K||V>F)throw Error(te+V)}function J(V){var K,F,R,P=V.length-1,L="",Q=V[0];if(P>0){for(L+=Q,K=1;K<P;K++)(F=le-(R=V[K]+"").length)&&(L+=Ne(F)),L+=R;(F=le-(R=(Q=V[K])+"").length)&&(L+=Ne(F))}else if(0===Q)return"0";for(;Q%10==0;)Q/=10;return L+Q}B.absoluteValue=B.abs=function(){var V=new this.constructor(this);return V.s&&(V.s=1),V},B.comparedTo=B.cmp=function(V){var K,F,R,P,L=this;if(V=new L.constructor(V),L.s!==V.s)return L.s||-V.s;if(L.e!==V.e)return L.e>V.e^L.s<0?1:-1;for(K=0,F=(R=L.d.length)<(P=V.d.length)?R:P;K<F;++K)if(L.d[K]!==V.d[K])return L.d[K]>V.d[K]^L.s<0?1:-1;return R===P?0:R>P^L.s<0?1:-1},B.decimalPlaces=B.dp=function(){var V=this,K=V.d.length-1,F=(K-V.e)*le;if(K=V.d[K])for(;K%10==0;K/=10)F--;return F<0?0:F},B.dividedBy=B.div=function(V){return H(this,new this.constructor(V))},B.dividedToIntegerBy=B.idiv=function(V){var F=this.constructor;return me(H(this,new F(V),0,1),F.precision)},B.equals=B.eq=function(V){return!this.cmp(V)},B.exponent=function(){return xe(this)},B.greaterThan=B.gt=function(V){return this.cmp(V)>0},B.greaterThanOrEqualTo=B.gte=function(V){return this.cmp(V)>=0},B.isInteger=B.isint=function(){return this.e>this.d.length-2},B.isNegative=B.isneg=function(){return this.s<0},B.isPositive=B.ispos=function(){return this.s>0},B.isZero=function(){return 0===this.s},B.lessThan=B.lt=function(V){return this.cmp(V)<0},B.lessThanOrEqualTo=B.lte=function(V){return this.cmp(V)<1},B.logarithm=B.log=function(V){var K,F=this,R=F.constructor,P=R.precision,L=P+5;if(void 0===V)V=new R(10);else if((V=new R(V)).s<1||V.eq(W))throw Error(se+"NaN");if(F.s<1)throw Error(se+(F.s?"NaN":"-Infinity"));return F.eq(W)?new R(0):(ae=!1,K=H(Pe(F,L),Pe(V,L),L),ae=!0,me(K,P))},B.minus=B.sub=function(V){var K=this;return V=new K.constructor(V),K.s==V.s?Ke(K,V):Z(K,(V.s=-V.s,V))},B.modulo=B.mod=function(V){var K,F=this,R=F.constructor,P=R.precision;if(!(V=new R(V)).s)throw Error(se+"NaN");return F.s?(ae=!1,K=H(F,V,0,1).times(V),ae=!0,F.minus(K)):me(new R(F),P)},B.naturalExponential=B.exp=function(){return Se(this)},B.naturalLogarithm=B.ln=function(){return Pe(this)},B.negated=B.neg=function(){var V=new this.constructor(this);return V.s=-V.s||0,V},B.plus=B.add=function(V){var K=this;return V=new K.constructor(V),K.s==V.s?Z(K,V):Ke(K,(V.s=-V.s,V))},B.precision=B.sd=function(V){var K,F,R,P=this;if(void 0!==V&&V!==!!V&&1!==V&&0!==V)throw Error(te+V);if(K=xe(P)+1,F=(R=P.d.length-1)*le+1,R=P.d[R]){for(;R%10==0;R/=10)F--;for(R=P.d[0];R>=10;R/=10)F++}return V&&K>F?K:F},B.squareRoot=B.sqrt=function(){var V,K,F,R,P,L,Q,q=this,Ae=q.constructor;if(q.s<1){if(!q.s)return new Ae(0);throw Error(se+"NaN")}for(V=xe(q),ae=!1,0==(P=Math.sqrt(+q))||P==1/0?(((K=J(q.d)).length+V)%2==0&&(K+="0"),P=Math.sqrt(K),V=ce((V+1)/2)-(V<0||V%2),R=new Ae(K=P==1/0?"5e"+V:(K=P.toExponential()).slice(0,K.indexOf("e")+1)+V)):R=new Ae(P.toString()),P=Q=(F=Ae.precision)+3;;)if(R=(L=R).plus(H(q,L,Q+2)).times(.5),J(L.d).slice(0,Q)===(K=J(R.d)).slice(0,Q)){if(K=K.slice(Q-3,Q+1),P==Q&&"4999"==K){if(me(L,F+1,0),L.times(L).eq(q)){R=L;break}}else if("9999"!=K)break;Q+=4}return ae=!0,me(R,F)},B.times=B.mul=function(V){var K,F,R,P,L,Q,q,Ae,Ue,ut=this,it=ut.constructor,dt=ut.d,lt=(V=new it(V)).d;if(!ut.s||!V.s)return new it(0);for(V.s*=ut.s,F=ut.e+V.e,(Ae=dt.length)<(Ue=lt.length)&&(L=dt,dt=lt,lt=L,Q=Ae,Ae=Ue,Ue=Q),L=[],R=Q=Ae+Ue;R--;)L.push(0);for(R=Ue;--R>=0;){for(K=0,P=Ae+R;P>R;)q=L[P]+lt[R]*dt[P-R-1]+K,L[P--]=q%ne|0,K=q/ne|0;L[P]=(L[P]+K)%ne|0}for(;!L[--Q];)L.pop();return K?++F:L.shift(),V.d=L,V.e=F,ae?me(V,it.precision):V},B.toDecimalPlaces=B.todp=function(V,K){var F=this,R=F.constructor;return F=new R(F),void 0===V?F:(re(V,0,De),void 0===K?K=R.rounding:re(K,0,8),me(F,V+xe(F)+1,K))},B.toExponential=function(V,K){var F,R=this,P=R.constructor;return void 0===V?F=ve(R,!0):(re(V,0,De),void 0===K?K=P.rounding:re(K,0,8),F=ve(R=me(new P(R),V+1,K),!0,V+1)),F},B.toFixed=function(V,K){var F,R,P=this,L=P.constructor;return void 0===V?ve(P):(re(V,0,De),void 0===K?K=L.rounding:re(K,0,8),F=ve((R=me(new L(P),V+xe(P)+1,K)).abs(),!1,V+xe(R)+1),P.isneg()&&!P.isZero()?"-"+F:F)},B.toInteger=B.toint=function(){var V=this,K=V.constructor;return me(new K(V),xe(V)+1,K.rounding)},B.toNumber=function(){return+this},B.toPower=B.pow=function(V){var K,F,R,P,L,q=this,Ae=q.constructor,ut=+(V=new Ae(V));if(!V.s)return new Ae(W);if(!(q=new Ae(q)).s){if(V.s<1)throw Error(se+"Infinity");return q}if(q.eq(W))return q;if(R=Ae.precision,V.eq(W))return me(q,R);if(L=q.s,(K=V.e)>=(F=V.d.length-1)){if((F=ut<0?-ut:ut)<=ie){for(P=new Ae(W),K=Math.ceil(R/le+4),ae=!1;F%2&&je((P=P.times(q)).d,K),0!==(F=ce(F/2));)je((q=q.times(q)).d,K);return ae=!0,V.s<0?new Ae(W).div(P):me(P,R)}}else if(L<0)throw Error(se+"NaN");return L=L<0&&1&V.d[Math.max(K,F)]?-1:1,q.s=1,ae=!1,P=V.times(Pe(q,R+12)),ae=!0,(P=Se(P)).s=L,P},B.toPrecision=function(V,K){var F,R,P=this,L=P.constructor;return void 0===V?R=ve(P,(F=xe(P))<=L.toExpNeg||F>=L.toExpPos):(re(V,1,De),void 0===K?K=L.rounding:re(K,0,8),R=ve(P=me(new L(P),V,K),V<=(F=xe(P))||F<=L.toExpNeg,V)),R},B.toSignificantDigits=B.tosd=function(V,K){var R=this.constructor;return void 0===V?(V=R.precision,K=R.rounding):(re(V,1,De),void 0===K?K=R.rounding:re(K,0,8)),me(new R(this),V,K)},B.toString=B.valueOf=B.val=B.toJSON=function(){var V=this,K=xe(V),F=V.constructor;return ve(V,K<=F.toExpNeg||K>=F.toExpPos)};var H=function(){function V(R,P){var L,Q=0,q=R.length;for(R=R.slice();q--;)R[q]=(L=R[q]*P+Q)%ne|0,Q=L/ne|0;return Q&&R.unshift(Q),R}function K(R,P,L,Q){var q,Ae;if(L!=Q)Ae=L>Q?1:-1;else for(q=Ae=0;q<L;q++)if(R[q]!=P[q]){Ae=R[q]>P[q]?1:-1;break}return Ae}function F(R,P,L){for(var Q=0;L--;)R[L]-=Q,R[L]=(Q=R[L]<P[L]?1:0)*ne+R[L]-P[L];for(;!R[0]&&R.length>1;)R.shift()}return function(R,P,L,Q){var q,Ae,Ue,ut,it,dt,lt,ke,he,Ie,ue,$e,at,bt,Ot,Gt,Rt,$t,Tt=R.constructor,Lt=R.s==P.s?1:-1,Ct=R.d,kt=P.d;if(!R.s)return new Tt(R);if(!P.s)throw Error(se+"Division by zero");for(Ae=R.e-P.e,Rt=kt.length,Ot=Ct.length,ke=(lt=new Tt(Lt)).d=[],Ue=0;kt[Ue]==(Ct[Ue]||0);)++Ue;if(kt[Ue]>(Ct[Ue]||0)&&--Ae,($e=null==L?L=Tt.precision:Q?L+(xe(R)-xe(P))+1:L)<0)return new Tt(0);if($e=$e/le+2|0,Ue=0,1==Rt)for(ut=0,kt=kt[0],$e++;(Ue<Ot||ut)&&$e--;Ue++)ke[Ue]=(at=ut*ne+(Ct[Ue]||0))/kt|0,ut=at%kt|0;else{for((ut=ne/(kt[0]+1)|0)>1&&(kt=V(kt,ut),Ct=V(Ct,ut),Rt=kt.length,Ot=Ct.length),bt=Rt,Ie=(he=Ct.slice(0,Rt)).length;Ie<Rt;)he[Ie++]=0;($t=kt.slice()).unshift(0),Gt=kt[0],kt[1]>=ne/2&&++Gt;do{ut=0,(q=K(kt,he,Rt,Ie))<0?(ue=he[0],Rt!=Ie&&(ue=ue*ne+(he[1]||0)),(ut=ue/Gt|0)>1?(ut>=ne&&(ut=ne-1),1==(q=K(it=V(kt,ut),he,dt=it.length,Ie=he.length))&&(ut--,F(it,Rt<dt?$t:kt,dt))):(0==ut&&(q=ut=1),it=kt.slice()),(dt=it.length)<Ie&&it.unshift(0),F(he,it,Ie),-1==q&&(q=K(kt,he,Rt,Ie=he.length))<1&&(ut++,F(he,Rt<Ie?$t:kt,Ie)),Ie=he.length):0===q&&(ut++,he=[0]),ke[Ue++]=ut,q&&he[0]?he[Ie++]=Ct[bt]||0:(he=[Ct[bt]],Ie=1)}while((bt++<Ot||void 0!==he[0])&&$e--)}return ke[0]||ke.shift(),lt.e=Ae,me(lt,Q?L+xe(lt)+1:L)}}();function Se(V,K){var F,P,L,Q,q,Ae=0,Ue=0,ut=V.constructor,it=ut.precision;if(xe(V)>16)throw Error(de+xe(V));if(!V.s)return new ut(W);for(null==K?(ae=!1,q=it):q=K,Q=new ut(.03125);V.abs().gte(.1);)V=V.times(Q),Ue+=5;for(q+=Math.log(z(2,Ue))/Math.LN10*2+5|0,F=P=L=new ut(W),ut.precision=q;;){if(P=me(P.times(V),q),F=F.times(++Ae),J((Q=L.plus(H(P,F,q))).d).slice(0,q)===J(L.d).slice(0,q)){for(;Ue--;)L=me(L.times(L),q);return ut.precision=it,null==K?(ae=!0,me(L,it)):L}L=Q}}function xe(V){for(var K=V.e*le,F=V.d[0];F>=10;F/=10)K++;return K}function He(V,K,F){if(K>V.LN10.sd())throw ae=!0,F&&(V.precision=F),Error(se+"LN10 precision limit exceeded");return me(new V(V.LN10),K)}function Ne(V){for(var K="";V--;)K+="0";return K}function Pe(V,K){var F,R,P,L,Q,q,Ae,Ue,ut,it=1,lt=V,ke=lt.d,he=lt.constructor,Ie=he.precision;if(lt.s<1)throw Error(se+(lt.s?"NaN":"-Infinity"));if(lt.eq(W))return new he(0);if(null==K?(ae=!1,Ue=Ie):Ue=K,lt.eq(10))return null==K&&(ae=!0),He(he,Ue);if(he.precision=Ue+=10,R=(F=J(ke)).charAt(0),L=xe(lt),!(Math.abs(L)<15e14))return Ae=He(he,Ue+2,Ie).times(L+""),lt=Pe(new he(R+"."+F.slice(1)),Ue-10).plus(Ae),he.precision=Ie,null==K?(ae=!0,me(lt,Ie)):lt;for(;R<7&&1!=R||1==R&&F.charAt(1)>3;)R=(F=J((lt=lt.times(V)).d)).charAt(0),it++;for(L=xe(lt),R>1?(lt=new he("0."+F),L++):lt=new he(R+"."+F.slice(1)),q=Q=lt=H(lt.minus(W),lt.plus(W),Ue),ut=me(lt.times(lt),Ue),P=3;;){if(Q=me(Q.times(ut),Ue),J((Ae=q.plus(H(Q,new he(P),Ue))).d).slice(0,Ue)===J(q.d).slice(0,Ue))return q=q.times(2),0!==L&&(q=q.plus(He(he,Ue+2,Ie).times(L+""))),q=H(q,new he(it),Ue),he.precision=Ie,null==K?(ae=!0,me(q,Ie)):q;q=Ae,P+=2}}function ct(V,K){var F,R,P;for((F=K.indexOf("."))>-1&&(K=K.replace(".","")),(R=K.search(/e/i))>0?(F<0&&(F=R),F+=+K.slice(R+1),K=K.substring(0,R)):F<0&&(F=K.length),R=0;48===K.charCodeAt(R);)++R;for(P=K.length;48===K.charCodeAt(P-1);)--P;if(K=K.slice(R,P)){if(P-=R,V.e=ce((F=F-R-1)/le),V.d=[],R=(F+1)%le,F<0&&(R+=le),R<P){for(R&&V.d.push(+K.slice(0,R)),P-=le;R<P;)V.d.push(+K.slice(R,R+=le));K=K.slice(R),R=le-K.length}else R-=P;for(;R--;)K+="0";if(V.d.push(+K),ae&&(V.e>ge||V.e<-ge))throw Error(de+F)}else V.s=0,V.e=0,V.d=[0];return V}function me(V,K,F){var R,P,L,Q,q,Ae,Ue,ut,it=V.d;for(Q=1,L=it[0];L>=10;L/=10)Q++;if((R=K-Q)<0)R+=le,P=K,Ue=it[ut=0];else{if((ut=Math.ceil((R+1)/le))>=(L=it.length))return V;for(Ue=L=it[ut],Q=1;L>=10;L/=10)Q++;P=(R%=le)-le+Q}if(void 0!==F&&(q=Ue/(L=z(10,Q-P-1))%10|0,Ae=K<0||void 0!==it[ut+1]||Ue%L,Ae=F<4?(q||Ae)&&(0==F||F==(V.s<0?3:2)):q>5||5==q&&(4==F||Ae||6==F&&(R>0?P>0?Ue/z(10,Q-P):0:it[ut-1])%10&1||F==(V.s<0?8:7))),K<1||!it[0])return Ae?(L=xe(V),it.length=1,it[0]=z(10,(le-(K=K-L-1)%le)%le),V.e=ce(-K/le)||0):(it.length=1,it[0]=V.e=V.s=0),V;if(0==R?(it.length=ut,L=1,ut--):(it.length=ut+1,L=z(10,le-R),it[ut]=P>0?(Ue/z(10,Q-P)%z(10,P)|0)*L:0),Ae)for(;;){if(0==ut){(it[0]+=L)==ne&&(it[0]=1,++V.e);break}if(it[ut]+=L,it[ut]!=ne)break;it[ut--]=0,L=1}for(R=it.length;0===it[--R];)it.pop();if(ae&&(V.e>ge||V.e<-ge))throw Error(de+xe(V));return V}function Ke(V,K){var F,R,P,L,Q,q,Ae,Ue,ut,it,dt=V.constructor,lt=dt.precision;if(!V.s||!K.s)return K.s?K.s=-K.s:K=new dt(V),ae?me(K,lt):K;if(it=K.d,R=K.e,Ue=V.e,Ae=(Ae=V.d).slice(),Q=Ue-R){for((ut=Q<0)?(F=Ae,Q=-Q,q=it.length):(F=it,R=Ue,q=Ae.length),Q>(P=Math.max(Math.ceil(lt/le),q)+2)&&(Q=P,F.length=1),F.reverse(),P=Q;P--;)F.push(0);F.reverse()}else{for((ut=(P=Ae.length)<(q=it.length))&&(q=P),P=0;P<q;P++)if(Ae[P]!=it[P]){ut=Ae[P]<it[P];break}Q=0}for(ut&&(F=Ae,Ae=it,it=F,K.s=-K.s),P=it.length-(q=Ae.length);P>0;--P)Ae[q++]=0;for(P=it.length;P>Q;){if(Ae[--P]<it[P]){for(L=P;L&&0===Ae[--L];)Ae[L]=ne-1;--Ae[L],Ae[P]+=ne}Ae[P]-=it[P]}for(;0===Ae[--q];)Ae.pop();for(;0===Ae[0];Ae.shift())--R;return Ae[0]?(K.d=Ae,K.e=R,ae?me(K,lt):K):new dt(0)}function ve(V,K,F){var R,P=xe(V),L=J(V.d),Q=L.length;return K?(F&&(R=F-Q)>0?L=L.charAt(0)+"."+L.slice(1)+Ne(R):Q>1&&(L=L.charAt(0)+"."+L.slice(1)),L=L+(P<0?"e":"e+")+P):P<0?(L="0."+Ne(-P-1)+L,F&&(R=F-Q)>0&&(L+=Ne(R))):P>=Q?(L+=Ne(P+1-Q),F&&(R=F-P-1)>0&&(L=L+"."+Ne(R))):((R=P+1)<Q&&(L=L.slice(0,R)+"."+L.slice(R)),F&&(R=F-Q)>0&&(P+1===Q&&(L+="."),L+=Ne(R))),V.s<0?"-"+L:L}function je(V,K){if(V.length>K)return V.length=K,!0}function ze(V){if(!V||"object"!=typeof V)throw Error(se+"Object expected");var K,F,R,P=["precision",1,De,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(K=0;K<P.length;K+=3)if(void 0!==(R=V[F=P[K]])){if(!(ce(R)===R&&R>=P[K+1]&&R<=P[K+2]))throw Error(te+F+": "+R);this[F]=R}if(void 0!==(R=V[F="LN10"])){if(R!=Math.LN10)throw Error(te+F+": "+R);this[F]=new this(R)}return this}(Ee=function Xe(V){var K,F,R;function P(L){var Q=this;if(!(Q instanceof P))return new P(L);if(Q.constructor=P,L instanceof P)return Q.s=L.s,Q.e=L.e,void(Q.d=(L=L.d)?L.slice():L);if("number"==typeof L){if(0*L!=0)throw Error(te+L);if(L>0)Q.s=1;else{if(!(L<0))return Q.s=0,Q.e=0,void(Q.d=[0]);L=-L,Q.s=-1}return L===~~L&&L<1e7?(Q.e=0,void(Q.d=[L])):ct(Q,L.toString())}if("string"!=typeof L)throw Error(te+L);if(45===L.charCodeAt(0)?(L=L.slice(1),Q.s=-1):Q.s=1,!j.test(L))throw Error(te+L);ct(Q,L)}if(P.prototype=B,P.ROUND_UP=0,P.ROUND_DOWN=1,P.ROUND_CEIL=2,P.ROUND_FLOOR=3,P.ROUND_HALF_UP=4,P.ROUND_HALF_DOWN=5,P.ROUND_HALF_EVEN=6,P.ROUND_HALF_CEIL=7,P.ROUND_HALF_FLOOR=8,P.clone=Xe,P.config=P.set=ze,void 0===V&&(V={}),V)for(R=["precision","rounding","toExpNeg","toExpPos","LN10"],K=0;K<R.length;)V.hasOwnProperty(F=R[K++])||(V[F]=this[F]);return P.config(V),P}(Ee)).default=Ee.Decimal=Ee,W=new Ee(1),void 0!==(h=function(){return Ee}.call(Me,v,Me,et))&&(et.exports=h)}()},5046:function(et,Me){var v,o;void 0!==(o="function"==typeof(v=function(){"use strict";function Ee(z,j,W){var ne=new XMLHttpRequest;ne.open("GET",z),ne.responseType="blob",ne.onload=function(){ce(ne.response,j,W)},ne.onerror=function(){console.error("could not download file")},ne.send()}function ae(z){var j=new XMLHttpRequest;j.open("HEAD",z,!1);try{j.send()}catch{}return 200<=j.status&&299>=j.status}function se(z){try{z.dispatchEvent(new MouseEvent("click"))}catch{var j=document.createEvent("MouseEvents");j.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),z.dispatchEvent(j)}}var te="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,de=te.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),ce=te.saveAs||("object"!=typeof window||window!==te?function(){}:"download"in HTMLAnchorElement.prototype&&!de?function(z,j,W){var ne=te.URL||te.webkitURL,le=document.createElement("a");le.download=j=j||z.name||"download",le.rel="noopener","string"==typeof z?(le.href=z,le.origin===location.origin?se(le):ae(le.href)?Ee(z,j,W):se(le,le.target="_blank")):(le.href=ne.createObjectURL(z),setTimeout(function(){ne.revokeObjectURL(le.href)},4e4),setTimeout(function(){se(le)},0))}:"msSaveOrOpenBlob"in navigator?function(z,j,W){if(j=j||z.name||"download","string"!=typeof z)navigator.msSaveOrOpenBlob(function De(z,j){return typeof j>"u"?j={autoBom:!1}:"object"!=typeof j&&(console.warn("Deprecated: Expected third argument to be a object"),j={autoBom:!j}),j.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(z.type)?new Blob(["\ufeff",z],{type:z.type}):z}(z,W),j);else if(ae(z))Ee(z,j,W);else{var ne=document.createElement("a");ne.href=z,ne.target="_blank",setTimeout(function(){se(ne)})}}:function(z,j,W,ne){if((ne=ne||open("","_blank"))&&(ne.document.title=ne.document.body.innerText="downloading..."),"string"==typeof z)return Ee(z,j,W);var le="application/octet-stream"===z.type,ie=/constructor/i.test(te.HTMLElement)||te.safari,ge=/CriOS\/[\d]+/.test(navigator.userAgent);if((ge||le&&ie||de)&&typeof FileReader<"u"){var B=new FileReader;B.onloadend=function(){var J=B.result;J=ge?J:J.replace(/^data:[^;]*;/,"data:attachment/file;"),ne?ne.location.href=J:location=J,ne=null},B.readAsDataURL(z)}else{var Z=te.URL||te.webkitURL,re=Z.createObjectURL(z);ne?ne.location=re:location.href=re,ne=null,setTimeout(function(){Z.revokeObjectURL(re)},4e4)}});te.saveAs=ce.saveAs=ce,et.exports=ce})?v.apply(Me,[]):v)&&(et.exports=o)},1625:(et,Me,v)=>{"use strict";v.d(Me,{X:()=>o});var h=v(9453);class o extends h.x{constructor(Ee){super(),this._value=Ee}get value(){return this.getValue()}_subscribe(Ee){const ae=super._subscribe(Ee);return!ae.closed&&Ee.next(this._value),ae}getValue(){const{hasError:Ee,thrownError:ae,_value:se}=this;if(Ee)throw ae;return this._throwIfClosed(),se}next(Ee){super.next(this._value=Ee)}}},7371:(et,Me,v)=>{"use strict";v.d(Me,{y:()=>z});var h=v(9224),o=v(9592),De=v(7878),Ee=v(2390);var te=v(6786),de=v(3276),ce=v(1685);let z=(()=>{class le{constructor(ge){ge&&(this._subscribe=ge)}lift(ge){const B=new le;return B.source=this,B.operator=ge,B}subscribe(ge,B,Z){const re=function ne(le){return le&&le instanceof h.Lv||function W(le){return le&&(0,de.m)(le.next)&&(0,de.m)(le.error)&&(0,de.m)(le.complete)}(le)&&(0,o.Nn)(le)}(ge)?ge:new h.Hp(ge,B,Z);return(0,ce.x)(()=>{const{operator:J,source:H}=this;re.add(J?J.call(re,H):H?this._subscribe(re):this._trySubscribe(re))}),re}_trySubscribe(ge){try{return this._subscribe(ge)}catch(B){ge.error(B)}}forEach(ge,B){return new(B=j(B))((Z,re)=>{const J=new h.Hp({next:H=>{try{ge(H)}catch(Se){re(Se),J.unsubscribe()}},error:re,complete:Z});this.subscribe(J)})}_subscribe(ge){var B;return null===(B=this.source)||void 0===B?void 0:B.subscribe(ge)}[De.L](){return this}pipe(...ge){return function se(le){return 0===le.length?Ee.y:1===le.length?le[0]:function(ge){return le.reduce((B,Z)=>Z(B),ge)}}(ge)(this)}toPromise(ge){return new(ge=j(ge))((B,Z)=>{let re;this.subscribe(J=>re=J,J=>Z(J),()=>B(re))})}}return le.create=ie=>new le(ie),le})();function j(le){var ie;return null!==(ie=le??te.config.Promise)&&void 0!==ie?ie:Promise}},9453:(et,Me,v)=>{"use strict";v.d(Me,{x:()=>te});var h=v(7371),o=v(9592);const Ee=(0,v(3374).d)(ce=>function(){ce(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ae=v(7352),se=v(1685);let te=(()=>{class ce extends h.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(j){const W=new de(this,this);return W.operator=j,W}_throwIfClosed(){if(this.closed)throw new Ee}next(j){(0,se.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const W of this.currentObservers)W.next(j)}})}error(j){(0,se.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=j;const{observers:W}=this;for(;W.length;)W.shift().error(j)}})}complete(){(0,se.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:j}=this;for(;j.length;)j.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var j;return(null===(j=this.observers)||void 0===j?void 0:j.length)>0}_trySubscribe(j){return this._throwIfClosed(),super._trySubscribe(j)}_subscribe(j){return this._throwIfClosed(),this._checkFinalizedStatuses(j),this._innerSubscribe(j)}_innerSubscribe(j){const{hasError:W,isStopped:ne,observers:le}=this;return W||ne?o.Lc:(this.currentObservers=null,le.push(j),new o.w0(()=>{this.currentObservers=null,(0,ae.P)(le,j)}))}_checkFinalizedStatuses(j){const{hasError:W,thrownError:ne,isStopped:le}=this;W?j.error(ne):le&&j.complete()}asObservable(){const j=new h.y;return j.source=this,j}}return ce.create=(z,j)=>new de(z,j),ce})();class de extends te{constructor(z,j){super(),this.destination=z,this.source=j}next(z){var j,W;null===(W=null===(j=this.destination)||void 0===j?void 0:j.next)||void 0===W||W.call(j,z)}error(z){var j,W;null===(W=null===(j=this.destination)||void 0===j?void 0:j.error)||void 0===W||W.call(j,z)}complete(){var z,j;null===(j=null===(z=this.destination)||void 0===z?void 0:z.complete)||void 0===j||j.call(z)}_subscribe(z){var j,W;return null!==(W=null===(j=this.source)||void 0===j?void 0:j.subscribe(z))&&void 0!==W?W:o.Lc}}},9224:(et,Me,v)=>{"use strict";v.d(Me,{Hp:()=>ge,Lv:()=>W});var h=v(3276),o=v(9592),De=v(6786),Ee=v(5625),ae=v(1952);const se=ce("C",void 0,void 0);function ce(H,Se,xe){return{kind:H,value:Se,error:xe}}var z=v(1296),j=v(1685);class W extends o.w0{constructor(Se){super(),this.isStopped=!1,Se?(this.destination=Se,(0,o.Nn)(Se)&&Se.add(this)):this.destination=J}static create(Se,xe,He){return new ge(Se,xe,He)}next(Se){this.isStopped?re(function de(H){return ce("N",H,void 0)}(Se),this):this._next(Se)}error(Se){this.isStopped?re(function te(H){return ce("E",void 0,H)}(Se),this):(this.isStopped=!0,this._error(Se))}complete(){this.isStopped?re(se,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Se){this.destination.next(Se)}_error(Se){try{this.destination.error(Se)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ne=Function.prototype.bind;function le(H,Se){return ne.call(H,Se)}class ie{constructor(Se){this.partialObserver=Se}next(Se){const{partialObserver:xe}=this;if(xe.next)try{xe.next(Se)}catch(He){B(He)}}error(Se){const{partialObserver:xe}=this;if(xe.error)try{xe.error(Se)}catch(He){B(He)}else B(Se)}complete(){const{partialObserver:Se}=this;if(Se.complete)try{Se.complete()}catch(xe){B(xe)}}}class ge extends W{constructor(Se,xe,He){let Ne;if(super(),(0,h.m)(Se)||!Se)Ne={next:Se??void 0,error:xe??void 0,complete:He??void 0};else{let Pe;this&&De.config.useDeprecatedNextContext?(Pe=Object.create(Se),Pe.unsubscribe=()=>this.unsubscribe(),Ne={next:Se.next&&le(Se.next,Pe),error:Se.error&&le(Se.error,Pe),complete:Se.complete&&le(Se.complete,Pe)}):Ne=Se}this.destination=new ie(Ne)}}function B(H){De.config.useDeprecatedSynchronousErrorHandling?(0,j.O)(H):(0,Ee.h)(H)}function re(H,Se){const{onStoppedNotification:xe}=De.config;xe&&z.z.setTimeout(()=>xe(H,Se))}const J={closed:!0,next:ae.Z,error:function Z(H){throw H},complete:ae.Z}},9592:(et,Me,v)=>{"use strict";v.d(Me,{Lc:()=>se,w0:()=>ae,Nn:()=>te});var h=v(3276);const De=(0,v(3374).d)(ce=>function(j){ce(this),this.message=j?`${j.length} errors occurred during unsubscription:\n${j.map((W,ne)=>`${ne+1}) ${W.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=j});var Ee=v(7352);class ae{constructor(z){this.initialTeardown=z,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let z;if(!this.closed){this.closed=!0;const{_parentage:j}=this;if(j)if(this._parentage=null,Array.isArray(j))for(const le of j)le.remove(this);else j.remove(this);const{initialTeardown:W}=this;if((0,h.m)(W))try{W()}catch(le){z=le instanceof De?le.errors:[le]}const{_finalizers:ne}=this;if(ne){this._finalizers=null;for(const le of ne)try{de(le)}catch(ie){z=z??[],ie instanceof De?z=[...z,...ie.errors]:z.push(ie)}}if(z)throw new De(z)}}add(z){var j;if(z&&z!==this)if(this.closed)de(z);else{if(z instanceof ae){if(z.closed||z._hasParent(this))return;z._addParent(this)}(this._finalizers=null!==(j=this._finalizers)&&void 0!==j?j:[]).push(z)}}_hasParent(z){const{_parentage:j}=this;return j===z||Array.isArray(j)&&j.includes(z)}_addParent(z){const{_parentage:j}=this;this._parentage=Array.isArray(j)?(j.push(z),j):j?[j,z]:z}_removeParent(z){const{_parentage:j}=this;j===z?this._parentage=null:Array.isArray(j)&&(0,Ee.P)(j,z)}remove(z){const{_finalizers:j}=this;j&&(0,Ee.P)(j,z),z instanceof ae&&z._removeParent(this)}}ae.EMPTY=(()=>{const ce=new ae;return ce.closed=!0,ce})();const se=ae.EMPTY;function te(ce){return ce instanceof ae||ce&&"closed"in ce&&(0,h.m)(ce.remove)&&(0,h.m)(ce.add)&&(0,h.m)(ce.unsubscribe)}function de(ce){(0,h.m)(ce)?ce():ce.unsubscribe()}},6786:(et,Me,v)=>{"use strict";v.d(Me,{config:()=>h});const h={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9925:(et,Me,v)=>{"use strict";v.d(Me,{z:()=>ae});var h=v(5326),De=v(177),Ee=v(107);function ae(...se){return function o(){return(0,h.J)(1)}()((0,Ee.D)(se,(0,De.yG)(se)))}},8025:(et,Me,v)=>{"use strict";v.d(Me,{E:()=>o});const o=new(v(7371).y)(ae=>ae.complete())},6312:(et,Me,v)=>{"use strict";v.d(Me,{D:()=>de});var h=v(7371),o=v(1003),De=v(8299),Ee=v(177),ae=v(2829),se=v(4574),te=v(5017);function de(...ce){const z=(0,Ee.jO)(ce),{args:j,keys:W}=(0,o.D)(ce),ne=new h.y(le=>{const{length:ie}=j;if(!ie)return void le.complete();const ge=new Array(ie);let B=ie,Z=ie;for(let re=0;re<ie;re++){let J=!1;(0,De.Xf)(j[re]).subscribe((0,ae.x)(le,H=>{J||(J=!0,Z--),ge[re]=H},()=>B--,void 0,()=>{(!B||!J)&&(Z||le.next(W?(0,te.n)(W,ge):ge),le.complete())}))}});return z?ne.pipe((0,se.Z)(z)):ne}},107:(et,Me,v)=>{"use strict";v.d(Me,{D:()=>He});var h=v(8299),o=v(8382),De=v(4049),Ee=v(2829);function ae(Ne,Pe=0){return(0,De.e)((ct,me)=>{ct.subscribe((0,Ee.x)(me,Ke=>(0,o.f)(me,Ne,()=>me.next(Ke),Pe),()=>(0,o.f)(me,Ne,()=>me.complete(),Pe),Ke=>(0,o.f)(me,Ne,()=>me.error(Ke),Pe)))})}function se(Ne,Pe=0){return(0,De.e)((ct,me)=>{me.add(Ne.schedule(()=>ct.subscribe(me),Pe))})}var ce=v(7371),j=v(8279),W=v(3276);function le(Ne,Pe){if(!Ne)throw new Error("Iterable cannot be null");return new ce.y(ct=>{(0,o.f)(ct,Pe,()=>{const me=Ne[Symbol.asyncIterator]();(0,o.f)(ct,Pe,()=>{me.next().then(Ke=>{Ke.done?ct.complete():ct.next(Ke.value)})},0,!0)})})}var ie=v(8620),ge=v(2753),B=v(4936),Z=v(5074),re=v(5e3),J=v(1380),H=v(3130);function He(Ne,Pe){return Pe?function xe(Ne,Pe){if(null!=Ne){if((0,ie.c)(Ne))return function te(Ne,Pe){return(0,h.Xf)(Ne).pipe(se(Pe),ae(Pe))}(Ne,Pe);if((0,B.z)(Ne))return function z(Ne,Pe){return new ce.y(ct=>{let me=0;return Pe.schedule(function(){me===Ne.length?ct.complete():(ct.next(Ne[me++]),ct.closed||this.schedule())})})}(Ne,Pe);if((0,ge.t)(Ne))return function de(Ne,Pe){return(0,h.Xf)(Ne).pipe(se(Pe),ae(Pe))}(Ne,Pe);if((0,re.D)(Ne))return le(Ne,Pe);if((0,Z.T)(Ne))return function ne(Ne,Pe){return new ce.y(ct=>{let me;return(0,o.f)(ct,Pe,()=>{me=Ne[j.h](),(0,o.f)(ct,Pe,()=>{let Ke,ve;try{({value:Ke,done:ve}=me.next())}catch(je){return void ct.error(je)}ve?ct.complete():ct.next(Ke)},0,!0)}),()=>(0,W.m)(me?.return)&&me.return()})}(Ne,Pe);if((0,H.L)(Ne))return function Se(Ne,Pe){return le((0,H.Q)(Ne),Pe)}(Ne,Pe)}throw(0,J.z)(Ne)}(Ne,Pe):(0,h.Xf)(Ne)}},6058:(et,Me,v)=>{"use strict";v.d(Me,{R:()=>z});var h=v(8299),o=v(7371),De=v(5123),Ee=v(4936),ae=v(3276),se=v(4574);const te=["addListener","removeListener"],de=["addEventListener","removeEventListener"],ce=["on","off"];function z(ie,ge,B,Z){if((0,ae.m)(B)&&(Z=B,B=void 0),Z)return z(ie,ge,B).pipe((0,se.Z)(Z));const[re,J]=function le(ie){return(0,ae.m)(ie.addEventListener)&&(0,ae.m)(ie.removeEventListener)}(ie)?de.map(H=>Se=>ie[H](ge,Se,B)):function W(ie){return(0,ae.m)(ie.addListener)&&(0,ae.m)(ie.removeListener)}(ie)?te.map(j(ie,ge)):function ne(ie){return(0,ae.m)(ie.on)&&(0,ae.m)(ie.off)}(ie)?ce.map(j(ie,ge)):[];if(!re&&(0,Ee.z)(ie))return(0,De.z)(H=>z(H,ge,B))((0,h.Xf)(ie));if(!re)throw new TypeError("Invalid event target");return new o.y(H=>{const Se=(...xe)=>H.next(1<xe.length?xe:xe[0]);return re(Se),()=>J(Se)})}function j(ie,ge){return B=>Z=>ie[B](ge,Z)}},8299:(et,Me,v)=>{"use strict";v.d(Me,{Xf:()=>ne});var h=v(2970),o=v(4936),De=v(2753),Ee=v(7371),ae=v(8620),se=v(5e3),te=v(1380),de=v(5074),ce=v(3130),z=v(3276),j=v(5625),W=v(7878);function ne(H){if(H instanceof Ee.y)return H;if(null!=H){if((0,ae.c)(H))return function le(H){return new Ee.y(Se=>{const xe=H[W.L]();if((0,z.m)(xe.subscribe))return xe.subscribe(Se);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(H);if((0,o.z)(H))return function ie(H){return new Ee.y(Se=>{for(let xe=0;xe<H.length&&!Se.closed;xe++)Se.next(H[xe]);Se.complete()})}(H);if((0,De.t)(H))return function ge(H){return new Ee.y(Se=>{H.then(xe=>{Se.closed||(Se.next(xe),Se.complete())},xe=>Se.error(xe)).then(null,j.h)})}(H);if((0,se.D)(H))return Z(H);if((0,de.T)(H))return function B(H){return new Ee.y(Se=>{for(const xe of H)if(Se.next(xe),Se.closed)return;Se.complete()})}(H);if((0,ce.L)(H))return function re(H){return Z((0,ce.Q)(H))}(H)}throw(0,te.z)(H)}function Z(H){return new Ee.y(Se=>{(function J(H,Se){var xe,He,Ne,Pe;return(0,h.mG)(this,void 0,void 0,function*(){try{for(xe=(0,h.KL)(H);!(He=yield xe.next()).done;)if(Se.next(He.value),Se.closed)return}catch(ct){Ne={error:ct}}finally{try{He&&!He.done&&(Pe=xe.return)&&(yield Pe.call(xe))}finally{if(Ne)throw Ne.error}}Se.complete()})})(H,Se).catch(xe=>Se.error(xe))})}},4991:(et,Me,v)=>{"use strict";v.d(Me,{T:()=>se});var h=v(5326),o=v(8299),De=v(8025),Ee=v(177),ae=v(107);function se(...te){const de=(0,Ee.yG)(te),ce=(0,Ee._6)(te,1/0),z=te;return z.length?1===z.length?(0,o.Xf)(z[0]):(0,h.J)(ce)((0,ae.D)(z,de)):De.E}},9627:(et,Me,v)=>{"use strict";v.d(Me,{of:()=>De});var h=v(177),o=v(107);function De(...Ee){const ae=(0,h.yG)(Ee);return(0,o.D)(Ee,ae)}},5117:(et,Me,v)=>{"use strict";v.d(Me,{H:()=>ae});var h=v(7371),o=v(6589),De=v(3946);function ae(se=0,te,de=o.P){let ce=-1;return null!=te&&((0,De.K)(te)?de=te:ce=te),new h.y(z=>{let j=function Ee(se){return se instanceof Date&&!isNaN(se)}(se)?+se-de.now():se;j<0&&(j=0);let W=0;return de.schedule(function(){z.closed||(z.next(W++),0<=ce?this.schedule(void 0,ce):z.complete())},j)})}},2829:(et,Me,v)=>{"use strict";v.d(Me,{x:()=>o});var h=v(9224);function o(Ee,ae,se,te,de){return new De(Ee,ae,se,te,de)}class De extends h.Lv{constructor(ae,se,te,de,ce,z){super(ae),this.onFinalize=ce,this.shouldUnsubscribe=z,this._next=se?function(j){try{se(j)}catch(W){ae.error(W)}}:super._next,this._error=de?function(j){try{de(j)}catch(W){ae.error(W)}finally{this.unsubscribe()}}:super._error,this._complete=te?function(){try{te()}catch(j){ae.error(j)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var ae;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:se}=this;super.unsubscribe(),!se&&(null===(ae=this.onFinalize)||void 0===ae||ae.call(this))}}}},2067:(et,Me,v)=>{"use strict";v.d(Me,{b:()=>Ee});var h=v(6589),o=v(4049),De=v(2829);function Ee(ae,se=h.z){return(0,o.e)((te,de)=>{let ce=null,z=null,j=null;const W=()=>{if(ce){ce.unsubscribe(),ce=null;const le=z;z=null,de.next(le)}};function ne(){const le=j+ae,ie=se.now();if(ie<le)return ce=this.schedule(void 0,le-ie),void de.add(ce);W()}te.subscribe((0,De.x)(de,le=>{z=le,j=se.now(),ce||(ce=se.schedule(ne,ae),de.add(ce))},()=>{W(),de.complete()},void 0,()=>{z=ce=null}))})}},4263:(et,Me,v)=>{"use strict";v.d(Me,{x:()=>Ee});var h=v(2390),o=v(4049),De=v(2829);function Ee(se,te=h.y){return se=se??ae,(0,o.e)((de,ce)=>{let z,j=!0;de.subscribe((0,De.x)(ce,W=>{const ne=te(W);(j||!se(z,ne))&&(j=!1,z=ne,ce.next(W))}))})}function ae(se,te){return se===te}},1497:(et,Me,v)=>{"use strict";v.d(Me,{h:()=>De});var h=v(4049),o=v(2829);function De(Ee,ae){return(0,h.e)((se,te)=>{let de=0;se.subscribe((0,o.x)(te,ce=>Ee.call(ae,ce,de++)&&te.next(ce)))})}},1927:(et,Me,v)=>{"use strict";v.d(Me,{x:()=>o});var h=v(4049);function o(De){return(0,h.e)((Ee,ae)=>{try{Ee.subscribe(ae)}finally{ae.add(De)}})}},8412:(et,Me,v)=>{"use strict";v.d(Me,{U:()=>De});var h=v(4049),o=v(2829);function De(Ee,ae){return(0,h.e)((se,te)=>{let de=0;se.subscribe((0,o.x)(te,ce=>{te.next(Ee.call(ae,ce,de++))}))})}},5326:(et,Me,v)=>{"use strict";v.d(Me,{J:()=>De});var h=v(5123),o=v(2390);function De(Ee=1/0){return(0,h.z)(o.y,Ee)}},5123:(et,Me,v)=>{"use strict";v.d(Me,{z:()=>de});var h=v(8412),o=v(8299),De=v(4049),Ee=v(8382),ae=v(2829),te=v(3276);function de(ce,z,j=1/0){return(0,te.m)(z)?de((W,ne)=>(0,h.U)((le,ie)=>z(W,le,ne,ie))((0,o.Xf)(ce(W,ne))),j):("number"==typeof z&&(j=z),(0,De.e)((W,ne)=>function se(ce,z,j,W,ne,le,ie,ge){const B=[];let Z=0,re=0,J=!1;const H=()=>{J&&!B.length&&!Z&&z.complete()},Se=He=>Z<W?xe(He):B.push(He),xe=He=>{le&&z.next(He),Z++;let Ne=!1;(0,o.Xf)(j(He,re++)).subscribe((0,ae.x)(z,Pe=>{ne?.(Pe),le?Se(Pe):z.next(Pe)},()=>{Ne=!0},void 0,()=>{if(Ne)try{for(Z--;B.length&&Z<W;){const Pe=B.shift();ie?(0,Ee.f)(z,ie,()=>xe(Pe)):xe(Pe)}H()}catch(Pe){z.error(Pe)}}))};return ce.subscribe((0,ae.x)(z,Se,()=>{J=!0,H()})),()=>{ge?.()}}(W,ne,ce,j)))}},3949:(et,Me,v)=>{"use strict";v.d(Me,{B:()=>ae});var h=v(8299),o=v(9453),De=v(9224),Ee=v(4049);function ae(te={}){const{connector:de=(()=>new o.x),resetOnError:ce=!0,resetOnComplete:z=!0,resetOnRefCountZero:j=!0}=te;return W=>{let ne,le,ie,ge=0,B=!1,Z=!1;const re=()=>{le?.unsubscribe(),le=void 0},J=()=>{re(),ne=ie=void 0,B=Z=!1},H=()=>{const Se=ne;J(),Se?.unsubscribe()};return(0,Ee.e)((Se,xe)=>{ge++,!Z&&!B&&re();const He=ie=ie??de();xe.add(()=>{ge--,0===ge&&!Z&&!B&&(le=se(H,j))}),He.subscribe(xe),!ne&&ge>0&&(ne=new De.Hp({next:Ne=>He.next(Ne),error:Ne=>{Z=!0,re(),le=se(J,ce,Ne),He.error(Ne)},complete:()=>{B=!0,re(),le=se(J,z),He.complete()}}),(0,h.Xf)(Se).subscribe(ne))})(W)}}function se(te,de,...ce){if(!0===de)return void te();if(!1===de)return;const z=new De.Hp({next:()=>{z.unsubscribe(),te()}});return(0,h.Xf)(de(...ce)).subscribe(z)}},1800:(et,Me,v)=>{"use strict";v.d(Me,{T:()=>o});var h=v(1497);function o(De){return(0,h.h)((Ee,ae)=>De<=ae)}},19:(et,Me,v)=>{"use strict";v.d(Me,{O:()=>Ee});var h=v(9925),o=v(177),De=v(4049);function Ee(...ae){const se=(0,o.yG)(ae);return(0,De.e)((te,de)=>{(se?(0,h.z)(ae,te,se):(0,h.z)(ae,te)).subscribe(de)})}},2835:(et,Me,v)=>{"use strict";v.d(Me,{w:()=>Ee});var h=v(8299),o=v(4049),De=v(2829);function Ee(ae,se){return(0,o.e)((te,de)=>{let ce=null,z=0,j=!1;const W=()=>j&&!ce&&de.complete();te.subscribe((0,De.x)(de,ne=>{ce?.unsubscribe();let le=0;const ie=z++;(0,h.Xf)(ae(ne,ie)).subscribe(ce=(0,De.x)(de,ge=>de.next(se?se(ne,ge,ie,le++):ge),()=>{ce=null,W()}))},()=>{j=!0,W()}))})}},3581:(et,Me,v)=>{"use strict";v.d(Me,{q:()=>Ee});var h=v(8025),o=v(4049),De=v(2829);function Ee(ae){return ae<=0?()=>h.E:(0,o.e)((se,te)=>{let de=0;se.subscribe((0,De.x)(te,ce=>{++de<=ae&&(te.next(ce),ae<=de&&te.complete())}))})}},5779:(et,Me,v)=>{"use strict";v.d(Me,{R:()=>ae});var h=v(4049),o=v(2829),De=v(8299),Ee=v(1952);function ae(se){return(0,h.e)((te,de)=>{(0,De.Xf)(se).subscribe((0,o.x)(de,()=>de.complete(),Ee.Z)),!de.closed&&te.subscribe(de)})}},4104:(et,Me,v)=>{"use strict";v.d(Me,{b:()=>ae});var h=v(3276),o=v(4049),De=v(2829),Ee=v(2390);function ae(se,te,de){const ce=(0,h.m)(se)||te||de?{next:se,error:te,complete:de}:se;return ce?(0,o.e)((z,j)=>{var W;null===(W=ce.subscribe)||void 0===W||W.call(ce);let ne=!0;z.subscribe((0,De.x)(j,le=>{var ie;null===(ie=ce.next)||void 0===ie||ie.call(ce,le),j.next(le)},()=>{var le;ne=!1,null===(le=ce.complete)||void 0===le||le.call(ce),j.complete()},le=>{var ie;ne=!1,null===(ie=ce.error)||void 0===ie||ie.call(ce,le),j.error(le)},()=>{var le,ie;ne&&(null===(le=ce.unsubscribe)||void 0===le||le.call(ce)),null===(ie=ce.finalize)||void 0===ie||ie.call(ce)}))}):Ee.y}},2290:(et,Me,v)=>{"use strict";v.d(Me,{o:()=>ae});var h=v(9592);class o extends h.w0{constructor(te,de){super()}schedule(te,de=0){return this}}const De={setInterval(se,te,...de){const{delegate:ce}=De;return ce?.setInterval?ce.setInterval(se,te,...de):setInterval(se,te,...de)},clearInterval(se){const{delegate:te}=De;return(te?.clearInterval||clearInterval)(se)},delegate:void 0};var Ee=v(7352);class ae extends o{constructor(te,de){super(te,de),this.scheduler=te,this.work=de,this.pending=!1}schedule(te,de=0){var ce;if(this.closed)return this;this.state=te;const z=this.id,j=this.scheduler;return null!=z&&(this.id=this.recycleAsyncId(j,z,de)),this.pending=!0,this.delay=de,this.id=null!==(ce=this.id)&&void 0!==ce?ce:this.requestAsyncId(j,this.id,de),this}requestAsyncId(te,de,ce=0){return De.setInterval(te.flush.bind(te,this),ce)}recycleAsyncId(te,de,ce=0){if(null!=ce&&this.delay===ce&&!1===this.pending)return de;null!=de&&De.clearInterval(de)}execute(te,de){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ce=this._execute(te,de);if(ce)return ce;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(te,de){let z,ce=!1;try{this.work(te)}catch(j){ce=!0,z=j||new Error("Scheduled action threw falsy error")}if(ce)return this.unsubscribe(),z}unsubscribe(){if(!this.closed){const{id:te,scheduler:de}=this,{actions:ce}=de;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Ee.P)(ce,this),null!=te&&(this.id=this.recycleAsyncId(de,te,null)),this.delay=null,super.unsubscribe()}}}},5349:(et,Me,v)=>{"use strict";v.d(Me,{v:()=>De});const h={now:()=>(h.delegate||Date).now(),delegate:void 0};class o{constructor(ae,se=o.now){this.schedulerActionCtor=ae,this.now=se}schedule(ae,se=0,te){return new this.schedulerActionCtor(this,ae).schedule(te,se)}}o.now=h.now;class De extends o{constructor(ae,se=o.now){super(ae,se),this.actions=[],this._active=!1}flush(ae){const{actions:se}=this;if(this._active)return void se.push(ae);let te;this._active=!0;do{if(te=ae.execute(ae.state,ae.delay))break}while(ae=se.shift());if(this._active=!1,te){for(;ae=se.shift();)ae.unsubscribe();throw te}}}},4453:(et,Me,v)=>{"use strict";v.d(Me,{E:()=>le});var h=v(2290);let De,o=1;const Ee={};function ae(ge){return ge in Ee&&(delete Ee[ge],!0)}const se={setImmediate(ge){const B=o++;return Ee[B]=!0,De||(De=Promise.resolve()),De.then(()=>ae(B)&&ge()),B},clearImmediate(ge){ae(ge)}},{setImmediate:de,clearImmediate:ce}=se,z={setImmediate(...ge){const{delegate:B}=z;return(B?.setImmediate||de)(...ge)},clearImmediate(ge){const{delegate:B}=z;return(B?.clearImmediate||ce)(ge)},delegate:void 0};var W=v(5349);const le=new class ne extends W.v{flush(B){this._active=!0;const Z=this._scheduled;this._scheduled=void 0;const{actions:re}=this;let J;B=B||re.shift();do{if(J=B.execute(B.state,B.delay))break}while((B=re[0])&&B.id===Z&&re.shift());if(this._active=!1,J){for(;(B=re[0])&&B.id===Z&&re.shift();)B.unsubscribe();throw J}}}(class j extends h.o{constructor(B,Z){super(B,Z),this.scheduler=B,this.work=Z}requestAsyncId(B,Z,re=0){return null!==re&&re>0?super.requestAsyncId(B,Z,re):(B.actions.push(this),B._scheduled||(B._scheduled=z.setImmediate(B.flush.bind(B,void 0))))}recycleAsyncId(B,Z,re=0){var J;if(null!=re?re>0:this.delay>0)return super.recycleAsyncId(B,Z,re);const{actions:H}=B;null!=Z&&(null===(J=H[H.length-1])||void 0===J?void 0:J.id)!==Z&&(z.clearImmediate(Z),B._scheduled===Z&&(B._scheduled=void 0))}})},6589:(et,Me,v)=>{"use strict";v.d(Me,{P:()=>Ee,z:()=>De});var h=v(2290);const De=new(v(5349).v)(h.o),Ee=De},1296:(et,Me,v)=>{"use strict";v.d(Me,{z:()=>h});const h={setTimeout(o,De,...Ee){const{delegate:ae}=h;return ae?.setTimeout?ae.setTimeout(o,De,...Ee):setTimeout(o,De,...Ee)},clearTimeout(o){const{delegate:De}=h;return(De?.clearTimeout||clearTimeout)(o)},delegate:void 0}},8279:(et,Me,v)=>{"use strict";v.d(Me,{h:()=>o});const o=function h(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},7878:(et,Me,v)=>{"use strict";v.d(Me,{L:()=>h});const h="function"==typeof Symbol&&Symbol.observable||"@@observable"},177:(et,Me,v)=>{"use strict";v.d(Me,{_6:()=>se,jO:()=>Ee,yG:()=>ae});var h=v(3276),o=v(3946);function De(te){return te[te.length-1]}function Ee(te){return(0,h.m)(De(te))?te.pop():void 0}function ae(te){return(0,o.K)(De(te))?te.pop():void 0}function se(te,de){return"number"==typeof De(te)?te.pop():de}},1003:(et,Me,v)=>{"use strict";v.d(Me,{D:()=>ae});const{isArray:h}=Array,{getPrototypeOf:o,prototype:De,keys:Ee}=Object;function ae(te){if(1===te.length){const de=te[0];if(h(de))return{args:de,keys:null};if(function se(te){return te&&"object"==typeof te&&o(te)===De}(de)){const ce=Ee(de);return{args:ce.map(z=>de[z]),keys:ce}}}return{args:te,keys:null}}},7352:(et,Me,v)=>{"use strict";function h(o,De){if(o){const Ee=o.indexOf(De);0<=Ee&&o.splice(Ee,1)}}v.d(Me,{P:()=>h})},3374:(et,Me,v)=>{"use strict";function h(o){const Ee=o(ae=>{Error.call(ae),ae.stack=(new Error).stack});return Ee.prototype=Object.create(Error.prototype),Ee.prototype.constructor=Ee,Ee}v.d(Me,{d:()=>h})},5017:(et,Me,v)=>{"use strict";function h(o,De){return o.reduce((Ee,ae,se)=>(Ee[ae]=De[se],Ee),{})}v.d(Me,{n:()=>h})},1685:(et,Me,v)=>{"use strict";v.d(Me,{O:()=>Ee,x:()=>De});var h=v(6786);let o=null;function De(ae){if(h.config.useDeprecatedSynchronousErrorHandling){const se=!o;if(se&&(o={errorThrown:!1,error:null}),ae(),se){const{errorThrown:te,error:de}=o;if(o=null,te)throw de}}else ae()}function Ee(ae){h.config.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=ae)}},8382:(et,Me,v)=>{"use strict";function h(o,De,Ee,ae=0,se=!1){const te=De.schedule(function(){Ee(),se?o.add(this.schedule(null,ae)):this.unsubscribe()},ae);if(o.add(te),!se)return te}v.d(Me,{f:()=>h})},2390:(et,Me,v)=>{"use strict";function h(o){return o}v.d(Me,{y:()=>h})},4936:(et,Me,v)=>{"use strict";v.d(Me,{z:()=>h});const h=o=>o&&"number"==typeof o.length&&"function"!=typeof o},5e3:(et,Me,v)=>{"use strict";v.d(Me,{D:()=>o});var h=v(3276);function o(De){return Symbol.asyncIterator&&(0,h.m)(De?.[Symbol.asyncIterator])}},3276:(et,Me,v)=>{"use strict";function h(o){return"function"==typeof o}v.d(Me,{m:()=>h})},8620:(et,Me,v)=>{"use strict";v.d(Me,{c:()=>De});var h=v(7878),o=v(3276);function De(Ee){return(0,o.m)(Ee[h.L])}},5074:(et,Me,v)=>{"use strict";v.d(Me,{T:()=>De});var h=v(8279),o=v(3276);function De(Ee){return(0,o.m)(Ee?.[h.h])}},2753:(et,Me,v)=>{"use strict";v.d(Me,{t:()=>o});var h=v(3276);function o(De){return(0,h.m)(De?.then)}},3130:(et,Me,v)=>{"use strict";v.d(Me,{L:()=>Ee,Q:()=>De});var h=v(2970),o=v(3276);function De(ae){return(0,h.FC)(this,arguments,function*(){const te=ae.getReader();try{for(;;){const{value:de,done:ce}=yield(0,h.qq)(te.read());if(ce)return yield(0,h.qq)(void 0);yield yield(0,h.qq)(de)}}finally{te.releaseLock()}})}function Ee(ae){return(0,o.m)(ae?.getReader)}},3946:(et,Me,v)=>{"use strict";v.d(Me,{K:()=>o});var h=v(3276);function o(De){return De&&(0,h.m)(De.schedule)}},4049:(et,Me,v)=>{"use strict";v.d(Me,{A:()=>o,e:()=>De});var h=v(3276);function o(Ee){return(0,h.m)(Ee?.lift)}function De(Ee){return ae=>{if(o(ae))return ae.lift(function(se){try{return Ee(se,this)}catch(te){this.error(te)}});throw new TypeError("Unable to lift unknown Observable type")}}},4574:(et,Me,v)=>{"use strict";v.d(Me,{Z:()=>Ee});var h=v(8412);const{isArray:o}=Array;function Ee(ae){return(0,h.U)(se=>function De(ae,se){return o(se)?ae(...se):ae(se)}(ae,se))}},1952:(et,Me,v)=>{"use strict";function h(){}v.d(Me,{Z:()=>h})},5625:(et,Me,v)=>{"use strict";v.d(Me,{h:()=>De});var h=v(6786),o=v(1296);function De(Ee){o.z.setTimeout(()=>{const{onUnhandledError:ae}=h.config;if(!ae)throw Ee;ae(Ee)})}},1380:(et,Me,v)=>{"use strict";function h(o){return new TypeError(`You provided ${null!==o&&"object"==typeof o?"an invalid object":`'${o}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}v.d(Me,{z:()=>h})},2973:(et,Me,v)=>{"use strict";v.d(Me,{Nn:()=>h,zG:()=>o,RJ:()=>ge});class h extends Error{get type(){return this.constructor.name}toJSON(){return{message:this.message,type:this.type}}}class o extends h{constructor(Z,re){super(Z),this.data=re}toJSON(){return{data:this.data,message:this.message,type:this.type}}}var De=v(5861),Ee=v(1505),ae=v.n(Ee);const se=["string","email","phone","html","xml"],te=["json","bool","url","int","uint","float","money","hex","uuid","base64","void",...se];class de extends Error{constructor(Z,re,J){let H;try{H=JSON.stringify(J)}catch{H=String(J)}super(`Invalid type at '${Z}', expected ${String(re)}, got ${H}`)}}function ce(B,Z,re){if("json"===Z)return null==re?null:JSON.parse(JSON.stringify(re));if("bool"===Z){if("boolean"!=typeof re)throw new de(B,Z,re);return re}if(se.indexOf(Z)>=0){if("string"!=typeof re)throw new de(B,Z,re);return re}if("hex"===Z){if("string"!=typeof re||!/^(?:[A-Fa-f0-9]{2})*$/u.test(re))throw new de(B,Z,re);return re.toLowerCase()}if("uuid"===Z){if("string"!=typeof re||!/^[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$/u.test(re))throw new de(B,Z,re);return re.toLowerCase()}if("base64"===Z){let J=!0;try{atob(re)}catch{J=!1}if("string"!=typeof re||!J)throw new de(B,Z,re);return re}if("int"===Z){if("number"!=typeof re||(0|re)!==re)throw new de(B,Z,re);return re}if("uint"===Z){if("number"!=typeof re||(0|re)!==re||re<0)throw new de(B,Z,re);return re}if("float"===Z){if("number"!=typeof re)throw new de(B,Z,re);return re}if("money"===Z){if("number"!=typeof re||!Number.isInteger(re))throw new de(B,Z,re);return re}if("url"===Z){let J;if("string"==typeof re)try{J=new URL(re)}catch{}if(!J)throw new de(B,Z,re);return J.toString()}if("void"===Z)return null;throw new Error(`Unknown type '${Z}' at '${B}'`)}function z(B,Z,re,J){if("string"==typeof re&&!re.endsWith("?")&&"void"!==re&&null==J)throw new Error(`Invalid type at '${Z}', cannot be null`);if(Array.isArray(re)){for(const H of re){if(H===J)return J;if(Array.isArray(J)&&2===J.length&&H===J[0])return J[0];if(Array.isArray(H)&&2===H.length){if(H[0]===J)return[J,z(B,`${Z}.${H[0]}`,H[1],{})];if(Array.isArray(J)&&2===J.length&&H[0]===J[0])return[J[0],z(B,`${Z}.${H[0]}`,H[1],J[1])]}}throw new de(Z,re,J)}if("object"==typeof re){if("object"!=typeof J)throw new de(Z,re,J);const H={};for(const Se of Object.keys(re))H[Se]=z(B,`${Z}.${Se}`,re[Se],J[Se]);return H}if(re.endsWith("?"))return null==J?null:z(B,Z,re.slice(0,re.length-1),J);if(re.endsWith("[]")){if(!Array.isArray(J))throw new de(Z,re,J);return J.map((H,Se)=>z(B,`${Z}[${Se}]`,re.slice(0,re.length-2),H))}if(te.indexOf(re)>=0)return ce(Z,re,J);if("bytes"===re){if(!(J instanceof ArrayBuffer))throw new de(Z,re,J);return btoa(String.fromCharCode(...new Uint8Array(J)))}if("bigint"===re){if("bigint"!=typeof J)throw new de(Z,re,J);return J.toString()}if("cpf"===re){if("string"!=typeof J)throw new de(Z,re,J);return J}if("cnpj"===re){if("string"!=typeof J)throw new de(Z,re,J);return J}if("date"===re){if((!(J instanceof Date)||isNaN(J.getTime()))&&("string"!=typeof J||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(J)))throw new de(Z,re,J);const H=J instanceof Date?J:new Date(J);return`${H.getFullYear().toString().padStart(4,"0")}-${(H.getMonth()+1).toString().padStart(2,"0")}-${H.getDate().toString().padStart(2,"0")}`}if("datetime"===re){if((!(J instanceof Date)||isNaN(J.getTime()))&&("string"!=typeof J||!/^[0-9]{4}-[01][0-9]-[0123][0-9]T[012][0-9]:[0123456][0-9]:[0123456][0-9](?:\.[0-9]{1,6})?(?:Z|[+-][012][0-9]:[0123456][0-9])?$/u.test(J)))throw new de(Z,re,J);return("string"==typeof J?new Date(J):J).toISOString().replace("Z","")}if("decimal"===re){if(!("number"==typeof J||"string"==typeof J&&/^-?[0-9]+(?:\.[0-9]+)?$/u.test(J)||J instanceof ae()))throw new de(Z,re,J);return new(ae())(J).toString()}{const H=B[re];if(H)return z(B,Z,H,J);throw new Error(`Unknown type '${re}' at '${Z}'`)}}function j(B,Z,re,J){if("string"==typeof re&&!re.endsWith("?")&&"void"!==re&&null==J)throw new Error(`Invalid type at '${Z}', cannot be null`);if(Array.isArray(re)){for(const H of re){if(H===J)return J;if(Array.isArray(J)&&2===J.length&&H===J[0])return J[0];if(Array.isArray(H)&&2===H.length){if(H[0]===J)return[J,j(B,`${Z}.${H[0]}`,H[1],{})];if(Array.isArray(J)&&2===J.length&&H[0]===J[0])return[J[0],j(B,`${Z}.${H[0]}`,H[1],J[1])]}}throw new de(Z,re,J)}if("object"==typeof re){if("object"!=typeof J)throw new de(Z,re,J);const H={};for(const Se of Object.keys(re))H[Se]=j(B,`${Z}.${Se}`,re[Se],J[Se]);return H}if(re.endsWith("?"))return null==J?null:j(B,Z,re.slice(0,re.length-1),J);if(re.endsWith("[]")){if(!Array.isArray(J))throw new de(Z,re,J);return J.map((H,Se)=>j(B,`${Z}[${Se}]`,re.slice(0,re.length-2),H))}if(te.indexOf(re)>=0)return ce(Z,re,J);if("bytes"!==re){if("bigint"===re){if("number"!=typeof J&&("string"!=typeof J||!/^-?[0-9]+$/u.test(J)))throw new de(Z,re,J);return BigInt(J)}if("cpf"===re){if("string"!=typeof J)throw new de(Z,re,J);return J}if("cnpj"===re){if("string"!=typeof J)throw new de(Z,re,J);return J}if("date"===re){if("string"!=typeof J||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(J))throw new de(Z,re,J);const H=parseInt(J.split("-")[2],10),Se=parseInt(J.split("-")[1],10)-1,xe=parseInt(J.split("-")[0],10),He=new Date(xe,Se,H);if(He.getFullYear()!==xe||He.getMonth()!==Se||He.getDate()!==H)throw new de(Z,re,J);return He}if("datetime"===re){if("string"!=typeof J||!/^[0-9]{4}-[01][0-9]-[0123][0-9]T[012][0-9]:[0123456][0-9]:[0123456][0-9](?:\.[0-9]{1,6})?Z?$/u.test(J))throw new de(Z,re,J);return new Date(`${J.endsWith("Z")?J:J.concat("Z")}`)}if("decimal"===re){if("number"!=typeof J&&("string"!=typeof J||!/^-?[0-9]+(?:\.[0-9]+)?$/u.test(J)))throw new de(Z,re,J);return new(ae())(J)}{const H=B[re];if(H)return j(B,Z,H,J);throw new Error(`Unknown type '${re}' at '${Z}'`)}}if("string"!=typeof J)throw new de(Z,`${re} (base 64)`,J);try{return Uint8Array.from(atob(J),H=>H.charCodeAt(0))}catch{throw new de(Z,`${re} (base 64)`,J)}}function W(B){let Z="";for(let re=0;re<2*B;++re)Z+="0123456789abcdef"[Math.floor(16*Math.random())];return Z}const ne=W(20);function le(){try{let B=localStorage.getItem("deviceId");return B||(B=ne,localStorage.setItem("deviceId",B)),B}catch{return ne}}function ie(B,Z){return Z in B}class ge{constructor(Z,re,J){this.baseUrl=Z,this.astJson=re,this.errClasses=J,this.extra=new Map,this.successHook=()=>{},this.errorHook=()=>{}}makeRequest(Z,re){var J=this;return(0,De.Z)(function*(){const H=J.astJson.functionTable[Z];if(!H)throw new Error(`Unknown function ${Z}`);const Se={};J.extra.forEach((Pe,ct)=>{Se[ct]=Pe});const xe={args:z(J.astJson.typeTable,`${Z}.args`,H.args,re),deviceInfo:{id:le(),language:navigator.language,platform:{browserUserAgent:navigator.userAgent},timezone:"object"==typeof Intl?Intl.DateTimeFormat().resolvedOptions().timeZone:null,type:"web",version:document.currentScript?.getAttribute("src")??""},extra:Se,name:Z,requestId:W(16),version:3},He=yield new Promise((Pe,ct)=>{const me=new XMLHttpRequest;me.open("POST",`${J.baseUrl}/${Z}`),me.setRequestHeader("Content-Type","application/sdkgen"),me.onreadystatechange=()=>{if(4===me.readyState)try{const Ke=JSON.parse(me.responseText);try{ie(Ke,"error")&&Ke.error?ct(Ke.error):Pe(ie(Ke,"result")?Ke.result:null)}catch(ve){ct({message:`${ve}`,type:"Fatal"})}}catch{ct({message:"Falha de conex\xe3o com o servidor",type:"Fatal"})}},me.send(JSON.stringify(xe))}).catch(Pe=>{if(J.errorHook(Pe,Z,re),ie(Pe,"type")&&ie(Pe,"message")&&"string"==typeof Pe.type&&"string"==typeof Pe.message){const ct=Pe.type in J.errClasses?Pe.type:"Fatal",me=J.errClasses[ct],Ke=J.astJson.errors.find(je=>Array.isArray(je)?je[0]===ct:je===ct);let ve;throw ve=Ke&&Array.isArray(Ke)&&ie(Pe,"data")?new me(Pe.message,j(J.astJson.typeTable,`${ct}.data`,Ke[1],Pe.data)):new me(Pe.message,void 0),ve.type=ct,ve}throw Pe}),Ne=j(J.astJson.typeTable,`${Z}.ret`,H.ret,He);return J.successHook(Ne,Z,re),Ne})()}}},1890:(et,Me,v)=>{"use strict";v.d(Me,{ts:()=>Tt,OR:()=>Ot,zE:()=>Q,Wi:()=>Ue,lw:()=>ut,Ro:()=>he,Xj:()=>ke,xW:()=>q,Gf:()=>Ae,KW:()=>lt,x3:()=>Ke,Tp:()=>Ie,PK:()=>Ct,IE:()=>ct,_P:()=>L,iE:()=>at,e1:()=>ze,dp:()=>bt,mN:()=>R,cs:()=>Rt,Bn:()=>dt,H1:()=>$t,Qs:()=>F,JQ:()=>Ut,d:()=>yn,kM:()=>P,Oo:()=>ue,ZU:()=>$e,RE:()=>it,BD:()=>Gt,w2:()=>yt,nd:()=>rt,Bp:()=>xt});class h{constructor(){this.filename="?",this.line=0,this.column=0}toString(){return`${this.filename}:${this.line}:${this.column}`}}class o{constructor(w=""){this.value=w,this.location=new h,Object.defineProperty(this,"location",{enumerable:!1})}maybeAsIdentifier(){return this}toString(){const w=this.constructor.name.replace("Token","");return""===this.value?w:`${w}(${JSON.stringify(this.value)})`}}class De extends o{}class Ee extends o{}class ae extends o{}class se extends o{}class te extends o{}class de extends o{}class ce extends o{}class z extends o{}class j extends o{}class W extends o{}class ne extends o{}class le extends o{}class ie extends o{}class ge extends o{}class B extends o{maybeAsIdentifier(){return new De("import")}}class Z extends o{maybeAsIdentifier(){return new De("type")}}class re extends o{maybeAsIdentifier(){return new De("enum")}}class J extends o{maybeAsIdentifier(){return new De("fn")}}class H extends o{maybeAsIdentifier(){return new De("error")}}class Se extends o{maybeAsIdentifier(){return new De("true")}}class xe extends o{maybeAsIdentifier(){return new De("false")}}class He extends o{maybeAsIdentifier(){return new De(this.value)}}class Ne{constructor(){this.location=new h,Object.defineProperty(this,"location",{enumerable:!1})}at(w){return this.location=w.location,this}atLocation(w){return this.location=w,this}}class Pe extends Ne{toJSON(){const{name:w,...E}={...this};return E}}class ct extends Ne{constructor(w,E){super(),this.name=w,this.dataType=E,this.annotations=[]}}class me extends Ne{}class Ke extends me{constructor(w){super(),this.text=w}}class ve extends me{constructor(w){super(),this.error=w}}class Xe extends me{constructor(w,E,Y,Be,Qe,We){super(),this.method=w,this.path=E,this.pathVariables=Y,this.queryVariables=Be,this.headers=Qe,this.bodyVariable=We}}class ze extends me{}class V extends me{constructor(w){super(),this.statusCode=w}}class K extends Pe{toJSON(){return this.name}}class F extends K{constructor(){super(...arguments),this.name="string"}}class R extends K{constructor(){super(...arguments),this.name="int"}}class P extends K{constructor(){super(...arguments),this.name="uint"}}class L extends K{constructor(){super(...arguments),this.name="float"}}class Q extends K{constructor(){super(...arguments),this.name="bigint"}}class q extends K{constructor(){super(...arguments),this.name="date"}}class Ae extends K{constructor(){super(...arguments),this.name="datetime"}}class Ue extends K{constructor(){super(...arguments),this.name="bool"}}class ut extends K{constructor(){super(...arguments),this.name="bytes"}}class it extends K{constructor(){super(...arguments),this.name="void"}}class dt extends K{constructor(){super(...arguments),this.name="money"}}class lt extends K{constructor(){super(...arguments),this.name="decimal"}}class ke extends K{constructor(){super(...arguments),this.name="cpf"}}class he extends K{constructor(){super(...arguments),this.name="cnpj"}}class Ie extends K{constructor(){super(...arguments),this.name="email"}}class ue extends K{constructor(){super(...arguments),this.name="url"}}class $e extends K{constructor(){super(...arguments),this.name="uuid"}}class at extends K{constructor(){super(...arguments),this.name="hex"}}class bt extends K{constructor(){super(...arguments),this.name="html"}}class Ot extends K{constructor(){super(...arguments),this.name="base64"}}class Gt extends K{constructor(){super(...arguments),this.name="xml"}}class Rt extends K{constructor(){super(...arguments),this.name="json"}}class $t extends Pe{constructor(w){super(),this.base=w}get name(){return`${this.base.name}?`}}class Tt extends Pe{constructor(w){super(),this.base=w}get name(){return`${this.base.name}[]`}}class Lt extends Ne{constructor(w){super(),this.value=w,this.annotations=[],this.struct=null}}class Ct extends Pe{constructor(w){super(),this.values=w}get hasStructValues(){return this.values.some(w=>null!==w.struct)}}class kt extends Ne{constructor(w,E,Y=!1){super(),this.name=w,this.type=E,this.secret=Y,this.annotations=[]}}class ei extends Ne{constructor(w){super(),this.typeReference=w}}class yn extends Pe{constructor(w){super(),this.name=w}}class Ut extends Pe{constructor(w){super(),this.fieldsAndSpreads=w,this.fields=[]}}class hn extends Ne{constructor(w,E){super(),this.name=w,this.type=E,this.annotations=[]}}class $n extends Ne{constructor(w,E,Y){super(),this.name=w,this.fieldsAndSpreads=E,this.returnType=Y,this.annotations=[],this.args=[]}}class tn{constructor(w=[],E=[],Y=[]){this.typeDefinitions=w,this.operations=E,this.errors=Y,this.structTypes=[],this.enumTypes=[],this.warnings=[]}}class qt extends Error{}class Ht{constructor(w){this.root=w}process(){for(const w of this.root.errors)this.visit(w);for(const w of this.root.typeDefinitions)this.visit(w);for(const w of this.root.operations)this.visit(w)}visit(w){if(w instanceof $n){for(const E of w.args)this.visit(E);for(const E of w.fieldsAndSpreads)this.visit(E);this.visit(w.returnType)}else if(w instanceof kt||w instanceof hn)this.visit(w.type);else if(w instanceof Ut){for(const E of w.fields)this.visit(E);for(const E of w.fieldsAndSpreads)this.visit(E)}else if(w instanceof Ct)for(const E of w.values)this.visit(E);else w instanceof Lt?w.struct&&this.visit(w.struct):w instanceof Tt||w instanceof $t?this.visit(w.base):w instanceof ct?this.visit(w.dataType):w instanceof ei&&this.visit(w.typeReference)}}class ti extends Ht{constructor(){super(...arguments),this.nameToType=new Map}visit(w){if(w instanceof hn){const E=this.nameToType.get(w.name);if(E&&JSON.stringify(E)!==JSON.stringify(w.type))throw new qt(`Type '${w.name}' at ${w.location} is defined multiple times (also at ${E.location})`);this.nameToType.set(w.name,w.type)}super.visit(w)}}class Sn{constructor(w){this.root=w}process(){this.root.errors=this.root.errors.map(w=>this.transform(w)),this.root.typeDefinitions=this.root.typeDefinitions.map(w=>this.transform(w)),this.root.operations=this.root.operations.map(w=>this.transform(w))}transform(w){return w instanceof $n?(w.args=w.args.map(E=>this.transform(E)),w.fieldsAndSpreads=w.fieldsAndSpreads.map(E=>this.transform(E)),w.returnType=this.transform(w.returnType)):w instanceof kt||w instanceof hn?w.type=this.transform(w.type):w instanceof Ut?(w.fields=w.fields.map(E=>this.transform(E)),w.fieldsAndSpreads=w.fieldsAndSpreads.map(E=>this.transform(E))):w instanceof Ct?w.values=w.values.map(E=>this.transform(E)):w instanceof Lt?w.struct&&(w.struct=this.transform(w.struct)):w instanceof Tt||w instanceof $t?w.base=this.transform(w.base):w instanceof ct?w.dataType=this.transform(w.dataType):w instanceof ei&&(w.typeReference=this.transform(w.typeReference)),w}}class In extends Sn{constructor(){super(...arguments),this.path=[],this.names=new Map}transform(w){if(w instanceof hn)return this.path=[w.name],super.transform(w);if(w instanceof ct)return this.path=[`${w.name}Data`],super.transform(w);if(w instanceof $n)return this.path=[w.name],super.transform(w);if(w instanceof kt)try{return this.path.push(w.name),super.transform(w)}finally{this.path.pop()}else{if(!(w instanceof Lt)){if(w instanceof Ut||w instanceof Ct){w.name=this.path.map(Y=>Y[0].toUpperCase()+Y.slice(1)).join("");const E=this.names.get(w.name);if(E){if(E.type.constructor!==w.constructor||JSON.stringify(E.type)!==JSON.stringify(w))throw new qt(`The name of the type '${this.path.join(".")}' at ${w.location} will conflict with '${E.path.join(".")}' at ${E.type.location}`);return E.type}return this.names.set(w.name,{path:[...this.path],type:w}),super.transform(w)}return super.transform(w)}try{return this.path.push(w.value),super.transform(w)}finally{this.path.pop()}}}}class Dn extends Ht{visit(w){if(w instanceof yn){const E=this.root.typeDefinitions.find(Y=>Y.name===w.name);if(void 0===E)throw new qt(`Could not find type '${w.name}' at ${w.location}`);w.type=E.type}super.visit(w)}}class kn extends Ht{constructor(){super(...arguments),this.isInReturn=!1,this.path=[],this.visited=new Set}visit(w){if(!this.visited.has(w))if(this.visited.add(w),w instanceof $n)this.isInReturn=!0,this.visited.clear(),this.path.push(`${w.name}(...)`),this.visit(w.returnType),this.path.pop(),this.isInReturn=!1;else if(w instanceof yn)this.visit(w.type);else if(w instanceof kt){if(this.path.push(w.name),this.isInReturn&&w.secret)throw new qt(`Can't return a secret value at ${this.path.join(".")} at ${w.location}`);super.visit(w),this.path.pop()}else super.visit(w)}}class gn extends Ht{constructor(){super(...arguments),this.processed=new Set}expandSpread(w,E){const Y=new Map;for(const Be of E){let Qe;if(Be instanceof kt)Qe=[Be];else{const We=Be.typeReference.type;if(!(We instanceof Ut))throw new qt(`A spread operator can't refer to something that is not a struct, in '${Be.typeReference.name}' at ${Be.location}.`);this.visit(We),Qe=We.fields}for(const We of Qe){const tt=Y.get(We.name);tt?w[tt]=We:(Y.set(We.name,w.length),w.push(We))}}}visit(w){if(w instanceof Ut){if(this.processed.has(w))return;this.processed.add(w)}super.visit(w),w instanceof Ut?(this.expandSpread(w.fields,w.fieldsAndSpreads),w.fieldsAndSpreads=[]):w instanceof $n&&(this.expandSpread(w.args,w.fieldsAndSpreads),w.fieldsAndSpreads=[])}}class Ze extends Ht{visit(w){if(super.visit(w),w instanceof Ct&&0===w.values.length)throw new qt(`Enum '${w.name}' at ${w.location} is empty`);if(w instanceof Ut&&0===w.fields.length)throw new qt(`Struct '${w.name}' at ${w.location} is empty`)}}class Ve extends Ht{visit(w){if(super.visit(w),w instanceof hn&&this.isRecursiveType(w,w.type)){if(!(w.type instanceof Ut||w.type instanceof Ct))throw new qt(`Type '${w.name}' at ${w.location} is recursive but is not an struct`);if(this.isInfinitelyRecursiveType(w,w.type))throw new qt(`Type '${w.name}' at ${w.location} is infinitely recursive`)}}isRecursiveType(w,E){return E instanceof yn?w.name===E.name:E instanceof Tt||E instanceof $t?this.isRecursiveType(w,E.base):E instanceof Ut?E.fields.some(Y=>this.isRecursiveType(w,Y.type)):E instanceof Ct&&E.values.some(Y=>Y.struct&&this.isRecursiveType(w,Y.struct))}isInfinitelyRecursiveType(w,E){return E instanceof yn?E.name===w.name:E instanceof Ut?E.fields.some(Y=>this.isInfinitelyRecursiveType(w,Y.type)):E instanceof Ct&&E.values.every(Y=>Y.struct&&this.isInfinitelyRecursiveType(w,Y.struct))}}class oe extends Ht{constructor(){super(...arguments),this.visited=new Set}visit(w){super.visit(w),!this.visited.has(w)&&(this.visited.add(w),w instanceof Ut?this.root.structTypes.push(w):w instanceof Ct&&this.root.enumTypes.push(w))}}function ye(be){return be instanceof yn?ye(be.type):be}class pe extends Ht{visit(w){if(w instanceof Lt){for(const E of w.annotations)if(!(E instanceof Ke))throw new qt(`Cannot have @${E.constructor.name.replace("Annotation","").toLowerCase()} at ${E.location}`)}else if(w instanceof hn){for(const E of w.annotations)if(!(E instanceof Ke))throw new qt(`Cannot have @${E.constructor.name.replace("Annotation","").toLowerCase()} at ${E.location}`)}else if(w instanceof kt){for(const E of w.annotations)if(!(E instanceof Ke))throw new qt(`Cannot have @${E.constructor.name.replace("Annotation","").toLowerCase()} at ${E.location}`)}else if(w instanceof $n){for(const E of w.annotations)if(!(E instanceof Ke))if(E instanceof ve){if(!this.root.errors.some(Y=>Y.name===E.error))throw new qt(`Unknown error type '${E.error}' at ${E.location}`)}else if(E instanceof Xe){const Y=[...E.pathVariables,...E.queryVariables,...E.headers.values()];if(Y.length!==new Set(Y).size)throw new qt(`Arguments must appear only once for rest annotation at ${E.location}`);for(const Be of Y){const Qe=w.args.find(tt=>tt.name===Be);if(!Qe)throw new qt(`Argument '${Be}' not found at ${E.location}`);if(E.pathVariables.includes(Be)&&Qe.type instanceof $t)throw new qt(`The path argument '${Be}' can't be nullable at ${E.location}`);if(!((be=ye(Qe.type instanceof $t?Qe.type.base:Qe.type))instanceof Ue||be instanceof R||be instanceof P||be instanceof Q||be instanceof L||be instanceof F||be instanceof q||be instanceof Ae||be instanceof dt||be instanceof lt||be instanceof ke||be instanceof he||be instanceof $e||be instanceof at||be instanceof Ot||be instanceof Ct))throw new qt(`Argument '${Be}' can't have type '${Qe.type.name}' for rest annotation at ${E.location}`)}for(const Be of w.args){if(!Y.includes(Be.name)&&E.bodyVariable!==Be.name)throw new qt(`Argument '${Be.name}' is missing from the rest annotation at ${E.location}`);const Qe=[...E.pathVariables,...E.queryVariables];if("GET"===E.method&&Qe.includes(Be.name)&&Be.secret)throw new qt(`Argument marked as secret cannot be used in the path or query parts of a GET endpoint at ${E.location}`)}if("GET"===E.method&&w.returnType instanceof it)throw new qt(`A GET rest endpoint must return something at ${E.location}`)}else if(!(E instanceof ze))throw new qt(`Cannot have @${E.constructor.name.replace("Annotation","").toLowerCase()} at ${E.location}`)}else if(w instanceof ct){for(const E of w.annotations){if(!(E instanceof V))throw new qt(`Cannot have @${E.constructor.name.replace("Annotation","").toLowerCase()} at ${E.location}`);if(E.statusCode<400||E.statusCode>599)throw new qt(`Error status code can only be 4xx or 5xx at ${E.location}`)}if(w.annotations.filter(E=>E instanceof V).length>1)throw new qt(`Can't provide more than one status code at ${w.location}`)}var be}}class O extends Ht{visit(w){if(super.visit(w),w instanceof Ct&&w.values.length!==new Set(w.values.map(E=>E.value)).size)throw new qt(`Enum '${w.name}' at ${w.location} has duplicated members`)}}const N=new Map;function _e(be){if(be instanceof Ke)return{type:"description",value:be.text};if(be instanceof ve)return{type:"throws",value:be.error};if(be instanceof Xe)return{type:"rest",value:{bodyVariable:be.bodyVariable,headers:[...be.headers.entries()].sort(([w],[E])=>w.localeCompare(E)),method:be.method,path:be.path,pathVariables:be.pathVariables,queryVariables:[...be.queryVariables].sort((w,E)=>w.localeCompare(E))}};if(be instanceof ze)return{type:"hidden",value:null};if(be instanceof V)return{type:"statusCode",value:be.statusCode};throw new Error(`BUG: annotationToJson with ${be.constructor.name}`)}function qe(be){switch(be.type){case"description":return new Ke(be.value);case"throws":return new ve(be.value);case"rest":{const{method:w,path:E,pathVariables:Y,queryVariables:Be,headers:Qe,bodyVariable:We}=be.value;return new Xe(w,E,Y,Be,new Map(Qe),We)}case"hidden":return new ze;case"statusCode":return new V(be.value);default:throw new Error(`BUG: annotationFromJson with ${be.type}`)}}function yt(be){const w={},E={};function Y(We){return We instanceof Tt?`${Y(We.base)}[]`:We instanceof $t?`${Y(We.base)}?`:We.name}for(const{name:We,fields:tt}of be.structTypes){if(We in E)throw new Error(`Duplicate struct type ${We}`);E[We]={};const wt=E[We];for(const mt of tt){wt[mt.name]=Y(mt.type);for(const Vt of mt.annotations)if(Vt instanceof Ke){const sn=`type.${We}.${mt.name}`;w[sn]??=[],w[sn].push(_e(Vt))}}}for(const{name:We,values:tt}of be.enumTypes){if(We in E)throw new Error(`Duplicate enum type ${We}`);E[We]=tt.map(wt=>wt.struct?[wt.value,wt.struct.name]:wt.value)}for(const{name:We,type:tt}of be.typeDefinitions)tt instanceof Ut||tt instanceof Ct||(E[We]=Y(tt));const Be={};for(const We of be.operations){const tt={};for(const wt of We.args){tt[wt.name]=Y(wt.type);for(const mt of wt.annotations)if(mt instanceof Ke){const Vt=`fn.${We.name}.${wt.name}`;w[Vt]??=[],w[Vt].push(_e(mt))}}Be[We.name]={args:tt,ret:Y(We.returnType)};for(const wt of We.annotations){const mt=`fn.${We.name}`;w[mt]??=[],w[mt].push(_e(wt))}}const Qe=be.errors.map(We=>We.dataType instanceof it?We.name:[We.name,We.dataType.name]);for(const We of be.errors)for(const tt of We.annotations){const wt=`error.${We.name}`;w[wt]??=[],w[wt].push(_e(tt))}return{annotations:w,errors:Qe,functionTable:Be,typeTable:E}}function xt(be){const w=[],E=[],Y=[];function Be(tt,wt){if("string"==typeof tt){const Vt=N.get(tt);return Vt?new Vt:tt.endsWith("?")?new $t(Be(tt.slice(0,tt.length-1))):tt.endsWith("[]")?new Tt(Be(tt.slice(0,tt.length-2))):new yn(tt)}if(Array.isArray(tt))return new Ct(tt.map(Vt=>{if(Array.isArray(Vt)){const[sn,nn]=Vt,dn=new Lt(sn);return Y.push([dn,nn]),dn}return new Lt(Vt)}));const mt=[];for(const Vt of Object.keys(tt)){const sn=new kt(Vt,Be(tt[Vt]));if(wt){const nn=`type.${wt}.${Vt}`;for(const dn of be.annotations[nn]??[])sn.annotations.push(qe(dn))}mt.push(sn)}return new Ut(mt)}for(const[tt,wt]of Object.entries(be.typeTable)){const mt=Be(wt,tt);E.push(new hn(tt,mt))}for(const[tt,wt]of Object.entries(be.functionTable)){const mt=Object.keys(wt.args).map(nn=>{const dn=new kt(nn,Be(wt.args[nn])),_i=`fn.${tt}.${nn}`;for(const zn of be.annotations[_i]??[])dn.annotations.push(qe(zn));return dn}),Vt=new $n(tt,mt,Be(wt.ret)),sn=`fn.${tt}`;for(const nn of be.annotations[sn]??[])Vt.annotations.push(qe(nn));w.push(Vt)}for(const[tt,wt]of Y){const mt=E.find(Vt=>Vt.name===wt)?.type;mt instanceof Ut&&(tt.struct=mt)}const Qe=be.errors.map(tt=>{let wt;if(Array.isArray(tt)){const[Vt,sn]=tt;wt=new ct(Vt,Be(sn))}else wt=new ct(tt,new it);const mt=`error.${wt.name}`;for(const Vt of be.annotations[mt]??[])wt.annotations.push(qe(Vt));return wt}),We=new tn(E,w,Qe);return function G(be){be.errors.some(w=>"Fatal"===w.name)||be.errors.push(new ct("Fatal",new it)),new ti(be).process(),new In(be).process(),new Dn(be).process(),new kn(be).process(),new gn(be).process(),new Ze(be).process(),new Ve(be).process(),new oe(be).process(),new pe(be).process(),new O(be).process()}(We),We}N.set("string",F),N.set("int",R),N.set("uint",P),N.set("date",q),N.set("datetime",Ae),N.set("float",L),N.set("bigint",Q),N.set("bool",Ue),N.set("bytes",ut),N.set("money",dt),N.set("decimal",lt),N.set("cpf",ke),N.set("cnpj",he),N.set("email",Ie),N.set("html",bt),N.set("url",ue),N.set("uuid",$e),N.set("hex",at),N.set("base64",Ot),N.set("xml",Gt),N.set("json",Rt),N.set("void",it);class Ye extends Error{}class ot{static#e=this.PRIMITIVES=new Set(["bool","int","uint","float","bigint","string","date","datetime","bytes","money","decimal","cpf","cnpj","email","html","url","uuid","hex","base64","xml","void","json"]);static#t=this.KEYWORDS=new Set([...ot.PRIMITIVES,"error","enum","type","import","get","function","fn","true","false"]);constructor(w,E="-"){this.source=w,this.filename=E,this.startPos=0,this.startLine=1,this.startColumn=1,this.pos=0,this.line=1,this.column=1}currentChar(){return this.source[this.pos]||"\0"}nextChar(){return this.column++,this.source[++this.pos]||"\0"}nextToken(){this.startPos=this.pos,this.startLine=this.line,this.startColumn=this.column;let w=null;switch(this.currentChar()){case"\0":return null;case" ":case"\r":case"\t":return this.nextChar(),this.nextToken();case"\n":return this.nextChar(),this.column=1,this.line++,this.nextToken();case"/":switch(this.nextChar()){case"/":for(;;)switch(this.nextChar()){case"\0":return null;case"\n":return this.nextChar(),this.column=1,this.line++,this.nextToken()}case"*":e:for(;;)switch(this.nextChar()){case"\0":break e;case"\n":this.column=0,this.line++;break;case"*":for(;"*"===this.nextChar(););switch(this.currentChar()){case"\0":break e;case"\n":this.column=0,this.line++;break;case"/":return this.nextChar(),this.nextToken()}}}break;case"{":this.nextChar(),w=new te;break;case"}":this.nextChar(),w=new de;break;case"(":this.nextChar(),w=new ce;break;case")":this.nextChar(),w=new z;break;case"?":this.nextChar(),w=new W;break;case":":this.nextChar(),w=new j;break;case"=":this.nextChar(),w=new ae;break;case"!":this.nextChar(),w=new se;break;case",":this.nextChar(),w=new le;break;case"[":"]"===this.nextChar()&&(this.nextChar(),w=new ne);break;case".":"."===this.nextChar()&&"."===this.nextChar()&&(this.nextChar(),w=new ie);break;case"@":{let E="\\",Y=this.startPos+1;for(;E.endsWith("\\");){for(E=E.slice(0,E.length-1).trim();!["\0","\n"].includes(this.nextChar()););E=`${E} ${this.source.substring(Y,this.pos).trim()}`.trim(),Y=this.pos+1}w=new ge(E.trim());break}case'"':{const E=[];e:for(;;)switch(this.nextChar()){case"\0":break e;case"\\":switch(this.nextChar()){case"\0":break e;case"n":E.push("\n");break;case"t":E.push("\t");break;default:E.push(this.currentChar())}break;case'"':this.nextChar(),w=new Ee(E.join(""));break e;default:E.push(this.currentChar())}break}default:if(/[a-zA-Z_]/u.test(this.currentChar())){for(;/[a-zA-Z0-9_]/u.test(this.nextChar()););const E=this.source.substring(this.startPos,this.pos);switch(E){case"error":w=new H;break;case"enum":w=new re;break;case"type":w=new Z;break;case"import":w=new B;break;case"fn":w=new J;break;case"true":w=new Se;break;case"false":w=new xe;break;default:w=ot.PRIMITIVES.has(E)?new He(E):new De(E)}}}if(null!==w)return w.location.filename=this.filename,w.location.line=this.startLine,w.location.column=this.startColumn,w;throw"\0"===this.currentChar()?new Ye(`Unexpected end of file at ${this.filename}`):new Ye(`Unexpected character ${JSON.stringify(this.currentChar())} at ${this.filename}:${this.line}:${this.column}`)}}class Fe extends Ht{constructor(w,E){super(w),this.type=E,this.found=!1}visit(w){w.constructor===this.type&&(this.found=!0),super.visit(w)}}function rt(be,w){const E=new Fe(be,w);return E.process(),E.found}},343:(et,Me,v)=>{"use strict";v.d(Me,{m:()=>le});var h=v(821),o=v(7786),De=v(9462),Ee=v(6086),ae=v(7950),se=v(2836);function te(ie,ge){1&ie&&(o.ynx(0),o._uU(1,"info_outline"),o.BQk())}function de(ie,ge){1&ie&&(o.ynx(0),o._uU(1,"error"),o.BQk())}function ce(ie,ge){1&ie&&(o.ynx(0),o._uU(1,"public"),o.BQk())}function z(ie,ge){1&ie&&(o.ynx(0),o._uU(1,"warning"),o.BQk())}function j(ie,ge){1&ie&&(o.ynx(0),o._uU(1,"bug_report"),o.BQk())}function W(ie,ge){if(1&ie&&o._UZ(0,"ngx-json-viewer",6),2&ie){const B=o.oxw().$implicit;o.Q6J("json",B.details)("expanded",!1)}}function ne(ie,ge){if(1&ie&&(o.TgZ(0,"li",2)(1,"mat-icon",3),o.YNc(2,te,2,0,"ng-container",4),o.YNc(3,de,2,0,"ng-container",4),o.YNc(4,ce,2,0,"ng-container",4),o.YNc(5,z,2,0,"ng-container",4),o.YNc(6,j,2,0,"ng-container",4),o.qZA(),o.TgZ(7,"span"),o._uU(8),o.qZA(),o.YNc(9,W,1,2,"ngx-json-viewer",5),o.qZA()),2&ie){const B=ge.$implicit,Z=o.oxw();o.Q6J("ngClass",B.type),o.xp6(1),o.Q6J("ngSwitch",B.type)("ngClass",B.type),o.xp6(1),o.Q6J("ngSwitchCase",Z.itemTypes.INFO),o.xp6(1),o.Q6J("ngSwitchCase",Z.itemTypes.ERROR),o.xp6(1),o.Q6J("ngSwitchCase",Z.itemTypes.NETWORK),o.xp6(1),o.Q6J("ngSwitchCase",Z.itemTypes.WARN),o.xp6(1),o.Q6J("ngSwitchCase",Z.itemTypes.DEBUG),o.xp6(2),o.Oqu(B.message),o.xp6(1),o.Q6J("ngIf",B.details)}}let le=(()=>{class ie{constructor(){this.itemTypes=h.p,this.items=[]}static#e=this.\u0275fac=function(Z){return new(Z||ie)};static#t=this.\u0275cmp=o.Xpm({type:ie,selectors:[["app-console"]],inputs:{items:"items"},decls:9,vars:1,consts:[["mat-icon-button","",3,"click"],["class","console-item",3,"ngClass",4,"ngFor","ngForOf"],[1,"console-item",3,"ngClass"],[3,"ngSwitch","ngClass"],[4,"ngSwitchCase"],[3,"json","expanded",4,"ngIf"],[3,"json","expanded"]],template:function(Z,re){1&Z&&(o.TgZ(0,"header")(1,"strong"),o._uU(2,"CONSOLE"),o.qZA(),o._UZ(3,"s"),o.TgZ(4,"button",0),o.NdJ("click",function(){return re.items.splice(0,re.items.length)}),o.TgZ(5,"mat-icon"),o._uU(6,"delete"),o.qZA()()(),o.TgZ(7,"ul"),o.YNc(8,ne,10,10,"li",1),o.qZA()),2&Z&&(o.xp6(8),o.Q6J("ngForOf",re.items))},dependencies:[De.mk,De.sg,De.O5,De.RF,De.n9,Ee.Y,ae.RK,se.Hw],styles:["[_nghost-%COMP%]{display:block;height:100%;text-align:left;overflow-y:scroll;box-sizing:border-box}header[_ngcontent-%COMP%]{display:flex;flex-direction:row;position:sticky;top:0;background:#1E1E1E;border-bottom:1px solid #444444;padding:5px 0;z-index:2}header[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin:0 10px;text-transform:uppercase;font-weight:200;color:#e7e7e7;border-bottom:1px solid rgb(231,231,231);line-height:27px;font-size:11pt;align-self:center}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0 10px}ul[_ngcontent-%COMP%]{padding:0;margin:0;box-sizing:border-box}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{list-style:none;display:block;width:100%;height:auto;padding:5px 10px;font-size:1rem;border-bottom:1px solid #444444;background-color:#111;word-break:break-all;box-sizing:border-box;word-wrap:break-word;font-family:monospace}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline;vertical-align:text-bottom}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{height:1rem;width:1rem;font-size:1rem;vertical-align:sub;margin-right:7.5px;-webkit-user-select:none;user-select:none}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.info[_ngcontent-%COMP%]{color:#b9b9bb}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.error[_ngcontent-%COMP%]{color:#ff3b6b}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.network_recv[_ngcontent-%COMP%], ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.network_send[_ngcontent-%COMP%]{color:#939395}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{background-color:#0000004d}ul[_ngcontent-%COMP%] > li.error[_ngcontent-%COMP%]{color:#e69fa3;background-color:#4b2f36}"]})}return ie})()},821:(et,Me,v)=>{"use strict";v.d(Me,{p:()=>h});var h=function(o){return o.INFO="info",o.ERROR="error",o.WARN="warn",o.DEBUG="debug",o.NETWORK="network",o}(h||{})},6480:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{G:()=>SdkgenService});var _home_runner_work_sdkgen_sdkgen_packages_playground_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(5861),_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2973),_sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1890),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1625),_angular_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(7786);let SdkgenService=(()=>{class SdkgenService{constructor(){this.state$=new rxjs__WEBPACK_IMPORTED_MODULE_2__.X(null)}buildJsonObject(et,Me=new Set){const v=h=>{switch(h.constructor){case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Qs:return"";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.mN:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.kM:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__._P:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.zE:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Bn:return 0;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.KW:return"0.00";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.xW:return(new Date).toJSON().substring(0,10);case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Gf:return(new Date).toJSON().substring(0,23);case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Wi:return Math.random()>.5;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.RE:return null;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Xj:return"000.000.001-91";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Ro:return"00.000.001/0001-91";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Tp:return"joao@acme.com";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Oo:return"https://www.google.com/";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.ZU:return"00000000-0000-0000-0000-000000000000";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.iE:return new Array(32).fill(0).map(()=>"0123456789abcdef"[Math.floor(16*Math.random())]).join("");case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.dp:return"<h1>Hello world!</h1>";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.lw:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.OR:return"0a=";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.BD:return"<xml></xml>";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.cs:return{};case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.JQ:return Me.has(h.name)?{}:this.buildJsonObject(h.fields,new Set([...Me,h.name]));case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.H1:return null;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.d:return v(h.type);case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.ts:return[v(h.base),v(h.base),v(h.base)];case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.PK:return h.values[0].value;default:return null}};return et.reduce((h,o)=>(h[o.name]=v(o.type),h),{})}getTypeScriptCode(et,Me){return`await client.${et}(${JSON.stringify(Me,null,2)});\n`}buildKotlinString(et,Me=0){const v=h=>{switch(h.constructor){case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Qs:return'""';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.mN:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.kM:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__._P:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.zE:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Bn:return 0;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.KW:return'BigDecimal("0.00")';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.xW:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Gf:return"Calendar.getInstance()";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Wi:return Math.random()>.5?"true":"false";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.RE:return"null";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Xj:return'"000.000.001-91"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Ro:return'"00.000.001/0001-91"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Tp:return'"joao@acme.com"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Oo:return'"https://www.google.com/"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.ZU:return'"00000000-0000-0000-0000-000000000000"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.iE:return`"${new Array(32).fill(0).map(()=>"0123456789abcdef"[Math.floor(16*Math.random())]).join("")}"`;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.dp:return'"<h1>Hello world!</h1>"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.lw:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.OR:return'"0a="';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.BD:return'"<xml></xml>"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.cs:return"json {}";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.JQ:return`${h.name}(\n${this.buildKotlinString(h.fields,Me+1)}\n${" ".repeat(Me+1)})`;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.H1:return"null";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.d:return v(h.type);case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.ts:Me++;const o=v(h.base);return Me--,`arrayOf(\n${" ".repeat(Me+2)}${o},\n${" ".repeat(Me+2)}${o}\n${" ".repeat(Me+1)})`;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.PK:return`"${h.values[0].value}"`;default:return"<>()"}};return et.map(h=>`${" ".repeat(Me+1)}${v(h.type)}`).join(",\n")}getKotlinCode(et,Me){return 0===Me.length?`client.${et}().await();`:`client.${et}(\n${this.buildKotlinString(Me)}\n).await();`}getDartCode(et,Me){return'print("todo");'}getSwiftCode(et,Me){return'print("todo");'}getSdkgenClient(url,ast){const errorFns=ast.errors.reduce((acc,cur)=>{function errorClass(type,base){return eval(`(\n (sup) => class ${type} extends sup {\n type = "${type}";\n message = "";\n ${base===_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.zG?"data = null;":""}\n\n constructor(message${base===_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.zG?", data":""}) {\n super(message${base===_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.zG?", data":""});\n this.message = message;\n ${base===_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.zG?"this.data = data;":""}\n this.toString = () => this.type + ": " + this.message;\n }\n }\n )`)(base)}return"string"==typeof cur?acc[cur]=errorClass(cur,_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.Nn):acc[cur[0]]=errorClass(cur[0],_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.zG),acc},{}),clientInstance=new _sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.RJ(url,ast,errorFns);return new Proxy(clientInstance,{get:(et,Me)=>["baseUrl","extra","successHook","errorHook","makeRequest"].includes(Me.toString())?clientInstance[Me.toString()]:function(){var v=(0,_home_runner_work_sdkgen_sdkgen_packages_playground_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__.Z)(function*(h){return clientInstance.makeRequest(Me.toString(),h)});return function(h){return v.apply(this,arguments)}}()})}static#_=this.\u0275fac=function et(Me){return new(Me||SdkgenService)};static#_2=this.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_4__.Yz7({token:SdkgenService,factory:SdkgenService.\u0275fac,providedIn:"root"})}return SdkgenService})()},8197:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>SimpleCallComponent});var _home_runner_work_sdkgen_sdkgen_packages_playground_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(5861),_angular_forms__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8832),_console_console_types__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(821),_utils_code_execution__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(5276),_angular_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7786),_sdkgen_service__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(6480),_materia_ui_ngx_monaco_editor__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(9309),ngx_json_viewer__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(6086),angular_split__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(534),_angular_material_button__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7950),_angular_material_icon__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2836),_angular_material_tabs__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(7361),_console_console_component__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(343);let SimpleCallComponent=(()=>{class SimpleCallComponent{constructor(et){this.sdkgen=et,this.editorOptions={theme:"vs-dark",language:"json"},this.code="",this.initialExtras='{\n "key": "value"\n}\n',this.extras=this.initialExtras,this.busy=!1,this.selected=new _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NI(0),this.consoleItems=[]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(et=>{et&&(this.generateFunctionCode(et.astRoot,this.fn),this.client=this.sdkgen.getSdkgenClient(et.url,et.astJson))})}ngOnDestroy(){this.state$?.unsubscribe()}run(){var _this=this;return(0,_home_runner_work_sdkgen_sdkgen_packages_playground_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_4__.Z)(function*(){try{_this.busy=!0;{const events=_this.consoleItems;eval(_utils_code_execution__WEBPACK_IMPORTED_MODULE_5__.Y)}if(_this.extras&&_this.extras!==_this.initialExtras){const et=JSON.parse(_this.extras),Me=Object.keys(et);for(const v of Me)_this.client?.extra.set(v,et[v])}const exec=_this.client[_this.fn](JSON.parse(_this.code));_this.response={result:yield exec}}catch(et){_this.consoleItems.push({type:_console_console_types__WEBPACK_IMPORTED_MODULE_0__.p.ERROR,message:et.toString()}),delete et.toString,_this.response={error:{type:et.type,message:et.message,data:et.data}}}finally{eval(_utils_code_execution__WEBPACK_IMPORTED_MODULE_5__.W),_this.selected.setValue(2),_this.busy=!1}})()}generateFunctionCode(et,Me){const v=et.operations.find(h=>h.name===Me)?.args;v&&(this.code=JSON.stringify(this.sdkgen.buildJsonObject(v),null,2))}static#_=this.\u0275fac=function et(Me){return new(Me||SimpleCallComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__.Y36(_sdkgen_service__WEBPACK_IMPORTED_MODULE_1__.G))};static#_2=this.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_6__.Xpm({type:SimpleCallComponent,selectors:[["app-simple-call"]],inputs:{fn:"fn"},decls:14,vars:10,consts:[["direction","vertical"],["animationDuration","0ms","mat-stretch-tabs","false",3,"selectedIndex","selectedIndexChange"],["label","Requisi\xe7\xe3o"],["mat-fab","",1,"run-fab",3,"disabled","click"],[3,"options","ngModel","ngModelChange"],["label","Extras"],["label","Resposta",3,"disabled"],[3,"json"],[3,"size"],[3,"items"]],template:function et(Me,v){1&Me&&(_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(0,"as-split",0)(1,"as-split-area")(2,"mat-tab-group",1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.NdJ("selectedIndexChange",function(o){return v.selected.setValue(o)}),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(3,"mat-tab",2)(4,"button",3),_angular_core__WEBPACK_IMPORTED_MODULE_6__.NdJ("click",function(){return v.run()}),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(5,"mat-icon"),_angular_core__WEBPACK_IMPORTED_MODULE_6__._uU(6,"play_arrow"),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(7,"ngx-monaco-editor",4),_angular_core__WEBPACK_IMPORTED_MODULE_6__.NdJ("ngModelChange",function(o){return v.code=o}),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(8,"mat-tab",5)(9,"ngx-monaco-editor",4),_angular_core__WEBPACK_IMPORTED_MODULE_6__.NdJ("ngModelChange",function(o){return v.extras=o}),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(10,"mat-tab",6),_angular_core__WEBPACK_IMPORTED_MODULE_6__._UZ(11,"ngx-json-viewer",7),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()()(),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(12,"as-split-area",8),_angular_core__WEBPACK_IMPORTED_MODULE_6__._UZ(13,"app-console",9),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()()),2&Me&&(_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("selectedIndex",v.selected.value),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("disabled",v.busy),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("options",v.editorOptions)("ngModel",v.code),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("options",v.editorOptions)("ngModel",v.extras),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("disabled",!v.response),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("json",v.response),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("size",30),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("items",v.consoleItems))},dependencies:[_angular_forms__WEBPACK_IMPORTED_MODULE_3__.JJ,_angular_forms__WEBPACK_IMPORTED_MODULE_3__.On,_materia_ui_ngx_monaco_editor__WEBPACK_IMPORTED_MODULE_7__.T2,ngx_json_viewer__WEBPACK_IMPORTED_MODULE_8__.Y,angular_split__WEBPACK_IMPORTED_MODULE_9__.Mq,angular_split__WEBPACK_IMPORTED_MODULE_9__.zE,_angular_material_button__WEBPACK_IMPORTED_MODULE_10__.cs,_angular_material_icon__WEBPACK_IMPORTED_MODULE_11__.Hw,_angular_material_tabs__WEBPACK_IMPORTED_MODULE_12__.uX,_angular_material_tabs__WEBPACK_IMPORTED_MODULE_12__.SP,_console_console_component__WEBPACK_IMPORTED_MODULE_2__.m],styles:["[_nghost-%COMP%]{display:block;height:100%}mat-tab-group[_ngcontent-%COMP%]{height:100%}mat-tab-group[_ngcontent-%COMP%] .ngx-json-viewer{overflow:inherit!important}mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-wrapper{height:100%}mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-content{overflow-y:hidden!important}mat-tab-group[_ngcontent-%COMP%] ngx-monaco-editor[_ngcontent-%COMP%]{display:block;height:100%}mat-tab-group[_ngcontent-%COMP%] ngx-json-viewer[_ngcontent-%COMP%]{display:block;height:100%;width:100%;overflow-y:auto;scrollbar-width:thin}"]})}return SimpleCallComponent})()},3538:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{I:()=>TabEditorComponent});var _home_runner_work_sdkgen_sdkgen_packages_playground_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(5861),_sdkgen_typescript_generator__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3866),_console_console_types__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(821),_utils_code_execution__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(5276),_angular_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7786),_sdkgen_service__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6480),_angular_forms__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(8832),_materia_ui_ngx_monaco_editor__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(9309),angular_split__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(534),_angular_material_button__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7950),_angular_material_icon__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2836),_console_console_component__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(343);let TabEditorComponent=(()=>{class TabEditorComponent{constructor(et){this.sdkgen=et,this.code="",this.busy=!1,this.editorOptions={theme:"vs-dark",language:"typescript"},this.consoleItems=[{type:_console_console_types__WEBPACK_IMPORTED_MODULE_1__.p.INFO,message:"Bem-vindo! A sa\xedda dos seus testes aparecer\xe1 aqui :)"}]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(et=>{if(!et)return;const Me=`${this.patchBrowserClientSource((0,_sdkgen_typescript_generator__WEBPACK_IMPORTED_MODULE_0__.E2)(et.astRoot))}\n\ndeclare const client: sdkgen.ApiClient;\n\n`;this.client=this.sdkgen.getSdkgenClient(et.url,et.astJson),monaco.languages.typescript.typescriptDefaults.getCompilerOptions().target=monaco.languages.typescript.ScriptTarget.ESNext,monaco.languages.typescript.typescriptDefaults.getCompilerOptions().module=monaco.languages.typescript.ModuleKind.ESNext,monaco.languages.typescript.typescriptDefaults.getDiagnosticsOptions().diagnosticCodesToIgnore=[1375];const v=monaco.editor.getModels().find(o=>o.uri.toString().endsWith("client.d.ts"));v?v.setValue(Me):monaco.editor.createModel(Me,"typescript",monaco.Uri.parse("ts:filename/client.d.ts"));const[h]=et.astRoot.operations;this.code=this.sdkgen.getTypeScriptCode(h.name,this.sdkgen.buildJsonObject(h.args))})}ngOnDestroy(){this.state$?.unsubscribe()}patchBrowserClientSource(et){return`declare namespace sdkgen {\n${et.substring(95,et.indexOf("const errClasses")).replace(/ extends SdkgenError/g," extends Error").replace(/ extends SdkgenHttpClient/g,"").replace(/{ return this.makeRequest\(.*$/gm,"").replace(/ {\n {8}super\(baseUrl, astJson, errClasses\);\n {4}}/g,"").replace("constructor(","\n baseUrl: string;\n extra = new Map<string, any>();\n successHook: (result: any, name: string, args: any) => void = () => undefined;\n errorHook: (result: any, name: string, args: any) => void = () => undefined;\n async makeRequest(functionName: string, args: unknown): Promise<any>;\n \nconstructor(")}\n}\n`}run(){var _this=this;return(0,_home_runner_work_sdkgen_sdkgen_packages_playground_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_4__.Z)(function*(){try{_this.busy=!0,yield eval(`\n (async (client, events) => {\n ${_utils_code_execution__WEBPACK_IMPORTED_MODULE_5__.Y}\n ${_this.code}\n })\n `)(_this.client,_this.consoleItems).finally(()=>eval(_utils_code_execution__WEBPACK_IMPORTED_MODULE_5__.W))}catch(et){_this.consoleItems.push({type:_console_console_types__WEBPACK_IMPORTED_MODULE_1__.p.ERROR,message:et.toString()})}_this.busy=!1})()}static#_=this.\u0275fac=function et(Me){return new(Me||TabEditorComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__.Y36(_sdkgen_service__WEBPACK_IMPORTED_MODULE_2__.G))};static#_2=this.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_6__.Xpm({type:TabEditorComponent,selectors:[["app-tab-editor"]],decls:8,vars:5,consts:[["mat-fab","",1,"run-fab",3,"disabled","click"],["direction","vertical"],[1,"o-hidden"],[3,"options","ngModel","ngModelChange"],[3,"size"],[3,"items"]],template:function et(Me,v){1&Me&&(_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(0,"button",0),_angular_core__WEBPACK_IMPORTED_MODULE_6__.NdJ("click",function(){return v.run()}),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(1,"mat-icon"),_angular_core__WEBPACK_IMPORTED_MODULE_6__._uU(2,"play_arrow"),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(3,"as-split",1)(4,"as-split-area",2)(5,"ngx-monaco-editor",3),_angular_core__WEBPACK_IMPORTED_MODULE_6__.NdJ("ngModelChange",function(o){return v.code=o}),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(6,"as-split-area",4),_angular_core__WEBPACK_IMPORTED_MODULE_6__._UZ(7,"app-console",5),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()()),2&Me&&(_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("disabled",v.busy),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("options",v.editorOptions)("ngModel",v.code),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("size",30),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("items",v.consoleItems))},dependencies:[_angular_forms__WEBPACK_IMPORTED_MODULE_7__.JJ,_angular_forms__WEBPACK_IMPORTED_MODULE_7__.On,_materia_ui_ngx_monaco_editor__WEBPACK_IMPORTED_MODULE_8__.T2,angular_split__WEBPACK_IMPORTED_MODULE_9__.Mq,angular_split__WEBPACK_IMPORTED_MODULE_9__.zE,_angular_material_button__WEBPACK_IMPORTED_MODULE_10__.cs,_angular_material_icon__WEBPACK_IMPORTED_MODULE_11__.Hw,_console_console_component__WEBPACK_IMPORTED_MODULE_3__.m],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:calc(100% - 4px);margin-top:4px} .scroll-decoration{display:none}.o-hidden[_ngcontent-%COMP%]{overflow:hidden!important}"]})}return TabEditorComponent})()},5276:(et,Me,v)=>{"use strict";v.d(Me,{W:()=>o,Y:()=>h});const h='\n window.___originalXmlHttpRequestOpen = XMLHttpRequest.prototype.open;\n XMLHttpRequest.prototype.open = function() {\n const event = { type: "network", message: `XHR: ${Array.prototype.join.call(arguments, " ")}` };\n events.push(event);\n\n const send = this.send;\n this.send = function() {\n try {\n event.details = { req: JSON.parse(arguments[0]) };\n } catch (e) {\n event.details = { req: arguments[0] };\n }\n\n const onreadystatechange = this.onreadystatechange;\n this.onreadystatechange = function() {\n const result = onreadystatechange.apply(this, arguments);\n\n if (this.readyState === 4) {\n try {\n event.details = { ...event.details, res: JSON.parse(this.responseText) };\n } catch (e) {\n event.details = { ...event.details, res: this.responseText };\n }\n }\n\n return result;\n };\n\n return send.apply(this, arguments);\n };\n\n return ___originalXmlHttpRequestOpen.apply(this, arguments);\n };\n\n window.__originalConsole = [console.log, console.error, console.warn, console.debug, console.info];\n\n for (const method of window.__originalConsole) {\n console[method.name] = function() {\n const event = { type: method.name === "log" ? "info" : method.name, message: Array.prototype.map.call(arguments, x => typeof x === "object" ? JSON.stringify(x) : x.toString()).join(" ") };\n events.push(event);\n return method.apply(this, arguments);\n }\n }\n',o="\n XMLHttpRequest.prototype.open = window.___originalXmlHttpRequestOpen;\n for (const method of window.__originalConsole) {\n console[method.name] = method;\n }\n"},7601:(et,Me,v)=>{"use strict";var h=v(4707),o=v(7786),De=v(9272),Ee=v(8832),ae=v(7950),se=v(5988),te=v(9462),de=v(9021),ce=v(8654),z=v(9453),j=v(4991),W=v(3581),ne=v(5779),le=v(19),ie=v(2835),ge=v(7605),B=v(4877),Z=v(6e3);function Dn(l,a){1&l&&(o.TgZ(0,"span",7),o.Hsn(1,1),o.qZA())}function kn(l,a){1&l&&(o.TgZ(0,"span",8),o.Hsn(1,2),o.qZA())}const gn=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Ze=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],Ye=["*"],U=new o.OlP("mat-chips-default-options"),we=new o.OlP("MatChipAvatar"),Fe=new o.OlP("MatChipTrailingIcon"),rt=new o.OlP("MatChipRemove"),be=new o.OlP("MatChip");class w{}const E=(0,de.sb)(w,-1);let Y=(()=>{class l extends E{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(i){this._disabled=(0,se.Ig)(i)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(i,s){super(),this._elementRef=i,this._parentChip=s,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===i.nativeElement.nodeName&&i.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(i){!this.disabled&&this.isInteractive&&this._isPrimary&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(i){(i.keyCode===ge.K5||i.keyCode===ge.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(be))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(s,d){1&s&&o.NdJ("click",function(b){return d._handleClick(b)})("keydown",function(b){return d._handleKeydown(b)}),2&s&&(o.uIk("tabindex",d._getTabindex())("disabled",d._getDisabledAttribute())("aria-disabled",d.disabled),o.ekj("mdc-evolution-chip__action--primary",d._isPrimary)("mdc-evolution-chip__action--presentational",!d.isInteractive)("mdc-evolution-chip__action--trailing",!d._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[o.qOj]})}return l})(),tt=0;const wt=(0,de.sb)((0,de.pj)((0,de.Kr)((0,de.Id)(class{constructor(l){this._elementRef=l}})),"primary"),-1);let mt=(()=>{class l extends wt{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(i){this._value=i}get removable(){return this._removable}set removable(i){this._removable=(0,se.Ig)(i)}get highlighted(){return this._highlighted}set highlighted(i){this._highlighted=(0,se.Ig)(i)}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(i){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,i)}constructor(i,s,d,p,b,S,ee,Te){super(s),this._changeDetectorRef=i,this._ngZone=d,this._focusMonitor=p,this._globalRippleOptions=ee,this._onFocus=new z.x,this._onBlur=new z.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+tt++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new o.vpe,this.destroyed=new o.vpe,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=(0,o.f3M)(de.Fq),this._document=b,this._animationsDisabled="NoopAnimations"===S,null!=Te&&(this.tabIndex=parseInt(Te)??this.defaultTabIndex),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const i=this._elementRef.nativeElement;this._isBasicChip=i.hasAttribute(this.basicChipAttrName)||i.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=(0,j.T)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(i){(i.keyCode===ge.ZH||i.keyCode===ge.yY)&&(i.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(i){return this._getActions().find(s=>{const d=s._elementRef.nativeElement;return d===i||d.contains(i)})}_getActions(){const i=[];return this.primaryAction&&i.push(this.primaryAction),this.removeIcon&&i.push(this.removeIcon),this.trailingIcon&&i.push(this.trailingIcon),i}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{const s=null!==i;s!==this._hasFocusInternal&&(this._hasFocusInternal=s,s?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,W.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(ce.tE),o.Y36(te.K0),o.Y36(o.QbO,8),o.Y36(de.Y2,8),o.$8M("tabindex"))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(s,d,p){if(1&s&&(o.Suo(p,we,5),o.Suo(p,Fe,5),o.Suo(p,rt,5),o.Suo(p,we,5),o.Suo(p,Fe,5),o.Suo(p,rt,5)),2&s){let b;o.iGM(b=o.CRH())&&(d.leadingIcon=b.first),o.iGM(b=o.CRH())&&(d.trailingIcon=b.first),o.iGM(b=o.CRH())&&(d.removeIcon=b.first),o.iGM(b=o.CRH())&&(d._allLeadingIcons=b),o.iGM(b=o.CRH())&&(d._allTrailingIcons=b),o.iGM(b=o.CRH())&&(d._allRemoveIcons=b)}},viewQuery:function(s,d){if(1&s&&o.Gf(Y,5),2&s){let p;o.iGM(p=o.CRH())&&(d.primaryAction=p.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(s,d){1&s&&o.NdJ("keydown",function(b){return d._handleKeydown(b)}),2&s&&(o.Ikx("id",d.id),o.uIk("role",d.role)("tabindex",d.role?d.tabIndex:null)("aria-label",d.ariaLabel),o.ekj("mdc-evolution-chip",!d._isBasicChip)("mdc-evolution-chip--disabled",d.disabled)("mdc-evolution-chip--with-trailing-action",d._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",d.leadingIcon)("mdc-evolution-chip--with-primary-icon",d.leadingIcon)("mdc-evolution-chip--with-avatar",d.leadingIcon)("mat-mdc-chip-with-avatar",d.leadingIcon)("mat-mdc-chip-highlighted",d.highlighted)("mat-mdc-chip-disabled",d.disabled)("mat-mdc-basic-chip",d._isBasicChip)("mat-mdc-standard-chip",!d._isBasicChip)("mat-mdc-chip-with-trailing-icon",d._hasTrailingIcon())("_mat-animation-noopable",d._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[o._Bn([{provide:be,useExisting:l}]),o.qOj],ngContentSelectors:Ze,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(s,d){1&s&&(o.F$t(gn),o._UZ(0,"span",0),o.TgZ(1,"span",1)(2,"span",2),o.YNc(3,Dn,2,0,"span",3),o.TgZ(4,"span",4),o.Hsn(5),o._UZ(6,"span",5),o.qZA()()(),o.YNc(7,kn,2,0,"span",6)),2&s&&(o.xp6(2),o.Q6J("isInteractive",!1),o.xp6(1),o.Q6J("ngIf",d.leadingIcon),o.xp6(4),o.Q6J("ngIf",d._hasTrailingIcon()))},dependencies:[te.O5,Y],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return l})();class _i{constructor(a){}}const zn=(0,de.sb)(_i);let rn=(()=>{class l extends zn{get chipFocusChanges(){return this._getChipStream(i=>i._onFocus)}get chipDestroyedChanges(){return this._getChipStream(i=>i.destroyed)}get disabled(){return this._disabled}set disabled(i){this._disabled=(0,se.Ig)(i),this._syncChipsState()}get empty(){return!this._chips||0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(i){this._explicitRole=i}get focused(){return this._hasFocusedChip()}constructor(i,s,d){super(i),this._elementRef=i,this._changeDetectorRef=s,this._dir=d,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new z.x,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new o.n_E}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(i=>i._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(i=>{i.disabled=this._disabled,i._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(i){this._originatesFromChip(i)&&this._keyManager.onKeydown(i)}_isValidIndex(i){return i>=0&&i<this._chips.length}_allowFocusEscape(){if(-1!==this.tabIndex){const i=this.tabIndex;this.tabIndex=-1,setTimeout(()=>this.tabIndex=i)}}_getChipStream(i){return this._chips.changes.pipe((0,le.O)(null),(0,ie.w)(()=>(0,j.T)(...this._chips.map(i))))}_originatesFromChip(i){let s=i.target;for(;s&&s!==this._elementRef.nativeElement;){if(s.classList.contains("mat-mdc-chip"))return!0;s=s.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe((0,le.O)(this._chips)).subscribe(i=>{const s=[];i.forEach(d=>d._getActions().forEach(p=>s.push(p))),this._chipActions.reset(s),this._chipActions.notifyOnChanges()}),this._keyManager=new ce.Em(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(i=>this._skipPredicate(i)),this.chipFocusChanges.pipe((0,ne.R)(this._destroyed)).subscribe(({chip:i})=>{const s=i._getSourceAction(document.activeElement);s&&this._keyManager.updateActiveItem(s)}),this._dir?.change.pipe((0,ne.R)(this._destroyed)).subscribe(i=>this._keyManager.withHorizontalOrientation(i))}_skipPredicate(i){return!i.isInteractive||i.disabled}_trackChipSetChanges(){this._chips.changes.pipe((0,le.O)(null),(0,ne.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe((0,ne.R)(this._destroyed)).subscribe(i=>{const d=this._chips.toArray().indexOf(i.chip);this._isValidIndex(d)&&i.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=d)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const i=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),s=this._chips.toArray()[i];s.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():s.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(B.Is,8))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-chip-set"]],contentQueries:function(s,d,p){if(1&s&&o.Suo(p,mt,5),2&s){let b;o.iGM(b=o.CRH())&&(d._chips=b)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(s,d){1&s&&o.NdJ("keydown",function(b){return d._handleKeydown(b)}),2&s&&o.uIk("role",d.role)},inputs:{disabled:"disabled",role:"role"},features:[o.qOj],ngContentSelectors:Ye,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(s,d){1&s&&(o.F$t(),o.TgZ(0,"div",0),o.Hsn(1),o.qZA())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return l})(),Kr=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:[de.rD,{provide:U,useValue:{separatorKeyCodes:[ge.K5]}}],imports:[de.BQ,te.ez,de.si,de.BQ]})}return l})();var Di=v(9467),ii=v(3844),$i=v(1497),oi=v(6512),qi=v(9592);const Ws=(0,ii.Mq)();class Ys{constructor(a,i){this._viewportRuler=a,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=i}attach(){}enable(){if(this._canBeEnabled()){const a=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=a.style.left||"",this._previousHTMLStyles.top=a.style.top||"",a.style.left=(0,se.HM)(-this._previousScrollPosition.left),a.style.top=(0,se.HM)(-this._previousScrollPosition.top),a.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const a=this._document.documentElement,s=a.style,d=this._document.body.style,p=s.scrollBehavior||"",b=d.scrollBehavior||"";this._isEnabled=!1,s.left=this._previousHTMLStyles.left,s.top=this._previousHTMLStyles.top,a.classList.remove("cdk-global-scrollblock"),Ws&&(s.scrollBehavior=d.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Ws&&(s.scrollBehavior=p,d.scrollBehavior=b)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const i=this._document.body,s=this._viewportRuler.getViewportSize();return i.scrollHeight>s.height||i.scrollWidth>s.width}}class vr{constructor(a,i,s,d){this._scrollDispatcher=a,this._ngZone=i,this._viewportRuler=s,this._config=d,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(a){this._overlayRef=a}enable(){if(this._scrollSubscription)return;const a=this._scrollDispatcher.scrolled(0).pipe((0,$i.h)(i=>!i||!this._overlayRef.overlayElement.contains(i.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=a.subscribe(()=>{const i=this._viewportRuler.getViewportScrollPosition().top;Math.abs(i-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=a.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Zr{enable(){}disable(){}attach(){}}function tr(l,a){return a.some(i=>l.bottom<i.top||l.top>i.bottom||l.right<i.left||l.left>i.right)}function qr(l,a){return a.some(i=>l.top<i.top||l.bottom>i.bottom||l.left<i.left||l.right>i.right)}class yr{constructor(a,i,s,d){this._scrollDispatcher=a,this._viewportRuler=i,this._ngZone=s,this._config=d,this._scrollSubscription=null}attach(a){this._overlayRef=a}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const i=this._overlayRef.overlayElement.getBoundingClientRect(),{width:s,height:d}=this._viewportRuler.getViewportSize();tr(i,[{width:s,height:d,bottom:d,right:s,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Jr=(()=>{class l{constructor(i,s,d,p){this._scrollDispatcher=i,this._viewportRuler=s,this._ngZone=d,this.noop=()=>new Zr,this.close=b=>new vr(this._scrollDispatcher,this._ngZone,this._viewportRuler,b),this.block=()=>new Ys(this._viewportRuler,this._document),this.reposition=b=>new yr(this._scrollDispatcher,this._viewportRuler,this._ngZone,b),this._document=p}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(Di.mF),o.LFG(Di.rL),o.LFG(o.R0b),o.LFG(te.K0))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();class nr{constructor(a){if(this.scrollStrategy=new Zr,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,a){const i=Object.keys(a);for(const s of i)void 0!==a[s]&&(this[s]=a[s])}}}class Xt{constructor(a,i){this.connectionPair=a,this.scrollableViewProperties=i}}let Ji=(()=>{class l{constructor(i){this._attachedOverlays=[],this._document=i}ngOnDestroy(){this.detach()}add(i){this.remove(i),this._attachedOverlays.push(i)}remove(i){const s=this._attachedOverlays.indexOf(i);s>-1&&this._attachedOverlays.splice(s,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(te.K0))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),ri=(()=>{class l extends Ji{constructor(i,s){super(i),this._ngZone=s,this._keydownListener=d=>{const p=this._attachedOverlays;for(let b=p.length-1;b>-1;b--)if(p[b]._keydownEvents.observers.length>0){const S=p[b]._keydownEvents;this._ngZone?this._ngZone.run(()=>S.next(d)):S.next(d);break}}}add(i){super.add(i),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(te.K0),o.LFG(o.R0b,8))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),Bo=(()=>{class l extends Ji{constructor(i,s,d){super(i),this._platform=s,this._ngZone=d,this._cursorStyleIsSet=!1,this._pointerDownListener=p=>{this._pointerDownEventTarget=(0,ii.sA)(p)},this._clickListener=p=>{const b=(0,ii.sA)(p),S="click"===p.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:b;this._pointerDownEventTarget=null;const ee=this._attachedOverlays.slice();for(let Te=ee.length-1;Te>-1;Te--){const Le=ee[Te];if(Le._outsidePointerEvents.observers.length<1||!Le.hasAttached())continue;if(Le.overlayElement.contains(b)||Le.overlayElement.contains(S))break;const nt=Le._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>nt.next(p)):nt.next(p)}}}add(i){if(super.add(i),!this._isAttached){const s=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(s)):this._addEventListeners(s),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=s.style.cursor,s.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const i=this._document.body;i.removeEventListener("pointerdown",this._pointerDownListener,!0),i.removeEventListener("click",this._clickListener,!0),i.removeEventListener("auxclick",this._clickListener,!0),i.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(i.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(i){i.addEventListener("pointerdown",this._pointerDownListener,!0),i.addEventListener("click",this._clickListener,!0),i.addEventListener("auxclick",this._clickListener,!0),i.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(te.K0),o.LFG(ii.t4),o.LFG(o.R0b,8))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),$o=(()=>{class l{constructor(i,s){this._platform=s,this._document=i}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const i="cdk-overlay-container";if(this._platform.isBrowser||(0,ii.Oy)()){const d=this._document.querySelectorAll(`.${i}[platform="server"], .${i}[platform="test"]`);for(let p=0;p<d.length;p++)d[p].remove()}const s=this._document.createElement("div");s.classList.add(i),(0,ii.Oy)()?s.setAttribute("platform","test"):this._platform.isBrowser||s.setAttribute("platform","server"),this._document.body.appendChild(s),this._containerElement=s}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(te.K0),o.LFG(ii.t4))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();class Ei{constructor(a,i,s,d,p,b,S,ee,Te,Le=!1){this._portalOutlet=a,this._host=i,this._pane=s,this._config=d,this._ngZone=p,this._keyboardDispatcher=b,this._document=S,this._location=ee,this._outsideClickDispatcher=Te,this._animationsDisabled=Le,this._backdropElement=null,this._backdropClick=new z.x,this._attachments=new z.x,this._detachments=new z.x,this._locationChanges=qi.w0.EMPTY,this._backdropClickHandler=nt=>this._backdropClick.next(nt),this._backdropTransitionendHandler=nt=>{this._disposeBackdrop(nt.target)},this._keydownEvents=new z.x,this._outsidePointerEvents=new z.x,d.scrollStrategy&&(this._scrollStrategy=d.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=d.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(a){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const i=this._portalOutlet.attach(a);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,W.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof i?.onDestroy&&i.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),i}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const a=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),a}dispose(){const a=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,a&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(a){a!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=a,this.hasAttached()&&(a.attach(this),this.updatePosition()))}updateSize(a){this._config={...this._config,...a},this._updateElementSize()}setDirection(a){this._config={...this._config,direction:a},this._updateElementDirection()}addPanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!0)}removePanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!1)}getDirection(){const a=this._config.direction;return a?"string"==typeof a?a:a.value:"ltr"}updateScrollStrategy(a){a!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=a,this.hasAttached()&&(a.attach(this),a.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const a=this._pane.style;a.width=(0,se.HM)(this._config.width),a.height=(0,se.HM)(this._config.height),a.minWidth=(0,se.HM)(this._config.minWidth),a.minHeight=(0,se.HM)(this._config.minHeight),a.maxWidth=(0,se.HM)(this._config.maxWidth),a.maxHeight=(0,se.HM)(this._config.maxHeight)}_togglePointerEvents(a){this._pane.style.pointerEvents=a?"":"none"}_attachBackdrop(){const a="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(a)})}):this._backdropElement.classList.add(a)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const a=this._backdropElement;if(a){if(this._animationsDisabled)return void this._disposeBackdrop(a);a.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{a.addEventListener("transitionend",this._backdropTransitionendHandler)}),a.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(a)},500))}}_toggleClasses(a,i,s){const d=(0,se.Eq)(i||[]).filter(p=>!!p);d.length&&(s?a.classList.add(...d):a.classList.remove(...d))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const a=this._ngZone.onStable.pipe((0,ne.R)((0,j.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),a.unsubscribe())})})}_disposeScrollStrategy(){const a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())}_disposeBackdrop(a){a&&(a.removeEventListener("click",this._backdropClickHandler),a.removeEventListener("transitionend",this._backdropTransitionendHandler),a.remove(),this._backdropElement===a&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Xr="cdk-overlay-connected-position-bounding-box",xr=/([A-Za-z%]+)$/;class _n{get positions(){return this._preferredPositions}constructor(a,i,s,d,p){this._viewportRuler=i,this._document=s,this._platform=d,this._overlayContainer=p,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new z.x,this._resizeSubscription=qi.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(a)}attach(a){this._validatePositions(),a.hostElement.classList.add(Xr),this._overlayRef=a,this._boundingBox=a.hostElement,this._pane=a.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const a=this._originRect,i=this._overlayRect,s=this._viewportRect,d=this._containerRect,p=[];let b;for(let S of this._preferredPositions){let ee=this._getOriginPoint(a,d,S),Te=this._getOverlayPoint(ee,i,S),Le=this._getOverlayFit(Te,i,s,S);if(Le.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(S,ee);this._canFitWithFlexibleDimensions(Le,Te,s)?p.push({position:S,origin:ee,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(ee,S)}):(!b||b.overlayFit.visibleArea<Le.visibleArea)&&(b={overlayFit:Le,overlayPoint:Te,originPoint:ee,position:S,overlayRect:i})}if(p.length){let S=null,ee=-1;for(const Te of p){const Le=Te.boundingBoxRect.width*Te.boundingBoxRect.height*(Te.position.weight||1);Le>ee&&(ee=Le,S=Te)}return this._isPushed=!1,void this._applyPosition(S.position,S.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(b.position,b.originPoint);this._applyPosition(b.position,b.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&vt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Xr),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const a=this._lastPosition;if(a){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const i=this._getOriginPoint(this._originRect,this._containerRect,a);this._applyPosition(a,i)}else this.apply()}withScrollableContainers(a){return this._scrollables=a,this}withPositions(a){return this._preferredPositions=a,-1===a.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(a){return this._viewportMargin=a,this}withFlexibleDimensions(a=!0){return this._hasFlexibleDimensions=a,this}withGrowAfterOpen(a=!0){return this._growAfterOpen=a,this}withPush(a=!0){return this._canPush=a,this}withLockedPosition(a=!0){return this._positionLocked=a,this}setOrigin(a){return this._origin=a,this}withDefaultOffsetX(a){return this._offsetX=a,this}withDefaultOffsetY(a){return this._offsetY=a,this}withTransformOriginOn(a){return this._transformOriginSelector=a,this}_getOriginPoint(a,i,s){let d,p;if("center"==s.originX)d=a.left+a.width/2;else{const b=this._isRtl()?a.right:a.left,S=this._isRtl()?a.left:a.right;d="start"==s.originX?b:S}return i.left<0&&(d-=i.left),p="center"==s.originY?a.top+a.height/2:"top"==s.originY?a.top:a.bottom,i.top<0&&(p-=i.top),{x:d,y:p}}_getOverlayPoint(a,i,s){let d,p;return d="center"==s.overlayX?-i.width/2:"start"===s.overlayX?this._isRtl()?-i.width:0:this._isRtl()?0:-i.width,p="center"==s.overlayY?-i.height/2:"top"==s.overlayY?0:-i.height,{x:a.x+d,y:a.y+p}}_getOverlayFit(a,i,s,d){const p=pn(i);let{x:b,y:S}=a,ee=this._getOffset(d,"x"),Te=this._getOffset(d,"y");ee&&(b+=ee),Te&&(S+=Te);let _t=0-S,Dt=S+p.height-s.height,Mt=this._subtractOverflows(p.width,0-b,b+p.width-s.width),At=this._subtractOverflows(p.height,_t,Dt),Yt=Mt*At;return{visibleArea:Yt,isCompletelyWithinViewport:p.width*p.height===Yt,fitsInViewportVertically:At===p.height,fitsInViewportHorizontally:Mt==p.width}}_canFitWithFlexibleDimensions(a,i,s){if(this._hasFlexibleDimensions){const d=s.bottom-i.y,p=s.right-i.x,b=zt(this._overlayRef.getConfig().minHeight),S=zt(this._overlayRef.getConfig().minWidth);return(a.fitsInViewportVertically||null!=b&&b<=d)&&(a.fitsInViewportHorizontally||null!=S&&S<=p)}return!1}_pushOverlayOnScreen(a,i,s){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};const d=pn(i),p=this._viewportRect,b=Math.max(a.x+d.width-p.width,0),S=Math.max(a.y+d.height-p.height,0),ee=Math.max(p.top-s.top-a.y,0),Te=Math.max(p.left-s.left-a.x,0);let Le=0,nt=0;return Le=d.width<=p.width?Te||-b:a.x<this._viewportMargin?p.left-s.left-a.x:0,nt=d.height<=p.height?ee||-S:a.y<this._viewportMargin?p.top-s.top-a.y:0,this._previousPushAmount={x:Le,y:nt},{x:a.x+Le,y:a.y+nt}}_applyPosition(a,i){if(this._setTransformOrigin(a),this._setOverlayElementStyles(i,a),this._setBoundingBoxStyles(i,a),a.panelClass&&this._addPanelClasses(a.panelClass),this._lastPosition=a,this._positionChanges.observers.length){const s=this._getScrollVisibility(),d=new Xt(a,s);this._positionChanges.next(d)}this._isInitialRender=!1}_setTransformOrigin(a){if(!this._transformOriginSelector)return;const i=this._boundingBox.querySelectorAll(this._transformOriginSelector);let s,d=a.overlayY;s="center"===a.overlayX?"center":this._isRtl()?"start"===a.overlayX?"right":"left":"start"===a.overlayX?"left":"right";for(let p=0;p<i.length;p++)i[p].style.transformOrigin=`${s} ${d}`}_calculateBoundingBoxRect(a,i){const s=this._viewportRect,d=this._isRtl();let p,b,S,Le,nt,_t;if("top"===i.overlayY)b=a.y,p=s.height-b+this._viewportMargin;else if("bottom"===i.overlayY)S=s.height-a.y+2*this._viewportMargin,p=s.height-S+this._viewportMargin;else{const Dt=Math.min(s.bottom-a.y+s.top,a.y),Mt=this._lastBoundingBoxSize.height;p=2*Dt,b=a.y-Dt,p>Mt&&!this._isInitialRender&&!this._growAfterOpen&&(b=a.y-Mt/2)}if("end"===i.overlayX&&!d||"start"===i.overlayX&&d)_t=s.width-a.x+this._viewportMargin,Le=a.x-this._viewportMargin;else if("start"===i.overlayX&&!d||"end"===i.overlayX&&d)nt=a.x,Le=s.right-a.x;else{const Dt=Math.min(s.right-a.x+s.left,a.x),Mt=this._lastBoundingBoxSize.width;Le=2*Dt,nt=a.x-Dt,Le>Mt&&!this._isInitialRender&&!this._growAfterOpen&&(nt=a.x-Mt/2)}return{top:b,left:nt,bottom:S,right:_t,width:Le,height:p}}_setBoundingBoxStyles(a,i){const s=this._calculateBoundingBoxRect(a,i);!this._isInitialRender&&!this._growAfterOpen&&(s.height=Math.min(s.height,this._lastBoundingBoxSize.height),s.width=Math.min(s.width,this._lastBoundingBoxSize.width));const d={};if(this._hasExactPosition())d.top=d.left="0",d.bottom=d.right=d.maxHeight=d.maxWidth="",d.width=d.height="100%";else{const p=this._overlayRef.getConfig().maxHeight,b=this._overlayRef.getConfig().maxWidth;d.height=(0,se.HM)(s.height),d.top=(0,se.HM)(s.top),d.bottom=(0,se.HM)(s.bottom),d.width=(0,se.HM)(s.width),d.left=(0,se.HM)(s.left),d.right=(0,se.HM)(s.right),d.alignItems="center"===i.overlayX?"center":"end"===i.overlayX?"flex-end":"flex-start",d.justifyContent="center"===i.overlayY?"center":"bottom"===i.overlayY?"flex-end":"flex-start",p&&(d.maxHeight=(0,se.HM)(p)),b&&(d.maxWidth=(0,se.HM)(b))}this._lastBoundingBoxSize=s,vt(this._boundingBox.style,d)}_resetBoundingBoxStyles(){vt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){vt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(a,i){const s={},d=this._hasExactPosition(),p=this._hasFlexibleDimensions,b=this._overlayRef.getConfig();if(d){const Le=this._viewportRuler.getViewportScrollPosition();vt(s,this._getExactOverlayY(i,a,Le)),vt(s,this._getExactOverlayX(i,a,Le))}else s.position="static";let S="",ee=this._getOffset(i,"x"),Te=this._getOffset(i,"y");ee&&(S+=`translateX(${ee}px) `),Te&&(S+=`translateY(${Te}px)`),s.transform=S.trim(),b.maxHeight&&(d?s.maxHeight=(0,se.HM)(b.maxHeight):p&&(s.maxHeight="")),b.maxWidth&&(d?s.maxWidth=(0,se.HM)(b.maxWidth):p&&(s.maxWidth="")),vt(this._pane.style,s)}_getExactOverlayY(a,i,s){let d={top:"",bottom:""},p=this._getOverlayPoint(i,this._overlayRect,a);return this._isPushed&&(p=this._pushOverlayOnScreen(p,this._overlayRect,s)),"bottom"===a.overlayY?d.bottom=this._document.documentElement.clientHeight-(p.y+this._overlayRect.height)+"px":d.top=(0,se.HM)(p.y),d}_getExactOverlayX(a,i,s){let b,d={left:"",right:""},p=this._getOverlayPoint(i,this._overlayRect,a);return this._isPushed&&(p=this._pushOverlayOnScreen(p,this._overlayRect,s)),b=this._isRtl()?"end"===a.overlayX?"left":"right":"end"===a.overlayX?"right":"left","right"===b?d.right=this._document.documentElement.clientWidth-(p.x+this._overlayRect.width)+"px":d.left=(0,se.HM)(p.x),d}_getScrollVisibility(){const a=this._getOriginRect(),i=this._pane.getBoundingClientRect(),s=this._scrollables.map(d=>d.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:qr(a,s),isOriginOutsideView:tr(a,s),isOverlayClipped:qr(i,s),isOverlayOutsideView:tr(i,s)}}_subtractOverflows(a,...i){return i.reduce((s,d)=>s-Math.max(d,0),a)}_getNarrowedViewportRect(){const a=this._document.documentElement.clientWidth,i=this._document.documentElement.clientHeight,s=this._viewportRuler.getViewportScrollPosition();return{top:s.top+this._viewportMargin,left:s.left+this._viewportMargin,right:s.left+a-this._viewportMargin,bottom:s.top+i-this._viewportMargin,width:a-2*this._viewportMargin,height:i-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(a,i){return"x"===i?null==a.offsetX?this._offsetX:a.offsetX:null==a.offsetY?this._offsetY:a.offsetY}_validatePositions(){}_addPanelClasses(a){this._pane&&(0,se.Eq)(a).forEach(i=>{""!==i&&-1===this._appliedPanelClasses.indexOf(i)&&(this._appliedPanelClasses.push(i),this._pane.classList.add(i))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(a=>{this._pane.classList.remove(a)}),this._appliedPanelClasses=[])}_getOriginRect(){const a=this._origin;if(a instanceof o.SBq)return a.nativeElement.getBoundingClientRect();if(a instanceof Element)return a.getBoundingClientRect();const i=a.width||0,s=a.height||0;return{top:a.y,bottom:a.y+s,left:a.x,right:a.x+i,height:s,width:i}}}function vt(l,a){for(let i in a)a.hasOwnProperty(i)&&(l[i]=a[i]);return l}function zt(l){if("number"!=typeof l&&null!=l){const[a,i]=l.split(xr);return i&&"px"!==i?null:parseFloat(a)}return l||null}function pn(l){return{top:Math.floor(l.top),right:Math.floor(l.right),bottom:Math.floor(l.bottom),left:Math.floor(l.left),width:Math.floor(l.width),height:Math.floor(l.height)}}const Bn="cdk-global-overlay-wrapper";class Ho{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(a){const i=a.getConfig();this._overlayRef=a,this._width&&!i.width&&a.updateSize({width:this._width}),this._height&&!i.height&&a.updateSize({height:this._height}),a.hostElement.classList.add(Bn),this._isDisposed=!1}top(a=""){return this._bottomOffset="",this._topOffset=a,this._alignItems="flex-start",this}left(a=""){return this._xOffset=a,this._xPosition="left",this}bottom(a=""){return this._topOffset="",this._bottomOffset=a,this._alignItems="flex-end",this}right(a=""){return this._xOffset=a,this._xPosition="right",this}start(a=""){return this._xOffset=a,this._xPosition="start",this}end(a=""){return this._xOffset=a,this._xPosition="end",this}width(a=""){return this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a,this}height(a=""){return this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a,this}centerHorizontally(a=""){return this.left(a),this._xPosition="center",this}centerVertically(a=""){return this.top(a),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const a=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement.style,s=this._overlayRef.getConfig(),{width:d,height:p,maxWidth:b,maxHeight:S}=s,ee=!("100%"!==d&&"100vw"!==d||b&&"100%"!==b&&"100vw"!==b),Te=!("100%"!==p&&"100vh"!==p||S&&"100%"!==S&&"100vh"!==S),Le=this._xPosition,nt=this._xOffset,_t="rtl"===this._overlayRef.getConfig().direction;let Dt="",Mt="",At="";ee?At="flex-start":"center"===Le?(At="center",_t?Mt=nt:Dt=nt):_t?"left"===Le||"end"===Le?(At="flex-end",Dt=nt):("right"===Le||"start"===Le)&&(At="flex-start",Mt=nt):"left"===Le||"start"===Le?(At="flex-start",Dt=nt):("right"===Le||"end"===Le)&&(At="flex-end",Mt=nt),a.position=this._cssPosition,a.marginLeft=ee?"0":Dt,a.marginTop=Te?"0":this._topOffset,a.marginBottom=this._bottomOffset,a.marginRight=ee?"0":Mt,i.justifyContent=At,i.alignItems=Te?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const a=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement,s=i.style;i.classList.remove(Bn),s.justifyContent=s.alignItems=a.marginTop=a.marginBottom=a.marginLeft=a.marginRight=a.position="",this._overlayRef=null,this._isDisposed=!0}}let En=(()=>{class l{constructor(i,s,d,p){this._viewportRuler=i,this._document=s,this._platform=d,this._overlayContainer=p}global(){return new Ho}flexibleConnectedTo(i){return new _n(i,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(Di.rL),o.LFG(te.K0),o.LFG(ii.t4),o.LFG($o))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),Mi=0,Gn=(()=>{class l{constructor(i,s,d,p,b,S,ee,Te,Le,nt,_t,Dt){this.scrollStrategies=i,this._overlayContainer=s,this._componentFactoryResolver=d,this._positionBuilder=p,this._keyboardDispatcher=b,this._injector=S,this._ngZone=ee,this._document=Te,this._directionality=Le,this._location=nt,this._outsideClickDispatcher=_t,this._animationsModuleType=Dt}create(i){const s=this._createHostElement(),d=this._createPaneElement(s),p=this._createPortalOutlet(d),b=new nr(i);return b.direction=b.direction||this._directionality.value,new Ei(p,s,d,b,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(i){const s=this._document.createElement("div");return s.id="cdk-overlay-"+Mi++,s.classList.add("cdk-overlay-pane"),i.appendChild(s),s}_createHostElement(){const i=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalOutlet(i){return this._appRef||(this._appRef=this._injector.get(o.z2F)),new oi.u0(i,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(Jr),o.LFG($o),o.LFG(o._Vd),o.LFG(En),o.LFG(ri),o.LFG(o.zs3),o.LFG(o.R0b),o.LFG(te.K0),o.LFG(B.Is),o.LFG(te.Ye),o.LFG(Bo),o.LFG(o.QbO,8))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();const Ti={provide:new o.OlP("cdk-connected-overlay-scroll-strategy"),deps:[Gn],useFactory:function Mn(l){return()=>l.scrollStrategies.reposition()}};let Qi=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:[Gn,Ti],imports:[B.vT,oi.eL,Di.Cl,Di.Cl]})}return l})();var vo=v(7371),ir=v(8299);function Xi(l){return new vo.y(a=>{(0,ir.Xf)(l()).subscribe(a)})}var ai=v(9627);function yo(l,a){}class bi{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let es=(()=>{class l extends oi.en{constructor(i,s,d,p,b,S,ee,Te){super(),this._elementRef=i,this._focusTrapFactory=s,this._config=p,this._interactivityChecker=b,this._ngZone=S,this._overlayRef=ee,this._focusMonitor=Te,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=Le=>{this._portalOutlet.hasAttached();const nt=this._portalOutlet.attachDomPortal(Le);return this._contentAttached(),nt},this._document=d,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(i){this._portalOutlet.hasAttached();const s=this._portalOutlet.attachComponentPortal(i);return this._contentAttached(),s}attachTemplatePortal(i){this._portalOutlet.hasAttached();const s=this._portalOutlet.attachTemplatePortal(i);return this._contentAttached(),s}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(i,s){this._interactivityChecker.isFocusable(i)||(i.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const d=()=>{i.removeEventListener("blur",d),i.removeEventListener("mousedown",d),i.removeAttribute("tabindex")};i.addEventListener("blur",d),i.addEventListener("mousedown",d)})),i.focus(s)}_focusByCssSelector(i,s){let d=this._elementRef.nativeElement.querySelector(i);d&&this._forceFocus(d,s)}_trapFocus(){const i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(s=>{s||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const i=this._config.restoreFocus;let s=null;if("string"==typeof i?s=this._document.querySelector(i):"boolean"==typeof i?s=i?this._elementFocusedBeforeDialogWasOpened:null:i&&(s=i),this._config.restoreFocus&&s&&"function"==typeof s.focus){const d=(0,ii.ht)(),p=this._elementRef.nativeElement;(!d||d===this._document.body||d===p||p.contains(d))&&(this._focusMonitor?(this._focusMonitor.focusVia(s,this._closeInteractionType),this._closeInteractionType=null):s.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const i=this._elementRef.nativeElement,s=(0,ii.ht)();return i===s||i.contains(s)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,ii.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(ce.qV),o.Y36(te.K0,8),o.Y36(bi),o.Y36(ce.ic),o.Y36(o.R0b),o.Y36(Ei),o.Y36(ce.tE))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["cdk-dialog-container"]],viewQuery:function(s,d){if(1&s&&o.Gf(oi.Pl,7),2&s){let p;o.iGM(p=o.CRH())&&(d._portalOutlet=p.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(s,d){2&s&&o.uIk("id",d._config.id||null)("role",d._config.role)("aria-modal",d._config.ariaModal)("aria-labelledby",d._config.ariaLabel?null:d._ariaLabelledByQueue[0])("aria-label",d._config.ariaLabel)("aria-describedby",d._config.ariaDescribedBy||null)},features:[o.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(s,d){1&s&&o.YNc(0,yo,0,0,"ng-template",0)},dependencies:[oi.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return l})();class Vo{constructor(a,i){this.overlayRef=a,this.config=i,this.closed=new z.x,this.disableClose=i.disableClose,this.backdropClick=a.backdropClick(),this.keydownEvents=a.keydownEvents(),this.outsidePointerEvents=a.outsidePointerEvents(),this.id=i.id,this.keydownEvents.subscribe(s=>{s.keyCode===ge.hY&&!this.disableClose&&!(0,ge.Vb)(s)&&(s.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=a.detachments().subscribe(()=>{!1!==i.closeOnOverlayDetachments&&this.close()})}close(a,i){if(this.containerInstance){const s=this.closed;this.containerInstance._closeInteractionType=i?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),s.next(a),s.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(a="",i=""){return this.overlayRef.updateSize({width:a,height:i}),this}addPanelClass(a){return this.overlayRef.addPanelClass(a),this}removePanelClass(a){return this.overlayRef.removePanelClass(a),this}}const or=new o.OlP("DialogScrollStrategy"),ci=new o.OlP("DialogData"),jo=new o.OlP("DefaultDialogConfig"),xo={provide:or,deps:[Gn],useFactory:function Uo(l){return()=>l.scrollStrategies.block()}};let jn=0,wl=(()=>{class l{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(i,s,d,p,b,S){this._overlay=i,this._injector=s,this._defaultOptions=d,this._parentDialog=p,this._overlayContainer=b,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new z.x,this._afterOpenedAtThisLevel=new z.x,this._ariaHiddenElements=new Map,this.afterAllClosed=Xi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,le.O)(void 0))),this._scrollStrategy=S}open(i,s){(s={...this._defaultOptions||new bi,...s}).id=s.id||"cdk-dialog-"+jn++,s.id&&this.getDialogById(s.id);const p=this._getOverlayConfig(s),b=this._overlay.create(p),S=new Vo(b,s),ee=this._attachContainer(b,S,s);return S.containerInstance=ee,this._attachDialogContent(i,S,ee,s),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(S),S.closed.subscribe(()=>this._removeOpenDialog(S,!0)),this.afterOpened.next(S),S}closeAll(){Jn(this.openDialogs,i=>i.close())}getDialogById(i){return this.openDialogs.find(s=>s.id===i)}ngOnDestroy(){Jn(this._openDialogsAtThisLevel,i=>{!1===i.config.closeOnDestroy&&this._removeOpenDialog(i,!1)}),Jn(this._openDialogsAtThisLevel,i=>i.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(i){const s=new nr({positionStrategy:i.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:i.scrollStrategy||this._scrollStrategy(),panelClass:i.panelClass,hasBackdrop:i.hasBackdrop,direction:i.direction,minWidth:i.minWidth,minHeight:i.minHeight,maxWidth:i.maxWidth,maxHeight:i.maxHeight,width:i.width,height:i.height,disposeOnNavigation:i.closeOnNavigation});return i.backdropClass&&(s.backdropClass=i.backdropClass),s}_attachContainer(i,s,d){const p=d.injector||d.viewContainerRef?.injector,b=[{provide:bi,useValue:d},{provide:Vo,useValue:s},{provide:Ei,useValue:i}];let S;d.container?"function"==typeof d.container?S=d.container:(S=d.container.type,b.push(...d.container.providers(d))):S=es;const ee=new oi.C5(S,d.viewContainerRef,o.zs3.create({parent:p||this._injector,providers:b}),d.componentFactoryResolver);return i.attach(ee).instance}_attachDialogContent(i,s,d,p){if(i instanceof o.Rgc){const b=this._createInjector(p,s,d,void 0);let S={$implicit:p.data,dialogRef:s};p.templateContext&&(S={...S,..."function"==typeof p.templateContext?p.templateContext():p.templateContext}),d.attachTemplatePortal(new oi.UE(i,null,S,b))}else{const b=this._createInjector(p,s,d,this._injector),S=d.attachComponentPortal(new oi.C5(i,p.viewContainerRef,b,p.componentFactoryResolver));s.componentRef=S,s.componentInstance=S.instance}}_createInjector(i,s,d,p){const b=i.injector||i.viewContainerRef?.injector,S=[{provide:ci,useValue:i.data},{provide:Vo,useValue:s}];return i.providers&&("function"==typeof i.providers?S.push(...i.providers(s,i,d)):S.push(...i.providers)),i.direction&&(!b||!b.get(B.Is,null,{optional:!0}))&&S.push({provide:B.Is,useValue:{value:i.direction,change:(0,ai.of)()}}),o.zs3.create({parent:b||p,providers:S})}_removeOpenDialog(i,s){const d=this.openDialogs.indexOf(i);d>-1&&(this.openDialogs.splice(d,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((p,b)=>{p?b.setAttribute("aria-hidden",p):b.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),s&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const i=this._overlayContainer.getContainerElement();if(i.parentElement){const s=i.parentElement.children;for(let d=s.length-1;d>-1;d--){const p=s[d];p!==i&&"SCRIPT"!==p.nodeName&&"STYLE"!==p.nodeName&&!p.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(p,p.getAttribute("aria-hidden")),p.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const i=this._parentDialog;return i?i._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(Gn),o.LFG(o.zs3),o.LFG(jo,8),o.LFG(l,12),o.LFG($o),o.LFG(or))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac})}return l})();function Jn(l,a){let i=l.length;for(;i--;)a(l[i])}let Un=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:[wl,xo],imports:[Qi,oi.eL,ce.rt,oi.eL]})}return l})();function wr(l,a){}class Vi{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const rr="mdc-dialog--open",Ai="mdc-dialog--opening",Cr="mdc-dialog--closing";let nu=(()=>{class l extends es{constructor(i,s,d,p,b,S,ee,Te){super(i,s,d,p,b,S,ee,Te),this._animationStateChanged=new o.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(i){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:i})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(ce.qV),o.Y36(te.K0,8),o.Y36(Vi),o.Y36(ce.ic),o.Y36(o.R0b),o.Y36(Ei),o.Y36(ce.tE))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["ng-component"]],features:[o.qOj],decls:0,vars:0,template:function(s,d){},encapsulation:2})}return l})();const qs="--mat-dialog-transition-duration";function ts(l){return null==l?null:"number"==typeof l?l:l.endsWith("ms")?(0,se.su)(l.substring(0,l.length-2)):l.endsWith("s")?1e3*(0,se.su)(l.substring(0,l.length-1)):"0"===l?0:null}let D=(()=>{class l extends nu{constructor(i,s,d,p,b,S,ee,Te,Le){super(i,s,d,p,b,S,ee,Le),this._animationMode=Te,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?ts(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?ts(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(qs,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Ai,rr)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(rr),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(rr),this._animationsEnabled?(this._hostElement.style.setProperty(qs,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Cr)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(Ai,Cr)}_waitForAnimationToComplete(i,s){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(s,i)}_requestAnimationFrame(i){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(i):i()})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(ce.qV),o.Y36(te.K0,8),o.Y36(Vi),o.Y36(ce.ic),o.Y36(o.R0b),o.Y36(Ei),o.Y36(o.QbO,8),o.Y36(ce.tE))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(s,d){2&s&&(o.Ikx("id",d._config.id),o.uIk("aria-modal",d._config.ariaModal)("role",d._config.role)("aria-labelledby",d._config.ariaLabel?null:d._ariaLabelledByQueue[0])("aria-label",d._config.ariaLabel)("aria-describedby",d._config.ariaDescribedBy||null),o.ekj("_mat-animation-noopable",!d._animationsEnabled))},features:[o.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(s,d){1&s&&(o.TgZ(0,"div",0)(1,"div",1),o.YNc(2,wr,0,0,"ng-template",2),o.qZA()())},dependencies:[oi.Pl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}return l})();class T{constructor(a,i,s){this._ref=a,this._containerInstance=s,this._afterOpened=new z.x,this._beforeClosed=new z.x,this._state=0,this.disableClose=i.disableClose,this.id=a.id,s._animationStateChanged.pipe((0,$i.h)(d=>"opened"===d.state),(0,W.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),s._animationStateChanged.pipe((0,$i.h)(d=>"closed"===d.state),(0,W.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),a.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,j.T)(this.backdropClick(),this.keydownEvents().pipe((0,$i.h)(d=>d.keyCode===ge.hY&&!this.disableClose&&!(0,ge.Vb)(d)))).subscribe(d=>{this.disableClose||(d.preventDefault(),y(this,"keydown"===d.type?"keyboard":"mouse"))})}close(a){this._result=a,this._containerInstance._animationStateChanged.pipe((0,$i.h)(i=>"closing"===i.state),(0,W.q)(1)).subscribe(i=>{this._beforeClosed.next(a),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(a){let i=this._ref.config.positionStrategy;return a&&(a.left||a.right)?a.left?i.left(a.left):i.right(a.right):i.centerHorizontally(),a&&(a.top||a.bottom)?a.top?i.top(a.top):i.bottom(a.bottom):i.centerVertically(),this._ref.updatePosition(),this}updateSize(a="",i=""){return this._ref.updateSize(a,i),this}addPanelClass(a){return this._ref.addPanelClass(a),this}removePanelClass(a){return this._ref.removePanelClass(a),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function y(l,a,i){return l._closeInteractionType=a,l.close(i)}const $=new o.OlP("MatMdcDialogData"),Ce=new o.OlP("mat-mdc-dialog-default-options"),Pt=new o.OlP("mat-mdc-dialog-scroll-strategy"),uo={provide:Pt,deps:[Gn],useFactory:function Qt(l){return()=>l.scrollStrategies.block()}};let Qs=0,Cf=(()=>{class l{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const i=this._parentDialog;return i?i._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(i,s,d,p,b,S,ee,Te,Le,nt){this._overlay=i,this._defaultOptions=d,this._parentDialog=p,this._dialogRefConstructor=ee,this._dialogContainerType=Te,this._dialogDataToken=Le,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new z.x,this._afterOpenedAtThisLevel=new z.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=Vi,this.afterAllClosed=Xi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,le.O)(void 0))),this._scrollStrategy=S,this._dialog=s.get(wl)}open(i,s){let d;(s={...this._defaultOptions||new Vi,...s}).id=s.id||`${this._idPrefix}${Qs++}`,s.scrollStrategy=s.scrollStrategy||this._scrollStrategy();const p=this._dialog.open(i,{...s,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:s},{provide:bi,useValue:s}]},templateContext:()=>({dialogRef:d}),providers:(b,S,ee)=>(d=new this._dialogRefConstructor(b,s,ee),d.updatePosition(s?.position),[{provide:this._dialogContainerType,useValue:ee},{provide:this._dialogDataToken,useValue:S.data},{provide:this._dialogRefConstructor,useValue:d}])});return d.componentRef=p.componentRef,d.componentInstance=p.componentInstance,this.openDialogs.push(d),this.afterOpened.next(d),d.afterClosed().subscribe(()=>{const b=this.openDialogs.indexOf(d);b>-1&&(this.openDialogs.splice(b,1),this.openDialogs.length||this._getAfterAllClosed().next())}),d}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(i){return this.openDialogs.find(s=>s.id===i)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(i){let s=i.length;for(;s--;)i[s].close()}static#e=this.\u0275fac=function(s){o.$Z()};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac})}return l})(),ns=(()=>{class l extends Cf{constructor(i,s,d,p,b,S,ee,Te){super(i,s,p,S,ee,b,T,D,$,Te),this._idPrefix="mat-mdc-dialog-"}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(Gn),o.LFG(o.zs3),o.LFG(te.Ye,8),o.LFG(Ce,8),o.LFG(Pt),o.LFG(l,12),o.LFG($o),o.LFG(o.QbO,8))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac})}return l})(),Qa=0,Xa=(()=>{class l{constructor(i,s,d){this.dialogRef=i,this._elementRef=s,this._dialog=d,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=wo(this._elementRef,this._dialog.openDialogs))}ngOnChanges(i){const s=i._matDialogClose||i._matDialogCloseResult;s&&(this.dialogResult=s.currentValue)}_onButtonClick(i){y(this.dialogRef,0===i.screenX&&0===i.screenY?"keyboard":"mouse",this.dialogResult)}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(T,8),o.Y36(o.SBq),o.Y36(ns))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(s,d){1&s&&o.NdJ("click",function(b){return d._onButtonClick(b)}),2&s&&o.uIk("aria-label",d.ariaLabel||null)("type",d.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[o.TTD]})}return l})(),Df=(()=>{class l{constructor(i,s,d){this._dialogRef=i,this._elementRef=s,this._dialog=d,this.id="mat-mdc-dialog-title-"+Qa++}ngOnInit(){this._dialogRef||(this._dialogRef=wo(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){const i=this._dialogRef?._containerInstance?._ariaLabelledByQueue;i&&Promise.resolve().then(()=>{const s=i.indexOf(this.id);s>-1&&i.splice(s,1)})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(T,8),o.Y36(o.SBq),o.Y36(ns))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(s,d){2&s&&o.Ikx("id",d.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]})}return l})();function wo(l,a){let i=l.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-mdc-dialog-container");)i=i.parentElement;return i?a.find(s=>s.id===i.id):null}let Co=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:[ns,uo],imports:[Un,Qi,oi.eL,de.BQ,de.BQ]})}return l})();var On=v(2836),is=v(4453),vi=v(6589),ta=v(9925),na=v(4049),ia=v(2829),ec=v(1952),Cl=v(8412),nc=v(5123);function ic(l,a){return a?i=>(0,ta.z)(a.pipe((0,W.q)(1),function os(){return(0,na.e)((l,a)=>{l.subscribe((0,ia.x)(a,ec.Z))})}()),i.pipe(ic(l))):(0,nc.z)((i,s)=>(0,ir.Xf)(l(i,s)).pipe((0,W.q)(1),function tc(l){return(0,Cl.U)(()=>l)}(i)))}var Dl=v(5117);function oc(l,a=vi.z){const i=(0,Dl.H)(l,a);return ic(()=>i)}const oa=["mat-menu-item",""];function rs(l,a){1&l&&(o.O4$(),o.TgZ(0,"svg",3),o._UZ(1,"polygon",4),o.qZA())}const sr=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],El=["mat-icon, [matMenuItemIcon]","*"];function ou(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"div",0),o.NdJ("keydown",function(d){o.CHM(i);const p=o.oxw();return o.KtG(p._handleKeydown(d))})("click",function(){o.CHM(i);const d=o.oxw();return o.KtG(d.closed.emit("click"))})("@transformMenu.start",function(d){o.CHM(i);const p=o.oxw();return o.KtG(p._onAnimationStart(d))})("@transformMenu.done",function(d){o.CHM(i);const p=o.oxw();return o.KtG(p._onAnimationDone(d))}),o.TgZ(1,"div",1),o.Hsn(2),o.qZA()()}if(2&l){const i=o.oxw();o.Q6J("id",i.panelId)("ngClass",i._classList)("@transformMenu",i._panelAnimationState),o.uIk("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}const ru=["*"],Ml=new o.OlP("MAT_MENU_PANEL"),su=(0,de.Kr)((0,de.Id)(class{}));let ra=(()=>{class l extends su{constructor(i,s,d,p,b){super(),this._elementRef=i,this._document=s,this._focusMonitor=d,this._parentMenu=p,this._changeDetectorRef=b,this.role="menuitem",this._hovered=new z.x,this._focused=new z.x,this._highlighted=!1,this._triggersSubmenu=!1,p?.addItem?.(this)}focus(i,s){this._focusMonitor&&i?this._focusMonitor.focusVia(this._getHostElement(),i,s):this._getHostElement().focus(s),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(i){this.disabled&&(i.preventDefault(),i.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const i=this._elementRef.nativeElement.cloneNode(!0),s=i.querySelectorAll("mat-icon, .material-icons");for(let d=0;d<s.length;d++)s[d].remove();return i.textContent?.trim()||""}_setHighlighted(i){this._highlighted=i,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(i){this._triggersSubmenu=i,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(te.K0),o.Y36(ce.tE),o.Y36(Ml,8),o.Y36(o.sBO))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function(s,d){1&s&&o.NdJ("click",function(b){return d._checkDisabled(b)})("mouseenter",function(){return d._handleMouseEnter()}),2&s&&(o.uIk("role",d.role)("tabindex",d._getTabIndex())("aria-disabled",d.disabled)("disabled",d.disabled||null),o.ekj("mat-mdc-menu-item-highlighted",d._highlighted)("mat-mdc-menu-item-submenu-trigger",d._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[o.qOj],attrs:oa,ngContentSelectors:El,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(s,d){1&s&&(o.F$t(sr),o.Hsn(0),o.TgZ(1,"span",0),o.Hsn(2,1),o.qZA(),o._UZ(3,"div",1),o.YNc(4,rs,2,0,"svg",2)),2&s&&(o.xp6(3),o.Q6J("matRippleDisabled",d.disableRipple||d.disabled)("matRippleTrigger",d._getHostElement()),o.xp6(1),o.Q6J("ngIf",d._triggersSubmenu))},dependencies:[te.O5,de.wG],encapsulation:2,changeDetection:0})}return l})();const cu=new o.OlP("MatMenuContent"),rc={transformMenu:(0,Z.X$)("transformMenu",[(0,Z.SB)("void",(0,Z.oB)({opacity:0,transform:"scale(0.8)"})),(0,Z.eR)("void => enter",(0,Z.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Z.oB)({opacity:1,transform:"scale(1)"}))),(0,Z.eR)("* => void",(0,Z.jt)("100ms 25ms linear",(0,Z.oB)({opacity:0})))]),fadeInItems:(0,Z.X$)("fadeInItems",[(0,Z.SB)("showing",(0,Z.oB)({opacity:1})),(0,Z.eR)("void => *",[(0,Z.oB)({opacity:0}),(0,Z.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let g=0;const I=new o.OlP("mat-menu-default-options",{providedIn:"root",factory:function x(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let A=(()=>{class l{get xPosition(){return this._xPosition}set xPosition(i){this._xPosition=i,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(i){this._yPosition=i,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(i){this._overlapTrigger=(0,se.Ig)(i)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(i){this._hasBackdrop=(0,se.Ig)(i)}set panelClass(i){const s=this._previousPanelClass;s&&s.length&&s.split(" ").forEach(d=>{this._classList[d]=!1}),this._previousPanelClass=i,i&&i.length&&(i.split(" ").forEach(d=>{this._classList[d]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(i){this.panelClass=i}constructor(i,s,d,p){this._elementRef=i,this._ngZone=s,this._changeDetectorRef=p,this._directDescendantItems=new o.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new z.x,this.closed=new o.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+g++,this.overlayPanelClass=d.overlayPanelClass||"",this._xPosition=d.xPosition,this._yPosition=d.yPosition,this.backdropClass=d.backdropClass,this._overlapTrigger=d.overlapTrigger,this._hasBackdrop=d.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ce.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,le.O)(this._directDescendantItems),(0,ie.w)(i=>(0,j.T)(...i.map(s=>s._focused)))).subscribe(i=>this._keyManager.updateActiveItem(i)),this._directDescendantItems.changes.subscribe(i=>{const s=this._keyManager;if("enter"===this._panelAnimationState&&s.activeItem?._hasFocus()){const d=i.toArray(),p=Math.max(0,Math.min(d.length-1,s.activeItemIndex||0));d[p]&&!d[p].disabled?s.setActiveItem(p):s.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,le.O)(this._directDescendantItems),(0,ie.w)(s=>(0,j.T)(...s.map(d=>d._hovered))))}addItem(i){}removeItem(i){}_handleKeydown(i){const s=i.keyCode,d=this._keyManager;switch(s){case ge.hY:(0,ge.Vb)(i)||(i.preventDefault(),this.closed.emit("keydown"));break;case ge.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case ge.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(s===ge.LH||s===ge.JH)&&d.setFocusOrigin("keyboard"),void d.onKeydown(i)}i.stopPropagation()}focusFirstItem(i="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,W.q)(1)).subscribe(()=>{let s=null;if(this._directDescendantItems.length&&(s=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!s||!s.contains(document.activeElement)){const d=this._keyManager;d.setFocusOrigin(i).setFirstItemActive(),!d.activeItem&&s&&s.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(i){const s=Math.min(this._baseElevation+i,24),d=`${this._elevationPrefix}${s}`,p=Object.keys(this._classList).find(b=>b.startsWith(this._elevationPrefix));(!p||p===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[d]=!0,this._previousElevation=d)}setPositionClasses(i=this.xPosition,s=this.yPosition){const d=this._classList;d["mat-menu-before"]="before"===i,d["mat-menu-after"]="after"===i,d["mat-menu-above"]="above"===s,d["mat-menu-below"]="below"===s,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(i){this._animationDone.next(i),this._isAnimating=!1}_onAnimationStart(i){this._isAnimating=!0,"enter"===i.toState&&0===this._keyManager.activeItemIndex&&(i.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,le.O)(this._allItems)).subscribe(i=>{this._directDescendantItems.reset(i.filter(s=>s._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(I),o.Y36(o.sBO))};static#t=this.\u0275dir=o.lG2({type:l,contentQueries:function(s,d,p){if(1&s&&(o.Suo(p,cu,5),o.Suo(p,ra,5),o.Suo(p,ra,4)),2&s){let b;o.iGM(b=o.CRH())&&(d.lazyContent=b.first),o.iGM(b=o.CRH())&&(d._allItems=b),o.iGM(b=o.CRH())&&(d.items=b)}},viewQuery:function(s,d){if(1&s&&o.Gf(o.Rgc,5),2&s){let p;o.iGM(p=o.CRH())&&(d.templateRef=p.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}})}return l})(),fe=(()=>{class l extends A{constructor(i,s,d,p){super(i,s,d,p),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(I),o.Y36(o.sBO))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(s,d){2&s&&o.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[o._Bn([{provide:Ml,useExisting:l}]),o.qOj],ngContentSelectors:ru,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(s,d){1&s&&(o.F$t(),o.YNc(0,ou,3,6,"ng-template"))},dependencies:[te.mk],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{--mat-menu-container-shape:4px;min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[rc.transformMenu,rc.fadeInItems]},changeDetection:0})}return l})();const Je=new o.OlP("mat-menu-scroll-strategy"),It={provide:Je,deps:[Gn],useFactory:function ht(l){return()=>l.scrollStrategies.reposition()}},mn=(0,ii.i$)({passive:!0});let an=(()=>{class l{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(i){this.menu=i}get menu(){return this._menu}set menu(i){i!==this._menu&&(this._menu=i,this._menuCloseSubscription.unsubscribe(),i&&(this._menuCloseSubscription=i.close.subscribe(s=>{this._destroyMenu(s),("click"===s||"tab"===s)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(s)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(i,s,d,p,b,S,ee,Te,Le){this._overlay=i,this._element=s,this._viewContainerRef=d,this._menuItemInstance=S,this._dir=ee,this._focusMonitor=Te,this._ngZone=Le,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=qi.w0.EMPTY,this._hoverSubscription=qi.w0.EMPTY,this._menuCloseSubscription=qi.w0.EMPTY,this._changeDetectorRef=(0,o.f3M)(o.sBO),this._handleTouchStart=nt=>{(0,ce.yG)(nt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new o.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=p,this._parentMaterialMenu=b instanceof A?b:void 0,s.nativeElement.addEventListener("touchstart",this._handleTouchStart,mn)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,mn),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const i=this.menu;if(this._menuOpen||!i)return;const s=this._createOverlay(i),d=s.getConfig(),p=d.positionStrategy;this._setPosition(i,p),d.hasBackdrop=null==i.hasBackdrop?!this.triggersSubmenu():i.hasBackdrop,s.attach(this._getPortal(i)),i.lazyContent&&i.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(i),i instanceof A&&(i._startAnimation(),i._directDescendantItems.changes.pipe((0,ne.R)(i.close)).subscribe(()=>{p.withLockedPosition(!1).reapplyLastPosition(),p.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(i,s){this._focusMonitor&&i?this._focusMonitor.focusVia(this._element,i,s):this._element.nativeElement.focus(s)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(i){if(!this._overlayRef||!this.menuOpen)return;const s=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===i||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,s instanceof A?(s._resetAnimation(),s.lazyContent?s._animationDone.pipe((0,$i.h)(d=>"void"===d.toState),(0,W.q)(1),(0,ne.R)(s.lazyContent._attached)).subscribe({next:()=>s.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),s?.lazyContent?.detach())}_initMenu(i){i.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,i.direction=this.dir,this._setMenuElevation(i),i.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(i){if(i.setElevation){let s=0,d=i.parentMenu;for(;d;)s++,d=d.parentMenu;i.setElevation(s)}}_setIsMenuOpen(i){i!==this._menuOpen&&(this._menuOpen=i,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(i),this._changeDetectorRef.markForCheck())}_createOverlay(i){if(!this._overlayRef){const s=this._getOverlayConfig(i);this._subscribeToPositions(i,s.positionStrategy),this._overlayRef=this._overlay.create(s),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(i){return new nr({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:i.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:i.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(i,s){i.setPositionClasses&&s.positionChanges.subscribe(d=>{const p="start"===d.connectionPair.overlayX?"after":"before",b="top"===d.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>i.setPositionClasses(p,b)):i.setPositionClasses(p,b)})}_setPosition(i,s){let[d,p]="before"===i.xPosition?["end","start"]:["start","end"],[b,S]="above"===i.yPosition?["bottom","top"]:["top","bottom"],[ee,Te]=[b,S],[Le,nt]=[d,p],_t=0;if(this.triggersSubmenu()){if(nt=d="before"===i.xPosition?"start":"end",p=Le="end"===d?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Dt=this._parentMaterialMenu.items.first;this._parentInnerPadding=Dt?Dt._getHostElement().offsetTop:0}_t="bottom"===b?this._parentInnerPadding:-this._parentInnerPadding}}else i.overlapTrigger||(ee="top"===b?"bottom":"top",Te="top"===S?"bottom":"top");s.withPositions([{originX:d,originY:ee,overlayX:Le,overlayY:b,offsetY:_t},{originX:p,originY:ee,overlayX:nt,overlayY:b,offsetY:_t},{originX:d,originY:Te,overlayX:Le,overlayY:S,offsetY:-_t},{originX:p,originY:Te,overlayX:nt,overlayY:S,offsetY:-_t}])}_menuClosingActions(){const i=this._overlayRef.backdropClick(),s=this._overlayRef.detachments(),d=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,ai.of)(),p=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,$i.h)(b=>b!==this._menuItemInstance),(0,$i.h)(()=>this._menuOpen)):(0,ai.of)();return(0,j.T)(i,d,p,s)}_handleMousedown(i){(0,ce.X6)(i)||(this._openedBy=0===i.button?"mouse":void 0,this.triggersSubmenu()&&i.preventDefault())}_handleKeydown(i){const s=i.keyCode;(s===ge.K5||s===ge.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(s===ge.SV&&"ltr"===this.dir||s===ge.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(i){this.triggersSubmenu()?(i.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,$i.h)(i=>i===this._menuItemInstance&&!i.disabled),oc(0,is.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof A&&this.menu._isAnimating?this.menu._animationDone.pipe((0,W.q)(1),oc(0,is.E),(0,ne.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(i){return(!this._portal||this._portal.templateRef!==i.templateRef)&&(this._portal=new oi.UE(i.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(Gn),o.Y36(o.SBq),o.Y36(o.s_b),o.Y36(Je),o.Y36(Ml,8),o.Y36(ra,10),o.Y36(B.Is,8),o.Y36(ce.tE),o.Y36(o.R0b))};static#t=this.\u0275dir=o.lG2({type:l,hostVars:3,hostBindings:function(s,d){1&s&&o.NdJ("click",function(b){return d._handleClick(b)})("mousedown",function(b){return d._handleMousedown(b)})("keydown",function(b){return d._handleKeydown(b)}),2&s&&o.uIk("aria-haspopup",d.menu?"menu":null)("aria-expanded",d.menuOpen)("aria-controls",d.menuOpen?d.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}})}return l})(),Jt=(()=>{class l extends an{static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[o.qOj]})}return l})(),Rn=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:[It],imports:[te.ez,de.si,de.BQ,Qi,Di.ZD,de.BQ]})}return l})();class Hn extends vo.y{constructor(a,i){super(),this.source=a,this.subjectFactory=i,this._subject=null,this._refCount=0,this._connection=null,(0,na.A)(a)&&(this.lift=a.lift)}_subscribe(a){return this.getSubject().subscribe(a)}getSubject(){const a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:a}=this;this._subject=this._connection=null,a?.unsubscribe()}connect(){let a=this._connection;if(!a){a=this._connection=new qi.w0;const i=this.getSubject();a.add(this.source.subscribe((0,ia.x)(i,void 0,()=>{this._teardown(),i.complete()},s=>{this._teardown(),i.error(s)},()=>this._teardown()))),a.closed&&(this._connection=null,a=qi.w0.EMPTY)}return a}refCount(){return function vn(){return(0,na.e)((l,a)=>{let i=null;l._refCount++;const s=(0,ia.x)(a,void 0,void 0,void 0,()=>{if(!l||l._refCount<=0||0<--l._refCount)return void(i=null);const d=l._connection,p=i;i=null,d&&(!p||d===p)&&d.unsubscribe(),a.unsubscribe()});l.subscribe(s),s.closed||(i=l.connect())})}()(this)}}function ji(l){return l&&"function"==typeof l.connect&&!(l instanceof Hn)}class Si{applyChanges(a,i,s,d,p){a.forEachOperation((b,S,ee)=>{let Te,Le;if(null==b.previousIndex){const nt=s(b,S,ee);Te=i.createEmbeddedView(nt.templateRef,nt.context,nt.index),Le=1}else null==ee?(i.remove(S),Le=3):(Te=i.get(S),i.move(Te,ee),Le=2);p&&p({context:Te?.context,operation:Le,record:b})})}detach(){}}const Dr=new o.OlP("_ViewRepeater");var sc=v(107),Ii=v(1625),du=v(3276);const ss=[[["caption"]],[["colgroup"],["col"]]],Ui=["caption","colgroup, col"];function Sl(l){return class extends l{get sticky(){return this._sticky}set sticky(a){const i=this._sticky;this._sticky=(0,se.Ig)(a),this._hasStickyChanged=i!==this._sticky}hasStickyChanged(){const a=this._hasStickyChanged;return this._hasStickyChanged=!1,a}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...a){super(...a),this._sticky=!1,this._hasStickyChanged=!1}}}const zi=new o.OlP("CDK_TABLE");let as=(()=>{class l{constructor(i){this.template=i}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkCellDef",""]]})}return l})(),Er=(()=>{class l{constructor(i){this.template=i}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkHeaderCellDef",""]]})}return l})(),aa=(()=>{class l{constructor(i){this.template=i}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkFooterCellDef",""]]})}return l})();class fu{}const Tf=Sl(fu);let Bt=(()=>{class l extends Tf{get name(){return this._name}set name(i){this._setNameInput(i)}get stickyEnd(){return this._stickyEnd}set stickyEnd(i){const s=this._stickyEnd;this._stickyEnd=(0,se.Ig)(i),this._hasStickyChanged=s!==this._stickyEnd}constructor(i){super(),this._table=i,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(i){i&&(this._name=i,this.cssClassFriendlyName=i.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(zi,8))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkColumnDef",""]],contentQueries:function(s,d,p){if(1&s&&(o.Suo(p,as,5),o.Suo(p,Er,5),o.Suo(p,aa,5)),2&s){let b;o.iGM(b=o.CRH())&&(d.cell=b.first),o.iGM(b=o.CRH())&&(d.headerCell=b.first),o.iGM(b=o.CRH())&&(d.footerCell=b.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[o._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:l}]),o.qOj]})}return l})();class ac{constructor(a,i){i.nativeElement.classList.add(...a._columnCssClassName)}}let pu=(()=>{class l extends ac{constructor(i,s){super(i,s)}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(Bt),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[o.qOj]})}return l})(),Il=(()=>{class l extends ac{constructor(i,s){if(super(i,s),1===i._table?._elementRef.nativeElement.nodeType){const d=i._table._elementRef.nativeElement.getAttribute("role");s.nativeElement.setAttribute("role","grid"===d||"treegrid"===d?"gridcell":"cell")}}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(Bt),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[o.qOj]})}return l})();class gu{constructor(){this.tasks=[],this.endTasks=[]}}const cc=new o.OlP("_COALESCED_STYLE_SCHEDULER");let Mr=(()=>{class l{constructor(i){this._ngZone=i,this._currentSchedule=null,this._destroyed=new z.x}schedule(i){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(i)}scheduleEnd(i){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(i)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new gu,this._getScheduleObservable().pipe((0,ne.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const i=this._currentSchedule;this._currentSchedule=new gu;for(const s of i.tasks)s();for(const s of i.endTasks)s()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,sc.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,W.q)(1))}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(o.R0b))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac})}return l})(),Ol=(()=>{class l{constructor(i,s){this.template=i,this._differs=s}ngOnChanges(i){if(!this._columnsDiffer){const s=i.columns&&i.columns.currentValue||[];this._columnsDiffer=this._differs.find(s).create(),this._columnsDiffer.diff(s)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(i){return this instanceof ca?i.headerCell.template:this instanceof cs?i.footerCell.template:i.cell.template}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc),o.Y36(o.ZZ4))};static#t=this.\u0275dir=o.lG2({type:l,features:[o.TTD]})}return l})();class Af extends Ol{}const Sf=Sl(Af);let ca=(()=>{class l extends Sf{constructor(i,s,d){super(i,s),this._table=d}ngOnChanges(i){super.ngOnChanges(i)}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc),o.Y36(o.ZZ4),o.Y36(zi,8))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[o.qOj,o.TTD]})}return l})();class ft extends Ol{}const cn=Sl(ft);let cs=(()=>{class l extends cn{constructor(i,s,d){super(i,s),this._table=d}ngOnChanges(i){super.ngOnChanges(i)}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc),o.Y36(o.ZZ4),o.Y36(zi,8))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[o.qOj,o.TTD]})}return l})(),la=(()=>{class l extends Ol{constructor(i,s,d){super(i,s),this._table=d}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc),o.Y36(o.ZZ4),o.Y36(zi,8))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[o.qOj]})}return l})(),An=(()=>{class l{static#e=this.mostRecentCellOutlet=null;constructor(i){this._viewContainer=i,l.mostRecentCellOutlet=this}ngOnDestroy(){l.mostRecentCellOutlet===this&&(l.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.s_b))};static#n=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkCellOutlet",""]]})}return l})(),lc=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(s,d){1&s&&o.GkF(0,0)},dependencies:[An],encapsulation:2})}return l})(),eo=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(s,d){1&s&&o.GkF(0,0)},dependencies:[An],encapsulation:2})}return l})(),ls=(()=>{class l{constructor(i){this.templateRef=i,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["ng-template","cdkNoDataRow",""]]})}return l})();const dc=["top","bottom","left","right"];class If{constructor(a,i,s,d,p=!0,b=!0,S){this._isNativeHtmlTable=a,this._stickCellCss=i,this.direction=s,this._coalescedStyleScheduler=d,this._isBrowser=p,this._needsPositionStickyOnElement=b,this._positionListener=S,this._cachedCellWidths=[],this._borderCellCss={top:`${i}-border-elem-top`,bottom:`${i}-border-elem-bottom`,left:`${i}-border-elem-left`,right:`${i}-border-elem-right`}}clearStickyPositioning(a,i){const s=[];for(const d of a)if(d.nodeType===d.ELEMENT_NODE){s.push(d);for(let p=0;p<d.children.length;p++)s.push(d.children[p])}this._coalescedStyleScheduler.schedule(()=>{for(const d of s)this._removeStickyStyle(d,i)})}updateStickyColumns(a,i,s,d=!0){if(!a.length||!this._isBrowser||!i.some(_t=>_t)&&!s.some(_t=>_t))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const p=a[0],b=p.children.length,S=this._getCellWidths(p,d),ee=this._getStickyStartColumnPositions(S,i),Te=this._getStickyEndColumnPositions(S,s),Le=i.lastIndexOf(!0),nt=s.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const _t="rtl"===this.direction,Dt=_t?"right":"left",Mt=_t?"left":"right";for(const At of a)for(let Yt=0;Yt<b;Yt++){const Pn=At.children[Yt];i[Yt]&&this._addStickyStyle(Pn,Dt,ee[Yt],Yt===Le),s[Yt]&&this._addStickyStyle(Pn,Mt,Te[Yt],Yt===nt)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===Le?[]:S.slice(0,Le+1).map((At,Yt)=>i[Yt]?At:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===nt?[]:S.slice(nt).map((At,Yt)=>s[Yt+nt]?At:null).reverse()}))})}stickRows(a,i,s){if(!this._isBrowser)return;const d="bottom"===s?a.slice().reverse():a,p="bottom"===s?i.slice().reverse():i,b=[],S=[],ee=[];for(let Le=0,nt=0;Le<d.length;Le++){if(!p[Le])continue;b[Le]=nt;const _t=d[Le];ee[Le]=this._isNativeHtmlTable?Array.from(_t.children):[_t];const Dt=_t.getBoundingClientRect().height;nt+=Dt,S[Le]=Dt}const Te=p.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let Le=0;Le<d.length;Le++){if(!p[Le])continue;const nt=b[Le],_t=Le===Te;for(const Dt of ee[Le])this._addStickyStyle(Dt,s,nt,_t)}"top"===s?this._positionListener?.stickyHeaderRowsUpdated({sizes:S,offsets:b,elements:ee}):this._positionListener?.stickyFooterRowsUpdated({sizes:S,offsets:b,elements:ee})})}updateStickyFooterContainer(a,i){if(!this._isNativeHtmlTable)return;const s=a.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{i.some(d=>!d)?this._removeStickyStyle(s,["bottom"]):this._addStickyStyle(s,"bottom",0,!1)})}_removeStickyStyle(a,i){for(const d of i)a.style[d]="",a.classList.remove(this._borderCellCss[d]);dc.some(d=>-1===i.indexOf(d)&&a.style[d])?a.style.zIndex=this._getCalculatedZIndex(a):(a.style.zIndex="",this._needsPositionStickyOnElement&&(a.style.position=""),a.classList.remove(this._stickCellCss))}_addStickyStyle(a,i,s,d){a.classList.add(this._stickCellCss),d&&a.classList.add(this._borderCellCss[i]),a.style[i]=`${s}px`,a.style.zIndex=this._getCalculatedZIndex(a),this._needsPositionStickyOnElement&&(a.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(a){const i={top:100,bottom:10,left:1,right:1};let s=0;for(const d of dc)a.style[d]&&(s+=i[d]);return s?`${s}`:""}_getCellWidths(a,i=!0){if(!i&&this._cachedCellWidths.length)return this._cachedCellWidths;const s=[],d=a.children;for(let p=0;p<d.length;p++)s.push(d[p].getBoundingClientRect().width);return this._cachedCellWidths=s,s}_getStickyStartColumnPositions(a,i){const s=[];let d=0;for(let p=0;p<a.length;p++)i[p]&&(s[p]=d,d+=a[p]);return s}_getStickyEndColumnPositions(a,i){const s=[];let d=0;for(let p=a.length;p>0;p--)i[p]&&(s[p]=d,d+=a[p]);return s}}const uc=new o.OlP("CDK_SPL");let hc=(()=>{class l{constructor(i,s){this.viewContainer=i,this.elementRef=s}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.s_b),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","rowOutlet",""]]})}return l})(),ds=(()=>{class l{constructor(i,s){this.viewContainer=i,this.elementRef=s}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.s_b),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","headerRowOutlet",""]]})}return l})(),us=(()=>{class l{constructor(i,s){this.viewContainer=i,this.elementRef=s}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.s_b),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","footerRowOutlet",""]]})}return l})(),ua=(()=>{class l{constructor(i,s){this.viewContainer=i,this.elementRef=s}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.s_b),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","noDataRowOutlet",""]]})}return l})(),ha=(()=>{class l{get trackBy(){return this._trackByFn}set trackBy(i){this._trackByFn=i}get dataSource(){return this._dataSource}set dataSource(i){this._dataSource!==i&&this._switchDataSource(i)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(i){this._multiTemplateDataRows=(0,se.Ig)(i),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(i){this._fixedLayout=(0,se.Ig)(i),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(i,s,d,p,b,S,ee,Te,Le,nt,_t,Dt){this._differs=i,this._changeDetectorRef=s,this._elementRef=d,this._dir=b,this._platform=ee,this._viewRepeater=Te,this._coalescedStyleScheduler=Le,this._viewportRuler=nt,this._stickyPositioningListener=_t,this._ngZone=Dt,this._onDestroy=new z.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new o.vpe,this.viewChange=new Ii.X({start:0,end:Number.MAX_VALUE}),p||this._elementRef.nativeElement.setAttribute("role","table"),this._document=S,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((i,s)=>this.trackBy?this.trackBy(s.dataIndex,s.data):s),this._viewportRuler.change().pipe((0,ne.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const s=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||s,this._forceRecalculateCellWidths=s,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(i=>{i.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),ji(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const i=this._dataDiffer.diff(this._renderRows);if(!i)return this._updateNoDataRow(),void this.contentChanged.next();const s=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(i,s,(d,p,b)=>this._getEmbeddedViewArgs(d.item,b),d=>d.item.data,d=>{1===d.operation&&d.context&&this._renderCellTemplateForItem(d.record.item.rowDef,d.context)}),this._updateRowIndexContext(),i.forEachIdentityChange(d=>{s.get(d.currentIndex).context.$implicit=d.item.data}),this._updateNoDataRow(),this._ngZone&&o.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,W.q)(1),(0,ne.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(i){this._customColumnDefs.add(i)}removeColumnDef(i){this._customColumnDefs.delete(i)}addRowDef(i){this._customRowDefs.add(i)}removeRowDef(i){this._customRowDefs.delete(i)}addHeaderRowDef(i){this._customHeaderRowDefs.add(i),this._headerRowDefChanged=!0}removeHeaderRowDef(i){this._customHeaderRowDefs.delete(i),this._headerRowDefChanged=!0}addFooterRowDef(i){this._customFooterRowDefs.add(i),this._footerRowDefChanged=!0}removeFooterRowDef(i){this._customFooterRowDefs.delete(i),this._footerRowDefChanged=!0}setNoDataRow(i){this._customNoDataRow=i}updateStickyHeaderRowStyles(){const i=this._getRenderedRows(this._headerRowOutlet),d=this._elementRef.nativeElement.querySelector("thead");d&&(d.style.display=i.length?"":"none");const p=this._headerRowDefs.map(b=>b.sticky);this._stickyStyler.clearStickyPositioning(i,["top"]),this._stickyStyler.stickRows(i,p,"top"),this._headerRowDefs.forEach(b=>b.resetStickyChanged())}updateStickyFooterRowStyles(){const i=this._getRenderedRows(this._footerRowOutlet),d=this._elementRef.nativeElement.querySelector("tfoot");d&&(d.style.display=i.length?"":"none");const p=this._footerRowDefs.map(b=>b.sticky);this._stickyStyler.clearStickyPositioning(i,["bottom"]),this._stickyStyler.stickRows(i,p,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,p),this._footerRowDefs.forEach(b=>b.resetStickyChanged())}updateStickyColumnStyles(){const i=this._getRenderedRows(this._headerRowOutlet),s=this._getRenderedRows(this._rowOutlet),d=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...i,...s,...d],["left","right"]),this._stickyColumnStylesNeedReset=!1),i.forEach((p,b)=>{this._addStickyColumnStyles([p],this._headerRowDefs[b])}),this._rowDefs.forEach(p=>{const b=[];for(let S=0;S<s.length;S++)this._renderRows[S].rowDef===p&&b.push(s[S]);this._addStickyColumnStyles(b,p)}),d.forEach((p,b)=>{this._addStickyColumnStyles([p],this._footerRowDefs[b])}),Array.from(this._columnDefsByName.values()).forEach(p=>p.resetStickyChanged())}_getAllRenderRows(){const i=[],s=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let d=0;d<this._data.length;d++){let p=this._data[d];const b=this._getRenderRowsForData(p,d,s.get(p));this._cachedRenderRowsMap.has(p)||this._cachedRenderRowsMap.set(p,new WeakMap);for(let S=0;S<b.length;S++){let ee=b[S];const Te=this._cachedRenderRowsMap.get(ee.data);Te.has(ee.rowDef)?Te.get(ee.rowDef).push(ee):Te.set(ee.rowDef,[ee]),i.push(ee)}}return i}_getRenderRowsForData(i,s,d){return this._getRowDefs(i,s).map(b=>{const S=d&&d.has(b)?d.get(b):[];if(S.length){const ee=S.shift();return ee.dataIndex=s,ee}return{data:i,rowDef:b,dataIndex:s}})}_cacheColumnDefs(){this._columnDefsByName.clear(),hs(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(s=>{this._columnDefsByName.has(s.name),this._columnDefsByName.set(s.name,s)})}_cacheRowDefs(){this._headerRowDefs=hs(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=hs(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=hs(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const i=this._rowDefs.filter(s=>!s.when);this._defaultRowDef=i[0]}_renderUpdatedColumns(){const i=(b,S)=>b||!!S.getColumnsDiff(),s=this._rowDefs.reduce(i,!1);s&&this._forceRenderDataRows();const d=this._headerRowDefs.reduce(i,!1);d&&this._forceRenderHeaderRows();const p=this._footerRowDefs.reduce(i,!1);return p&&this._forceRenderFooterRows(),s||d||p}_switchDataSource(i){this._data=[],ji(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),i||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=i}_observeRenderChanges(){if(!this.dataSource)return;let i;ji(this.dataSource)?i=this.dataSource.connect(this):function uu(l){return!!l&&(l instanceof vo.y||(0,du.m)(l.lift)&&(0,du.m)(l.subscribe))}(this.dataSource)?i=this.dataSource:Array.isArray(this.dataSource)&&(i=(0,ai.of)(this.dataSource)),this._renderChangeSubscription=i.pipe((0,ne.R)(this._onDestroy)).subscribe(s=>{this._data=s||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((i,s)=>this._renderRow(this._headerRowOutlet,i,s)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((i,s)=>this._renderRow(this._footerRowOutlet,i,s)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(i,s){const d=Array.from(s.columns||[]).map(S=>this._columnDefsByName.get(S)),p=d.map(S=>S.sticky),b=d.map(S=>S.stickyEnd);this._stickyStyler.updateStickyColumns(i,p,b,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(i){const s=[];for(let d=0;d<i.viewContainer.length;d++){const p=i.viewContainer.get(d);s.push(p.rootNodes[0])}return s}_getRowDefs(i,s){if(1==this._rowDefs.length)return[this._rowDefs[0]];let d=[];if(this.multiTemplateDataRows)d=this._rowDefs.filter(p=>!p.when||p.when(s,i));else{let p=this._rowDefs.find(b=>b.when&&b.when(s,i))||this._defaultRowDef;p&&d.push(p)}return d}_getEmbeddedViewArgs(i,s){return{templateRef:i.rowDef.template,context:{$implicit:i.data},index:s}}_renderRow(i,s,d,p={}){const b=i.viewContainer.createEmbeddedView(s.template,p,d);return this._renderCellTemplateForItem(s,p),b}_renderCellTemplateForItem(i,s){for(let d of this._getCellTemplates(i))An.mostRecentCellOutlet&&An.mostRecentCellOutlet._viewContainer.createEmbeddedView(d,s);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const i=this._rowOutlet.viewContainer;for(let s=0,d=i.length;s<d;s++){const b=i.get(s).context;b.count=d,b.first=0===s,b.last=s===d-1,b.even=s%2==0,b.odd=!b.even,this.multiTemplateDataRows?(b.dataIndex=this._renderRows[s].dataIndex,b.renderIndex=s):b.index=this._renderRows[s].dataIndex}}_getCellTemplates(i){return i&&i.columns?Array.from(i.columns,s=>{const d=this._columnDefsByName.get(s);return i.extractCellTemplate(d)}):[]}_applyNativeTableSections(){const i=this._document.createDocumentFragment(),s=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const d of s){const p=this._document.createElement(d.tag);p.setAttribute("role","rowgroup");for(const b of d.outlets)p.appendChild(b.elementRef.nativeElement);i.appendChild(p)}this._elementRef.nativeElement.appendChild(i)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const i=(s,d)=>s||d.hasStickyChanged();this._headerRowDefs.reduce(i,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(i,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(i,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new If(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,ai.of)()).pipe((0,ne.R)(this._onDestroy)).subscribe(s=>{this._stickyStyler.direction=s,this.updateStickyColumnStyles()})}_getOwnDefs(i){return i.filter(s=>!s._table||s._table===this)}_updateNoDataRow(){const i=this._customNoDataRow||this._noDataRow;if(!i)return;const s=0===this._rowOutlet.viewContainer.length;if(s===this._isShowingNoDataRow)return;const d=this._noDataRowOutlet.viewContainer;if(s){const p=d.createEmbeddedView(i.templateRef),b=p.rootNodes[0];1===p.rootNodes.length&&b?.nodeType===this._document.ELEMENT_NODE&&(b.setAttribute("role","row"),b.classList.add(i._contentClassName))}else d.clear();this._isShowingNoDataRow=s,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.ZZ4),o.Y36(o.sBO),o.Y36(o.SBq),o.$8M("role"),o.Y36(B.Is,8),o.Y36(te.K0),o.Y36(ii.t4),o.Y36(Dr),o.Y36(cc),o.Y36(Di.rL),o.Y36(uc,12),o.Y36(o.R0b,8))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(s,d,p){if(1&s&&(o.Suo(p,ls,5),o.Suo(p,Bt,5),o.Suo(p,la,5),o.Suo(p,ca,5),o.Suo(p,cs,5)),2&s){let b;o.iGM(b=o.CRH())&&(d._noDataRow=b.first),o.iGM(b=o.CRH())&&(d._contentColumnDefs=b),o.iGM(b=o.CRH())&&(d._contentRowDefs=b),o.iGM(b=o.CRH())&&(d._contentHeaderRowDefs=b),o.iGM(b=o.CRH())&&(d._contentFooterRowDefs=b)}},viewQuery:function(s,d){if(1&s&&(o.Gf(hc,7),o.Gf(ds,7),o.Gf(us,7),o.Gf(ua,7)),2&s){let p;o.iGM(p=o.CRH())&&(d._rowOutlet=p.first),o.iGM(p=o.CRH())&&(d._headerRowOutlet=p.first),o.iGM(p=o.CRH())&&(d._footerRowOutlet=p.first),o.iGM(p=o.CRH())&&(d._noDataRowOutlet=p.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(s,d){2&s&&o.ekj("cdk-table-fixed-layout",d.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[o._Bn([{provide:zi,useExisting:l},{provide:Dr,useClass:Si},{provide:cc,useClass:Mr},{provide:uc,useValue:null}])],ngContentSelectors:Ui,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(s,d){1&s&&(o.F$t(ss),o.Hsn(0),o.Hsn(1,1),o.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[hc,ds,us,ua],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return l})();function hs(l,a){return l.concat(Array.from(a))}let bu=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({imports:[Di.Cl]})}return l})();const vu=[[["caption"]],[["colgroup"],["col"]]],Rl=["caption","colgroup, col"];let Wo=(()=>{class l extends ha{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(s,d){2&s&&o.ekj("mdc-table-fixed-layout",d.fixedLayout)},exportAs:["matTable"],features:[o._Bn([{provide:ha,useExisting:l},{provide:zi,useExisting:l},{provide:cc,useClass:Mr},{provide:Dr,useClass:Si},{provide:uc,useValue:null}]),o.qOj],ngContentSelectors:Rl,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(s,d){1&s&&(o.F$t(vu),o.Hsn(0),o.Hsn(1,1),o.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[hc,ds,us,ua],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{--mat-table-row-item-outline-width:1px;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return l})(),Cn=(()=>{class l extends as{static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matCellDef",""]],features:[o._Bn([{provide:as,useExisting:l}]),o.qOj]})}return l})(),fa=(()=>{class l extends Er{static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matHeaderCellDef",""]],features:[o._Bn([{provide:Er,useExisting:l}]),o.qOj]})}return l})(),fc=(()=>{class l extends Bt{get name(){return this._name}set name(i){this._setNameInput(i)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[o._Bn([{provide:Bt,useExisting:l},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:l}]),o.qOj]})}return l})(),pc=(()=>{class l extends pu{static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[o.qOj]})}return l})(),pa=(()=>{class l extends Il{static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[o.qOj]})}return l})(),Eo=(()=>{class l extends ca{static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[o._Bn([{provide:ca,useExisting:l}]),o.qOj]})}return l})(),fs=(()=>{class l extends la{static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[o._Bn([{provide:la,useExisting:l}]),o.qOj]})}return l})(),ps=(()=>{class l extends lc{static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[o._Bn([{provide:lc,useExisting:l}]),o.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(s,d){1&s&&o.GkF(0,0)},dependencies:[An],encapsulation:2})}return l})(),ma=(()=>{class l extends eo{static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[o._Bn([{provide:eo,useExisting:l}]),o.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(s,d){1&s&&o.GkF(0,0)},dependencies:[An],encapsulation:2})}return l})(),ms=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({imports:[de.BQ,bu,de.BQ]})}return l})();var Yo=v(7361);const Bg=["tooltip"],jf=new o.OlP("mat-tooltip-scroll-strategy"),Fl={provide:jf,deps:[Gn],useFactory:function Hg(l){return()=>l.scrollStrategies.reposition({scrollThrottle:20})}},Uf=new o.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function _a(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),_c="tooltip-panel",ba=(0,ii.i$)({passive:!0});let Gf=(()=>{class l{get position(){return this._position}set position(i){i!==this._position&&(this._position=i,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(i){this._positionAtOrigin=(0,se.Ig)(i),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(i){this._disabled=(0,se.Ig)(i),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(i){this._showDelay=(0,se.su)(i)}get hideDelay(){return this._hideDelay}set hideDelay(i){this._hideDelay=(0,se.su)(i),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(i){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=i?String(i).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(i){this._tooltipClass=i,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(i,s,d,p,b,S,ee,Te,Le,nt,_t,Dt){this._overlay=i,this._elementRef=s,this._scrollDispatcher=d,this._viewContainerRef=p,this._ngZone=b,this._platform=S,this._ariaDescriber=ee,this._focusMonitor=Te,this._dir=nt,this._defaultOptions=_t,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new z.x,this._scrollStrategy=Le,this._document=Dt,_t&&(this._showDelay=_t.showDelay,this._hideDelay=_t.hideDelay,_t.position&&(this.position=_t.position),_t.positionAtOrigin&&(this.positionAtOrigin=_t.positionAtOrigin),_t.touchGestures&&(this.touchGestures=_t.touchGestures)),nt.change.pipe((0,ne.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,ne.R)(this._destroyed)).subscribe(i=>{i?"keyboard"===i&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const i=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([s,d])=>{i.removeEventListener(s,d,ba)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(i,this.message,"tooltip"),this._focusMonitor.stopMonitoring(i)}show(i=this.showDelay,s){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const d=this._createOverlay(s);this._detach(),this._portal=this._portal||new oi.C5(this._tooltipComponent,this._viewContainerRef);const p=this._tooltipInstance=d.attach(this._portal).instance;p._triggerElement=this._elementRef.nativeElement,p._mouseLeaveHideDelay=this._hideDelay,p.afterHidden().pipe((0,ne.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),p.show(i)}hide(i=this.hideDelay){const s=this._tooltipInstance;s&&(s.isVisible()?s.hide(i):(s._cancelPendingAnimations(),this._detach()))}toggle(i){this._isTooltipVisible()?this.hide():this.show(void 0,i)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(i){if(this._overlayRef){const p=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!i)&&p._origin instanceof o.SBq)return this._overlayRef;this._detach()}const s=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),d=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&i||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(s);return d.positionChanges.pipe((0,ne.R)(this._destroyed)).subscribe(p=>{this._updateCurrentPositionClass(p.connectionPair),this._tooltipInstance&&p.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:d,panelClass:`${this._cssClassPrefix}-${_c}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,ne.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,ne.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,ne.R)(this._destroyed)).subscribe(p=>{this._isTooltipVisible()&&p.keyCode===ge.hY&&!(0,ge.Vb)(p)&&(p.preventDefault(),p.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(i){const s=i.getConfig().positionStrategy,d=this._getOrigin(),p=this._getOverlayPosition();s.withPositions([this._addOffset({...d.main,...p.main}),this._addOffset({...d.fallback,...p.fallback})])}_addOffset(i){return i}_getOrigin(){const i=!this._dir||"ltr"==this._dir.value,s=this.position;let d;"above"==s||"below"==s?d={originX:"center",originY:"above"==s?"top":"bottom"}:"before"==s||"left"==s&&i||"right"==s&&!i?d={originX:"start",originY:"center"}:("after"==s||"right"==s&&i||"left"==s&&!i)&&(d={originX:"end",originY:"center"});const{x:p,y:b}=this._invertPosition(d.originX,d.originY);return{main:d,fallback:{originX:p,originY:b}}}_getOverlayPosition(){const i=!this._dir||"ltr"==this._dir.value,s=this.position;let d;"above"==s?d={overlayX:"center",overlayY:"bottom"}:"below"==s?d={overlayX:"center",overlayY:"top"}:"before"==s||"left"==s&&i||"right"==s&&!i?d={overlayX:"end",overlayY:"center"}:("after"==s||"right"==s&&i||"left"==s&&!i)&&(d={overlayX:"start",overlayY:"center"});const{x:p,y:b}=this._invertPosition(d.overlayX,d.overlayY);return{main:d,fallback:{overlayX:p,overlayY:b}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,W.q)(1),(0,ne.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(i){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=i,this._tooltipInstance._markForCheck())}_invertPosition(i,s){return"above"===this.position||"below"===this.position?"top"===s?s="bottom":"bottom"===s&&(s="top"):"end"===i?i="start":"start"===i&&(i="end"),{x:i,y:s}}_updateCurrentPositionClass(i){const{overlayY:s,originX:d,originY:p}=i;let b;if(b="center"===s?this._dir&&"rtl"===this._dir.value?"end"===d?"left":"right":"start"===d?"left":"right":"bottom"===s&&"top"===p?"above":"below",b!==this._currentPosition){const S=this._overlayRef;if(S){const ee=`${this._cssClassPrefix}-${_c}-`;S.removePanelClass(ee+this._currentPosition),S.addPanelClass(ee+b)}this._currentPosition=b}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",i=>{let s;this._setupPointerExitEventsIfNeeded(),void 0!==i.x&&void 0!==i.y&&(s=i),this.show(void 0,s)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",i=>{const s=i.targetTouches?.[0],d=s?{x:s.clientX,y:s.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,d),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const i=[];if(this._platformSupportsMouseEvents())i.push(["mouseleave",s=>{const d=s.relatedTarget;(!d||!this._overlayRef?.overlayElement.contains(d))&&this.hide()}],["wheel",s=>this._wheelListener(s)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const s=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};i.push(["touchend",s],["touchcancel",s])}this._addListeners(i),this._passiveListeners.push(...i)}_addListeners(i){i.forEach(([s,d])=>{this._elementRef.nativeElement.addEventListener(s,d,ba)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(i){if(this._isTooltipVisible()){const s=this._document.elementFromPoint(i.clientX,i.clientY),d=this._elementRef.nativeElement;s!==d&&!d.contains(s)&&this.hide()}}_disableNativeGesturesIfNecessary(){const i=this.touchGestures;if("off"!==i){const s=this._elementRef.nativeElement,d=s.style;("on"===i||"INPUT"!==s.nodeName&&"TEXTAREA"!==s.nodeName)&&(d.userSelect=d.msUserSelect=d.webkitUserSelect=d.MozUserSelect="none"),("on"===i||!s.draggable)&&(d.webkitUserDrag="none"),d.touchAction="none",d.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(s){o.$Z()};static#t=this.\u0275dir=o.lG2({type:l,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}})}return l})(),gs=(()=>{class l extends Gf{constructor(i,s,d,p,b,S,ee,Te,Le,nt,_t,Dt){super(i,s,d,p,b,S,ee,Te,Le,nt,_t,Dt),this._tooltipComponent=Cu,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(i){const d=!this._dir||"ltr"==this._dir.value;return"top"===i.originY?i.offsetY=-8:"bottom"===i.originY?i.offsetY=8:"start"===i.originX?i.offsetX=d?-8:8:"end"===i.originX&&(i.offsetX=d?8:-8),i}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(Gn),o.Y36(o.SBq),o.Y36(Di.mF),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(ii.t4),o.Y36(ce.$s),o.Y36(ce.tE),o.Y36(jf),o.Y36(B.Is,8),o.Y36(Uf,8),o.Y36(te.K0))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(s,d){2&s&&o.ekj("mat-mdc-tooltip-disabled",d.disabled)},exportAs:["matTooltip"],features:[o.qOj]})}return l})(),Nl=(()=>{class l{constructor(i,s){this._changeDetectorRef=i,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new z.x,this._animationsDisabled="NoopAnimations"===s}show(i){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},i)}hide(i){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},i)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:i}){(!i||!this._triggerElement.contains(i))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:i}){(i===this._showAnimation||i===this._hideAnimation)&&this._finalizeAnimation(i===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(i){i?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(i){const s=this._tooltip.nativeElement,d=this._showAnimation,p=this._hideAnimation;if(s.classList.remove(i?p:d),s.classList.add(i?d:p),this._isVisible=i,i&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const b=getComputedStyle(s);("0s"===b.getPropertyValue("animation-duration")||"none"===b.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}i&&this._onShow(),this._animationsDisabled&&(s.classList.add("_mat-animation-noopable"),this._finalizeAnimation(i))}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.sBO),o.Y36(o.QbO,8))};static#t=this.\u0275dir=o.lG2({type:l})}return l})(),Cu=(()=>{class l extends Nl{constructor(i,s,d){super(i,d),this._elementRef=s,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const i=this._elementRef.nativeElement.getBoundingClientRect();return i.height>24&&i.width>=200}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.QbO,8))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-tooltip-component"]],viewQuery:function(s,d){if(1&s&&o.Gf(Bg,7),2&s){let p;o.iGM(p=o.CRH())&&(d._tooltip=p.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(s,d){1&s&&o.NdJ("mouseleave",function(b){return d._handleMouseLeave(b)}),2&s&&o.Udp("zoom",d.isVisible()?1:null)},features:[o.qOj],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(s,d){1&s&&(o.TgZ(0,"div",0,1),o.NdJ("animationend",function(b){return d._handleAnimationEnd(b)}),o.TgZ(2,"div",2),o._uU(3),o.qZA()()),2&s&&(o.ekj("mdc-tooltip--multiline",d._isMultiline),o.Q6J("ngClass",d.tooltipClass),o.xp6(3),o.Oqu(d.message))},dependencies:[te.mk],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip{--mdc-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return l})(),Bl=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:[Fl],imports:[ce.rt,te.ez,Qi,de.BQ,de.BQ,Di.ZD]})}return l})();function $l(l){return new o.vHH(3e3,!1)}function dr(l){switch(l.length){case 0:return new Z.ZN;case 1:return l[0];default:return new Z.ZE(l)}}function ws(l,a,i=new Map,s=new Map){const d=[],p=[];let b=-1,S=null;if(a.forEach(ee=>{const Te=ee.get("offset"),Le=Te==b,nt=Le&&S||new Map;ee.forEach((_t,Dt)=>{let Mt=Dt,At=_t;if("offset"!==Dt)switch(Mt=l.normalizePropertyName(Mt,d),At){case Z.k1:At=i.get(Dt);break;case Z.l3:At=s.get(Dt);break;default:At=l.normalizeStyleValue(Dt,Mt,At,d)}nt.set(Mt,At)}),Le||p.push(nt),S=nt,b=Te}),d.length)throw function ys(l){return new o.vHH(3502,!1)}();return p}function Ul(l,a,i,s){switch(a){case"start":l.onStart(()=>s(i&&ki(i,"start",l)));break;case"done":l.onDone(()=>s(i&&ki(i,"done",l)));break;case"destroy":l.onDestroy(()=>s(i&&ki(i,"destroy",l)))}}function ki(l,a,i){const p=ur(l.element,l.triggerName,l.fromState,l.toState,a||l.phaseName,i.totalTime??l.totalTime,!!i.disabled),b=l._data;return null!=b&&(p._data=b),p}function ur(l,a,i,s,d="",p=0,b){return{element:l,triggerName:a,fromState:i,toState:s,phaseName:d,totalTime:p,disabled:!!b}}function Ri(l,a,i){let s=l.get(a);return s||l.set(a,s=i),s}function ya(l){const a=l.indexOf(":");return[l.substring(1,a),l.slice(a+1)]}const xa=(()=>typeof document>"u"?null:document.documentElement)();function zl(l){const a=l.parentNode||l.host||null;return a===xa?null:a}let Sr=null,Qf=!1;function Xf(l,a){for(;a;){if(a===l)return!0;a=zl(a)}return!1}function Gl(l,a,i){if(i)return Array.from(l.querySelectorAll(a));const s=l.querySelector(a);return s?[s]:[]}let Ru=(()=>{class l{validateStyleProperty(i){return function Gi(l){Sr||(Sr=function Cs(){return typeof document<"u"?document.body:null}()||{},Qf=!!Sr.style&&"WebkitAppearance"in Sr.style);let a=!0;return Sr.style&&!function Qg(l){return"ebkit"==l.substring(1,6)}(l)&&(a=l in Sr.style,!a&&Qf&&(a="Webkit"+l.charAt(0).toUpperCase()+l.slice(1)in Sr.style)),a}(i)}matchesElement(i,s){return!1}containsElement(i,s){return Xf(i,s)}getParentElement(i){return zl(i)}query(i,s,d){return Gl(i,s,d)}computeStyle(i,s,d){return d||""}animate(i,s,d,p,b,S=[],ee){return new Z.ZN(d,p)}static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac})}return l})(),Wl=(()=>{class l{static#e=this.NOOP=new Ru}return l})();const ep=1e3,wa="ng-enter",Ir="ng-leave",vc="ng-trigger",Or=".ng-trigger",Fu="ng-animating",Ds=".ng-animating";function Ko(l){if("number"==typeof l)return l;const a=l.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:yc(parseFloat(a[1]),a[2])}function yc(l,a){return"s"===a?l*ep:l}function Es(l,a,i){return l.hasOwnProperty("duration")?l:function xc(l,a,i){let d,p=0,b="";if("string"==typeof l){const S=l.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===S)return a.push($l()),{duration:0,delay:0,easing:""};d=yc(parseFloat(S[1]),S[2]);const ee=S[3];null!=ee&&(p=yc(parseFloat(ee),S[4]));const Te=S[5];Te&&(b=Te)}else d=l;if(!i){let S=!1,ee=a.length;d<0&&(a.push(function Du(){return new o.vHH(3100,!1)}()),S=!0),p<0&&(a.push(function Eu(){return new o.vHH(3101,!1)}()),S=!0),S&&a.splice(ee,0,$l())}return{duration:d,delay:p,easing:b}}(l,a,i)}function Ms(l,a={}){return Object.keys(l).forEach(i=>{a[i]=l[i]}),a}function Nu(l){const a=new Map;return Object.keys(l).forEach(i=>{a.set(i,l[i])}),a}function to(l,a=new Map,i){if(i)for(let[s,d]of i)a.set(s,d);for(let[s,d]of l)a.set(s,d);return a}function To(l,a,i){a.forEach((s,d)=>{const p=Dc(d);i&&!i.has(d)&&i.set(d,l.style[p]),l.style[p]=s})}function Ts(l,a){a.forEach((i,s)=>{const d=Dc(s);l.style[d]=""})}function As(l){return Array.isArray(l)?1==l.length?l[0]:(0,Z.vP)(l):l}const Lu=new RegExp("{{\\s*(.+?)\\s*}}","g");function Bu(l){let a=[];if("string"==typeof l){let i;for(;i=Lu.exec(l);)a.push(i[1]);Lu.lastIndex=0}return a}function Ca(l,a,i){const s=l.toString(),d=s.replace(Lu,(p,b)=>{let S=a[b];return null==S&&(i.push(function Wf(l){return new o.vHH(3003,!1)}()),S=""),S.toString()});return d==s?l:d}function wc(l){const a=[];let i=l.next();for(;!i.done;)a.push(i.value),i=l.next();return a}const Cc=/-+([a-z0-9])/g;function Dc(l){return l.replace(Cc,(...a)=>a[1].toUpperCase())}function Pi(l,a,i){switch(a.type){case 7:return l.visitTrigger(a,i);case 0:return l.visitState(a,i);case 1:return l.visitTransition(a,i);case 2:return l.visitSequence(a,i);case 3:return l.visitGroup(a,i);case 4:return l.visitAnimate(a,i);case 5:return l.visitKeyframes(a,i);case 6:return l.visitStyle(a,i);case 8:return l.visitReference(a,i);case 9:return l.visitAnimateChild(a,i);case 10:return l.visitAnimateRef(a,i);case 11:return l.visitQuery(a,i);case 12:return l.visitStagger(a,i);default:throw function bc(l){return new o.vHH(3004,!1)}()}}function op(l,a){return window.getComputedStyle(l)[a]}const Yl="*";function o_(l,a){const i=[];return"string"==typeof l?l.split(/\s*,\s*/).forEach(s=>function r_(l,a,i){if(":"==l[0]){const ee=function s_(l,a){switch(l){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,s)=>parseFloat(s)>parseFloat(i);case":decrement":return(i,s)=>parseFloat(s)<parseFloat(i);default:return a.push(function bs(l){return new o.vHH(3016,!1)}()),"* => *"}}(l,i);if("function"==typeof ee)return void a.push(ee);l=ee}const s=l.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==s||s.length<4)return i.push(function _s(l){return new o.vHH(3015,!1)}()),a;const d=s[1],p=s[2],b=s[3];a.push(Da(d,b));"<"==p[0]&&!(d==Yl&&b==Yl)&&a.push(Da(b,d))}(s,i,a)):i.push(l),i}const Kl=new Set(["true","1"]),Ec=new Set(["false","0"]);function Da(l,a){const i=Kl.has(l)||Ec.has(l),s=Kl.has(a)||Ec.has(a);return(d,p)=>{let b=l==Yl||l==d,S=a==Yl||a==p;return!b&&i&&"boolean"==typeof d&&(b=d?Kl.has(l):Ec.has(l)),!S&&s&&"boolean"==typeof p&&(S=p?Kl.has(a):Ec.has(a)),b&&S}}const ju=new RegExp("s*:selfs*,?","g");function Mc(l,a,i,s){return new Ss(l).build(a,i,s)}class Ss{constructor(a){this._driver=a}build(a,i,s){const d=new Tc(i);return this._resetContextStyleTimingState(d),Pi(this,As(a),d)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,i){let s=i.queryCount=0,d=i.depCount=0;const p=[],b=[];return"@"==a.name.charAt(0)&&i.errors.push(function Yf(){return new o.vHH(3006,!1)}()),a.definitions.forEach(S=>{if(this._resetContextStyleTimingState(i),0==S.type){const ee=S,Te=ee.name;Te.toString().split(/\s*,\s*/).forEach(Le=>{ee.name=Le,p.push(this.visitState(ee,i))}),ee.name=Te}else if(1==S.type){const ee=this.visitTransition(S,i);s+=ee.queryCount,d+=ee.depCount,b.push(ee)}else i.errors.push(function Tu(){return new o.vHH(3007,!1)}())}),{type:7,name:a.name,states:p,transitions:b,queryCount:s,depCount:d,options:null}}visitState(a,i){const s=this.visitStyle(a.styles,i),d=a.options&&a.options.params||null;if(s.containsDynamicStyles){const p=new Set,b=d||{};s.styles.forEach(S=>{S instanceof Map&&S.forEach(ee=>{Bu(ee).forEach(Te=>{b.hasOwnProperty(Te)||p.add(Te)})})}),p.size&&(wc(p.values()),i.errors.push(function Au(l,a){return new o.vHH(3008,!1)}()))}return{type:0,name:a.name,style:s,options:d?{params:d}:null}}visitTransition(a,i){i.queryCount=0,i.depCount=0;const s=Pi(this,As(a.animation),i);return{type:1,matchers:o_(a.expr,i.errors),animation:s,queryCount:i.queryCount,depCount:i.depCount,options:Rr(a.options)}}visitSequence(a,i){return{type:2,steps:a.steps.map(s=>Pi(this,s,i)),options:Rr(a.options)}}visitGroup(a,i){const s=i.currentTime;let d=0;const p=a.steps.map(b=>{i.currentTime=s;const S=Pi(this,b,i);return d=Math.max(d,i.currentTime),S});return i.currentTime=d,{type:3,steps:p,options:Rr(a.options)}}visitAnimate(a,i){const s=function Sc(l,a){if(l.hasOwnProperty("duration"))return l;if("number"==typeof l)return ql(Es(l,a).duration,0,"");const i=l;if(i.split(/\s+/).some(p=>"{"==p.charAt(0)&&"{"==p.charAt(1))){const p=ql(0,0,"");return p.dynamic=!0,p.strValue=i,p}const d=Es(i,a);return ql(d.duration,d.delay,d.easing)}(a.timings,i.errors);i.currentAnimateTimings=s;let d,p=a.styles?a.styles:(0,Z.oB)({});if(5==p.type)d=this.visitKeyframes(p,i);else{let b=a.styles,S=!1;if(!b){S=!0;const Te={};s.easing&&(Te.easing=s.easing),b=(0,Z.oB)(Te)}i.currentTime+=s.duration+s.delay;const ee=this.visitStyle(b,i);ee.isEmptyStep=S,d=ee}return i.currentAnimateTimings=null,{type:4,timings:s,style:d,options:null}}visitStyle(a,i){const s=this._makeStyleAst(a,i);return this._validateStyleAst(s,i),s}_makeStyleAst(a,i){const s=[],d=Array.isArray(a.styles)?a.styles:[a.styles];for(let S of d)"string"==typeof S?S===Z.l3?s.push(S):i.errors.push(new o.vHH(3002,!1)):s.push(Nu(S));let p=!1,b=null;return s.forEach(S=>{if(S instanceof Map&&(S.has("easing")&&(b=S.get("easing"),S.delete("easing")),!p))for(let ee of S.values())if(ee.toString().indexOf("{{")>=0){p=!0;break}}),{type:6,styles:s,easing:b,offset:a.offset,containsDynamicStyles:p,options:null}}_validateStyleAst(a,i){const s=i.currentAnimateTimings;let d=i.currentTime,p=i.currentTime;s&&p>0&&(p-=s.duration+s.delay),a.styles.forEach(b=>{"string"!=typeof b&&b.forEach((S,ee)=>{const Te=i.collectedStyles.get(i.currentQuerySelector),Le=Te.get(ee);let nt=!0;Le&&(p!=d&&p>=Le.startTime&&d<=Le.endTime&&(i.errors.push(function xi(l,a,i,s,d){return new o.vHH(3010,!1)}()),nt=!1),p=Le.startTime),nt&&Te.set(ee,{startTime:p,endTime:d}),i.options&&function ip(l,a,i){const s=a.params||{},d=Bu(l);d.length&&d.forEach(p=>{s.hasOwnProperty(p)||i.push(function Mu(l){return new o.vHH(3001,!1)}())})}(S,i.options,i.errors)})})}visitKeyframes(a,i){const s={type:5,styles:[],options:null};if(!i.currentAnimateTimings)return i.errors.push(function Kf(){return new o.vHH(3011,!1)}()),s;let p=0;const b=[];let S=!1,ee=!1,Te=0;const Le=a.steps.map(Pn=>{const Qn=this._makeStyleAst(Pn,i);let mi=null!=Qn.offset?Qn.offset:function Ac(l){if("string"==typeof l)return null;let a=null;if(Array.isArray(l))l.forEach(i=>{if(i instanceof Map&&i.has("offset")){const s=i;a=parseFloat(s.get("offset")),s.delete("offset")}});else if(l instanceof Map&&l.has("offset")){const i=l;a=parseFloat(i.get("offset")),i.delete("offset")}return a}(Qn.styles),Xn=0;return null!=mi&&(p++,Xn=Qn.offset=mi),ee=ee||Xn<0||Xn>1,S=S||Xn<Te,Te=Xn,b.push(Xn),Qn});ee&&i.errors.push(function Su(){return new o.vHH(3012,!1)}()),S&&i.errors.push(function Hl(){return new o.vHH(3200,!1)}());const nt=a.steps.length;let _t=0;p>0&&p<nt?i.errors.push(function Zf(){return new o.vHH(3202,!1)}()):0==p&&(_t=1/(nt-1));const Dt=nt-1,Mt=i.currentTime,At=i.currentAnimateTimings,Yt=At.duration;return Le.forEach((Pn,Qn)=>{const mi=_t>0?Qn==Dt?1:_t*Qn:b[Qn],Xn=mi*Yt;i.currentTime=Mt+At.delay+Xn,At.duration=Xn,this._validateStyleAst(Pn,i),Pn.offset=mi,s.styles.push(Pn)}),s}visitReference(a,i){return{type:8,animation:Pi(this,As(a.animation),i),options:Rr(a.options)}}visitAnimateChild(a,i){return i.depCount++,{type:9,options:Rr(a.options)}}visitAnimateRef(a,i){return{type:10,animation:this.visitReference(a.animation,i),options:Rr(a.options)}}visitQuery(a,i){const s=i.currentQuerySelector,d=a.options||{};i.queryCount++,i.currentQuery=a;const[p,b]=function Uu(l){const a=!!l.split(/\s*,\s*/).find(i=>":self"==i);return a&&(l=l.replace(ju,"")),l=l.replace(/@\*/g,Or).replace(/@\w+/g,i=>Or+"-"+i.slice(1)).replace(/:animating/g,Ds),[l,a]}(a.selector);i.currentQuerySelector=s.length?s+" "+p:p,Ri(i.collectedStyles,i.currentQuerySelector,new Map);const S=Pi(this,As(a.animation),i);return i.currentQuery=null,i.currentQuerySelector=s,{type:11,selector:p,limit:d.limit||0,optional:!!d.optional,includeSelf:b,animation:S,originalSelector:a.selector,options:Rr(a.options)}}visitStagger(a,i){i.currentQuery||i.errors.push(function Iu(){return new o.vHH(3013,!1)}());const s="full"===a.timings?{duration:0,delay:0,easing:"full"}:Es(a.timings,i.errors,!0);return{type:12,animation:Pi(this,As(a.animation),i),timings:s,options:null}}}class Tc{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Rr(l){return l?(l=Ms(l)).params&&(l.params=function zu(l){return l?Ms(l):null}(l.params)):l={},l}function ql(l,a,i){return{duration:l,delay:a,easing:i}}function Jl(l,a,i,s,d,p,b=null,S=!1){return{type:1,element:l,keyframes:a,preStyleProps:i,postStyleProps:s,duration:d,delay:p,totalTime:d+p,easing:b,subTimeline:S}}class Ma{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,i){let s=this._map.get(a);s||this._map.set(a,s=[]),s.push(...i)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const sp=new RegExp(":enter","g"),Gu=new RegExp(":leave","g");function Xl(l,a,i,s,d,p=new Map,b=new Map,S,ee,Te=[]){return(new cp).buildKeyframes(l,a,i,s,d,p,b,S,ee,Te)}class cp{buildKeyframes(a,i,s,d,p,b,S,ee,Te,Le=[]){Te=Te||new Ma;const nt=new Ta(a,i,Te,d,p,Le,[]);nt.options=ee;const _t=ee.delay?Ko(ee.delay):0;nt.currentTimeline.delayNextStep(_t),nt.currentTimeline.setStyles([b],null,nt.errors,ee),Pi(this,s,nt);const Dt=nt.timelines.filter(Mt=>Mt.containsAnimation());if(Dt.length&&S.size){let Mt;for(let At=Dt.length-1;At>=0;At--){const Yt=Dt[At];if(Yt.element===i){Mt=Yt;break}}Mt&&!Mt.allowOnlyTimelineStyles()&&Mt.setStyles([S],null,nt.errors,ee)}return Dt.length?Dt.map(Mt=>Mt.buildKeyframes()):[Jl(i,[],[],[],0,_t,"",!1)]}visitTrigger(a,i){}visitState(a,i){}visitTransition(a,i){}visitAnimateChild(a,i){const s=i.subInstructions.get(i.element);if(s){const d=i.createSubContext(a.options),p=i.currentTimeline.currentTime,b=this._visitSubInstructions(s,d,d.options);p!=b&&i.transformIntoNewTimeline(b)}i.previousNode=a}visitAnimateRef(a,i){const s=i.createSubContext(a.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],i,s),this.visitReference(a.animation,s),i.transformIntoNewTimeline(s.currentTimeline.currentTime),i.previousNode=a}_applyAnimationRefDelays(a,i,s){for(const d of a){const p=d?.delay;if(p){const b="number"==typeof p?p:Ko(Ca(p,d?.params??{},i.errors));s.delayNextStep(b)}}}_visitSubInstructions(a,i,s){let p=i.currentTimeline.currentTime;const b=null!=s.duration?Ko(s.duration):null,S=null!=s.delay?Ko(s.delay):null;return 0!==b&&a.forEach(ee=>{const Te=i.appendInstructionToTimeline(ee,b,S);p=Math.max(p,Te.duration+Te.delay)}),p}visitReference(a,i){i.updateOptions(a.options,!0),Pi(this,a.animation,i),i.previousNode=a}visitSequence(a,i){const s=i.subContextCount;let d=i;const p=a.options;if(p&&(p.params||p.delay)&&(d=i.createSubContext(p),d.transformIntoNewTimeline(),null!=p.delay)){6==d.previousNode.type&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=li);const b=Ko(p.delay);d.delayNextStep(b)}a.steps.length&&(a.steps.forEach(b=>Pi(this,b,d)),d.currentTimeline.applyStylesToKeyframe(),d.subContextCount>s&&d.transformIntoNewTimeline()),i.previousNode=a}visitGroup(a,i){const s=[];let d=i.currentTimeline.currentTime;const p=a.options&&a.options.delay?Ko(a.options.delay):0;a.steps.forEach(b=>{const S=i.createSubContext(a.options);p&&S.delayNextStep(p),Pi(this,b,S),d=Math.max(d,S.currentTimeline.currentTime),s.push(S.currentTimeline)}),s.forEach(b=>i.currentTimeline.mergeTimelineCollectedStyles(b)),i.transformIntoNewTimeline(d),i.previousNode=a}_visitTiming(a,i){if(a.dynamic){const s=a.strValue;return Es(i.params?Ca(s,i.params,i.errors):s,i.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,i){const s=i.currentAnimateTimings=this._visitTiming(a.timings,i),d=i.currentTimeline;s.delay&&(i.incrementTime(s.delay),d.snapshotCurrentStyles());const p=a.style;5==p.type?this.visitKeyframes(p,i):(i.incrementTime(s.duration),this.visitStyle(p,i),d.applyStylesToKeyframe()),i.currentAnimateTimings=null,i.previousNode=a}visitStyle(a,i){const s=i.currentTimeline,d=i.currentAnimateTimings;!d&&s.hasCurrentStyleProperties()&&s.forwardFrame();const p=d&&d.easing||a.easing;a.isEmptyStep?s.applyEmptyStep(p):s.setStyles(a.styles,p,i.errors,i.options),i.previousNode=a}visitKeyframes(a,i){const s=i.currentAnimateTimings,d=i.currentTimeline.duration,p=s.duration,S=i.createSubContext().currentTimeline;S.easing=s.easing,a.styles.forEach(ee=>{S.forwardTime((ee.offset||0)*p),S.setStyles(ee.styles,ee.easing,i.errors,i.options),S.applyStylesToKeyframe()}),i.currentTimeline.mergeTimelineCollectedStyles(S),i.transformIntoNewTimeline(d+p),i.previousNode=a}visitQuery(a,i){const s=i.currentTimeline.currentTime,d=a.options||{},p=d.delay?Ko(d.delay):0;p&&(6===i.previousNode.type||0==s&&i.currentTimeline.hasCurrentStyleProperties())&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=li);let b=s;const S=i.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!d.optional,i.errors);i.currentQueryTotal=S.length;let ee=null;S.forEach((Te,Le)=>{i.currentQueryIndex=Le;const nt=i.createSubContext(a.options,Te);p&&nt.delayNextStep(p),Te===i.element&&(ee=nt.currentTimeline),Pi(this,a.animation,nt),nt.currentTimeline.applyStylesToKeyframe(),b=Math.max(b,nt.currentTimeline.currentTime)}),i.currentQueryIndex=0,i.currentQueryTotal=0,i.transformIntoNewTimeline(b),ee&&(i.currentTimeline.mergeTimelineCollectedStyles(ee),i.currentTimeline.snapshotCurrentStyles()),i.previousNode=a}visitStagger(a,i){const s=i.parentContext,d=i.currentTimeline,p=a.timings,b=Math.abs(p.duration),S=b*(i.currentQueryTotal-1);let ee=b*i.currentQueryIndex;switch(p.duration<0?"reverse":p.easing){case"reverse":ee=S-ee;break;case"full":ee=s.currentStaggerTime}const Le=i.currentTimeline;ee&&Le.delayNextStep(ee);const nt=Le.currentTime;Pi(this,a.animation,i),i.previousNode=a,s.currentStaggerTime=d.currentTime-nt+(d.startTime-s.currentTimeline.startTime)}}const li={};class Ta{constructor(a,i,s,d,p,b,S,ee){this._driver=a,this.element=i,this.subInstructions=s,this._enterClassName=d,this._leaveClassName=p,this.errors=b,this.timelines=S,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=li,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ee||new Aa(this._driver,i,0),S.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,i){if(!a)return;const s=a;let d=this.options;null!=s.duration&&(d.duration=Ko(s.duration)),null!=s.delay&&(d.delay=Ko(s.delay));const p=s.params;if(p){let b=d.params;b||(b=this.options.params={}),Object.keys(p).forEach(S=>{(!i||!b.hasOwnProperty(S))&&(b[S]=Ca(p[S],b,this.errors))})}}_copyOptions(){const a={};if(this.options){const i=this.options.params;if(i){const s=a.params={};Object.keys(i).forEach(d=>{s[d]=i[d]})}}return a}createSubContext(a=null,i,s){const d=i||this.element,p=new Ta(this._driver,d,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(d,s||0));return p.previousNode=this.previousNode,p.currentAnimateTimings=this.currentAnimateTimings,p.options=this._copyOptions(),p.updateOptions(a),p.currentQueryIndex=this.currentQueryIndex,p.currentQueryTotal=this.currentQueryTotal,p.parentContext=this,this.subContextCount++,p}transformIntoNewTimeline(a){return this.previousNode=li,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,i,s){const d={duration:i??a.duration,delay:this.currentTimeline.currentTime+(s??0)+a.delay,easing:""},p=new ed(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,d,a.stretchStartingKeyframe);return this.timelines.push(p),d}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,i,s,d,p,b){let S=[];if(d&&S.push(this.element),a.length>0){a=(a=a.replace(sp,"."+this._enterClassName)).replace(Gu,"."+this._leaveClassName);let Te=this._driver.query(this.element,a,1!=s);0!==s&&(Te=s<0?Te.slice(Te.length+s,Te.length):Te.slice(0,s)),S.push(...Te)}return!p&&0==S.length&&b.push(function Vl(l){return new o.vHH(3014,!1)}()),S}}class Aa{constructor(a,i,s,d){this._driver=a,this.element=i,this.startTime=s,this._elementTimelineStylesLookup=d,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const i=1===this._keyframes.size&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+a),i&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,i){return this.applyStylesToKeyframe(),new Aa(this._driver,a,i||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,i){this._localTimelineStyles.set(a,i),this._globalTimelineStyles.set(a,i),this._styleSummary.set(a,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[i,s]of this._globalTimelineStyles)this._backFill.set(i,s||Z.l3),this._currentKeyframe.set(i,Z.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,i,s,d){i&&this._previousKeyframe.set("easing",i);const p=d&&d.params||{},b=function Sa(l,a){const i=new Map;let s;return l.forEach(d=>{if("*"===d){s=s||a.keys();for(let p of s)i.set(p,Z.l3)}else to(d,i)}),i}(a,this._globalTimelineStyles);for(let[S,ee]of b){const Te=Ca(ee,p,s);this._pendingStyles.set(S,Te),this._localTimelineStyles.has(S)||this._backFill.set(S,this._globalTimelineStyles.get(S)??Z.l3),this._updateStyle(S,Te)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,i)=>{this._currentKeyframe.set(i,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,a)}))}snapshotCurrentStyles(){for(let[a,i]of this._localTimelineStyles)this._pendingStyles.set(a,i),this._updateStyle(a,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let i in this._currentKeyframe)a.push(i);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((i,s)=>{const d=this._styleSummary.get(s);(!d||i.time>d.time)&&this._updateStyle(s,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,i=new Set,s=1===this._keyframes.size&&0===this.duration;let d=[];this._keyframes.forEach((S,ee)=>{const Te=to(S,new Map,this._backFill);Te.forEach((Le,nt)=>{Le===Z.k1?a.add(nt):Le===Z.l3&&i.add(nt)}),s||Te.set("offset",ee/this.duration),d.push(Te)});const p=a.size?wc(a.values()):[],b=i.size?wc(i.values()):[];if(s){const S=d[0],ee=new Map(S);S.set("offset",0),ee.set("offset",1),d=[S,ee]}return Jl(this.element,d,p,b,this.duration,this.startTime,this.easing,!1)}}class ed extends Aa{constructor(a,i,s,d,p,b,S=!1){super(a,i,b.delay),this.keyframes=s,this.preStyleProps=d,this.postStyleProps=p,this._stretchStartingKeyframe=S,this.timings={duration:b.duration,delay:b.delay,easing:b.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:i,duration:s,easing:d}=this.timings;if(this._stretchStartingKeyframe&&i){const p=[],b=s+i,S=i/b,ee=to(a[0]);ee.set("offset",0),p.push(ee);const Te=to(a[0]);Te.set("offset",di(S)),p.push(Te);const Le=a.length-1;for(let nt=1;nt<=Le;nt++){let _t=to(a[nt]);const Dt=_t.get("offset");_t.set("offset",di((i+Dt*s)/b)),p.push(_t)}s=b,i=0,d="",a=p}return Jl(this.element,a,this.preStyleProps,this.postStyleProps,s,i,d,!0)}}function di(l,a=3){const i=Math.pow(10,a-1);return Math.round(l*i)/i}class Ic{}const Wu=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class dp extends Ic{normalizePropertyName(a,i){return Dc(a)}normalizeStyleValue(a,i,s,d){let p="";const b=s.toString().trim();if(Wu.has(i)&&0!==s&&"0"!==s)if("number"==typeof s)p="px";else{const S=s.match(/^[+-]?[\d\.]+([a-z]*)$/);S&&0==S[1].length&&d.push(function Ar(l,a){return new o.vHH(3005,!1)}())}return b+p}}function td(l,a,i,s,d,p,b,S,ee,Te,Le,nt,_t){return{type:0,element:l,triggerName:a,isRemovalTransition:d,fromState:i,fromStyles:p,toState:s,toStyles:b,timelines:S,queriedElements:ee,preStyleProps:Te,postStyleProps:Le,totalTime:nt,errors:_t}}const nd={};class id{constructor(a,i,s){this._triggerName=a,this.ast=i,this._stateStyles=s}match(a,i,s,d){return function up(l,a,i,s,d){return l.some(p=>p(a,i,s,d))}(this.ast.matchers,a,i,s,d)}buildStyles(a,i,s){let d=this._stateStyles.get("*");return void 0!==a&&(d=this._stateStyles.get(a?.toString())||d),d?d.buildStyles(i,s):new Map}build(a,i,s,d,p,b,S,ee,Te,Le){const nt=[],_t=this.ast.options&&this.ast.options.params||nd,Mt=this.buildStyles(s,S&&S.params||nd,nt),At=ee&&ee.params||nd,Yt=this.buildStyles(d,At,nt),Pn=new Set,Qn=new Map,mi=new Map,Xn="void"===d,js={params:od(At,_t),delay:this.ast.options?.delay},Po=Le?[]:Xl(a,i,this.ast.animation,p,b,Mt,Yt,js,Te,nt);let Ci=0;if(Po.forEach(Fi=>{Ci=Math.max(Fi.duration+Fi.delay,Ci)}),nt.length)return td(i,this._triggerName,s,d,Xn,Mt,Yt,[],[],Qn,mi,Ci,nt);Po.forEach(Fi=>{const ui=Fi.element,zr=Ri(Qn,ui,new Set);Fi.preStyleProps.forEach(Gr=>zr.add(Gr));const Ua=Ri(mi,ui,new Set);Fi.postStyleProps.forEach(Gr=>Ua.add(Gr)),ui!==i&&Pn.add(ui)});const Fo=wc(Pn.values());return td(i,this._triggerName,s,d,Xn,Mt,Yt,Po,Fo,Qn,mi,Ci)}}function od(l,a){const i=Ms(a);for(const s in l)l.hasOwnProperty(s)&&null!=l[s]&&(i[s]=l[s]);return i}class rd{constructor(a,i,s){this.styles=a,this.defaultParams=i,this.normalizer=s}buildStyles(a,i){const s=new Map,d=Ms(this.defaultParams);return Object.keys(a).forEach(p=>{const b=a[p];null!==b&&(d[p]=b)}),this.styles.styles.forEach(p=>{"string"!=typeof p&&p.forEach((b,S)=>{b&&(b=Ca(b,d,i));const ee=this.normalizer.normalizePropertyName(S,i);b=this.normalizer.normalizeStyleValue(S,ee,b,i),s.set(S,b)})}),s}}class Ia{constructor(a,i,s){this.name=a,this.ast=i,this._normalizer=s,this.transitionFactories=[],this.states=new Map,i.states.forEach(d=>{this.states.set(d.name,new rd(d.style,d.options&&d.options.params||{},s))}),Yu(this.states,"true","1"),Yu(this.states,"false","0"),i.transitions.forEach(d=>{this.transitionFactories.push(new id(a,d,this.states))}),this.fallbackTransition=function fp(l,a,i){return new id(l,{type:1,animation:{type:2,steps:[],options:null},matchers:[(b,S)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,i,s,d){return this.transitionFactories.find(b=>b.match(a,i,s,d))||null}matchStyles(a,i,s){return this.fallbackTransition.buildStyles(a,i,s)}}function Yu(l,a,i){l.has(a)?l.has(i)||l.set(i,l.get(a)):l.has(i)&&l.set(a,l.get(i))}const Ku=new Ma;class Zu{constructor(a,i,s){this.bodyNode=a,this._driver=i,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,i){const s=[],p=Mc(this._driver,i,s,[]);if(s.length)throw function zg(l){return new o.vHH(3503,!1)}();this._animations.set(a,p)}_buildPlayer(a,i,s){const d=a.element,p=ws(this._normalizer,a.keyframes,i,s);return this._driver.animate(d,p,a.duration,a.delay,a.easing,[],!0)}create(a,i,s={}){const d=[],p=this._animations.get(a);let b;const S=new Map;if(p?(b=Xl(this._driver,i,p,wa,Ir,new Map,new Map,s,Ku,d),b.forEach(Le=>{const nt=Ri(S,Le.element,new Map);Le.postStyleProps.forEach(_t=>nt.set(_t,null))})):(d.push(function qf(){return new o.vHH(3300,!1)}()),b=[]),d.length)throw function Gg(l){return new o.vHH(3504,!1)}();S.forEach((Le,nt)=>{Le.forEach((_t,Dt)=>{Le.set(Dt,this._driver.computeStyle(nt,Dt,Z.l3))})});const Te=dr(b.map(Le=>{const nt=S.get(Le.element);return this._buildPlayer(Le,new Map,nt)}));return this._playersById.set(a,Te),Te.onDestroy(()=>this.destroy(a)),this.players.push(Te),Te}destroy(a){const i=this._getPlayer(a);i.destroy(),this._playersById.delete(a);const s=this.players.indexOf(i);s>=0&&this.players.splice(s,1)}_getPlayer(a){const i=this._playersById.get(a);if(!i)throw function Wg(l){return new o.vHH(3301,!1)}();return i}listen(a,i,s,d){const p=ur(i,"","","");return Ul(this._getPlayer(a),s,p,d),()=>{}}command(a,i,s,d){if("register"==s)return void this.register(a,d[0]);if("create"==s)return void this.create(a,i,d[0]||{});const p=this._getPlayer(a);switch(s){case"play":p.play();break;case"pause":p.pause();break;case"reset":p.reset();break;case"restart":p.restart();break;case"finish":p.finish();break;case"init":p.init();break;case"setPosition":p.setPosition(parseFloat(d[0]));break;case"destroy":this.destroy(a)}}}const sd="ng-animate-queued",Os="ng-animate-disabled",pp=[],Ju={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},mp={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ho="__ng_removed";class cd{get params(){return this.options.params}constructor(a,i=""){this.namespaceId=i;const s=a&&a.hasOwnProperty("value");if(this.value=function _p(l){return l??null}(s?a.value:a),s){const p=Ms(a);delete p.value,this.options=p}else this.options={};this.options.params||(this.options.params={})}absorbOptions(a){const i=a.params;if(i){const s=this.options.params;Object.keys(i).forEach(d=>{null==s[d]&&(s[d]=i[d])})}}}const Oa="void",kc=new cd(Oa);class Rc{constructor(a,i,s){this.id=a,this.hostElement=i,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,no(i,this._hostClassName)}listen(a,i,s,d){if(!this._triggers.has(i))throw function Yg(l,a){return new o.vHH(3302,!1)}();if(null==s||0==s.length)throw function Kg(l){return new o.vHH(3303,!1)}();if(!function Qu(l){return"start"==l||"done"==l}(s))throw function Zg(l,a){return new o.vHH(3400,!1)}();const p=Ri(this._elementListeners,a,[]),b={name:i,phase:s,callback:d};p.push(b);const S=Ri(this._engine.statesByElement,a,new Map);return S.has(i)||(no(a,vc),no(a,vc+"-"+i),S.set(i,kc)),()=>{this._engine.afterFlush(()=>{const ee=p.indexOf(b);ee>=0&&p.splice(ee,1),this._triggers.has(i)||S.delete(i)})}}register(a,i){return!this._triggers.has(a)&&(this._triggers.set(a,i),!0)}_getTrigger(a){const i=this._triggers.get(a);if(!i)throw function qg(l){return new o.vHH(3401,!1)}();return i}trigger(a,i,s,d=!0){const p=this._getTrigger(i),b=new ka(this.id,i,a);let S=this._engine.statesByElement.get(a);S||(no(a,vc),no(a,vc+"-"+i),this._engine.statesByElement.set(a,S=new Map));let ee=S.get(i);const Te=new cd(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&ee&&Te.absorbOptions(ee.options),S.set(i,Te),ee||(ee=kc),Te.value!==Oa&&ee.value===Te.value){if(!function Xu(l,a){const i=Object.keys(l),s=Object.keys(a);if(i.length!=s.length)return!1;for(let d=0;d<i.length;d++){const p=i[d];if(!a.hasOwnProperty(p)||l[p]!==a[p])return!1}return!0}(ee.params,Te.params)){const At=[],Yt=p.matchStyles(ee.value,ee.params,At),Pn=p.matchStyles(Te.value,Te.params,At);At.length?this._engine.reportError(At):this._engine.afterFlush(()=>{Ts(a,Yt),To(a,Pn)})}return}const _t=Ri(this._engine.playersByElement,a,[]);_t.forEach(At=>{At.namespaceId==this.id&&At.triggerName==i&&At.queued&&At.destroy()});let Dt=p.matchTransition(ee.value,Te.value,a,Te.params),Mt=!1;if(!Dt){if(!d)return;Dt=p.fallbackTransition,Mt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:i,transition:Dt,fromState:ee,toState:Te,player:b,isFallbackTransition:Mt}),Mt||(no(a,sd),b.onStart(()=>{Ra(a,sd)})),b.onDone(()=>{let At=this.players.indexOf(b);At>=0&&this.players.splice(At,1);const Yt=this._engine.playersByElement.get(a);if(Yt){let Pn=Yt.indexOf(b);Pn>=0&&Yt.splice(Pn,1)}}),this.players.push(b),_t.push(b),b}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(i=>i.delete(a)),this._elementListeners.forEach((i,s)=>{this._elementListeners.set(s,i.filter(d=>d.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const i=this._engine.playersByElement.get(a);i&&(i.forEach(s=>s.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,i){const s=this._engine.driver.query(a,Or,!0);s.forEach(d=>{if(d[ho])return;const p=this._engine.fetchNamespacesByElement(d);p.size?p.forEach(b=>b.triggerLeaveAnimation(d,i,!1,!0)):this.clearElementCache(d)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(d=>this.clearElementCache(d)))}triggerLeaveAnimation(a,i,s,d){const p=this._engine.statesByElement.get(a),b=new Map;if(p){const S=[];if(p.forEach((ee,Te)=>{if(b.set(Te,ee.value),this._triggers.has(Te)){const Le=this.trigger(a,Te,Oa,d);Le&&S.push(Le)}}),S.length)return this._engine.markElementAsRemoved(this.id,a,!0,i,b),s&&dr(S).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const i=this._elementListeners.get(a),s=this._engine.statesByElement.get(a);if(i&&s){const d=new Set;i.forEach(p=>{const b=p.name;if(d.has(b))return;d.add(b);const ee=this._triggers.get(b).fallbackTransition,Te=s.get(b)||kc,Le=new cd(Oa),nt=new ka(this.id,b,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:b,transition:ee,fromState:Te,toState:Le,player:nt,isFallbackTransition:!0})})}}removeNode(a,i){const s=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,i),this.triggerLeaveAnimation(a,i,!0))return;let d=!1;if(s.totalAnimations){const p=s.players.length?s.playersByQueriedElement.get(a):[];if(p&&p.length)d=!0;else{let b=a;for(;b=b.parentNode;)if(s.statesByElement.get(b)){d=!0;break}}}if(this.prepareLeaveAnimationListeners(a),d)s.markElementAsRemoved(this.id,a,!1,i);else{const p=a[ho];(!p||p===Ju)&&(s.afterFlush(()=>this.clearElementCache(a)),s.destroyInnerAnimations(a),s._onRemovalComplete(a,i))}}insertNode(a,i){no(a,this._hostClassName)}drainQueuedTransitions(a){const i=[];return this._queue.forEach(s=>{const d=s.player;if(d.destroyed)return;const p=s.element,b=this._elementListeners.get(p);b&&b.forEach(S=>{if(S.name==s.triggerName){const ee=ur(p,s.triggerName,s.fromState.value,s.toState.value);ee._data=a,Ul(s.player,S.phase,ee,S.callback)}}),d.markedForDestroy?this._engine.afterFlush(()=>{d.destroy()}):i.push(s)}),this._queue=[],i.sort((s,d)=>{const p=s.transition.ast.depCount,b=d.transition.ast.depCount;return 0==p||0==b?p-b:this._engine.driver.containsElement(s.element,d.element)?1:-1})}destroy(a){this.players.forEach(i=>i.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}}class ld{_onRemovalComplete(a,i){this.onRemovalComplete(a,i)}constructor(a,i,s){this.bodyNode=a,this.driver=i,this._normalizer=s,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(d,p)=>{}}get queuedPlayers(){const a=[];return this._namespaceList.forEach(i=>{i.players.forEach(s=>{s.queued&&a.push(s)})}),a}createNamespace(a,i){const s=new Rc(a,i,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,i)?this._balanceNamespaceList(s,i):(this.newHostElements.set(i,s),this.collectEnterElement(i)),this._namespaceLookup[a]=s}_balanceNamespaceList(a,i){const s=this._namespaceList,d=this.namespacesByHostElement;if(s.length-1>=0){let b=!1,S=this.driver.getParentElement(i);for(;S;){const ee=d.get(S);if(ee){const Te=s.indexOf(ee);s.splice(Te+1,0,a),b=!0;break}S=this.driver.getParentElement(S)}b||s.unshift(a)}else s.push(a);return d.set(i,a),a}register(a,i){let s=this._namespaceLookup[a];return s||(s=this.createNamespace(a,i)),s}registerTrigger(a,i,s){let d=this._namespaceLookup[a];d&&d.register(i,s)&&this.totalAnimations++}destroy(a,i){a&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const s=this._fetchNamespace(a);this.namespacesByHostElement.delete(s.hostElement);const d=this._namespaceList.indexOf(s);d>=0&&this._namespaceList.splice(d,1),s.destroy(i),delete this._namespaceLookup[a]}))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const i=new Set,s=this.statesByElement.get(a);if(s)for(let d of s.values())if(d.namespaceId){const p=this._fetchNamespace(d.namespaceId);p&&i.add(p)}return i}trigger(a,i,s,d){if(ks(i)){const p=this._fetchNamespace(a);if(p)return p.trigger(i,s,d),!0}return!1}insertNode(a,i,s,d){if(!ks(i))return;const p=i[ho];if(p&&p.setForRemoval){p.setForRemoval=!1,p.setForMove=!0;const b=this.collectedLeaveElements.indexOf(i);b>=0&&this.collectedLeaveElements.splice(b,1)}if(a){const b=this._fetchNamespace(a);b&&b.insertNode(i,s)}d&&this.collectEnterElement(i)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,i){i?this.disabledNodes.has(a)||(this.disabledNodes.add(a),no(a,Os)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Ra(a,Os))}removeNode(a,i,s){if(ks(i)){const d=a?this._fetchNamespace(a):null;d?d.removeNode(i,s):this.markElementAsRemoved(a,i,!1,s);const p=this.namespacesByHostElement.get(i);p&&p.id!==a&&p.removeNode(i,s)}else this._onRemovalComplete(i,s)}markElementAsRemoved(a,i,s,d,p){this.collectedLeaveElements.push(i),i[ho]={namespaceId:a,setForRemoval:d,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:p}}listen(a,i,s,d,p){return ks(i)?this._fetchNamespace(a).listen(i,s,d,p):()=>{}}_buildInstruction(a,i,s,d,p){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,s,d,a.fromState.options,a.toState.options,i,p)}destroyInnerAnimations(a){let i=this.driver.query(a,Or,!0);i.forEach(s=>this.destroyActiveAnimationsForElement(s)),0!=this.playersByQueriedElement.size&&(i=this.driver.query(a,Ds,!0),i.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(a){const i=this.playersByElement.get(a);i&&i.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(a){const i=this.playersByQueriedElement.get(a);i&&i.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return dr(this.players).onDone(()=>a());a()})}processLeaveNode(a){const i=a[ho];if(i&&i.setForRemoval){if(a[ho]=Ju,i.namespaceId){this.destroyInnerAnimations(a);const s=this._fetchNamespace(i.namespaceId);s&&s.clearElementCache(a)}this._onRemovalComplete(a,i.setForRemoval)}a.classList?.contains(Os)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(a=-1){let i=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,d)=>this._balanceNamespaceList(s,d)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;s<this.collectedEnterElements.length;s++)no(this.collectedEnterElements[s],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const s=[];try{i=this._flushAnimations(s,a)}finally{for(let d=0;d<s.length;d++)s[d]()}}else for(let s=0;s<this.collectedLeaveElements.length;s++)this.processLeaveNode(this.collectedLeaveElements[s]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(s=>s()),this._flushFns=[],this._whenQuietFns.length){const s=this._whenQuietFns;this._whenQuietFns=[],i.length?dr(i).onDone(()=>{s.forEach(d=>d())}):s.forEach(d=>d())}}reportError(a){throw function xs(l){return new o.vHH(3402,!1)}()}_flushAnimations(a,i){const s=new Ma,d=[],p=new Map,b=[],S=new Map,ee=new Map,Te=new Map,Le=new Set;this.disabledNodes.forEach(St=>{Le.add(St);const Ft=this.driver.query(St,".ng-animate-queued",!0);for(let jt=0;jt<Ft.length;jt++)Le.add(Ft[jt])});const nt=this.bodyNode,_t=Array.from(this.statesByElement.keys()),Dt=ud(_t,this.collectedEnterElements),Mt=new Map;let At=0;Dt.forEach((St,Ft)=>{const jt=wa+At++;Mt.set(Ft,jt),St.forEach(ln=>no(ln,jt))});const Yt=[],Pn=new Set,Qn=new Set;for(let St=0;St<this.collectedLeaveElements.length;St++){const Ft=this.collectedLeaveElements[St],jt=Ft[ho];jt&&jt.setForRemoval&&(Yt.push(Ft),Pn.add(Ft),jt.hasAnimation?this.driver.query(Ft,".ng-star-inserted",!0).forEach(ln=>Pn.add(ln)):Qn.add(Ft))}const mi=new Map,Xn=ud(_t,Array.from(Pn));Xn.forEach((St,Ft)=>{const jt=Ir+At++;mi.set(Ft,jt),St.forEach(ln=>no(ln,jt))}),a.push(()=>{Dt.forEach((St,Ft)=>{const jt=Mt.get(Ft);St.forEach(ln=>Ra(ln,jt))}),Xn.forEach((St,Ft)=>{const jt=mi.get(Ft);St.forEach(ln=>Ra(ln,jt))}),Yt.forEach(St=>{this.processLeaveNode(St)})});const js=[],Po=[];for(let St=this._namespaceList.length-1;St>=0;St--)this._namespaceList[St].drainQueuedTransitions(i).forEach(jt=>{const ln=jt.player,Kn=jt.element;if(js.push(ln),this.collectedEnterElements.length){const gi=Kn[ho];if(gi&&gi.setForMove){if(gi.previousTriggersValues&&gi.previousTriggersValues.has(jt.triggerName)){const Us=gi.previousTriggersValues.get(jt.triggerName),po=this.statesByElement.get(jt.element);if(po&&po.has(jt.triggerName)){const za=po.get(jt.triggerName);za.value=Us,po.set(jt.triggerName,za)}}return void ln.destroy()}}const No=!nt||!this.driver.containsElement(nt,Kn),Yi=mi.get(Kn),pr=Mt.get(Kn),Fn=this._buildInstruction(jt,s,pr,Yi,No);if(Fn.errors&&Fn.errors.length)return void Po.push(Fn);if(No)return ln.onStart(()=>Ts(Kn,Fn.fromStyles)),ln.onDestroy(()=>To(Kn,Fn.toStyles)),void d.push(ln);if(jt.isFallbackTransition)return ln.onStart(()=>Ts(Kn,Fn.fromStyles)),ln.onDestroy(()=>To(Kn,Fn.toStyles)),void d.push(ln);const Nd=[];Fn.timelines.forEach(gi=>{gi.stretchStartingKeyframe=!0,this.disabledNodes.has(gi.element)||Nd.push(gi)}),Fn.timelines=Nd,s.append(Kn,Fn.timelines),b.push({instruction:Fn,player:ln,element:Kn}),Fn.queriedElements.forEach(gi=>Ri(S,gi,[]).push(ln)),Fn.preStyleProps.forEach((gi,Us)=>{if(gi.size){let po=ee.get(Us);po||ee.set(Us,po=new Set),gi.forEach((za,nl)=>po.add(nl))}}),Fn.postStyleProps.forEach((gi,Us)=>{let po=Te.get(Us);po||Te.set(Us,po=new Set),gi.forEach((za,nl)=>po.add(nl))})});if(Po.length){const St=[];Po.forEach(Ft=>{St.push(function Jf(l,a){return new o.vHH(3505,!1)}())}),js.forEach(Ft=>Ft.destroy()),this.reportError(St)}const Ci=new Map,Fo=new Map;b.forEach(St=>{const Ft=St.element;s.has(Ft)&&(Fo.set(Ft,Ft),this._beforeAnimationBuild(St.player.namespaceId,St.instruction,Ci))}),d.forEach(St=>{const Ft=St.element;this._getPreviousPlayers(Ft,!1,St.namespaceId,St.triggerName,null).forEach(ln=>{Ri(Ci,Ft,[]).push(ln),ln.destroy()})});const Fi=Yt.filter(St=>fd(St,ee,Te)),ui=new Map;dd(ui,this.driver,Qn,Te,Z.l3).forEach(St=>{fd(St,ee,Te)&&Fi.push(St)});const Ua=new Map;Dt.forEach((St,Ft)=>{dd(Ua,this.driver,new Set(St),ee,Z.k1)}),Fi.forEach(St=>{const Ft=ui.get(St),jt=Ua.get(St);ui.set(St,new Map([...Ft?.entries()??[],...jt?.entries()??[]]))});const Gr=[],Pd=[],Fd={};b.forEach(St=>{const{element:Ft,player:jt,instruction:ln}=St;if(s.has(Ft)){if(Le.has(Ft))return jt.onDestroy(()=>To(Ft,ln.toStyles)),jt.disabled=!0,jt.overrideTotalTime(ln.totalTime),void d.push(jt);let Kn=Fd;if(Fo.size>1){let Yi=Ft;const pr=[];for(;Yi=Yi.parentNode;){const Fn=Fo.get(Yi);if(Fn){Kn=Fn;break}pr.push(Yi)}pr.forEach(Fn=>Fo.set(Fn,Kn))}const No=this._buildAnimation(jt.namespaceId,ln,Ci,p,Ua,ui);if(jt.setRealPlayer(No),Kn===Fd)Gr.push(jt);else{const Yi=this.playersByElement.get(Kn);Yi&&Yi.length&&(jt.parentPlayer=dr(Yi)),d.push(jt)}}else Ts(Ft,ln.fromStyles),jt.onDestroy(()=>To(Ft,ln.toStyles)),Pd.push(jt),Le.has(Ft)&&d.push(jt)}),Pd.forEach(St=>{const Ft=p.get(St.element);if(Ft&&Ft.length){const jt=dr(Ft);St.setRealPlayer(jt)}}),d.forEach(St=>{St.parentPlayer?St.syncPlayerEvents(St.parentPlayer):St.destroy()});for(let St=0;St<Yt.length;St++){const Ft=Yt[St],jt=Ft[ho];if(Ra(Ft,Ir),jt&&jt.hasAnimation)continue;let ln=[];if(S.size){let No=S.get(Ft);No&&No.length&&ln.push(...No);let Yi=this.driver.query(Ft,Ds,!0);for(let pr=0;pr<Yi.length;pr++){let Fn=S.get(Yi[pr]);Fn&&Fn.length&&ln.push(...Fn)}}const Kn=ln.filter(No=>!No.destroyed);Kn.length?Pc(this,Ft,Kn):this.processLeaveNode(Ft)}return Yt.length=0,Gr.forEach(St=>{this.players.push(St),St.onDone(()=>{St.destroy();const Ft=this.players.indexOf(St);this.players.splice(Ft,1)}),St.play()}),Gr}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,i,s,d,p){let b=[];if(i){const S=this.playersByQueriedElement.get(a);S&&(b=S)}else{const S=this.playersByElement.get(a);if(S){const ee=!p||p==Oa;S.forEach(Te=>{Te.queued||!ee&&Te.triggerName!=d||b.push(Te)})}}return(s||d)&&(b=b.filter(S=>!(s&&s!=S.namespaceId||d&&d!=S.triggerName))),b}_beforeAnimationBuild(a,i,s){const p=i.element,b=i.isRemovalTransition?void 0:a,S=i.isRemovalTransition?void 0:i.triggerName;for(const ee of i.timelines){const Te=ee.element,Le=Te!==p,nt=Ri(s,Te,[]);this._getPreviousPlayers(Te,Le,b,S,i.toState).forEach(Dt=>{const Mt=Dt.getRealPlayer();Mt.beforeDestroy&&Mt.beforeDestroy(),Dt.destroy(),nt.push(Dt)})}Ts(p,i.fromStyles)}_buildAnimation(a,i,s,d,p,b){const S=i.triggerName,ee=i.element,Te=[],Le=new Set,nt=new Set,_t=i.timelines.map(Mt=>{const At=Mt.element;Le.add(At);const Yt=At[ho];if(Yt&&Yt.removedBeforeQueried)return new Z.ZN(Mt.duration,Mt.delay);const Pn=At!==ee,Qn=function bp(l){const a=[];return hd(l,a),a}((s.get(At)||pp).map(Ci=>Ci.getRealPlayer())).filter(Ci=>!!Ci.element&&Ci.element===At),mi=p.get(At),Xn=b.get(At),js=ws(this._normalizer,Mt.keyframes,mi,Xn),Po=this._buildPlayer(Mt,js,Qn);if(Mt.subTimeline&&d&&nt.add(At),Pn){const Ci=new ka(a,S,At);Ci.setRealPlayer(Po),Te.push(Ci)}return Po});Te.forEach(Mt=>{Ri(this.playersByQueriedElement,Mt.element,[]).push(Mt),Mt.onDone(()=>function gp(l,a,i){let s=l.get(a);if(s){if(s.length){const d=s.indexOf(i);s.splice(d,1)}0==s.length&&l.delete(a)}return s}(this.playersByQueriedElement,Mt.element,Mt))}),Le.forEach(Mt=>no(Mt,Fu));const Dt=dr(_t);return Dt.onDestroy(()=>{Le.forEach(Mt=>Ra(Mt,Fu)),To(ee,i.toStyles)}),nt.forEach(Mt=>{Ri(d,Mt,[]).push(Dt)}),Dt}_buildPlayer(a,i,s){return i.length>0?this.driver.animate(a.element,i,a.duration,a.delay,a.easing,s):new Z.ZN(a.duration,a.delay)}}class ka{constructor(a,i,s){this.namespaceId=a,this.triggerName=i,this.element=s,this._player=new Z.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((i,s)=>{i.forEach(d=>Ul(a,s,void 0,d))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const i=this._player;i.triggerCallback&&a.onStart(()=>i.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,i){Ri(this._queuedCallbacks,a,[]).push(i)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const i=this._player;i.triggerCallback&&i.triggerCallback(a)}}function ks(l){return l&&1===l.nodeType}function hr(l,a){const i=l.style.display;return l.style.display=a??"none",i}function dd(l,a,i,s,d){const p=[];i.forEach(ee=>p.push(hr(ee)));const b=[];s.forEach((ee,Te)=>{const Le=new Map;ee.forEach(nt=>{const _t=a.computeStyle(Te,nt,d);Le.set(nt,_t),(!_t||0==_t.length)&&(Te[ho]=mp,b.push(Te))}),l.set(Te,Le)});let S=0;return i.forEach(ee=>hr(ee,p[S++])),b}function ud(l,a){const i=new Map;if(l.forEach(S=>i.set(S,[])),0==a.length)return i;const d=new Set(a),p=new Map;function b(S){if(!S)return 1;let ee=p.get(S);if(ee)return ee;const Te=S.parentNode;return ee=i.has(Te)?Te:d.has(Te)?1:b(Te),p.set(S,ee),ee}return a.forEach(S=>{const ee=b(S);1!==ee&&i.get(ee).push(S)}),i}function no(l,a){l.classList?.add(a)}function Ra(l,a){l.classList?.remove(a)}function Pc(l,a,i){dr(i).onDone(()=>l.processLeaveNode(a))}function hd(l,a){for(let i=0;i<l.length;i++){const s=l[i];s instanceof Z.ZE?hd(s.players,a):a.push(s)}}function fd(l,a,i){const s=i.get(l);if(!s)return!1;let d=a.get(l);return d?s.forEach(p=>d.add(p)):a.set(l,s),i.delete(l),!0}class Rs{constructor(a,i,s){this.bodyNode=a,this._driver=i,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(d,p)=>{},this._transitionEngine=new ld(a,i,s),this._timelineEngine=new Zu(a,i,s),this._transitionEngine.onRemovalComplete=(d,p)=>this.onRemovalComplete(d,p)}registerTrigger(a,i,s,d,p){const b=a+"-"+d;let S=this._triggerCache[b];if(!S){const ee=[],Le=Mc(this._driver,p,ee,[]);if(ee.length)throw function jl(l,a){return new o.vHH(3404,!1)}();S=function hp(l,a,i){return new Ia(l,a,i)}(d,Le,this._normalizer),this._triggerCache[b]=S}this._transitionEngine.registerTrigger(i,d,S)}register(a,i){this._transitionEngine.register(a,i)}destroy(a,i){this._transitionEngine.destroy(a,i)}onInsert(a,i,s,d){this._transitionEngine.insertNode(a,i,s,d)}onRemove(a,i,s){this._transitionEngine.removeNode(a,i,s)}disableAnimations(a,i){this._transitionEngine.markElementAsDisabled(a,i)}process(a,i,s,d){if("@"==s.charAt(0)){const[p,b]=ya(s);this._timelineEngine.command(p,i,b,d)}else this._transitionEngine.trigger(a,i,s,d)}listen(a,i,s,d,p){if("@"==s.charAt(0)){const[b,S]=ya(s);return this._timelineEngine.listen(b,i,S,p)}return this._transitionEngine.listen(a,i,s,d,p)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(a){this._transitionEngine.afterFlushAnimationsDone(a)}}let Fc=(()=>{class l{static#e=this.initialStylesByElement=new WeakMap;constructor(i,s,d){this._element=i,this._startStyles=s,this._endStyles=d,this._state=0;let p=l.initialStylesByElement.get(i);p||l.initialStylesByElement.set(i,p=new Map),this._initialStyles=p}start(){this._state<1&&(this._startStyles&&To(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(To(this._element,this._initialStyles),this._endStyles&&(To(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(l.initialStylesByElement.delete(this._element),this._startStyles&&(Ts(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ts(this._element,this._endStyles),this._endStyles=null),To(this._element,this._initialStyles),this._state=3)}}return l})();function Pr(l){let a=null;return l.forEach((i,s)=>{(function th(l){return"display"===l||"position"===l})(s)&&(a=a||new Map,a.set(s,i))}),a}class Nc{constructor(a,i,s,d){this.element=a,this.keyframes=i,this.options=s,this._specialStyles=d,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const i=[];return a.forEach(s=>{i.push(Object.fromEntries(s))}),i}_triggerWebAnimation(a,i,s){return a.animate(this._convertKeyframesToObject(i),s)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,d)=>{"offset"!==d&&a.set(d,this._finished?s:op(this.element,d))}),this.currentSnapshot=a}triggerCallback(a){const i="start"===a?this._onStartFns:this._onDoneFns;i.forEach(s=>s()),i.length=0}}class Lc{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,i){return!1}containsElement(a,i){return Xf(a,i)}getParentElement(a){return zl(a)}query(a,i,s){return Gl(a,i,s)}computeStyle(a,i,s){return window.getComputedStyle(a)[i]}animate(a,i,s,d,p,b=[]){const ee={duration:s,delay:d,fill:0==d?"both":"forwards"};p&&(ee.easing=p);const Te=new Map,Le=b.filter(Dt=>Dt instanceof Nc);(function $u(l,a){return 0===l||0===a})(s,d)&&Le.forEach(Dt=>{Dt.currentSnapshot.forEach((Mt,At)=>Te.set(At,Mt))});let nt=function np(l){return l.length?l[0]instanceof Map?l:l.map(a=>Nu(a)):[]}(i).map(Dt=>to(Dt));nt=function t_(l,a,i){if(i.size&&a.length){let s=a[0],d=[];if(i.forEach((p,b)=>{s.has(b)||d.push(b),s.set(b,p)}),d.length)for(let p=1;p<a.length;p++){let b=a[p];d.forEach(S=>b.set(S,op(l,S)))}}return a}(a,nt,Te);const _t=function eh(l,a){let i=null,s=null;return Array.isArray(a)&&a.length?(i=Pr(a[0]),a.length>1&&(s=Pr(a[a.length-1]))):a instanceof Map&&(i=Pr(a)),i||s?new Fc(l,i,s):null}(a,nt);return new Nc(a,nt,ee,_t)}}let nh=(()=>{class l extends Z._j{constructor(i,s){super(),this._nextAnimationId=0,this._renderer=i.createRenderer(s.body,{id:"0",encapsulation:o.ifc.None,styles:[],data:{animation:[]}})}build(i){const s=this._nextAnimationId.toString();this._nextAnimationId++;const d=Array.isArray(i)?(0,Z.vP)(i):i;return ih(this._renderer,null,s,"register",[d]),new pd(s,this._renderer)}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(o.FYo),o.LFG(te.K0))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac})}return l})();class pd extends Z.LC{constructor(a,i){super(),this._id=a,this._renderer=i}create(a,i){return new Pa(this._id,a,i||{},this._renderer)}}class Pa{constructor(a,i,s,d){this.id=a,this.element=i,this._renderer=d,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",s)}_listen(a,i){return this._renderer.listen(this.element,`@@${this.id}:${a}`,i)}_command(a,...i){return ih(this._renderer,this.element,this.id,a,i)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function ih(l,a,i,s,d){return l.setProperty(a,`@@${i}:${s}`,d)}const oh="@.disabled";let vp=(()=>{class l{constructor(i,s,d){this.delegate=i,this.engine=s,this._zone=d,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,s.onRemovalComplete=(p,b)=>{const S=b?.parentNode(p);S&&b.removeChild(S,p)}}createRenderer(i,s){const p=this.delegate.createRenderer(i,s);if(!(i&&s&&s.data&&s.data.animation)){let Le=this._rendererCache.get(p);return Le||(Le=new rh("",p,this.engine,()=>this._rendererCache.delete(p)),this._rendererCache.set(p,Le)),Le}const b=s.id,S=s.id+"-"+this._currentId;this._currentId++,this.engine.register(S,i);const ee=Le=>{Array.isArray(Le)?Le.forEach(ee):this.engine.registerTrigger(b,S,i,Le.name,Le)};return s.data.animation.forEach(ee),new sh(this,S,p,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(i,s,d){i>=0&&i<this._microtaskId?this._zone.run(()=>s(d)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(p=>{const[b,S]=p;b(S)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([s,d]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(o.FYo),o.LFG(Rs),o.LFG(o.R0b))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac})}return l})();class rh{constructor(a,i,s,d){this.namespaceId=a,this.delegate=i,this.engine=s,this._onDestroy=d}get data(){return this.delegate.data}destroyNode(a){this.delegate.destroyNode?.(a)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(a,i){return this.delegate.createElement(a,i)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,i){this.delegate.appendChild(a,i),this.engine.onInsert(this.namespaceId,i,a,!1)}insertBefore(a,i,s,d=!0){this.delegate.insertBefore(a,i,s),this.engine.onInsert(this.namespaceId,i,a,d)}removeChild(a,i,s){this.engine.onRemove(this.namespaceId,i,this.delegate)}selectRootElement(a,i){return this.delegate.selectRootElement(a,i)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,i,s,d){this.delegate.setAttribute(a,i,s,d)}removeAttribute(a,i,s){this.delegate.removeAttribute(a,i,s)}addClass(a,i){this.delegate.addClass(a,i)}removeClass(a,i){this.delegate.removeClass(a,i)}setStyle(a,i,s,d){this.delegate.setStyle(a,i,s,d)}removeStyle(a,i,s){this.delegate.removeStyle(a,i,s)}setProperty(a,i,s){"@"==i.charAt(0)&&i==oh?this.disableAnimations(a,!!s):this.delegate.setProperty(a,i,s)}setValue(a,i){this.delegate.setValue(a,i)}listen(a,i,s){return this.delegate.listen(a,i,s)}disableAnimations(a,i){this.engine.disableAnimations(a,i)}}class sh extends rh{constructor(a,i,s,d,p){super(i,s,d,p),this.factory=a,this.namespaceId=i}setProperty(a,i,s){"@"==i.charAt(0)?"."==i.charAt(1)&&i==oh?this.disableAnimations(a,s=void 0===s||!!s):this.engine.process(this.namespaceId,a,i.slice(1),s):this.delegate.setProperty(a,i,s)}listen(a,i,s){if("@"==i.charAt(0)){const d=function ah(l){switch(l){case"body":return document.body;case"document":return document;case"window":return window;default:return l}}(a);let p=i.slice(1),b="";return"@"!=p.charAt(0)&&([p,b]=function Bc(l){const a=l.indexOf(".");return[l.substring(0,a),l.slice(a+1)]}(p)),this.engine.listen(this.namespaceId,d,p,b,S=>{this.factory.scheduleListenerCallback(S._data||-1,s,S)})}return this.delegate.listen(a,i,s)}}const ch=[{provide:Z._j,useClass:nh},{provide:Ic,useFactory:function Ps(){return new dp}},{provide:Rs,useClass:(()=>{class l extends Rs{constructor(i,s,d,p){super(i.body,s,d)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(te.K0),o.LFG(Wl),o.LFG(Ic),o.LFG(o.z2F))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac})}return l})()},{provide:o.FYo,useFactory:function yp(l,a,i){return new vp(l,a,i)},deps:[h.se,Rs,o.R0b]}],lh=[{provide:Wl,useFactory:()=>new Lc},{provide:o.QbO,useValue:"BrowserAnimations"},...ch],dh=[{provide:Wl,useClass:Ru},{provide:o.QbO,useValue:"NoopAnimations"},...ch];let gd=(()=>{class l{static withConfig(i){return{ngModule:l,providers:i.disableAnimations?dh:lh}}static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:lh,imports:[h.b2]})}return l})();var Fs=v(9309),$c=v(534),uh=v(6086);const bd=["toast-component",""];function Fr(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"button",5),o.NdJ("click",function(){o.CHM(i);const d=o.oxw();return o.KtG(d.remove())}),o.TgZ(1,"span",6),o._uU(2,"\xd7"),o.qZA()()}}function xp(l,a){if(1&l&&(o.ynx(0),o._uU(1),o.BQk()),2&l){const i=o.oxw(2);o.xp6(1),o.hij("[",i.duplicatesCount+1,"]")}}function wp(l,a){if(1&l&&(o.TgZ(0,"div"),o._uU(1),o.YNc(2,xp,2,1,"ng-container",4),o.qZA()),2&l){const i=o.oxw();o.Tol(i.options.titleClass),o.uIk("aria-label",i.title),o.xp6(1),o.hij(" ",i.title," "),o.xp6(1),o.Q6J("ngIf",i.duplicatesCount)}}function Cp(l,a){if(1&l&&o._UZ(0,"div",7),2&l){const i=o.oxw();o.Tol(i.options.messageClass),o.Q6J("innerHTML",i.message,o.oJD)}}function Dp(l,a){if(1&l&&(o.TgZ(0,"div",8),o._uU(1),o.qZA()),2&l){const i=o.oxw();o.Tol(i.options.messageClass),o.uIk("aria-label",i.message),o.xp6(1),o.hij(" ",i.message," ")}}function Ep(l,a){if(1&l&&(o.TgZ(0,"div"),o._UZ(1,"div",9),o.qZA()),2&l){const i=o.oxw();o.xp6(1),o.Udp("width",i.width+"%")}}class Ip{_attachedHost;component;viewContainerRef;injector;constructor(a,i){this.component=a,this.injector=i}attach(a,i){return this._attachedHost=a,a.attach(this,i)}detach(){const a=this._attachedHost;if(a)return this._attachedHost=void 0,a.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(a){this._attachedHost=a}}class hh{_attachedPortal;_disposeFn;attach(a,i){return this._attachedPortal=a,this.attachComponentPortal(a,i)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(a){this._disposeFn=a}}class Op{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new z.x;_activate=new z.x;_manualClose=new z.x;_resetTimeout=new z.x;_countDuplicate=new z.x;constructor(a){this._overlayRef=a}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(a,i){a&&this._resetTimeout.next(),i&&this._countDuplicate.next(++this.duplicatesCount)}}class Hc{toastId;config;message;title;toastType;toastRef;_onTap=new z.x;_onAction=new z.x;constructor(a,i,s,d,p,b){this.toastId=a,this.config=i,this.message=s,this.title=d,this.toastType=p,this.toastRef=b,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(a){this._onAction.next(a)}onAction(){return this._onAction.asObservable()}}const ph=new o.OlP("ToastConfig");class Vc extends hh{_hostDomElement;_componentFactoryResolver;_appRef;constructor(a,i,s){super(),this._hostDomElement=a,this._componentFactoryResolver=i,this._appRef=s}attachComponentPortal(a,i){const s=this._componentFactoryResolver.resolveComponentFactory(a.component);let d;return d=s.create(a.injector),this._appRef.attachView(d.hostView),this.setDisposeFn(()=>{this._appRef.detachView(d.hostView),d.destroy()}),i?this._hostDomElement.insertBefore(this._getComponentRootNode(d),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(d)),d}_getComponentRootNode(a){return a.hostView.rootNodes[0]}}let qo=(()=>{class l{_document=(0,o.f3M)(te.K0);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const i=this._document.createElement("div");i.classList.add("overlay-container"),i.setAttribute("aria-live","polite"),this._document.body.appendChild(i),this._containerElement=i}static \u0275fac=function(s){return new(s||l)};static \u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();class La{_portalHost;constructor(a){this._portalHost=a}attach(a,i=!0){return this._portalHost.attach(a,i)}detach(){return this._portalHost.detach()}}let mh=(()=>{class l{_overlayContainer=(0,o.f3M)(qo);_componentFactoryResolver=(0,o.f3M)(o._Vd);_appRef=(0,o.f3M)(o.z2F);_document=(0,o.f3M)(te.K0);_paneElements=new Map;create(i,s){return this._createOverlayRef(this.getPaneElement(i,s))}getPaneElement(i="",s){return this._paneElements.get(s)||this._paneElements.set(s,{}),this._paneElements.get(s)[i]||(this._paneElements.get(s)[i]=this._createPaneElement(i,s)),this._paneElements.get(s)[i]}_createPaneElement(i,s){const d=this._document.createElement("div");return d.id="toast-container",d.classList.add(i),d.classList.add("toast-container"),s?s.getContainerElement().appendChild(d):this._overlayContainer.getContainerElement().appendChild(d),d}_createPortalHost(i){return new Vc(i,this._componentFactoryResolver,this._appRef)}_createOverlayRef(i){return new La(this._createPortalHost(i))}static \u0275fac=function(s){return new(s||l)};static \u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),jc=(()=>{class l{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(i,s,d,p,b){this.overlay=s,this._injector=d,this.sanitizer=p,this.ngZone=b,this.toastrConfig={...i.default,...i.config},i.config.iconClasses&&(this.toastrConfig.iconClasses={...i.default.iconClasses,...i.config.iconClasses})}show(i,s,d={},p=""){return this._preBuildNotification(p,i,s,this.applyConfig(d))}success(i,s,d={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",i,s,this.applyConfig(d))}error(i,s,d={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",i,s,this.applyConfig(d))}info(i,s,d={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",i,s,this.applyConfig(d))}warning(i,s,d={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",i,s,this.applyConfig(d))}clear(i){for(const s of this.toasts)if(void 0!==i){if(s.toastId===i)return void s.toastRef.manualClose()}else s.toastRef.manualClose()}remove(i){const s=this._findToast(i);if(!s||(s.activeToast.toastRef.close(),this.toasts.splice(s.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const d=this.toasts[this.currentlyActive].toastRef;d.isInactive()||(this.currentlyActive=this.currentlyActive+1,d.activate())}return!0}findDuplicate(i="",s="",d,p){const{includeTitleDuplicates:b}=this.toastrConfig;for(const S of this.toasts)if((!b||b&&S.title===i)&&S.message===s)return S.toastRef.onDuplicate(d,p),S;return null}applyConfig(i={}){return{...this.toastrConfig,...i}}_findToast(i){for(let s=0;s<this.toasts.length;s++)if(this.toasts[s].toastId===i)return{index:s,activeToast:this.toasts[s]};return null}_preBuildNotification(i,s,d,p){return p.onActivateTick?this.ngZone.run(()=>this._buildNotification(i,s,d,p)):this._buildNotification(i,s,d,p)}_buildNotification(i,s,d,p){if(!p.toastComponent)throw new Error("toastComponent required");const b=this.findDuplicate(d,s,this.toastrConfig.resetTimeoutOnDuplicate&&p.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&d||s)&&this.toastrConfig.preventDuplicates&&null!==b)return b;this.previousToastMessage=s;let S=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(S=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const ee=this.overlay.create(p.positionClass,this.overlayContainer);this.index=this.index+1;let Te=s;s&&p.enableHtml&&(Te=this.sanitizer.sanitize(o.q3G.HTML,s));const Le=new Op(ee),nt=new Hc(this.index,p,Te,d,i,Le),Dt=o.zs3.create({providers:[{provide:Hc,useValue:nt}],parent:this._injector}),Mt=new Ip(p.toastComponent,Dt),At=ee.attach(Mt,p.newestOnTop);Le.componentInstance=At.instance;const Yt={toastId:this.index,title:d||"",message:s||"",toastRef:Le,onShown:Le.afterActivate(),onHidden:Le.afterClosed(),onTap:nt.onTap(),onAction:nt.onAction(),portal:At};return S||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Yt.toastRef.activate()})),this.toasts.push(Yt),Yt}static \u0275fac=function(s){return new(s||l)(o.LFG(ph),o.LFG(mh),o.LFG(o.zs3),o.LFG(h.H7),o.LFG(o.R0b))};static \u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();const u_={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:(()=>{class l{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";state;get displayStyle(){if("inactive"===this.state.value)return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(i,s,d){this.toastrService=i,this.toastPackage=s,this.ngZone=d,this.message=s.message,this.title=s.title,this.options=s.config,this.originalTimeout=s.config.timeOut,this.toastClasses=`${s.toastType} ${s.config.toastClass}`,this.sub=s.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=s.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=s.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=s.toastRef.countDuplicate().subscribe(p=>{this.duplicatesCount=p}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const i=(new Date).getTime();this.width=(this.hideTime-i)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(i,s){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(i),s)):this.timeout=setTimeout(()=>i(),s)}outsideInterval(i,s){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(i),s)):this.intervalId=setInterval(()=>i(),s)}runInsideAngular(i){this.ngZone?this.ngZone.run(()=>i()):i()}static \u0275fac=function(s){return new(s||l)(o.Y36(jc),o.Y36(Hc),o.Y36(o.R0b))};static \u0275cmp=o.Xpm({type:l,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(s,d){1&s&&o.NdJ("click",function(){return d.tapToast()})("mouseenter",function(){return d.stickAround()})("mouseleave",function(){return d.delayedHideToast()}),2&s&&(o.d8E("@flyInOut",d.state),o.Tol(d.toastClasses),o.Udp("display",d.displayStyle))},standalone:!0,features:[o.jDz],attrs:bd,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(s,d){1&s&&(o.YNc(0,Fr,3,0,"button",0),o.YNc(1,wp,3,5,"div",1),o.YNc(2,Cp,1,3,"div",2),o.YNc(3,Dp,2,4,"div",3),o.YNc(4,Ep,2,2,"div",4)),2&s&&(o.Q6J("ngIf",d.options.closeButton),o.xp6(1),o.Q6J("ngIf",d.title),o.xp6(1),o.Q6J("ngIf",d.message&&d.options.enableHtml),o.xp6(1),o.Q6J("ngIf",d.message&&!d.options.enableHtml),o.xp6(1),o.Q6J("ngIf",d.options.progressBar))},dependencies:[te.O5],encapsulation:2,data:{animation:[(0,Z.X$)("flyInOut",[(0,Z.SB)("inactive",(0,Z.oB)({opacity:0})),(0,Z.SB)("active",(0,Z.oB)({opacity:1})),(0,Z.SB)("removed",(0,Z.oB)({opacity:0})),(0,Z.eR)("inactive => active",(0,Z.jt)("{{ easeTime }}ms {{ easing }}")),(0,Z.eR)("active => removed",(0,Z.jt)("{{ easeTime }}ms {{ easing }}"))])]}})}return l})()},h_=(l={})=>(0,o.MR2)([{provide:ph,useValue:{default:u_,config:l}}]);let f_=(()=>{class l{static forRoot(i={}){return{ngModule:l,providers:[h_(i)]}}static \u0275fac=function(s){return new(s||l)};static \u0275mod=o.oAB({type:l});static \u0275inj=o.cJS({})}return l})();var M=v(1890);const Rp=["abstract","as","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","else","enum","event","explicit","extern","false","finally","fixed","float","for","foreach","goto","if","implicit","in","int","interface","internal","is","lock","long","namespace","new","null","object","operator","out","override","params","private","protected","public","readonly","ref","return","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","using","static","virtual","void","volatile","while"],Pp=[M.Qs,M.dp,M.Xj,M.Ro,M.lw,M.Tp,M.Oo,M.ZU,M.iE,M.OR,M.BD,M.JQ,M.ts],Fp=[M.zE,M.xW,M.Gf,M._P,M.mN,M.Bn,M.KW,M.kM];function Ao(l){return Rp.includes(l)?`@${l}`:l}function So(l){return l[0].toUpperCase()+l.slice(1)}function wi(l){switch(l.constructor){case M.Qs:return"string";case M.mN:return"int";case M.kM:return"uint";case M._P:return"double";case M.zE:return"BigInteger";case M.xW:case M.Gf:return"DateTime";case M.Wi:return"bool";case M.lw:return"byte[]";case M.Bn:case M.KW:return"decimal";case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.iE:case M.OR:case M.BD:return"string";case M.RE:return"void";case M.cs:return"JsonElement";case M.H1:return`${wi(l.base)}?`;case M.ts:return`List<${wi(l.base)}>`;case M.JQ:case M.PK:return l.name;case M.d:return wi(l.type);default:throw new Error(`BUG: generateTypeName with ${l.constructor.name}`)}}function Nr(l,a,i,s,d=1,p=!0){switch(l.constructor){case M.mN:return`\n if (${a}.ValueKind != JsonValueKind.Number || !${a}.TryGetInt32(out ${s}))\n {\n throw new FatalException($"'{${i}}' must be an integer");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.kM:return`\n if (${a}.ValueKind != JsonValueKind.Number || !${a}.TryGetUInt32(out ${s}))\n {\n throw new FatalException($"'{${i}}' must be an unsigned integer.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.KW:case M.Bn:return`\n if (${a}.ValueKind != JsonValueKind.Number || !${a}.TryGetDecimal(out ${s}) || ${s} % 1 != 0)\n {\n throw new FatalException($"'{${i}}' must be an integer amount of cents.");\n }\n ${s} /= 100;\n `.replace(/\n {16}/gu,"\n").trim();case M._P:return`\n if (${a}.ValueKind != JsonValueKind.Number || !${a}.TryGetDouble(out ${s}))\n {\n throw new FatalException($"'{${i}}' must be a floating-point number.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.zE:return`\n if (${a}.ValueKind != JsonValueKind.String || !BigInteger.TryParse(${a}.GetString(), out ${s}))\n {\n throw new FatalException($"'{${i}}' must be an arbitrarily large integer in a string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.Qs:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.dp:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid HTML string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.Xj:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid CPF string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.Ro:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid CNPJ string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.Tp:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid email.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.Oo:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid URL string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.ZU:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid UUID.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.iE:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid hex string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.OR:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a base64 string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.BD:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a XML string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.Wi:return`\n if (${a}.ValueKind != JsonValueKind.True && ${a}.ValueKind != JsonValueKind.False)\n {\n throw new FatalException($"'{${i}}' must be either true or false.");\n }\n ${s} = ${a}.GetBoolean();\n `.replace(/\n {16}/gu,"\n").trim();case M.lw:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a string.");\n }\n try\n {\n ${s} = Convert.FromBase64String(${a}.GetString());\n }\n catch (FormatException)\n {\n throw new FatalException($"'{${i}}' must be a base64 string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.d:return Nr(l.type,a,i,s,d);case M.H1:if(Fp.includes(l.base.constructor)){const b=`${s.replace(/[^0-9a-zA-Z]/gu,"")}Tmp`;return`\n if (${a}.ValueKind == JsonValueKind.Null || ${a}.ValueKind == JsonValueKind.Undefined)\n {\n ${s} = null;\n }\n else\n {\n ${wi(l.base)} ${b};\n ${Nr(l.base,a,i,b,d,!1).replace(/\n/gu,"\n ")}\n ${s} = ${b};\n }\n `.replace(/\n {20}/gu,"\n").trim()}return`\n if (${a}.ValueKind == JsonValueKind.Null || ${a}.ValueKind == JsonValueKind.Undefined)\n {\n ${s} = null;\n }\n else\n {\n ${Nr(l.base,a,i,s,d,!1).replace(/\n/gu,"\n ")}\n }\n `.replace(/\n {20}/gu,"\n").trim();case M.PK:case M.JQ:return`${s} = Decode${l.name}(${a}, ${i});`;case M.cs:return p?`\n if (${a}.ValueKind == JsonValueKind.Null || ${a}.ValueKind == JsonValueKind.Undefined)\n {\n throw new FatalException($"'{${i}}' can't be null.");\n }\n ${s} = ${a};\n `.replace(/\n {16}/gu,"\n").trim():`${s} = ${a};`;case M.Gf:return`\n if (${a}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${a}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${s}) || DateTime.TryParseExact(${a}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF'Z'", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${s})))\n {\n throw new FatalException($"'{${i}}' must be a datetime.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.xW:return`\n if (${a}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${a}.GetString(), "yyyy-MM-dd", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${s})))\n {\n throw new FatalException($"'{${i}}' must be a date.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.ts:return`\n if (${a}.ValueKind != JsonValueKind.Array)\n {\n throw new FatalException($"'{${i}}' must be a date.");\n }\n ${s} = new ${wi(l)}();\n for (var i${d} = 0; i${d} < ${a}.GetArrayLength(); ++i${d})\n {\n ${wi(l.base)} element${d};\n ${Nr(l.base,`${a}[i${d}]`,`$"{${i}}[{i${d}}]"`,`element${d}`,d+1).replace(/\n/gu,"\n ")}\n ${s}.Add(element${d});\n }\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${l.constructor.name}`)}}function Lr(l,a,i,s=1){switch(l.constructor){case M.Qs:return`resultWriter_.WriteStringValue(${a});`;case M._P:case M.kM:case M.mN:return`resultWriter_.WriteNumberValue(${a});`;case M.KW:case M.Bn:return`resultWriter_.WriteNumberValue(Math.Round(${a} * 100));`;case M.zE:return`resultWriter_.WriteStringValue(${a}.ToString());`;case M.Wi:return`resultWriter_.WriteBooleanValue(${a});`;case M.lw:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${a}));`;case M.Gf:return`resultWriter_.WriteStringValue(${a}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"));`;case M.xW:return`resultWriter_.WriteStringValue(${a}.ToString("yyyy-MM-dd"));`;case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.OR:case M.iE:case M.BD:return`resultWriter_.WriteStringValue(${a});`;case M.H1:{let d=l.base;for(;d instanceof M.d;)d=d.type;return`\n if (${a} == null)\n {\n resultWriter_.WriteNullValue();\n }\n else\n {\n ${Lr(d,Pp.includes(d.constructor)?a:`${a}.Value`,i,s).replace(/\n/gu,"\n ")}\n }`.replace(/\n {16}/gu,"\n").trim()}case M.d:return Lr(l.type,a,i,s);case M.PK:case M.JQ:return`Encode${l.name}(${a}, resultWriter_, ${i});`;case M.cs:return`${a}.WriteTo(resultWriter_);`;case M.ts:return`\n resultWriter_.WriteStartArray();\n for (var i${s} = 0; i${s} < ${a}.Count; ++i${s})\n {\n ${Lr(l.base,`${a}[i${s}]`,`$"{${i}}[{i${s}}]"`,s+1).replace(/\n/gu,"\n ")}\n }\n resultWriter_.WriteEndArray();\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: encodeType with ${l.constructor.name}`)}}function Np(l){return`\n public class ${l.name}\n {${l.fields.map(a=>`\n public ${wi(a.type)} ${So(a.name)};`).join("")}\n public ${l.name}(${l.fields.map(a=>`${wi(a.type)} ${Ao(a.name)}`).join(", ")})\n {${l.fields.map(a=>`\n ${So(a.name)} = ${Ao(a.name)};`).join("")}\n }\n }\n\n ${l.name} Decode${l.name}(JsonElement json_, string path_)\n {\n if (json_.ValueKind != JsonValueKind.Object)\n {\n throw new FatalException($"'{path_}' must be an object.");\n }\n${l.fields.map(a=>` JsonElement ${a.name}Json_;\n if (!json_.TryGetProperty(${JSON.stringify(a.name)}, out ${a.name}Json_))\n {\n ${a.type instanceof M.H1?`${a.name}Json_ = new JsonElement();`:`throw new FatalException($"'{path_}.${a.name}' must be set to a value of type ${a.type.name}.");`}\n }\n ${wi(a.type)} ${Ao(a.name)};\n ${Nr(a.type,`${a.name}Json_`,`$"{path_}.${a.name}"`,Ao(a.name)).replace(/\n/gu,"\n ")}`).join("\n")}\n return new ${l.name}(${l.fields.map(a=>Ao(a.name)).join(", ")});\n }\n\n void Encode${l.name}(${l.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {\n resultWriter_.WriteStartObject();\n ${l.fields.map(a=>`resultWriter_.WritePropertyName(${JSON.stringify(a.name)});\n ${Lr(a.type,`obj_.${So(a.name)}`,`$"{path_}.${a.name}"`).replace(/\n/gu,"\n ")}`).join("\n ")}\n resultWriter_.WriteEndObject();\n }\n`}function Br(l){return`\n public enum ${l.name}\n {${l.values.map(({value:a})=>`\n ${So(a)}`).join(",\n ")}\n }\n\n ${l.name} Decode${l.name}(JsonElement json_, string path_)\n {\n if (json_.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{path_}' must be a string.");\n }\n var value = json_.GetString();${l.values.map(({value:a})=>`\n if (value == "${a}")\n {\n return ${l.name}.${So(a)};\n }`).join("")}\n throw new FatalException($"'{path_}' must be one of: (${l.values.map(({value:a})=>`'${a}'`).join(", ")}).");\n }\n\n void Encode${l.name}(${l.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {${l.values.map(({value:a})=>`\n if (obj_ == ${l.name}.${So(a)})\n {\n resultWriter_.WriteStringValue("${a}");\n }`).join("")}\n }\n`}function io(l){return["abstract","as","assert","async","await","bool","break","case","catch","class","const","continue","covariant","default","deferred","do","double","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","int","interface","is","library","mixin","new","null","on","operator","part","rethrow","return","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","while","with","yield"].includes(l)?`$${l}`:l}function vh(l){return`enum ${l.name} {\n ${l.values.map(a=>a.value).join(",\n ")}\n}\n`}function Jo(l){switch(l.constructor){case M.Qs:return"String";case M.mN:case M.kM:return"int";case M._P:return"double";case M.zE:return"BigInt";case M.xW:case M.Gf:return"DateTime";case M.Wi:return"bool";case M.lw:return"Uint8List";case M.Bn:return"int";case M.KW:return"Decimal";case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.iE:case M.OR:case M.BD:return"String";case M.RE:return"void";case M.cs:return"dynamic";case M.H1:return`${Jo(l.base)}?`;case M.ts:return`List<${Jo(l.base)}>`;case M.JQ:case M.PK:return l.name;case M.d:return Jo(l.type);default:throw new Error(`BUG: generateTypeName with ${l.constructor.name}`)}}function Lp(l){if(l.dataType instanceof M.RE)return`class ${l.name} extends SdkgenError {\n ${l.name}(super.msg, super.request);\n}\n`;const a=Jo(l.dataType);return`class ${l.name} extends SdkgenErrorWithData<${a}> {\n ${l.name}(super.msg, super.request, super.data);\n}\n`}function Uc(l,a){return a instanceof M.H1?`${l} == null ? null : ${Uc(l,a.base)}`:a instanceof M.ts?`(${l} as List).map((e) => ${Uc("e",a.base)}).toList()`:a instanceof M.RE?l:a instanceof M._P?`(${l} as num).toDouble()`:a instanceof M.Bn?`${l} as int`:`${l} as ${Jo(a)}`}function m_(l){return`class ${l.name} {\n ${l.fields.map(a=>`final ${Jo(a.type)} ${io(a.name)};`).join("\n ")}\n\n${function Bp(l){let a=` ${l.name}({\n`;for(const i of l.fields)a+=i.type instanceof M.H1?" ":" required ",a+=`this.${io(i.name)},\n`;return a+=" });\n",a}(l)}\n${function $p(l){let a=" @override\n bool operator ==(other){\n";return a+=" if (identical(this, other)) return true;\n",a+=` return ${[`other is ${l.name}`,...l.fields.map(i=>`${io(i.name)} == other.${io(i.name)}`)].join(" && ")};\n`,a+=" }\n",a}(l)}\n${function Hp(l){return` @override\n int get hashCode => Object.hashAllUnordered([${l.fields.map(a=>io(a.name)).join(", ")}]);\n`}(l)}\n${function p_(l){return` @override\n String toString() {\n return '${l.name} { ${l.fields.map(a=>`${a.name}: $${io(a.name).startsWith("$")?`{${io(a.name)}}`:io(a.name)}`).join(", ")} }';\n }\n`}(l)}}\n`}const un=["abstract","as","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","else","enum","event","explicit","extern","false","finally","fixed","float","for","foreach","goto","if","implicit","in","int","interface","internal","is","lock","long","namespace","new","null","object","operator","out","override","params","private","protected","public","readonly","ref","return","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","using","static","virtual","void","volatile","while","type","end","id"],yh=[M.zE,M.xW,M.Gf,M._P,M.mN,M.Bn,M.kM,M.ts];function Io(l){return un.includes(l)?`${l}'`:l}function oo(l){return l[0].toUpperCase()+l.slice(1)}function Qo(l){switch(l.constructor){case M.Qs:return"string";case M.mN:return"int";case M.kM:return"uint";case M._P:return"double";case M.zE:return"bigint";case M.xW:case M.Gf:return"DateTime";case M.Wi:return"bool";case M.lw:return"byte[]";case M.Bn:return"decimal";case M.ZU:return"Guid";case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.iE:case M.OR:case M.BD:return"string";case M.RE:return"void";case M.cs:return"JsonElement";case M.H1:return`${Qo(l.base)} option`;case M.ts:return`${Qo(l.base)} list`;case M.JQ:case M.PK:return l.name;case M.d:return Qo(l.type);default:throw new Error(`BUG: generateTypeName with ${l.constructor.name}`)}}function $r(l,a,i,s,d=1,p=!0){switch(l.constructor){case M.mN:return`\n decodeInt32 ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.kM:return`\n decodeUInt32 ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Bn:return`\n (decodeMoney ${a} ${i}) / 100m\n `.replace(/\n {16}/gu,"\n").trim();case M._P:return`\n decodeFloat ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.zE:return`\n decodeBigInt ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Qs:return`\n decodeString ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.dp:return`\n decodeHtml ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Xj:return`\n decodeCpf ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Ro:return`\n decodeCnpj ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Tp:return`\n decodeEmail ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Oo:return`\n decodeUrl ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.ZU:return`\n decodeUuid ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.iE:return`\n decodeHex ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.OR:return`\n decodeBase64 ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.BD:return`\n decodeXml ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Wi:return`\n decodeBool ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.lw:return`\n decodeBytes ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.d:return $r(l.type,a,i,s,d);case M.H1:return yh.includes(l.base.constructor)?`match ${a}.ValueKind with\n | JsonValueKind.Null | JsonValueKind.Undefined -> None\n | _ ->\n (${$r(l.base,a,i,s,d,!1).replace(/\n/gu,"\n ")}) |> Some\n `.replace(/\n {16}/gu,"\n").trim():l.base instanceof M.H1||l.base instanceof M.ts?`\n (>.>) decodeOptional ${$r(l.base,a,i,s,d,!1)}\n `.replace(/\n {16}/gu,"\n").trim():`\n decodeOptional ${$r(l.base,a,i,s,d,!1)}\n `.replace(/\n {16}/gu,"\n").trim();case M.PK:case M.JQ:return`Decode${l.name} ${a} ${i}`;case M.cs:return p?`\n ${a}\n `.replace(/\n {16}/gu,"\n").trim():`${s} <- ${a}`;case M.Gf:return`\n decodeDateTime ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.xW:return`\n decodeDate ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.ts:return`\n match ${a}.ValueKind with\n | JsonValueKind.Array ->\n let mutable list_ = List.empty\n for i1 in 0 .. (${a}.GetArrayLength() - 1) do\n let item = ${a}.[i1]\n let partialResult =\n ${$r(l.base,`${a}.[i1]`,`${i.slice(0,-1)}.{i1}"`,s,d,!1).replace(/\n/gu,"\n ")}\n list_ <- list_ |> List.append [ partialResult ]\n list_\n | _ -> raise (FatalException(${i.slice(0,-1)} must be an array."))\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${l.constructor.name}`)}}function Ls(l,a,i,s=1,d=!0){switch(l.constructor){case M.Qs:return`resultWriter_.WriteStringValue(${a})`;case M._P:case M.kM:case M.mN:return`resultWriter_.WriteNumberValue(${a})`;case M.Bn:return`resultWriter_.WriteNumberValue(int (Math.Round(${a} * 100m)))`;case M.zE:return`resultWriter_.WriteStringValue(${a}.ToString())`;case M.Wi:return`resultWriter_.WriteBooleanValue(${a})`;case M.lw:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${a}))`;case M.Gf:return`resultWriter_.WriteStringValue(${a}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"))`;case M.xW:return`resultWriter_.WriteStringValue(${a}.ToString("yyyy-MM-dd"))`;case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.OR:case M.iE:case M.BD:return`resultWriter_.WriteStringValue(${a})`;case M.H1:{let p=l.base;for(;p instanceof M.d;)p=p.type;return`\n if (${a}.IsNone) then\n resultWriter_.WriteNullValue()\n else\n ${Ls(p,`${a}.Value`,i,s,d)}\n `.replace(/\n {14}/gu,"\n").trim()}case M.d:return Ls(l.type,a,i,s,d);case M.PK:case M.JQ:return`Encode${l.name} ${a} resultWriter_ ${i}`;case M.cs:return`${a}.WriteTo(resultWriter_)`;case M.ts:return`\n resultWriter_.WriteStartArray()\n for i${s} in 0..${a}.Length - 1 do\n ${Ls(l.base,`${a}.[i${s}]`,`${i}`,s+1).replace(/\n/gu,"\n ")}\n resultWriter_.WriteEndArray()\n `.replace(/\n {14}/gu,"\n").trim();default:throw new Error(`BUG: encodeType with ${l.constructor.name}`)}}function xh(l){return`\ntype ${l.name} = {\n ${l.fields.map(a=>`${oo(a.name)}: ${Qo(a.type)}`).join(";\n ")}\n} with\n static member Create (${l.fields.map(a=>`${Io(a.name)}: ${Qo(a.type)}`).join(", ")}): ${l.name} =\n { ${l.fields.map(a=>`${oo(a.name)} = ${Io(a.name)}`).join("; ")} }\n\nlet Decode${l.name} (json_: JsonElement) (path_: string): ${l.name} =\n if (json_.ValueKind <> JsonValueKind.Object) then raise (FatalException($"'{path_}' must be an object."))\n ${l.fields.map(a=>`\n let ${a.name}Json_ = decodeJsonElementStrict ${JSON.stringify(a.name)} json_ $"{path_}.${a.name}"\n let ${Io(a.name)} =\n ${$r(a.type,`${a.name}Json_`,`$"{path_}.${a.name}"`,Io(a.name)).replace(/\n/gu,"\n ")}\n `).join("")}\n { ${l.fields.map(a=>`${oo(a.name)} = ${Io(a.name)}`).join("; ")} }\n\nlet Encode${l.name} (obj_: ${l.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n resultWriter_.WriteStartObject()\n ${l.fields.map(a=>`\n resultWriter_.WritePropertyName(${JSON.stringify(a.name)})\n ${Ls(a.type,`obj_.${oo(a.name)}`,`$"{path_}.${a.name}"`).replace(/\n/gu,"\n ")}`).join("\n")}\n resultWriter_.WriteEndObject()`}function zc(l){return`\ntype ${l.name} =\n ${l.values.map(({value:a})=>`| ${oo(a)}`).join("\n ")}\n\nlet Decode${l.name} (json_: JsonElement) (path_: string): ${l.name} =\n if (json_.ValueKind <> JsonValueKind.String) then raise (FatalException($"'{path_}' must be a string."))\n match json_.GetString() with\n ${l.values.map(({value:a})=>`| "${a}" -> ${l.name}.${oo(a)}`).join("\n ")}\n | _ -> raise (FatalException($"'{path_}' must be one of: (${l.values.map(({value:a})=>`'${a}'`).join(", ")})."))\n\nlet Encode${l.name} (obj_: ${l.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n match obj_ with\n ${l.values.map(({value:a})=>`| ${l.name}.${oo(a)} -> resultWriter_.WriteStringValue("${a}")`).join("\n ")}\n\n`}function Oo(l){switch(l.constructor){case M.mN:case M.kM:case M.Bn:return"Int";case M._P:return"Double";case M.zE:return"BigInt";case M.xW:case M.Gf:return"Calendar";case M.Wi:return"Boolean";case M.lw:return"ByteArray";case M.Qs:case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.iE:case M.OR:case M.BD:return"String";case M.RE:return"Unit";case M.cs:return"@RawValue JsonElement";case M.H1:return`${Oo(l.base)}?`;case M.ts:return`ArrayList<${Oo(l.base)}>`;case M.JQ:case M.PK:return l.name;case M.d:return Oo(l.type);default:throw new Error(`BUG: generateKotlinTypeName with ${l.constructor.name}`)}}function ko(l){return["in","out","as","break","class","continue","do","else","false","for","fun","if","in","interface","is","null","object","package","return","super","this","throw","true","try","typealias","val","var","when","while","by","catch","constructor","delegate","dynamic","field","file","finally","get","import","init","param","property","receiver","set","setparam","where","actual","abstract","annotation","companion","const","crossinline","data","enum","expect","external","final","infix","inline","inner","internal","lateinit","noinline","open","operator","out","override","private","protected","public","reified","sealed","suspend","tailrec","vararg","Double","Float","Long","Int","Short","Byte"].includes(l)?`_${l}`:l}function Gc(l,a){switch(l.constructor){case M.Qs:case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.iE:case M.OR:case M.BD:case M.mN:case M.kM:case M.Bn:case M._P:case M.Wi:return`addProperty("${a}", ${ko(a)})`;case M.H1:return Gc(l.base,a);case M.xW:return`addProperty("${a}", ${ko(a)}?.let { DateAdapter.sdf.format(it.time)}) `;case M.Gf:return`addProperty("${a}", ${ko(a)}?.let { DateTimeAdapter.sdf.format(it.time)})`;case M.ts:case M.JQ:case M.PK:case M.d:case M.cs:return`add("${a}", gson.toJsonTree(${ko(a)}))`;case M.RE:return"";case M.lw:return`addProperty("${a}", Base64.encodeToString(${ko(a)}, Base64.NO_WRAP))`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${l.constructor.name}`)}}function wh(l){let a="@Parcelize \n";return a+=` enum class ${l.name} : Parcelable { ${l.values.map(i=>ko(i.value)).join(", ")} }\n`,a}function Wc(l,a){let i="";switch(a&&a!==ko(a)&&(i+=` @SerializedName("${a}")\n`),l.constructor){case M.xW:i+=" @JsonAdapter(DateAdapter::class)\n";break;case M.Gf:i+=" @JsonAdapter(DateTimeAdapter::class)\n";break;case M.ts:case M.H1:i+=Wc(l.base)}return i}function Hr(l){let a="@Parcelize\n";return a+=` data class ${l.name}(\n${l.fields.map(i=>{let s=Wc(i.type,i.name);return s+=` var ${ko(i.name)}: ${Oo(i.type)}${i.type.constructor===M.H1?" = null":""}`,s}).join(",\n")}\n ) : Parcelable\n`,a}function Ch(l){return`class ${l.name}(message: String) : Error(message)\n`}function Yc(l,a){let i='@file:Suppress("UNNECESSARY_SAFE_CALL")\n\nimport android.os.Parcelable\nimport kotlinx.parcelize.Parcelize\nimport android.content.Context\nimport android.util.Base64\nimport com.google.gson.*\nimport com.google.gson.reflect.TypeToken\nimport com.google.gson.annotations.JsonAdapter\nimport com.google.gson.annotations.SerializedName\nimport io.sdkgen.runtime.SdkgenHttpClient\nimport kotlinx.coroutines.*\nimport kotlinx.coroutines.Dispatchers.IO\nimport kotlinx.parcelize.RawValue\nimport java.util.*\nimport okhttp3.Interceptor\n\ninline fun <reified T> Gson.fromJson(json: String) =\n fromJson<T>(json, object : TypeToken<T>() {}.type)\n\ninline fun <reified T> Gson.fromJson(json: JsonElement) =\n fromJson<T>(json, object : TypeToken<T>() {}.type)\n\n@Suppress("DeferredIsResult", "unused")\nclass ApiClient(\n baseUrl: String,\n val applicationContext: Context,\n defaultTimeoutMillis: Long = 10000L,\n fingerprint: String? = null,\n httpInterceptor: Interceptor? = null,\n httpNetworkInterceptor: Interceptor? = null\n) : SdkgenHttpClient(baseUrl, applicationContext, defaultTimeoutMillis, fingerprint, httpInterceptor, httpNetworkInterceptor) {\n\n private val gson = GsonBuilder()\n .registerTypeAdapter(object : TypeToken<ByteArray>() {}.type, ByteArrayDeserializer())\n .create()\n\n';for(const p of l.enumTypes)i+=` ${wh(p)}`,i+="\n";i+=" open class Error(val message: String? = null)\n",i+=" data class Response<T>(val error: Error?, val data: T?, val stats: CallStats?)\n\n";for(const p of l.structTypes)i+=` ${Hr(p)}\n`;const s=[],d=new M.IE("Connection",new M.RE);s.push(d.name),i+=` ${Ch(d)}`;for(const p of l.errors)i+=` ${Ch(p)}`,s.push(p.name);return s.length>0&&(i+=`\n enum class ErrorType {\n ${s.join(",\n ")};\n\n fun type(): Class<out ApiClient.Error> {\n return when (this) {\n ${s.map(p=>`${p} -> ApiClient.${p}::class.java`).join("\n ")}\n else -> ApiClient.Error::class.java\n }\n }\n }\n\n`),i+=" private val sdkgenIOScope = CoroutineScope(IO + SupervisorJob())\n\n",i+=l.operations.filter(p=>p.annotations.every(b=>!(b instanceof M.e1))).map(p=>{let b="";const S=[];S.push("timeoutMillis: Long? = null"),a&&S.push(`callback: ((response: Response<${Oo(p.returnType)}>) -> Unit)? = null`);const ee=p.args.map(Te=>`${ko(Te.name)}: ${Oo(Te.type)}`).concat(S);return b+=` fun ${ko(p.name)}(\n ${ee.join(",\n ")}\n ): Deferred<Response<out ${Oo(p.returnType)}>> = sdkgenIOScope.async {\n`,p.args.length>0?(b+=" val bodyArgs = JsonObject().apply {\n",b+=p.args.map(Te=>` ${Gc(Te.type,Te.name)}`).join("\n"),b+="\n }\n"):b+=" val bodyArgs: JsonObject? = null",b+="\n",b+=` val call = makeRequest("${p.name}", bodyArgs, timeoutMillis)\n`,b+=` val response: Response<${Oo(p.returnType)}> = handleCallResponse(call)\n`,a&&(b+=" withContext(Dispatchers.Main) { callback?.invoke(response) } \n"),b+=" return@async response\n",b+=" }\n",b}).join("\n"),i+='\n private inline fun <reified T> handleCallResponse(callResponse: InternalResponse): Response<T> {\n try {\n val data = if (callResponse.result?.get("result") != null)\n gson.fromJson<T>(callResponse.result?.get("result")!!)\n else null\n\n val error = if (callResponse.error != null) {\n val errorType = try {\n ErrorType.valueOf(callResponse.error?.get("type")?.asString ?: "")\n } catch (e: Exception) {\n ErrorType.Fatal\n }\n\n gson.fromJson(callResponse.error, errorType.type())\n } else null\n\n return Response(error, data, callResponse.stats)\n } catch(e: Exception) {\n return Response(Fatal(applicationContext.getString(io.sdkgen.runtime.R.string.sdkgen_error_serialization)), null, callResponse.stats)\n }\n }\n',i+="}\n",i}function Wi(l){switch(l.constructor){case M.mN:return"Int";case M.kM:return"UInt";case M.Bn:return"Int64";case M._P:return"Double";case M.zE:return"Decimal";case M.xW:case M.Gf:return"Date";case M.Wi:return"Bool";case M.lw:return"Data";case M.Qs:case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.ZU:case M.iE:case M.Oo:case M.OR:case M.BD:return"String";case M.RE:return"Void";case M.cs:return"AnyCodable";case M.H1:return`${Wi(l.base)}?`;case M.ts:return`[${Wi(l.base)}]`;case M.JQ:case M.PK:return`API.${l.name}`;case M.d:return Wi(l.type);default:throw new Error(`BUG: generateSwiftTypeName with ${l.constructor.name}`)}}function pi(l){return["associatedtype","deinit","extension","inout","let","in","as","break","class","continue","protocol","Protocol","rethrows","throws","static","do","else","false","for","guard","func","if","internal","struct","subscript","repeat","is","nil","Any","associativity","convenience","import","return","super","self","Self","throw","true","try","typealias","switch","case","default","defer","fallthrough","optional","var","while","catch","dynamic","didSet","Set","fileprivate","lazy","get","init","required","right","param","property","receiver","set","left","where","final","infix","indirect","open","operator","override","private","postfix","public","mutating","none","nonmutating","precedence","prefix","Type","unowned","weak","willSet"].includes(l)?`_${l}`:l}function Vr(l,a){switch(l.constructor){case M.Qs:case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.iE:case M.OR:case M.BD:case M.mN:case M.kM:case M.Bn:case M._P:case M.Wi:return`${a}`;case M.H1:return`${a} == nil ? nil : ${Vr(l.base,`${a}!`)}`;case M.xW:return`SdkgenHelper.encodeDate(date: ${a})`;case M.Gf:return`SdkgenHelper.encodeDateTime(date: ${a})`;case M.PK:return`${a}.rawValue`;case M.d:return`${Vr(l.type,`${a}`)}`;case M.JQ:return`${a}.toJSON()`;case M.ts:return`${a}.map({ return ${Vr(l.base,"$0")} })`;case M.cs:return`try? ${a}.toJson()`;case M.RE:return"nil";case M.lw:return`${a}.base64EncodedString()`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${l.constructor.name}`)}}function Kc(l){let a=` public enum ${l.name}: String, Codable {\n`;return a+=l.values.map(i=>` case ${pi(i.value)} = "${i.value}"`).join("\n"),a+="\n }\n",a}function Vp(l){return` public struct ${l.name}: Codable {\n${l.fields.map(a=>` var ${pi(a.name)}: ${Wi(a.type)}`).join("\n")}\n\n${function Zc(l){let a=" init(";return a+=l.fields.map(i=>`${pi(i.name)}: ${Wi(i.type)}`).join(", "),a+=") {\n",a+=l.fields.map(i=>` self.${pi(i.name)} = ${pi(i.name)}`).join("\n"),a+="\n }\n",a}(l)}\n${function yd(l){let a=" func toJSON() -> [String: Any] {\n";return a+=" var json = [String: Any]()\n",a+=l.fields.map(i=>` json["${pi(i.name)}"] = ${Vr(i.type,i.name)}`).join("\n"),a+="\n return json",a+="\n }\n",a}(l)}\n }\n`}function xd(l){const a=l.args.map(i=>`${pi(i.name)}: ${Wi(i.type)}`).concat(["timeoutSeconds: Double?",`callback: ((_ result: ${l.returnType instanceof M.RE?"API.Result<API.NoReply>":`API.Result<${Wi(l.returnType)}>`}) -> Void)?`]);return` func ${pi(l.name)}(${a.join(", ")})`}function Dh(l,a){let i="import Foundation\nimport SdkgenRuntime\n";i+=a?"import RxSwift\nimport RxCocoa\n\n":"\n",i+="protocol APICallsProtocol {\n",i+=l.operations.filter(p=>p.annotations.every(b=>!(b instanceof M.e1))).map(p=>`${xd(p)}`).join("\n"),i+="\n}\n\n",i+='class API: SdkgenResponse {\n\n static var calls = Calls(baseUrl: "")\n static var baseUrl: String? {\n didSet {\n self.calls = Calls(baseUrl: baseUrl ?? "")\n }\n }\n \n override init() {\n super.init()\n }\n\n';for(const p of l.enumTypes)i+=Kc(p),i+="\n";for(const p of l.structTypes)i+=Vp(p),i+="\n";const s=[],d=new M.IE("Connection",new M.RE);s.push(d.name);for(const p of l.errors)s.push(p.name);return s.length>0&&(i+=function Ro(l){let a=" public enum ErrorType: String, Codable {\n";return a+=l.map(i=>` case ${pi(i)} = "${i}"`).join("\n"),a+="\n }\n",a}(s),i+="\n"),i+=" public class Failure: Error {\n var message: String?\n var code: Int?\n var type: ErrorType?\n \n init(message: String?, code: Int?, type: String?) {\n self.message = message\n self.code = code\n if let typeString = type {\n self.type = ErrorType(rawValue: typeString) ?? nil\n }\n }\n }\n",i+="\n",i+=" public enum Result<T> {\n case success(T)\n case failure(Failure)\n }\n\n",i+=" public class Calls: SdkgenHttpClient, APICallsProtocol {\n\n override init(baseUrl: String) {\n super.init(baseUrl: baseUrl)\n }\n\n",i+=l.operations.filter(p=>p.annotations.every(b=>!(b instanceof M.e1))).map(p=>{let b="";return b+=` ${xd(p)} {\n`,p.args.length>0?(b+=" var jsonArgs = [String: Any]()\n",b+=p.args.map(S=>` jsonArgs["${pi(S.name)}"] = ${Vr(S.type,pi(S.name))}`).join("\n")):b+=" let jsonArgs = [String: Any]()",b+="\n\n",b+=` makeRequest("${p.name}", jsonArgs, timeoutSeconds, completion: { (value: ${p.returnType instanceof M.RE?"API.NoReply":Wi(p.returnType)}) in\n`,b+=" callback?(API.Result.success(value))\n",b+=" }, onError: { error in\n",b+=" callback?(API.Result.failure(API.Failure(message: error.message, code: error.code, type: error.type)))\n",b+=" })",b+="\n }\n",b}).join("\n"),i+=" }\n",i+="}\n",a&&(i+="\n",i+="extension API: ReactiveCompatible {}\n\n",i+="extension Reactive where Base: API {\n",i+=l.operations.filter(p=>p.annotations.every(b=>!(b instanceof M.e1))).map(p=>`${function Bs(l){const a=l.args.map(s=>`${pi(s.name)}: ${Wi(s.type)}`).concat(["timeoutSeconds: Double? = nil"]);let i=` static func ${pi(l.name)}(${a.join(", ")}) -> ${l.returnType instanceof M.RE?"Observable<API.Result<API.NoReply>>":`Observable<API.Result<${Wi(l.returnType)}>>`} {\n`;return i+=" return Observable.create { observer -> Disposable in\n",i+=` API.calls.${pi(l.name)}(${l.args.map(s=>`${pi(s.name)}: ${pi(s.name)}`).concat(["timeoutSeconds: timeoutSeconds"]).join(", ")}) { result in \n`,i+=" observer.on(.next(result))\n",i+=" observer.on(.completed)\n",i+=" }\n",i+=" return Disposables.create()\n",i+=" }\n",i+=" }\n",i}(p)}`).join("\n"),i+="}\n"),i}var qc=v(3866),Up=v(5046),jr=v(6480),Eh=v(8197),Mh=v(5861);let wd=(()=>{class l{constructor(){this.version="0.0.0"}static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["app-dialog-about"]],decls:20,vars:2,consts:[["mat-dialog-title",""],["role","list"],[3,"disableRipple"],["mat-icon-button","","mat-dialog-close","","tabindex","-1"],["href","https://sdkgen.github.io/","rel","external noreferer","target","_blank","mat-stroked-button",""],["href","https://github.com/sdkgen/sdkgen","rel","external noreferer","target","_blank","mat-stroked-button",""],["href","https://github.com/sdkgen/sdkgen/issues/new","rel","external noreferer","target","_blank","mat-stroked-button",""]],template:function(s,d){1&s&&(o.TgZ(0,"header")(1,"h1",0),o._uU(2,"sdkgen Playground"),o.qZA(),o.TgZ(3,"mat-chip-set",1)(4,"mat-chip",2),o._uU(5),o.qZA()(),o._UZ(6,"s"),o.TgZ(7,"button",3)(8,"mat-icon"),o._uU(9,"close"),o.qZA()()(),o.TgZ(10,"p"),o._uU(11,"Ferramenta para explorar e invocar APIs feitas com sdkgen."),o.qZA(),o.TgZ(12,"p"),o._uU(13,"Feito com \u2764\ufe0f no Brasil \u{1f1e7}\u{1f1f7}"),o.qZA(),o.TgZ(14,"a",4),o._uU(15,"Documenta\xe7\xe3o"),o.qZA(),o.TgZ(16,"a",5),o._uU(17,"C\xf3digo-fonte"),o.qZA(),o.TgZ(18,"a",6),o._uU(19," Reportar um problema\n"),o.qZA()),2&s&&(o.xp6(4),o.Q6J("disableRipple",!0),o.xp6(1),o.Oqu(d.version))},dependencies:[ae.zs,ae.RK,mt,rn,Xa,Df,On.Hw],styles:["header[_ngcontent-%COMP%]{display:flex;border-bottom:1px solid rgba(255,255,255,.2)}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], header[_ngcontent-%COMP%] button[_ngcontent-%COMP%], header[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%]{display:inline;align-self:center}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:flex;margin:0 10px 0 0;padding:0}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:20px}a[_ngcontent-%COMP%]:not(:last-child){margin-right:12px}"]})}return l})();function __(l,a){1&l&&(o.ynx(0),o.TgZ(1,"mat-icon",6),o._uU(2,"loop"),o.qZA(),o.BQk())}function zp(l,a){1&l&&(o.ynx(0),o.TgZ(1,"mat-icon"),o._uU(2,"arrow_forward"),o.qZA(),o.BQk())}let Gp=(()=>{class l{constructor(i,s,d){this.sdkgen=i,this.toastr=s,this.dialog=d,this.loading=!1,this.url=new Ee.NI("")}ngOnInit(){fetch("/ast.json").then(i=>{i.ok&&(this.url.setValue(`${window.location.protocol}//${window.location.host}`),this.loadUrl())}).catch(()=>{})}loadUrl(i){var s=this;return(0,Mh.Z)(function*(){i?.preventDefault();try{s.loading=!0,/^https?:\/\//.test(s.url.value)||s.url.setValue(`https://${s.url.value}`);const d=new URL(s.url.value);d.pathname+=(d.pathname.endsWith("/")?"":"/")+"ast.json";const p=d.toString();console.debug("astUrl",p);const b=yield fetch(p).then(function(){var S=(0,Mh.Z)(function*(ee){return ee.ok?ee.json():ee});return function(ee){return S.apply(this,arguments)}}());if(b instanceof Response)throw b instanceof Error?b:new Error(b.statusText);if(!b.errors||!b.functionTable||!b.typeTable)throw new Error("Invalid AST");for(;typeof monaco>"u";)console.log("monaco"),yield new Promise(S=>setTimeout(S,250));console.debug("astJson",b),s.sdkgen.state$.next({astJson:b,astRoot:(0,M.Bp)(b),url:s.url.value})}catch(d){s.toastr.error(d instanceof Error?d.message:JSON.stringify(d),"Erro ao carregar AST",{positionClass:"toast-bottom-right"})}finally{s.loading=!1}})()}openAbout(){this.dialog.open(wd)}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(jr.G),o.Y36(jc),o.Y36(ns))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["app-tab-nav"]],decls:9,vars:6,consts:[["src","assets/polvinho.png"],[3,"submit"],["placeholder","Digite uma URL aqui para conectar",3,"formControl","readonly"],["mat-ripple","","type","submit",3,"disabled","ngSwitch"],[4,"ngSwitchCase"],["mat-ripple","",1,"about-button",3,"click"],[1,"loader"]],template:function(s,d){1&s&&(o._UZ(0,"img",0),o.TgZ(1,"form",1),o.NdJ("submit",function(b){return d.loadUrl(b)}),o._UZ(2,"input",2),o.TgZ(3,"button",3),o.YNc(4,__,3,0,"ng-container",4),o.YNc(5,zp,3,0,"ng-container",4),o.qZA()(),o.TgZ(6,"button",5),o.NdJ("click",function(){return d.openAbout()}),o.TgZ(7,"mat-icon"),o._uU(8,"info"),o.qZA()()),2&s&&(o.xp6(2),o.Q6J("formControl",d.url)("readonly",d.loading),o.xp6(1),o.Q6J("disabled",d.loading)("ngSwitch",d.loading),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(1),o.Q6J("ngSwitchCase",!1))},dependencies:[te.RF,te.n9,Ee._Y,Ee.Fj,Ee.JJ,Ee.JL,Ee.F,Ee.oH,On.Hw,de.wG],styles:["[_nghost-%COMP%]{display:flex;height:42px;background-color:#2b2b2b;box-shadow:0 0 3px #00000080}img[_ngcontent-%COMP%]{padding:5px}form[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-grow:1;box-shadow:0 0 1px #00000080;background:#383838;border:0 none;border-radius:5px;margin:5px 10vw 5px calc(10vw - 42px);overflow:hidden}form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex-grow:1;padding:10px 5px;background:transparent;border:0 none;text-align:center;color:#ccc}form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none}form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:transparent;color:#bfbfbf;border:0 none;cursor:pointer;line-height:10px}form[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin 2s linear infinite}button.about-button[_ngcontent-%COMP%]{width:42px;height:42px;border:0;border-radius:0;padding:0;background:transparent;cursor:pointer;color:inherit;line-height:0;text-align:center}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]})}return l})();var Wp=v(3538);const Yp={StringPrimitiveType:"Um texto livre, potencialmente de m\xfaltiplas linhas, codificado como UTF-8.",IntPrimitiveType:"Um n\xfamero inteiro de 32 bits, no intervalo de -2147483648 at\xe9 2147483647.",UIntPrimitiveType:"Um n\xfamero inteiro n\xe3o negativo, no intervalo de 0 at\xe9 4294967295.",FloatPrimitiveType:"Um n\xfamero de ponto flutuante de 64 bits, similar ao double do C.",BigIntPrimitiveType:"Um n\xfamero inteiro sem limite de precis\xe3o. Na maioria das plataformas este tipo \xe9 mais custoso.",MoneyPrimitiveType:"Um n\xfamero inteiro com precis\xe3o estendida, mas perform\xe1tico. Est\xe1 no intervalo de -9007199254740991 a 9007199254740991. \xdatil para opera\xe7\xf5es financeiras.",DecimalPrimitiveType:"Um n\xfamero inteiro ou fracionado representado por d\xedgitos decimais e com precis\xe3o din\xe2mica. \xdatil para opera\xe7\xf5es financeiras.",DatePrimitiveType:"Representa conceitualmente uma data do calend\xe1rio Gregoriano. Essa mesma data pode representar diferentes momento no tempo a depender da timezone. Para especificar um ponto no tempo utilize datetime.",DateTimePrimitiveType:"Representa um instante no tempo com precis\xe3o de milissegundos. Este instante ser\xe1 sempre traduzido para o fuso hor\xe1rio local do recebedor da mensagem.",BoolPrimitiveType:"Ou true ou false.",VoidPrimitiveType:"Tipo vazio, sem conte\xfado.",CpfPrimitiveType:"Similar a uma string, mas contendo um CPF v\xe1lido.",CnpjPrimitiveType:"Similar a uma string, mas contendo um CNPJ v\xe1lido.",EmailPrimitiveType:"Similar a uma string, mas contendo um e-mail v\xe1lido.",UrlPrimitiveType:"Similar a uma string, mas contendo uma URL v\xe1lida.",UuidPrimitiveType:"Similar a uma string, mas contendo um UUID v\xe1lido.",HexPrimitiveType:"Similar a uma string, mas contendo uma quantidade par de caracteres hexadecimais, \xfatil para representar bytes.",HtmlPrimitiveType:"Similar a uma string, mas contendo um HTML v\xe1lido.",BytesPrimitiveType:"Uma sequ\xeancia arbitr\xe1ria de bytes de qualquer comprimento. Pode ser utilizado para tr\xe1fego de dados bin\xe1rios.",Base64PrimitiveType:"Similar a uma string, mas necessariamente com uma codifica\xe7\xe3o Base 64 v\xe1lida.",XmlPrimitiveType:"Similar a uma string, mas contendo um XML v\xe1lido.",JsonPrimitiveType:"Um valor JSON qualquer, incluindo objetos, arrays, strings, n\xfameros e boleanos, em qualquer profundidade. Note que embora null possa aparecer dentro de um objeto ou array, o valor deste campo n\xe3o pode ser null diretamente. Para isso utilize json?."},b_={StringPrimitiveType:["","lorem ipsum","strings podem conter caracteres especiais \u{1f609}"],IntPrimitiveType:["0","6725082065","-3096576054"],UIntPrimitiveType:["0","1","340953460"],FloatPrimitiveType:["0.0","1.050654","-3454.6396854"],BigIntPrimitiveType:["87175082235506108544888893172310","0","1"],MoneyPrimitiveType:["100","-450954636342","121611633162977184630315"],DecimalPrimitiveType:["100","-10.35","0.00498375617834","3864958512342567"],DatePrimitiveType:["2020-01-01","1950-04-15","2194-12-31"],DateTimePrimitiveType:["2020-01-01T00:00:00.000","1950-04-15T02:11:58.892","2194-12-31T23:31:58.491"],BoolPrimitiveType:["true","false"],CpfPrimitiveType:["000.000.001-91","00000000191","000.000.002-72"],CnpjPrimitiveType:["00.000.000/0001-91","00000000000191","00.000.000/0002-72"],EmailPrimitiveType:["sample@example.com","root@localhost","test+label@10.0.0.5"],UrlPrimitiveType:["https://sdkgen.github.io/","https://goo.gl/maps/gUaKGTqR8BHXfX7b7","http://jobs.cubos.io"],UuidPrimitiveType:["c12c3329-c558-4c76-9a16-0efeb2b01605","00000000-0000-0000-0000-000000000000","1d5f2ef6-0def-11ec-82a8-0242ac130003"],HexPrimitiveType:["00","6375626f73","73646b67656e20706c617967726f756e64"],HtmlPrimitiveType:["<html><body><p>sdkgen</p></body></html>","<html><h1>Sdkgen","<script> alert('Hello world!'); <\/script>"],BytesPrimitiveType:[],Base64PrimitiveType:["Y3Vib3M=","c2RrZ2Vu","c2RrZ2VuIHBsYXlncm91bmQ="],XmlPrimitiveType:["<items><item>something</item></items>","<list />",'<?xml version="1.0" encoding="UTF-8"?><resposta><![CDATA[ol\xe1 <xml>]]></resposta>'],JsonPrimitiveType:["{}",'{"sdkgen":"playground"}','{"type":"json","items":[1,2,3],"some":null}']};function Ur(l){switch(l.constructor){case M.Qs:return"StringPrimitiveType";case M.mN:return"IntPrimitiveType";case M.kM:return"UIntPrimitiveType";case M._P:return"FloatPrimitiveType";case M.zE:return"BigIntPrimitiveType";case M.Bn:return"MoneyPrimitiveType";case M.KW:return"DecimalPrimitiveType";case M.xW:return"DatePrimitiveType";case M.Gf:return"DateTimePrimitiveType";case M.Wi:return"BoolPrimitiveType";case M.RE:return"VoidPrimitiveType";case M.Xj:return"CpfPrimitiveType";case M.Ro:return"CnpjPrimitiveType";case M.Tp:return"EmailPrimitiveType";case M.Oo:return"UrlPrimitiveType";case M.ZU:return"UuidPrimitiveType";case M.iE:return"HexPrimitiveType";case M.dp:return"HtmlPrimitiveType";case M.lw:return"BytesPrimitiveType";case M.OR:return"Base64PrimitiveType";case M.BD:return"XmlPrimitiveType";case M.cs:return"JsonPrimitiveType";case M.H1:return"OptionalType";case M.PK:return"EnumType";case M.ts:return"ArrayType";case M.JQ:return"StructType";default:return l.constructor.name}}function Jc(l){const a=[];switch(l.constructor){case M.Qs:case M.mN:case M.kM:case M._P:case M.zE:case M.Bn:case M.KW:case M.xW:case M.Gf:case M.Wi:case M.RE:case M.Xj:case M.Ro:case M.Tp:case M.Oo:case M.ZU:case M.iE:case M.dp:case M.lw:case M.OR:case M.BD:case M.cs:a.push("Primitivo");break;case M.H1:a.push("Opcional"),a.push(...Jc(l.base));break;case M.d:a.push(...Jc(l.type));break;case M.ts:a.push("Array"),a.push(...Jc(l.base));break;case M.PK:a.push("Enum");break;default:console.error("No labels for",Ur(l))}return a}function fr(l){switch(l.constructor){case M.Qs:case M.mN:case M.kM:case M._P:case M.zE:case M.Bn:case M.KW:case M.xW:case M.Gf:case M.Wi:case M.RE:case M.Xj:case M.Ro:case M.Tp:case M.Oo:case M.ZU:case M.iE:case M.dp:case M.lw:case M.OR:case M.BD:case M.cs:return{longDescription:Yp[Ur(l)],shortDescription:Yp[Ur(l)],examples:b_[Ur(l)]};case M.H1:{const d=fr(l.base);return{...d,longDescription:d.longDescription,shortDescription:`(opcional) ${d.shortDescription}`,examples:["null",...d.examples??[]]}}case M.d:return fr(l.type);case M.ts:{const d=fr(l.base);return{...d,longDescription:d.longDescription,shortDescription:`(array) ${d.shortDescription}`,examples:["[]",...d.examples?.map(p=>`[${p}]`)??[]]}}case M.PK:const a=l,i=a.values.slice(0,3),s=i.map(d=>d.struct?`${d.value}: ${JSON.stringify((new jr.G).buildJsonObject(d.struct.fields),null,2)}`:d.value);return{longDescription:"enum representa um conjunto limitado de possibilidades de valores, similar as enumera\xe7\xf5es em outras linguagens.",shortDescription:`(enum) ${i.map(d=>`${d.value}${d.struct?"(\u2026)":""}`).join(", ")}${i.length>3?"\u2026":""}`,examples:s,isEnum:!0,isStruct:!0,structFields:a.values.map(d=>({name:d.value,type:d.struct,description:d.annotations.find(p=>p instanceof M.x3)?.text,secret:!1}))};case M.JQ:return{longDescription:"",shortDescription:`(objeto complexo) ${l.fields.slice(0,3).map(d=>d.name).join(", ")}\u2026`,isStruct:!0,structFields:l.fields.map(d=>({name:d.name,description:d.annotations.find(p=>p instanceof M.x3)?.text,type:d.type,secret:d.secret})),examples:[JSON.stringify((new jr.G).buildJsonObject(l.fields),null,2)]};default:return{longDescription:"BUG: Unknown Type",shortDescription:"BUG: Unknown Type",examples:[]}}}function Cd(l,a){1&l&&(o.TgZ(0,"button",6)(1,"mat-icon"),o._uU(2,"arrow_back"),o.qZA()())}function $s(l,a){if(1&l&&(o.TgZ(0,"mat-chip",7),o._uU(1),o.qZA()),2&l){const i=a.$implicit;o.Q6J("disableRipple",!0),o.xp6(1),o.Oqu(i)}}function Dd(l,a){1&l&&(o.TgZ(0,"button",8)(1,"mat-icon"),o._uU(2,"close"),o.qZA()())}function Ed(l,a){1&l&&(o.TgZ(0,"th",20),o._uU(1,"Nome"),o.qZA())}function $a(l,a){if(1&l&&(o.TgZ(0,"td",21),o._uU(1),o.qZA()),2&l){const i=a.$implicit;o.xp6(1),o.Oqu(i.name)}}function Qc(l,a){1&l&&(o.TgZ(0,"th",20),o._uU(1,"Tipo"),o.qZA())}function Hs(l,a){1&l&&(o.TgZ(0,"span"),o._uU(1,"-"),o.qZA())}function Md(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"u",25),o.NdJ("click",function(){o.CHM(i);const d=o.oxw().$implicit,p=o.oxw(2);return o.KtG(p.showDocumentation(d.type))}),o._uU(1),o.qZA()}if(2&l){const i=o.oxw().$implicit,s=o.oxw(2);o.Q6J("matTooltip",s.getTooltip(i.type)),o.xp6(1),o.Oqu(i.type.name)}}function Td(l,a){1&l&&(o.TgZ(0,"td",22),o.YNc(1,Hs,2,0,"span",23),o.YNc(2,Md,2,2,"u",24),o.qZA()),2&l&&(o.Q6J("ngSwitch",a.$implicit.type),o.xp6(1),o.Q6J("ngSwitchCase",null))}function Xc(l,a){1&l&&(o.TgZ(0,"th",20),o._uU(1,"Descri\xe7\xe3o"),o.qZA())}function v_(l,a){if(1&l&&(o.TgZ(0,"td",26),o._uU(1),o.qZA()),2&l){const i=a.$implicit;o.xp6(1),o.Oqu(i.description||"-")}}function Ad(l,a){1&l&&o._UZ(0,"tr",27)}function Ha(l,a){1&l&&o._UZ(0,"tr",28)}const Kp=function(){return[]};function Ah(l,a){if(1&l&&(o.TgZ(0,"section")(1,"div",9)(2,"table",10),o.ynx(3,11),o.YNc(4,Ed,2,0,"th",12),o.YNc(5,$a,2,1,"td",13),o.BQk(),o.ynx(6,14),o.YNc(7,Qc,2,0,"th",12),o.YNc(8,Td,3,2,"td",15),o.BQk(),o.ynx(9,16),o.YNc(10,Xc,2,0,"th",12),o.YNc(11,v_,2,1,"td",17),o.BQk(),o.YNc(12,Ad,1,0,"tr",18),o.YNc(13,Ha,1,0,"tr",19),o.qZA()()()),2&l){const i=o.oxw();let s;o.xp6(2),o.Q6J("dataSource",null!==(s=null==i.typeDoc?null:i.typeDoc.structFields)&&void 0!==s?s:o.DdM(3,Kp)),o.xp6(10),o.Q6J("matHeaderRowDef",i.argumentsTableColumns),o.xp6(1),o.Q6J("matRowDefColumns",i.argumentsTableColumns)}}function Zp(l,a){if(1&l&&(o.TgZ(0,"li")(1,"code",1),o._uU(2),o.qZA()()),2&l){const i=a.$implicit;o.xp6(2),o.Oqu(i)}}function qp(l,a){if(1&l&&(o.TgZ(0,"section")(1,"h3"),o._uU(2,"Exemplos"),o.qZA(),o.TgZ(3,"ul"),o.YNc(4,Zp,3,1,"li",29),o.qZA()()),2&l){const i=o.oxw();o.xp6(4),o.Q6J("ngForOf",null==i.typeDoc?null:i.typeDoc.examples)}}let Sd=(()=>{class l{constructor(i,s,d){this.dialogRef=i,this.data=s,this.dialog=d,this.labels=[],this.argumentsTableColumns=["name","type","description"]}ngOnInit(){this.labels=Jc(this.data.type),this.typeDoc=fr(this.data.type)}getTooltip(i){return fr(i).shortDescription}showDocumentation(i){this.dialog.open(l,{position:{right:"0"},data:{type:i,subdialog:!0},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(T),o.Y36($),o.Y36(ns))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["app-type-details"]],decls:11,vars:7,consts:[["class","back-button","mat-icon-button","","mat-dialog-close","","tabindex","-1",4,"ngIf"],[1,"mono"],["role","list"],["color","primary",3,"disableRipple",4,"ngFor","ngForOf"],["class","close-button","mat-icon-button","","mat-dialog-close","","tabindex","-1",4,"ngIf"],[4,"ngIf"],["mat-icon-button","","mat-dialog-close","","tabindex","-1",1,"back-button"],["color","primary",3,"disableRipple"],["mat-icon-button","","mat-dialog-close","","tabindex","-1",1,"close-button"],[1,"table-responsive","mat-elevation-z8"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","mono","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["class","mono","mat-cell","",3,"ngSwitch",4,"matCellDef"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"mono"],["mat-cell","",1,"mono",3,"ngSwitch"],[4,"ngSwitchCase"],[3,"matTooltip","click",4,"ngSwitchDefault"],[3,"matTooltip","click"],["mat-cell",""],["mat-header-row",""],["mat-row",""],[4,"ngFor","ngForOf"]],template:function(s,d){1&s&&(o.TgZ(0,"h1"),o.YNc(1,Cd,3,0,"button",0),o.TgZ(2,"span",1),o._uU(3),o.qZA(),o.TgZ(4,"mat-chip-set",2),o.YNc(5,$s,2,2,"mat-chip",3),o.qZA(),o.YNc(6,Dd,3,0,"button",4),o.qZA(),o.TgZ(7,"p"),o._uU(8),o.qZA(),o.YNc(9,Ah,14,4,"section",5),o.YNc(10,qp,5,1,"section",5)),2&s&&(o.xp6(1),o.Q6J("ngIf",d.data.subdialog),o.xp6(2),o.Oqu(d.data.type.name),o.xp6(2),o.Q6J("ngForOf",d.labels),o.xp6(1),o.Q6J("ngIf",!d.data.subdialog),o.xp6(2),o.Oqu(null==d.typeDoc?null:d.typeDoc.longDescription),o.xp6(1),o.Q6J("ngIf",(null==d.typeDoc?null:d.typeDoc.isStruct)&&(null==d.typeDoc?null:d.typeDoc.structFields)),o.xp6(1),o.Q6J("ngIf",null==d.typeDoc||null==d.typeDoc.examples?null:d.typeDoc.examples.length))},dependencies:[te.sg,te.O5,te.RF,te.n9,te.ED,ae.RK,mt,rn,Xa,On.Hw,Wo,fa,Eo,fc,Cn,fs,pc,pa,ps,ma,gs],styles:["h1[_ngcontent-%COMP%]{font-weight:200;word-break:break-all;word-wrap:break-word;color:#fff}h1[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%]{display:inline-block;margin-left:10px;-webkit-user-select:none;user-select:none}h1[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{text-transform:uppercase}h1[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:focus{outline:none}h1[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{vertical-align:middle}h1[_ngcontent-%COMP%] button.back-button[_ngcontent-%COMP%]{margin-right:10px}h1[_ngcontent-%COMP%] button.close-button[_ngcontent-%COMP%]{float:right}p[_ngcontent-%COMP%]{line-height:1.5rem}section[_ngcontent-%COMP%]{margin-top:2rem}h3[_ngcontent-%COMP%]{font-weight:200;text-transform:uppercase}ul[_ngcontent-%COMP%]{padding-left:2rem}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{line-height:2rem;list-style:square}code[_ngcontent-%COMP%]{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem;white-space:pre-wrap;word-break:break-all;word-wrap:break-word}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{text-decoration-style:dotted;cursor:pointer}"]})}return l})();var Sh=v(4515);let Jp=(()=>{class l{constructor(i){this.observer=i}isBelowSm(){return this.observer.observe(["(max-width: 575px)"])}isBelowMd(){return this.observer.observe(["(max-width: 767px)"])}isBelowLg(){return this.observer.observe(["(max-width: 991px)"])}isBelowXl(){return this.observer.observe(["(max-width: 1199px)"])}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(Sh.Yg))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),Qp=(()=>{class l{transform(i,s){if(!i)return[];if(!s)return i;const d=s.toLocaleLowerCase();return i.filter(p=>JSON.stringify(p).toLocaleLowerCase().includes(d))}static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275pipe=o.Yjl({name:"appFilter",type:l,pure:!0})}return l})();function y_(l,a){if(1&l&&(o.TgZ(0,"span",8),o._uU(1),o.qZA()),2&l){const i=o.oxw().$implicit;o.xp6(1),o.Oqu(i.description)}}const Xp=function(l){return{active:l}};function el(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"li",5),o.NdJ("click",function(){const p=o.CHM(i).$implicit,b=o.oxw();return o.KtG(b.selectedFunction=p)}),o.TgZ(1,"span",6),o._uU(2),o.qZA(),o.YNc(3,y_,2,1,"span",7),o.qZA()}if(2&l){const i=a.$implicit,s=o.oxw();o.Q6J("ngClass",o.VKq(3,Xp,(null==s.selectedFunction?null:s.selectedFunction.name)===i.name)),o.xp6(2),o.Oqu(i.name),o.xp6(1),o.Q6J("ngIf",i.description)}}function Id(l,a){1&l&&o._UZ(0,"span")}function em(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"span"),o._UZ(1,"br"),o._uU(2,"\xa0\xa0"),o.TgZ(3,"span",37),o._uU(4),o.qZA(),o.TgZ(5,"span",14),o._uU(6,":"),o.qZA(),o._uU(7,"\xa0"),o.TgZ(8,"u",15),o.NdJ("click",function(){const p=o.CHM(i).$implicit,b=o.oxw(2);return o.KtG(b.showDocumentation(p.rawType))}),o._uU(9),o.qZA(),o.YNc(10,Id,1,0,"span",38),o.qZA()}if(2&l){const i=a.$implicit,s=a.index;o.oxw();const d=o.MAs(18),p=o.MAs(20),b=o.oxw();o.xp6(4),o.Oqu(i.name),o.xp6(4),o.Q6J("matTooltip",b.getTooltip(i.rawType)),o.xp6(1),o.Oqu(i.type),o.xp6(1),o.Q6J("ngIf",s!=b.selectedFunction.args.length-1)("ngIfThen",d)("ngIfElse",p)}}function Ih(l,a){1&l&&o._uU(0,",")}function Od(l,a){1&l&&o._UZ(0,"br")}function tl(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"u",29),o.NdJ("click",function(){o.CHM(i);const d=o.oxw().$implicit,p=o.oxw(3);return o.KtG(p.showDocumentation(d.dataType))}),o._uU(1),o.qZA()}if(2&l){const i=o.oxw().$implicit,s=o.oxw(3);o.Q6J("matTooltip",s.getTooltip(i.dataType)),o.xp6(1),o.hij("(",i.dataType.name,")")}}function tm(l,a){if(1&l&&(o.TgZ(0,"mat-chip",42)(1,"span",28),o._uU(2),o.qZA(),o._UZ(3,"i"),o.TgZ(4,"span",28),o._uU(5),o.YNc(6,tl,2,2,"u",43),o.qZA()()),2&l){const i=a.$implicit;o.Q6J("disableRipple",!0),o.xp6(2),o.Oqu(i.name),o.xp6(3),o.hij("",i.type," "),o.xp6(1),o.Q6J("ngIf",i.dataType&&"void"!==i.dataType.name)}}function Oh(l,a){if(1&l&&(o.TgZ(0,"section",39)(1,"mat-chip-set",40),o.YNc(2,tm,7,4,"mat-chip",41),o.qZA()()),2&l){const i=o.oxw(2);o.xp6(2),o.Q6J("ngForOf",i.selectedFunction.labels)}}function nm(l,a){if(1&l&&(o.TgZ(0,"p"),o._uU(1),o.qZA()),2&l){const i=o.oxw(2);o.xp6(1),o.Oqu(i.selectedFunction.description)}}function kh(l,a){1&l&&(o.TgZ(0,"p",44),o._uU(1,"N\xe3o h\xe1 descri\xe7\xe3o para esta fun\xe7\xe3o."),o.qZA())}function x_(l,a){1&l&&(o.TgZ(0,"p",44),o._uU(1,"Esta fun\xe7\xe3o n\xe3o possui argumentos."),o.qZA())}function im(l,a){1&l&&(o.TgZ(0,"th",54),o._uU(1,"Nome"),o.qZA())}function Va(l,a){if(1&l&&(o.TgZ(0,"td",55),o._uU(1),o.qZA()),2&l){const i=a.$implicit;o.xp6(1),o.Oqu(i.name)}}function om(l,a){1&l&&(o.TgZ(0,"th",54),o._uU(1,"Tipo"),o.qZA())}function Vs(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"td",55)(1,"u",29),o.NdJ("click",function(){const p=o.CHM(i).$implicit,b=o.oxw(3);return o.KtG(b.showDocumentation(p.rawType))}),o._uU(2),o.qZA()()}if(2&l){const i=a.$implicit,s=o.oxw(3);o.xp6(1),o.Q6J("matTooltip",s.getTooltip(i.rawType)),o.xp6(1),o.Oqu(i.type)}}function ja(l,a){1&l&&(o.TgZ(0,"th",54),o._uU(1,"Descri\xe7\xe3o"),o.qZA())}function rm(l,a){if(1&l&&(o.TgZ(0,"td",56),o._uU(1),o.qZA()),2&l){const i=a.$implicit;o.xp6(1),o.Oqu(i.description||"-")}}function Rh(l,a){1&l&&o._UZ(0,"tr",57)}function sm(l,a){1&l&&o._UZ(0,"tr",58)}function am(l,a){if(1&l&&(o.TgZ(0,"table",45),o.ynx(1,46),o.YNc(2,im,2,0,"th",47),o.YNc(3,Va,2,1,"td",48),o.BQk(),o.ynx(4,49),o.YNc(5,om,2,0,"th",47),o.YNc(6,Vs,3,2,"td",48),o.BQk(),o.ynx(7,50),o.YNc(8,ja,2,0,"th",47),o.YNc(9,rm,2,1,"td",51),o.BQk(),o.YNc(10,Rh,1,0,"tr",52),o.YNc(11,sm,1,0,"tr",53),o.qZA()),2&l){const i=o.oxw(2);o.Q6J("dataSource",i.selectedFunction.args),o.xp6(10),o.Q6J("matHeaderRowDef",i.argumentsTableColumns),o.xp6(1),o.Q6J("matRowDefColumns",i.argumentsTableColumns)}}function cm(l,a){1&l&&(o.TgZ(0,"span",59),o._uU(1,"Dart"),o.qZA())}function Ph(l,a){1&l&&(o.TgZ(0,"span",59),o._uU(1,"Swift"),o.qZA())}const lm=function(){return{theme:"vs-dark",language:"javascript"}},kd=function(){return{theme:"vs-dark",language:"kotlin"}},w_=function(){return{theme:"vs-dark",language:"dart"}},Rd=function(){return{theme:"vs-dark",language:"swift"}};function Fh(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"article")(1,"header")(2,"h1",9)(3,"span",10)(4,"span",11),o._uU(5,"fn"),o.qZA(),o._uU(6,"\xa0"),o.TgZ(7,"span",12),o._uU(8),o.qZA(),o._uU(9,"("),o.YNc(10,em,11,6,"span",13),o._uU(11,")"),o.TgZ(12,"span",14),o._uU(13,":"),o.qZA(),o._uU(14,"\xa0"),o.TgZ(15,"u",15),o.NdJ("click",function(){o.CHM(i);const d=o.oxw();return o.KtG(d.showDocumentation(d.selectedFunction.returns.rawType))}),o._uU(16),o.qZA()(),o.YNc(17,Ih,1,0,"ng-template",null,16,o.W1O),o.YNc(19,Od,1,0,"ng-template",null,17,o.W1O),o._UZ(21,"s"),o.TgZ(22,"button",18),o.NdJ("click",function(){o.CHM(i);const d=o.oxw();return o.KtG(d.addSimpleCallTab())}),o.TgZ(23,"mat-icon"),o._uU(24,"play_arrow"),o.qZA(),o._uU(25,"\xa0EXECUTAR "),o.qZA()()(),o.YNc(26,Oh,3,1,"section",19),o.TgZ(27,"section",9)(28,"h2",20),o._uU(29,"Descri\xe7\xe3o"),o.qZA(),o.TgZ(30,"div",21),o.YNc(31,nm,2,1,"p",22),o.YNc(32,kh,2,0,"p",23),o.qZA(),o.TgZ(33,"h2",24),o._uU(34,"Par\xe2metros"),o.qZA(),o.TgZ(35,"div",21),o.YNc(36,x_,2,0,"p",23),o.TgZ(37,"div",25),o.YNc(38,am,12,3,"table",26),o.qZA()(),o.TgZ(39,"h2",27),o._uU(40,"Retorno"),o.qZA(),o.TgZ(41,"div")(42,"p",28)(43,"u",29),o.NdJ("click",function(){o.CHM(i);const d=o.oxw();return o.KtG(d.showDocumentation(d.selectedFunction.returns.rawType))}),o._uU(44),o.qZA()()(),o.TgZ(45,"h2",30),o._uU(46,"Exemplo de Requisi\xe7\xe3o"),o.qZA(),o.TgZ(47,"mat-tab-group",31)(48,"mat-tab",32),o._UZ(49,"ngx-monaco-editor",33),o.qZA(),o.TgZ(50,"mat-tab",34),o._UZ(51,"ngx-monaco-editor",33),o.qZA(),o.TgZ(52,"mat-tab",35),o.YNc(53,cm,2,0,"ng-template",36),o._UZ(54,"ngx-monaco-editor",33),o.qZA(),o.TgZ(55,"mat-tab",35),o.YNc(56,Ph,2,0,"ng-template",36),o._UZ(57,"ngx-monaco-editor",33),o.qZA()()()()}if(2&l){const i=o.oxw();o.xp6(8),o.Oqu(i.selectedFunction.name),o.xp6(2),o.Q6J("ngForOf",i.selectedFunction.args),o.xp6(5),o.Q6J("matTooltip",i.getTooltip(i.selectedFunction.returns.rawType)),o.xp6(1),o.Oqu(i.selectedFunction.returns.type),o.xp6(10),o.Q6J("ngIf",i.selectedFunction.labels.length>0),o.xp6(4),o.Q6J("ngSwitch",!!i.selectedFunction.description),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(1),o.Q6J("ngSwitchCase",!1),o.xp6(3),o.Q6J("ngSwitch",i.selectedFunction.args.length),o.xp6(1),o.Q6J("ngSwitchCase",0),o.xp6(7),o.Q6J("matTooltip",i.getTooltip(i.selectedFunction.returns.rawType)),o.xp6(1),o.Oqu(i.selectedFunction.returns.type),o.xp6(5),o.Q6J("options",o.DdM(20,lm))("ngModel",i.selectedFunction.examples.typeScript),o.xp6(2),o.Q6J("options",o.DdM(21,kd))("ngModel",i.selectedFunction.examples.kotlin),o.xp6(3),o.Q6J("options",o.DdM(22,w_))("ngModel",i.selectedFunction.examples.dart),o.xp6(3),o.Q6J("options",o.DdM(23,Rd))("ngModel",i.selectedFunction.examples.swift)}}const dm=function(){return{standalone:!0}};let um=(()=>{class l{constructor(i,s,d){this.sdkgen=i,this.dialog=s,this.responsive=d,this.isBelowMd=!1,this.runFunction=new o.vpe,this.searchText="",this.argumentsTableColumns=["name","type","description"],this.editorOptions={theme:"vs-dark",language:"javascript"}}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(i=>{i&&(this.selectedFunction=void 0,this.fnTable=i.astRoot.operations.sort((s,d)=>s.name.localeCompare(d.name)).map(s=>{const d=i.astJson.annotations[`fn.${s.name}`],p=this.sdkgen.buildJsonObject(s.args);return d?.find(b=>"hidden"===b.type)?null:{name:s.name,description:d?.find(b=>"description"===b.type)?.value,args:s.args.map(({name:b,type:S})=>{const ee=[...i.astJson.annotations[`type.${S.name}.${b}`]??[],...i.astJson.annotations[`fn.${s.name}.${b}`]??[]];return{name:b,description:ee.find(Te=>"description"===Te.type)?.value,type:S.name,rawType:S}}),argsStr:s.args.map(b=>`${b.name}: ${b.type.name}`).join(", "),argsFields:s.args,returns:{type:s.returnType.name,rawType:s.returnType},labels:d?.filter(b=>["rest","throws"].includes(b.type)).map(b=>"rest"===b.type?{name:"REST",type:`${b.value.method} ${b.value.path}`}:"throws"===b.type?{name:"THROWS",type:b.value,dataType:i.astRoot.errors.find(S=>S.name===b.value)?.dataType}:{name:"?",type:"?"})??[],throws:d?.find(b=>"throws"===b.type)?.value,examples:{typeScript:this.sdkgen.getTypeScriptCode(s.name,p),kotlin:this.sdkgen.getKotlinCode(s.name,s.args),dart:this.sdkgen.getDartCode(s.name,p),swift:this.sdkgen.getSwiftCode(s.name,p)}}}).filter(s=>!!s))})}ngOnDestroy(){this.state$?.unsubscribe(),this.responsive$?.unsubscribe()}ngAfterViewInit(){this.responsive$=this.responsive.isBelowMd().subscribe(i=>{this.isBelowMd=i.matches})}addSimpleCallTab(){this.runFunction.emit(this.selectedFunction?.name)}getTooltip(i){return fr(i).shortDescription}showDocumentation(i){this.dialog.open(Sd,{position:{right:"0",top:"0",bottom:"0"},data:{type:i},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(jr.G),o.Y36(ns),o.Y36(Jp))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["app-tab-home"]],outputs:{runFunction:"runFunction"},decls:11,vars:10,consts:[["unit","pixel",3,"direction"],[3,"size"],["type","search","placeholder","Buscar\u2026",3,"ngModel","ngModelOptions","ngModelChange"],["mat-ripple","",3,"ngClass","click",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-ripple","",3,"ngClass","click"],[1,"fn-call"],["class","fn-description",4,"ngIf"],[1,"fn-description"],[1,"container"],[1,"mono","hide-overflow"],[1,"k-fn"],[1,"k-name"],[4,"ngFor","ngForOf"],[1,"k-sym"],[1,"k-type",3,"matTooltip","click"],["comma",""],["lineBreak",""],["mat-raised-button","","color","primary",3,"click"],["class","container","id","labels",4,"ngIf"],["id","description"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","no-content",4,"ngSwitchCase"],["id","parameters"],[1,"table-responsive","mat-elevation-z8"],["mat-table","",3,"dataSource",4,"ngSwitchDefault"],["id","returns"],[1,"mono"],[3,"matTooltip","click"],["id","sample-calls"],["animationDuration","0ms"],["label","TypeScript"],[3,"options","ngModel"],["label","Kotlin"],["disabled",""],["mat-tab-label",""],[1,"k-arg-name"],[4,"ngIf","ngIfThen","ngIfElse"],["id","labels",1,"container"],["role","list"],["color","primary",3,"disableRipple",4,"ngFor","ngForOf"],["color","primary",3,"disableRipple"],[3,"matTooltip","click",4,"ngIf"],[1,"no-content"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","mono","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"mono"],["mat-cell",""],["mat-header-row",""],["mat-row",""],["matTooltip","Em breve!"]],template:function(s,d){1&s&&(o.TgZ(0,"as-split",0)(1,"as-split-area",1)(2,"aside")(3,"nav")(4,"form")(5,"input",2),o.NdJ("ngModelChange",function(b){return d.searchText=b}),o.qZA()(),o.TgZ(6,"ul"),o.YNc(7,el,4,5,"li",3),o.ALo(8,"appFilter"),o.qZA()()()(),o.TgZ(9,"as-split-area"),o.YNc(10,Fh,58,24,"article",4),o.qZA()()),2&s&&(o.Q6J("direction",d.isBelowMd?"vertical":"horizontal"),o.xp6(1),o.Q6J("size",d.isBelowMd?130:350),o.xp6(4),o.Q6J("ngModel",d.searchText)("ngModelOptions",o.DdM(9,dm)),o.xp6(2),o.Q6J("ngForOf",o.xi3(8,6,d.fnTable,d.searchText)),o.xp6(3),o.Q6J("ngIf",d.selectedFunction))},dependencies:[te.mk,te.sg,te.O5,te.RF,te.n9,te.ED,Ee._Y,Ee.Fj,Ee.JJ,Ee.JL,Ee.On,Ee.F,Fs.T2,$c.Mq,$c.zE,ae.lW,mt,rn,On.Hw,de.wG,Wo,fa,Eo,fc,Cn,fs,pc,pa,ps,ma,Yo.uD,Yo.uX,Yo.SP,gs,Qp],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%;overflow:hidden!important}aside[_ngcontent-%COMP%]{display:block;background:#2b2b2b;height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}nav[_ngcontent-%COMP%]{display:block;width:100%}nav[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:block;width:100%;padding:10px;background:#2b2b2b;border-bottom:1px solid #444444;position:sticky;top:0;left:0;right:0;z-index:2}nav[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:block;background:#444444;border:0 none;color:#fff;width:100%;padding:5px}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:100%;padding:15px 10px;border-bottom:1px solid #444444;cursor:pointer;-webkit-user-select:none;user-select:none}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background-color:#0003}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:#0000004d}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:break-all}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span.fn-call[_ngcontent-%COMP%]{font-family:Roboto Mono,monospace}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span.fn-description[_ngcontent-%COMP%]{color:#777;font-size:.9rem;margin-top:5px}u[_ngcontent-%COMP%]{text-decoration-style:dotted;cursor:pointer;font-family:Roboto Mono,monospace}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{background-color:#2b2b2b;padding:25px 20px;width:100%;position:sticky;top:0;left:0;right:0;z-index:3}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:flex;margin:0 auto;font-weight:300;line-height:36px;white-space:pre}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span.hide-overflow[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-fn[_ngcontent-%COMP%]{color:#c586c0}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-name[_ngcontent-%COMP%]{color:#dcdcaa}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-arg-name[_ngcontent-%COMP%]{color:#9cdcfe}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-sym[_ngcontent-%COMP%]{color:#d4d4d4}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-type[_ngcontent-%COMP%]{color:#569cd6}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{min-width:130px;align-self:center}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{display:block;padding:0 20px 15px}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%]{padding:20px 20px 0}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{overflow:hidden}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:focus{outline:none}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:block;width:1.3px;background:#fff;margin:0 7.5px;border-radius:5px;height:calc(100% + 14px)}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:300;margin-top:40px;text-transform:uppercase}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .no-content[_ngcontent-%COMP%]{background-color:#383838;color:#fafafa;display:inline-block;padding:15px;border-radius:5px;margin-top:0}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] table[_ngcontent-%COMP%], article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .table-responsive[_ngcontent-%COMP%], article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] mat-tab-group[_ngcontent-%COMP%]{width:100%;max-width:720px}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .mat-tab-body-content{overflow-y:hidden}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ngx-monaco-editor[_ngcontent-%COMP%]{display:block;height:100%;min-height:300px}"]})}return l})();function Nh(l,a){1&l&&(o.ynx(0),o._uU(1,"Editor Avan\xe7ado"),o.BQk())}function hm(l,a){if(1&l&&(o.ynx(0),o.TgZ(1,"span",21),o._uU(2),o.qZA(),o.BQk()),2&l){const i=o.oxw(2).$implicit;o.xp6(2),o.hij("\u25b6\xa0",i.function,"")}}function Lh(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"span",18),o.YNc(1,Nh,2,0,"ng-container",19),o.YNc(2,hm,3,1,"ng-container",19),o.qZA(),o.TgZ(3,"button",20),o.NdJ("click",function(){o.CHM(i);const d=o.oxw().$implicit,p=o.oxw(2);return o.KtG(p.closeTab(d))}),o.TgZ(4,"mat-icon"),o._uU(5,"close"),o.qZA()()}if(2&l){const i=o.oxw().$implicit;o.Q6J("ngSwitch",i.type),o.xp6(1),o.Q6J("ngSwitchCase","advanced"),o.xp6(1),o.Q6J("ngSwitchCase","simple")}}function fm(l,a){1&l&&(o.ynx(0),o._UZ(1,"app-tab-editor"),o.BQk())}function pm(l,a){if(1&l&&(o.ynx(0),o._UZ(1,"app-simple-call",22),o.BQk()),2&l){const i=o.oxw().$implicit;o.xp6(1),o.Q6J("fn",i.function)}}function C_(l,a){if(1&l&&(o.TgZ(0,"mat-tab"),o.YNc(1,Lh,6,3,"ng-template",16),o.ynx(2,18),o.YNc(3,fm,2,0,"ng-container",19),o.YNc(4,pm,2,1,"ng-container",19),o.BQk(),o.qZA()),2&l){const i=a.$implicit;o.xp6(2),o.Q6J("ngSwitch",i.type),o.xp6(1),o.Q6J("ngSwitchCase","advanced"),o.xp6(1),o.Q6J("ngSwitchCase","simple")}}function Bh(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"button",23),o.NdJ("click",function(){o.CHM(i);const d=o.oxw(2);return o.KtG(d.addAdvancedTab())}),o.TgZ(1,"mat-icon"),o._uU(2,"add_circle"),o.qZA()()}}function $h(l,a){if(1&l&&(o.TgZ(0,"button",24)(1,"mat-icon"),o._uU(2,"download"),o.qZA()()),2&l){o.oxw(2);const i=o.MAs(5);o.Q6J("matMenuTriggerFor",i)}}function fo(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"mat-tab-group",11),o.NdJ("selectedIndexChange",function(d){o.CHM(i);const p=o.oxw();return o.KtG(p.selected.setValue(d))}),o.TgZ(1,"mat-tab",12)(2,"app-tab-home",13),o.NdJ("runFunction",function(d){o.CHM(i);const p=o.oxw();return o.KtG(p.addSimpleTab(d))}),o.qZA()(),o.YNc(3,C_,5,3,"mat-tab",14),o.TgZ(4,"mat-tab",15),o.YNc(5,Bh,3,0,"ng-template",16),o.qZA(),o.TgZ(6,"mat-tab",17),o.YNc(7,$h,3,1,"ng-template",16),o.qZA()()}if(2&l){const i=o.oxw();o.Q6J("selectedIndex",i.selected.value),o.xp6(3),o.Q6J("ngForOf",i.tabs)}}let Hh=(()=>{class l{constructor(i,s,d){this.sdkgen=i,this.domSanitizer=s,this.matIconRegistry=d,this.selected=new Ee.NI(0),this.tabs=[{id:0,type:"advanced"}],this.tabIndex=1;for(const p of["typescript","dot-net","kotlin","swift","dart"])this.matIconRegistry.addSvgIcon(p,this.domSanitizer.bypassSecurityTrustResourceUrl(`assets/${p}.svg`))}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(i=>{this.state=i??void 0})}ngOnDestroy(){this.state$?.unsubscribe()}addSimpleTab(i){this.tabs.push({id:this.tabIndex++,function:i,type:"simple"}),this.selected.setValue(this.tabs.length)}addAdvancedTab(){this.tabs.push({id:this.tabIndex++,type:"advanced"}),this.selected.setValue(this.tabs.length)}closeTab(i){this.tabs.splice(this.tabs.indexOf(i),1),this.selected.setValue(0)}downloadTarget(i){if(!this.state)return;let s,d;switch(i){case"typescript_nodeserver":s=(0,qc.gd)(this.state.astRoot),d="node-server.ts";break;case"typescript_nodeclient":s=(0,qc.iD)(this.state.astRoot),d="node-client.ts";break;case"typescript_web":s=(0,qc.E2)(this.state.astRoot),d="web-client.ts";break;case"typescript_interfaces":s=(0,qc.PI)(this.state.astRoot),d="interfaces.ts";break;case"flutter":s=function Ba(l){let a="";a+="// ignore_for_file: constant_identifier_names\n",(0,M.nd)(l,M.lw)&&(a+="import 'dart:typed_data';\n"),(0,M.nd)(l,M.KW)&&(a+="import 'package:decimal/decimal.dart';\n"),a+="import 'package:http/http.dart' as http;\nimport 'package:sdkgen_runtime/types.dart';\nimport 'package:sdkgen_runtime/http_client.dart';\n";for(const i of l.enumTypes)a+=vh(i),a+="\n";for(const i of l.structTypes)a+=m_(i),a+="\n";for(const i of l.errors)a+=Lp(i),a+="\n";a+=`class ApiClient extends SdkgenHttpClient {\n ApiClient(String baseUrl, [http.Client? client]) : super(baseUrl, client, _typeTable, _fnTable, _errTable);\n${l.operations.filter(i=>i.annotations.every(s=>!(s instanceof M.e1))).map(i=>`\n ${i.returnType instanceof M.RE?"Future<void> ":`Future<${Jo(i.returnType)}> `}${i.name}(${0===i.args.length?"":`{${i.args.map(s=>`${s.type instanceof M.H1?"":"required "}${Jo(s.type)} ${io(s.name)}`).join(", ")}}`}) async { ${i.returnType instanceof M.RE?"":"return "}${Uc(`await makeRequest('${i.name}', {${i.args.map(s=>`'${s.name}': ${io(s.name)}`).join(", ")}})`,i.returnType)}; }`).join("")}\n}\n\n`,a+="var _typeTable = {\n";for(const i of l.structTypes){a+=` '${i.name}': StructTypeDescription(\n`,a+=` ${i.name},\n`,a+=" {\n";for(const s of i.fields)a+=` '${s.name}': '${s.type.name}',\n`;a+=" },\n",a+=` (Map fields) => ${i.name}(\n`;for(const s of i.fields)a+=` ${io(s.name)}: ${Uc(`fields['${s.name}']`,s.type)},\n`;a+=" ),\n",a+=` (${i.name} obj) => ({\n`;for(const s of i.fields)a+=` '${s.name}': obj.${io(s.name)},\n`;a+=" }),\n",a+=" ),\n"}for(const i of l.enumTypes)a+=` '${i.name}': EnumTypeDescription(${i.name}, ${i.name}.values, [\n ${i.values.map(s=>`'${s.value}'`).join(",\n ")}\n ]),\n`;a+="};\n\n",a+="var _fnTable = {\n";for(const i of l.operations){a+=` '${i.name}': FunctionDescription('${i.returnType.name}', {\n`;for(const s of i.args)a+=` '${s.name}': '${s.type.name}',\n`;a+=" }),\n"}a+="};\n\n",a+="var _errTable = {\n";for(const i of l.errors)a+=` '${i.name}': SdkgenErrorDescription('${i.dataType.name}', (msg, req, data) => ${i.name}(msg, req${i.dataType instanceof M.RE?"":", data"})),\n`;return a+="};\n",a}(this.state.astRoot),d="flutter-client.dart";break;case"csharp_server":s=function bh(l){let a="using System;\nusing System.Collections.Generic;\nusing System.Globalization;\nusing System.Numerics;\nusing System.Text.Json;\nusing System.Threading.Tasks;\nusing static Sdkgen.Runtime;\nusing static Sdkgen.Context;\nusing static Sdkgen.Helpers;\n\nnamespace SdkgenGenerated\n{\n public abstract class Api : BaseApi\n {";for(const i of l.operations){const s=i.returnType instanceof M.RE?"":`<${wi(i.returnType)}>`;a+=`\n public virtual Task${s} ${So(i.name)}(${["Context ctx",...i.args.map(d=>`${wi(d.type)} ${Ao(d.name)}`)].join(", ")})\n {\n return Task.FromException${s}(new FatalException("Function '${i.name}' not implemented."));\n }\n`}a+="\n public async Task ExecuteFunction(Context context_, Utf8JsonWriter resultWriter_)\n {\n switch (context_.Name)\n {";for(const i of l.operations){a+=`\n case ${JSON.stringify(i.name)}:\n {`;for(const s of i.args)a+=`\n JsonElement ${s.name}Json_;\n if (!context_.Args.TryGetValue(${JSON.stringify(s.name)}, out ${s.name}Json_))\n {\n ${s.type instanceof M.H1?`${s.name}Json_ = new JsonElement();`:`throw new FatalException("'${i.name}().args.${s.name}' must be set to a value of type ${s.type.name}.");`}\n }\n ${wi(s.type)} ${Ao(s.name)};\n ${Nr(s.type,`${s.name}Json_`,`"${i.name}().args.${s.name}"`,Ao(s.name)).replace(/\n/gu,"\n ")}`;a+=i.returnType instanceof M.RE?`\n await ${So(i.name)}(${["context_",...i.args.map(s=>Ao(s.name))].join(", ")});\n resultWriter_.WriteNullValue();`:`\n var result_ = await ${So(i.name)}(${["context_",...i.args.map(s=>Ao(s.name))].join(", ")});\n ${Lr(i.returnType,"result_",`"${i.name}().ret"`).replace(/\n/gu,"\n ")}`,a+="\n return;\n }"}a+="\n default:\n {\n throw new FatalException($\"Unknown function '{context_.Name}'.\");\n }\n }\n }\n";for(const i of l.structTypes)a+=Np(i);for(const i of l.enumTypes)a+=Br(i);a+=`\n public string GetAstJson() => @"${JSON.stringify((0,M.w2)(l),null,4).replace(/"/gu,'""').replace(/\n/gu,"\n ")}";\n }\n`;for(const i of l.errors)a+=`\n public class ${i.name}Exception : SdkgenException\n {\n public ${i.name}Exception(string message, Exception? inner = null) : base("${i.name}", message, inner) { }\n }\n`;return a+="\n}\n",a}(this.state.astRoot),d="csharp-server.cs";break;case"fsharp_server":s=function g_(l){let a="module rec SdkgenGenerated\nopen Sdkgen.Runtime\nopen Sdkgen.Helpers\nopen Sdkgen.Context\nopen System.Threading.Tasks\nopen System.Text.Json\nopen System\nopen System.Globalization\n#if NET5_0\n// To use tasks as computation expression in .NET 5 install https://www.nuget.org/packages/TaskBuilder.fs/\nopen FSharp.Control.Tasks.V2.ContextInsensitive\n#endif\n";for(const i of l.errors)a+=`\ntype ${i.name}Exception =\n inherit SdkgenException\n\n new(message: string) = {\n inherit SdkgenException("${i.name}", message, null)\n }\n\n new(message: string, inner: Exception) = {\n inherit SdkgenException("${i.name}", message, inner)\n }\n`;for(const i of l.enumTypes)a+=`\n${zc(i)}\n`;for(const i of l.structTypes)a+=`\n${xh(i)}\n`;a+="\ntype Api() =";for(const i of l.operations){const s=i.returnType instanceof M.RE?"":`<${Qo(i.returnType)}>`,d=i.args.length>0?`{| ${i.args.map(p=>`${p.name}: ${Qo(p.type)};`).join("")} |} ->`:"";a+=`\n member val ${oo(i.name)}: Context -> ${d} Task${s} =\n fun _ -> (raise (FatalException("Function '${i.name}' not implemented.")))\n with get, set\n `}a+="\n interface BaseApi with\n member __.ExecuteFunction(context_: Context, resultWriter_: Utf8JsonWriter) : Task =\n task {\n match context_.Name with";for(const i of l.operations){a+=`\n | ${JSON.stringify(i.name)} ->`;for(const s of i.args)a+=`\n let ${s.name}Json_ =\n match context_.Args.TryGetValue(${JSON.stringify(s.name)}) with\n | true, v -> v\n | _ -> raise (FatalException("'${i.name}().args.${s.name}' must be set to a value of type ${s.type.name}."))\n\n let ${Io(s.name)} =\n ${$r(s.type,`${s.name}Json_`,`"${i.name}().args.${s.name}"`,Io(s.name)).replace(/\n/gu,"\n ")}`;a+=i.returnType instanceof M.RE?`\n\n do! (__.${oo(i.name)} context_ ${i.args.length>0?"{|":""} ${i.args.map(s=>`${s.name} = ${Io(s.name)}`).join("; ")} ${i.args.length>0?"|}":""})\n `:`\n\n let! result_ = (__.${oo(i.name)} context_ ${i.args.length>0?"{|":""} ${i.args.map(s=>`${s.name} = ${Io(s.name)}`).join("; ")} ${i.args.length>0?"|}":""})\n ${Ls(i.returnType,"result_",`"${i.name}().ret"`,1,!1).replace(/\n/gu,"\n ")}`}return a+="\n\n | _ -> raise (FatalException($\"Unknown function '{context_.Name}'.\"))\n } :> Task",a+=`\n member __.GetAstJson() = """${JSON.stringify((0,M.w2)(l),null,4).replace(/\n/gu,"\n ")}""";`,a}(this.state.astRoot),d="fsharp-server.fs";break;case"kotlin_android":s=Yc(this.state.astRoot,!0),d="android-client.kt";break;case"kotlin_android_without_callbacks":s=Yc(this.state.astRoot,!1),d="android-client-no-callbacks.kt";break;case"swift_ios":s=Dh(this.state.astRoot,!1),d="ios-client.swift";break;case"rxswift_ios":s=Dh(this.state.astRoot,!0),d="ios-client-rx.swift"}(0,Up.saveAs)(new Blob([s],{type:"application/octet-stream"}),d)}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(jr.G),o.Y36(h.H7),o.Y36(On.jv))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["app-root"]],decls:46,vars:3,consts:[[2,"width","0","height","0","opacity","0","display","block"],["id","main-tabs","animationDuration","150ms","mat-stretch-tabs","false",3,"selectedIndex","selectedIndexChange",4,"ngIf"],["downloadMenu","matMenu"],["id","download-menu-size-flow"],["mat-menu-item","","disabled",""],["mat-menu-item","",3,"click"],["svgIcon","typescript"],["svgIcon","dart"],["svgIcon","kotlin"],["svgIcon","swift"],["svgIcon","dot-net"],["id","main-tabs","animationDuration","150ms","mat-stretch-tabs","false",3,"selectedIndex","selectedIndexChange"],["label","Documenta\xe7\xe3o"],[3,"runFunction"],[4,"ngFor","ngForOf"],["disabled","","labelClass","action-button"],["mat-tab-label",""],["disabled","","labelClass","right action-button"],[3,"ngSwitch"],[4,"ngSwitchCase"],["mat-icon-button","","matTooltip","Fechar aba",3,"click"],[1,"mono","tt-none"],[3,"fn"],["mat-icon-button","","matTooltip","Nova aba de editor avan\xe7ado",3,"click"],["mat-icon-button","",3,"matMenuTriggerFor"]],template:function(s,d){1&s&&(o._UZ(0,"ngx-monaco-editor",0)(1,"app-tab-nav"),o.YNc(2,fo,8,2,"mat-tab-group",1),o.ALo(3,"async"),o.TgZ(4,"mat-menu",null,2),o._UZ(6,"div",3),o.TgZ(7,"button",4),o._uU(8,"Cliente"),o.qZA(),o.TgZ(9,"button",5),o.NdJ("click",function(){return d.downloadTarget("typescript_nodeclient")}),o._UZ(10,"mat-icon",6),o._uU(11,"Node.js"),o.qZA(),o.TgZ(12,"button",5),o.NdJ("click",function(){return d.downloadTarget("typescript_web")}),o._UZ(13,"mat-icon",6),o._uU(14,"Web"),o.qZA(),o.TgZ(15,"button",5),o.NdJ("click",function(){return d.downloadTarget("flutter")}),o._UZ(16,"mat-icon",7),o._uU(17,"Flutter"),o.qZA(),o.TgZ(18,"button",5),o.NdJ("click",function(){return d.downloadTarget("kotlin_android")}),o._UZ(19,"mat-icon",8),o._uU(20,"Android"),o.qZA(),o.TgZ(21,"button",5),o.NdJ("click",function(){return d.downloadTarget("kotlin_android_without_callbacks")}),o._UZ(22,"mat-icon",8),o._uU(23,"Android (sem callbacks)"),o.qZA(),o.TgZ(24,"button",5),o.NdJ("click",function(){return d.downloadTarget("swift_ios")}),o._UZ(25,"mat-icon",9),o._uU(26,"iOS"),o.qZA(),o.TgZ(27,"button",5),o.NdJ("click",function(){return d.downloadTarget("rxswift_ios")}),o._UZ(28,"mat-icon",9),o._uU(29,"iOS (Rx)"),o.qZA(),o.TgZ(30,"button",4),o._uU(31,"Servidor"),o.qZA(),o.TgZ(32,"button",5),o.NdJ("click",function(){return d.downloadTarget("typescript_nodeserver")}),o._UZ(33,"mat-icon",6),o._uU(34,"Node.js"),o.qZA(),o.TgZ(35,"button",5),o.NdJ("click",function(){return d.downloadTarget("csharp_server")}),o._UZ(36,"mat-icon",10),o._uU(37,"C#"),o.qZA(),o.TgZ(38,"button",5),o.NdJ("click",function(){return d.downloadTarget("fsharp_server")}),o._UZ(39,"mat-icon",10),o._uU(40,"F#"),o.qZA(),o.TgZ(41,"button",4),o._uU(42,"Outros"),o.qZA(),o.TgZ(43,"button",5),o.NdJ("click",function(){return d.downloadTarget("typescript_interfaces")}),o._UZ(44,"mat-icon",6),o._uU(45,"Interfaces"),o.qZA()()),2&s&&(o.xp6(2),o.Q6J("ngIf",o.lcZ(3,1,d.sdkgen.state$)))},dependencies:[te.sg,te.O5,te.RF,te.n9,Fs.T2,ae.RK,On.Hw,fe,ra,Jt,Yo.uD,Yo.uX,Yo.SP,gs,Eh.Z,Gp,Wp.I,um,te.Ov],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%} app-root mat-tab-group#main-tabs>mat-tab-header{border-bottom:1px solid rgba(255,255,255,.1215686275)} app-root mat-tab-group#main-tabs .mat-mdc-tab{--mat-tab-header-active-label-text-color: #fff;--mat-tab-header-active-focus-label-text-color: #fff;--mat-tab-header-active-hover-label-text-color: #fff;text-decoration:none;transition:all .2s ease;min-width:0;text-transform:uppercase;-webkit-user-select:none;user-select:none;letter-spacing:normal} app-root mat-tab-group#main-tabs .mat-mdc-tab.right{margin-left:auto} app-root mat-tab-group#main-tabs .mat-mdc-tab .mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:0} app-root mat-tab-group#main-tabs .mat-mdc-tab:hover .mdc-tab__ripple:before{opacity:0} app-root mat-tab-group#main-tabs .mat-mdc-tab:not(#mat-tab-label-0-0){padding-right:16px} app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button{padding:0;padding-right:0!important;opacity:1;pointer-events:auto} app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button .mdc-tab__content, app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button .mat-mdc-tab-ripple, app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button .mdc-tab__ripple:before{pointer-events:all} app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button button{border-radius:0} app-root mat-tab-group#main-tabs .mat-mdc-tab:not(.mat-mdc-tab-disabled) button{border-radius:0;display:inline-block;margin-left:10px;padding:0;width:30px;height:30px;line-height:30px} app-root mat-tab-group#main-tabs .mat-mdc-tab:not(.mat-mdc-tab-disabled) button .mat-icon{width:20px;height:20px;font-size:20px;line-height:20px} app-root mat-tab-group#main-tabs .mat-mdc-tab .tab-icon svg, app-root mat-tab-group#main-tabs .mat-mdc-tab .tab-icon img, app-root mat-tab-group#main-tabs .mat-mdc-tab .tab-add-icon{display:flex;align-items:center;justify-content:center;width:1rem;margin-right:.5rem} app-root mat-tab-group#main-tabs .mat-mdc-tab-body-wrapper{flex-grow:1} app-root mat-tab-group#main-tabs .mat-mdc-tab-body-wrapper mat-tab-body mat-tab-body{flex-grow:1;overflow:hidden} #download-menu-size-flow{width:185px;display:block;max-width:90vw}"]})}return l})(),D_=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l,bootstrap:[Hh]});static#n=this.\u0275inj=o.cJS({providers:[{provide:Fs.F_,useValue:"assets/vs"}],imports:[h.b2,Ee.u5,Ee.UX,Fs.nm,gd,uh.s,f_.forRoot(),$c.fX,De.JF,ae.ot,Kr,Co,On.Ps,Rn,de.si,ms,Yo.Nh,Bl]})}return l})();(0,o.G48)(),h.q6().bootstrapModule(D_).catch(l=>console.error(l))},3866:(et,Me,v)=>{"use strict";v.d(Me,{E2:()=>te,iD:()=>ce,gd:()=>z,PI:()=>de});var h=v(1890);function o(j,W){switch(j.constructor){case h.mN:case h.kM:case h.Bn:case h._P:return"number";case h.zE:return"bigint";case h.KW:return"Decimal";case h.xW:case h.Gf:return"Date";case h.Wi:return"boolean";case h.lw:return W?"ArrayBuffer":"Buffer";case h.Qs:case h.Xj:case h.Ro:case h.Tp:case h.dp:case h.Oo:case h.ZU:case h.iE:case h.OR:case h.BD:return"string";case h.RE:return"void";case h.cs:return"any";case h.H1:return`${o(j.base,W)} | null`;case h.ts:{const{base:ne}=j,le=o(ne,W);return ne instanceof h.H1?`(${le})[]`:`${le}[]`}case h.JQ:case h.PK:return j.name;case h.d:return o(j.type,W);default:throw new Error(`BUG: generateTypescriptTypeName with ${j.constructor.name}`)}}function De(j,W){return`export interface ${j.name} {\n${j.fields.map(ne=>` ${ne.name}: ${o(ne.type,W)}`).join("\n")}\n}\n`}function Ee(j){return j.hasStructValues?`export type ${j.name} = ${j.values.map(W=>W.struct?`({tag: "${W.value}"} & ${W.struct.name})`:`{tag: "${W.value}"}`).join(" | ")};\n`:`export type ${j.name} = ${j.values.map(W=>`"${W.value}"`).join(" | ")};\n`}function ae(j,W){return`export class ${j.name} extends ${j.dataType instanceof h.RE?"SdkgenError":`SdkgenErrorWithData<${o(j.dataType,W)}>`} {}\n`}function te(j){let W="";W+=`/* eslint-disable */\nimport { SdkgenError${j.errors.some(le=>!(le.dataType instanceof h.RE))?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/browser-runtime";\n`,(0,h.nd)(j,h.KW)&&(W+='import { Decimal } from "decimal.js-light";\n'),W+="\n";for(const le of j.enumTypes)W+=Ee(le),W+="\n";for(const le of j.structTypes)W+=De(le,!0),W+="\n";for(const le of j.errors)W+=ae(le,!0),W+="\n";return W+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${j.operations.filter(le=>le.annotations.every(ie=>!(ie instanceof h.e1))).map(le=>`\n ${le.name}(args${0===le.args.length?"?":""}: {${le.args.map(ie=>`${ie.name}${ie.type.name.endsWith("?")?"?":""}: ${o(ie.type,!0)}`).join(", ")}}): Promise<${o(le.returnType,!0)}> { return this.makeRequest("${le.name}", args || {}); }`).join("")}\n}\n\n`,W+=`const errClasses = {\n${j.errors.map(le=>` ${le.name}`).join(",\n")}\n};\n\n`,W+=`const astJson = ${JSON.stringify((0,h.w2)(j),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,W}function de(j){let W="";for(const ne of j.enumTypes)W+=Ee(ne);W+="\n";for(const ne of j.structTypes)W+=De(ne,!1),W+="\n";return W}function ce(j){let W="";const ne=j.errors.some(ie=>!(ie.dataType instanceof h.RE));W+=`/* eslint-disable */\nimport { Context, Fatal${j.errors.filter(ie=>"Fatal"!==ie.name).some(ie=>ie.dataType instanceof h.RE)?", SdkgenError":""}${ne?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/node-runtime";\nimport { PartialDeep } from "type-fest";\nexport { Fatal } from "@sdkgen/node-runtime";\n`,(0,h.nd)(j,h.KW)&&(W+='import { Decimal } from "decimal.js";\n'),W+="\n";for(const ie of j.enumTypes)W+=Ee(ie),W+="\n";for(const ie of j.structTypes)W+=De(ie,!1),W+="\n";for(const ie of j.errors)"Fatal"!==ie.name&&(W+=ae(ie,!1),W+="\n");return W+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${j.operations.filter(ie=>ie.annotations.every(ge=>!(ge instanceof h.e1))).map(ie=>`\n ${ie.name}(ctx: PartialDeep<Context> | null, args: {${ie.args.map(ge=>`${ge.name}${ge.type.name.endsWith("?")?"?":""}: ${o(ge.type,!1)}`).join(", ")}}): Promise<${o(ie.returnType,!1)}> { return this.makeRequest(ctx, "${ie.name}", args); }`).join("")}\n}\n\n`,W+=`const errClasses = {\n${j.errors.map(ie=>` ${ie.name}`).join(",\n")}\n};\n\n`,W+=`const astJson = ${JSON.stringify((0,h.w2)(j),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,W}function z(j){let W="";const ne=j.errors.some(ie=>!(ie.dataType instanceof h.RE));W+=`/* eslint-disable */\nimport { BaseApiConfig, Context, Fatal${j.errors.filter(ie=>"Fatal"!==ie.name).some(ie=>ie.dataType instanceof h.RE)?", SdkgenError":""}${ne?", SdkgenErrorWithData":""} } from "@sdkgen/node-runtime";\nexport { Fatal } from "@sdkgen/node-runtime";\n`,(0,h.nd)(j,h.KW)&&(W+='import { Decimal } from "decimal.js";\n'),W+="\n";for(const ie of j.enumTypes)W+=Ee(ie),W+="\n";for(const ie of j.structTypes)W+=De(ie,!1),W+="\n";for(const ie of j.errors)"Fatal"!==ie.name&&(W+=ae(ie,!1),W+="\n");return W+=`export class ApiConfig<ExtraContextT> extends BaseApiConfig<ExtraContextT> {\n declare fn: {${j.operations.map(ie=>`\n ${ie.name}: (ctx: Context & ExtraContextT, args: {${ie.args.map(ge=>`${ge.name}: ${o(ge.type,!1)}`).join(", ")}}) => Promise<${o(ie.returnType,!1)}>`).join("")}\n }\n\n astJson = ${JSON.stringify((0,h.w2)(j),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:").replace(/\n/gu,"\n ")} as const\n}\n\nexport const api = new ApiConfig<{}>();\n`,W}},2970:(et,Me,v)=>{"use strict";function W(F,R,P,L){return new(P||(P=Promise))(function(q,Ae){function Ue(dt){try{it(L.next(dt))}catch(lt){Ae(lt)}}function ut(dt){try{it(L.throw(dt))}catch(lt){Ae(lt)}}function it(dt){dt.done?q(dt.value):function Q(q){return q instanceof P?q:new P(function(Ae){Ae(q)})}(dt.value).then(Ue,ut)}it((L=L.apply(F,R||[])).next())})}function H(F){return this instanceof H?(this.v=F,this):new H(F)}function Se(F,R,P){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Q,L=P.apply(F,R||[]),q=[];return Q={},Ae("next"),Ae("throw"),Ae("return"),Q[Symbol.asyncIterator]=function(){return this},Q;function Ae(ke){L[ke]&&(Q[ke]=function(he){return new Promise(function(Ie,ue){q.push([ke,he,Ie,ue])>1||Ue(ke,he)})})}function Ue(ke,he){try{!function ut(ke){ke.value instanceof H?Promise.resolve(ke.value.v).then(it,dt):lt(q[0][2],ke)}(L[ke](he))}catch(Ie){lt(q[0][3],Ie)}}function it(ke){Ue("next",ke)}function dt(ke){Ue("throw",ke)}function lt(ke,he){ke(he),q.shift(),q.length&&Ue(q[0][0],q[0][1])}}function He(F){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var P,R=F[Symbol.asyncIterator];return R?R.call(F):(F=function ge(F){var R="function"==typeof Symbol&&Symbol.iterator,P=R&&F[R],L=0;if(P)return P.call(F);if(F&&"number"==typeof F.length)return{next:function(){return F&&L>=F.length&&(F=void 0),{value:F&&F[L++],done:!F}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")}(F),P={},L("next"),L("throw"),L("return"),P[Symbol.asyncIterator]=function(){return this},P);function L(q){P[q]=F[q]&&function(Ae){return new Promise(function(Ue,ut){!function Q(q,Ae,Ue,ut){Promise.resolve(ut).then(function(it){q({value:it,done:Ue})},Ae)}(Ue,ut,(Ae=F[q](Ae)).done,Ae.value)})}}}v.d(Me,{FC:()=>Se,KL:()=>He,mG:()=>W,qq:()=>H}),"function"==typeof SuppressedError&&SuppressedError},6e3:(et,Me,v)=>{"use strict";v.d(Me,{IO:()=>ie,LC:()=>o,SB:()=>ce,X$:()=>Ee,ZE:()=>Z,ZN:()=>B,_j:()=>h,eR:()=>j,jt:()=>ae,k1:()=>re,l3:()=>De,oB:()=>de,pV:()=>ne,ru:()=>se,vP:()=>te});class h{}class o{}const De="*";function Ee(J,H){return{type:7,name:J,definitions:H,options:{}}}function ae(J,H=null){return{type:4,styles:H,timings:J}}function se(J,H=null){return{type:3,steps:J,options:H}}function te(J,H=null){return{type:2,steps:J,options:H}}function de(J){return{type:6,styles:J,offset:null}}function ce(J,H,Se){return{type:0,name:J,styles:H,options:Se}}function j(J,H,Se=null){return{type:1,expr:J,animation:H,options:Se}}function ne(J=null){return{type:9,options:J}}function ie(J,H,Se=null){return{type:11,selector:J,animation:H,options:Se}}class B{constructor(H=0,Se=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=H+Se}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}onStart(H){this._originalOnStartFns.push(H),this._onStartFns.push(H)}onDone(H){this._originalOnDoneFns.push(H),this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(H=>H()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(H){this._position=this.totalTime?H*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(H){const Se="start"==H?this._onStartFns:this._onDoneFns;Se.forEach(xe=>xe()),Se.length=0}}class Z{constructor(H){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=H;let Se=0,xe=0,He=0;const Ne=this.players.length;0==Ne?queueMicrotask(()=>this._onFinish()):this.players.forEach(Pe=>{Pe.onDone(()=>{++Se==Ne&&this._onFinish()}),Pe.onDestroy(()=>{++xe==Ne&&this._onDestroy()}),Pe.onStart(()=>{++He==Ne&&this._onStart()})}),this.totalTime=this.players.reduce((Pe,ct)=>Math.max(Pe,ct.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}init(){this.players.forEach(H=>H.init())}onStart(H){this._onStartFns.push(H)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(H=>H()),this._onStartFns=[])}onDone(H){this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(H=>H.play())}pause(){this.players.forEach(H=>H.pause())}restart(){this.players.forEach(H=>H.restart())}finish(){this._onFinish(),this.players.forEach(H=>H.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(H=>H.destroy()),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this.players.forEach(H=>H.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(H){const Se=H*this.totalTime;this.players.forEach(xe=>{const He=xe.totalTime?Math.min(1,Se/xe.totalTime):1;xe.setPosition(He)})}getPosition(){const H=this.players.reduce((Se,xe)=>null===Se||xe.totalTime>Se.totalTime?xe:Se,null);return null!=H?H.getPosition():0}beforeDestroy(){this.players.forEach(H=>{H.beforeDestroy&&H.beforeDestroy()})}triggerCallback(H){const Se="start"==H?this._onStartFns:this._onDoneFns;Se.forEach(xe=>xe()),Se.length=0}}const re="!"},8654:(et,Me,v)=>{"use strict";v.d(Me,{$s:()=>me,Em:()=>ze,X6:()=>Gt,ic:()=>K,kH:()=>Nn,qV:()=>he,qm:()=>kn,rt:()=>gn,tE:()=>ti,yG:()=>Rt});var h=v(9462),o=v(7786),De=v(3844),Ee=v(9453),ae=v(9592),se=v(1625),te=v(9627),de=v(7605),ce=v(4104),z=v(2067),j=v(1497),W=v(8412),ne=v(3581),le=v(1800),ie=v(4263),ge=v(5779),B=v(5988),Z=v(8267),re=v(4515);function xe(Ze,Ve){return(Ze.getAttribute(Ve)||"").match(/\S+/g)||[]}const Ne="cdk-describedby-message",Pe="cdk-describedby-host";let ct=0,me=(()=>{class Ze{constructor(oe,Oe){this._platform=Oe,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+ct++,this._document=oe,this._id=(0,o.f3M)(o.AFp)+"-"+ct++}describe(oe,Oe,ye){if(!this._canBeDescribed(oe,Oe))return;const pe=Ke(Oe,ye);"string"!=typeof Oe?(ve(Oe,this._id),this._messageRegistry.set(pe,{messageElement:Oe,referenceCount:0})):this._messageRegistry.has(pe)||this._createMessageElement(Oe,ye),this._isElementDescribedByMessage(oe,pe)||this._addMessageReference(oe,pe)}removeDescription(oe,Oe,ye){if(!Oe||!this._isElementNode(oe))return;const pe=Ke(Oe,ye);if(this._isElementDescribedByMessage(oe,pe)&&this._removeMessageReference(oe,pe),"string"==typeof Oe){const O=this._messageRegistry.get(pe);O&&0===O.referenceCount&&this._deleteMessageElement(pe)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const oe=this._document.querySelectorAll(`[${Pe}="${this._id}"]`);for(let Oe=0;Oe<oe.length;Oe++)this._removeCdkDescribedByReferenceIds(oe[Oe]),oe[Oe].removeAttribute(Pe);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(oe,Oe){const ye=this._document.createElement("div");ve(ye,this._id),ye.textContent=oe,Oe&&ye.setAttribute("role",Oe),this._createMessagesContainer(),this._messagesContainer.appendChild(ye),this._messageRegistry.set(Ke(oe,Oe),{messageElement:ye,referenceCount:0})}_deleteMessageElement(oe){this._messageRegistry.get(oe)?.messageElement?.remove(),this._messageRegistry.delete(oe)}_createMessagesContainer(){if(this._messagesContainer)return;const oe="cdk-describedby-message-container",Oe=this._document.querySelectorAll(`.${oe}[platform="server"]`);for(let pe=0;pe<Oe.length;pe++)Oe[pe].remove();const ye=this._document.createElement("div");ye.style.visibility="hidden",ye.classList.add(oe),ye.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&ye.setAttribute("platform","server"),this._document.body.appendChild(ye),this._messagesContainer=ye}_removeCdkDescribedByReferenceIds(oe){const Oe=xe(oe,"aria-describedby").filter(ye=>0!=ye.indexOf(Ne));oe.setAttribute("aria-describedby",Oe.join(" "))}_addMessageReference(oe,Oe){const ye=this._messageRegistry.get(Oe);(function H(Ze,Ve,oe){const Oe=xe(Ze,Ve);Oe.some(ye=>ye.trim()==oe.trim())||(Oe.push(oe.trim()),Ze.setAttribute(Ve,Oe.join(" ")))})(oe,"aria-describedby",ye.messageElement.id),oe.setAttribute(Pe,this._id),ye.referenceCount++}_removeMessageReference(oe,Oe){const ye=this._messageRegistry.get(Oe);ye.referenceCount--,function Se(Ze,Ve,oe){const ye=xe(Ze,Ve).filter(pe=>pe!=oe.trim());ye.length?Ze.setAttribute(Ve,ye.join(" ")):Ze.removeAttribute(Ve)}(oe,"aria-describedby",ye.messageElement.id),oe.removeAttribute(Pe)}_isElementDescribedByMessage(oe,Oe){const ye=xe(oe,"aria-describedby"),pe=this._messageRegistry.get(Oe),O=pe&&pe.messageElement.id;return!!O&&-1!=ye.indexOf(O)}_canBeDescribed(oe,Oe){if(!this._isElementNode(oe))return!1;if(Oe&&"object"==typeof Oe)return!0;const ye=null==Oe?"":`${Oe}`.trim(),pe=oe.getAttribute("aria-label");return!(!ye||pe&&pe.trim()===ye)}_isElementNode(oe){return oe.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(Oe){return new(Oe||Ze)(o.LFG(h.K0),o.LFG(De.t4))};static#t=this.\u0275prov=o.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}return Ze})();function Ke(Ze,Ve){return"string"==typeof Ze?`${Ve||""}/${Ze}`:Ze}function ve(Ze,Ve){Ze.id||(Ze.id=`${Ne}-${Ve}-${ct++}`)}class je{constructor(Ve){this._items=Ve,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Ee.x,this._typeaheadSubscription=ae.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=oe=>oe.disabled,this._pressedLetters=[],this.tabOut=new Ee.x,this.change=new Ee.x,Ve instanceof o.n_E&&(this._itemChangesSubscription=Ve.changes.subscribe(oe=>{if(this._activeItem){const ye=oe.toArray().indexOf(this._activeItem);ye>-1&&ye!==this._activeItemIndex&&(this._activeItemIndex=ye)}}))}skipPredicate(Ve){return this._skipPredicateFn=Ve,this}withWrap(Ve=!0){return this._wrap=Ve,this}withVerticalOrientation(Ve=!0){return this._vertical=Ve,this}withHorizontalOrientation(Ve){return this._horizontal=Ve,this}withAllowedModifierKeys(Ve){return this._allowedModifierKeys=Ve,this}withTypeAhead(Ve=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,ce.b)(oe=>this._pressedLetters.push(oe)),(0,z.b)(Ve),(0,j.h)(()=>this._pressedLetters.length>0),(0,W.U)(()=>this._pressedLetters.join(""))).subscribe(oe=>{const Oe=this._getItemsArray();for(let ye=1;ye<Oe.length+1;ye++){const pe=(this._activeItemIndex+ye)%Oe.length,O=Oe[pe];if(!this._skipPredicateFn(O)&&0===O.getLabel().toUpperCase().trim().indexOf(oe)){this.setActiveItem(pe);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(Ve=!0){return this._homeAndEnd=Ve,this}withPageUpDown(Ve=!0,oe=10){return this._pageUpAndDown={enabled:Ve,delta:oe},this}setActiveItem(Ve){const oe=this._activeItem;this.updateActiveItem(Ve),this._activeItem!==oe&&this.change.next(this._activeItemIndex)}onKeydown(Ve){const oe=Ve.keyCode,ye=["altKey","ctrlKey","metaKey","shiftKey"].every(pe=>!Ve[pe]||this._allowedModifierKeys.indexOf(pe)>-1);switch(oe){case de.Mf:return void this.tabOut.next();case de.JH:if(this._vertical&&ye){this.setNextItemActive();break}return;case de.LH:if(this._vertical&&ye){this.setPreviousItemActive();break}return;case de.SV:if(this._horizontal&&ye){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case de.oh:if(this._horizontal&&ye){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case de.Sd:if(this._homeAndEnd&&ye){this.setFirstItemActive();break}return;case de.uR:if(this._homeAndEnd&&ye){this.setLastItemActive();break}return;case de.Ku:if(this._pageUpAndDown.enabled&&ye){const pe=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(pe>0?pe:0,1);break}return;case de.VM:if(this._pageUpAndDown.enabled&&ye){const pe=this._activeItemIndex+this._pageUpAndDown.delta,O=this._getItemsArray().length;this._setActiveItemByIndex(pe<O?pe:O-1,-1);break}return;default:return void((ye||(0,de.Vb)(Ve,"shiftKey"))&&(Ve.key&&1===Ve.key.length?this._letterKeyStream.next(Ve.key.toLocaleUpperCase()):(oe>=de.A&&oe<=de.Z||oe>=de.xE&&oe<=de.aO)&&this._letterKeyStream.next(String.fromCharCode(oe))))}this._pressedLetters=[],Ve.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(Ve){const oe=this._getItemsArray(),Oe="number"==typeof Ve?Ve:oe.indexOf(Ve);this._activeItem=oe[Oe]??null,this._activeItemIndex=Oe}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(Ve){this._wrap?this._setActiveInWrapMode(Ve):this._setActiveInDefaultMode(Ve)}_setActiveInWrapMode(Ve){const oe=this._getItemsArray();for(let Oe=1;Oe<=oe.length;Oe++){const ye=(this._activeItemIndex+Ve*Oe+oe.length)%oe.length;if(!this._skipPredicateFn(oe[ye]))return void this.setActiveItem(ye)}}_setActiveInDefaultMode(Ve){this._setActiveItemByIndex(this._activeItemIndex+Ve,Ve)}_setActiveItemByIndex(Ve,oe){const Oe=this._getItemsArray();if(Oe[Ve]){for(;this._skipPredicateFn(Oe[Ve]);)if(!Oe[Ve+=oe])return;this.setActiveItem(Ve)}}_getItemsArray(){return this._items instanceof o.n_E?this._items.toArray():this._items}}class ze extends je{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Ve){return this._origin=Ve,this}setActiveItem(Ve){super.setActiveItem(Ve),this.activeItem&&this.activeItem.focus(this._origin)}}let K=(()=>{class Ze{constructor(oe){this._platform=oe}isDisabled(oe){return oe.hasAttribute("disabled")}isVisible(oe){return function R(Ze){return!!(Ze.offsetWidth||Ze.offsetHeight||"function"==typeof Ze.getClientRects&&Ze.getClientRects().length)}(oe)&&"visible"===getComputedStyle(oe).visibility}isTabbable(oe){if(!this._platform.isBrowser)return!1;const Oe=function F(Ze){try{return Ze.frameElement}catch{return null}}(function lt(Ze){return Ze.ownerDocument&&Ze.ownerDocument.defaultView||window}(oe));if(Oe&&(-1===ut(Oe)||!this.isVisible(Oe)))return!1;let ye=oe.nodeName.toLowerCase(),pe=ut(oe);return oe.hasAttribute("contenteditable")?-1!==pe:!("iframe"===ye||"object"===ye||this._platform.WEBKIT&&this._platform.IOS&&!function it(Ze){let Ve=Ze.nodeName.toLowerCase(),oe="input"===Ve&&Ze.type;return"text"===oe||"password"===oe||"select"===Ve||"textarea"===Ve}(oe))&&("audio"===ye?!!oe.hasAttribute("controls")&&-1!==pe:"video"===ye?-1!==pe&&(null!==pe||this._platform.FIREFOX||oe.hasAttribute("controls")):oe.tabIndex>=0)}isFocusable(oe,Oe){return function dt(Ze){return!function L(Ze){return function q(Ze){return"input"==Ze.nodeName.toLowerCase()}(Ze)&&"hidden"==Ze.type}(Ze)&&(function P(Ze){let Ve=Ze.nodeName.toLowerCase();return"input"===Ve||"select"===Ve||"button"===Ve||"textarea"===Ve}(Ze)||function Q(Ze){return function Ae(Ze){return"a"==Ze.nodeName.toLowerCase()}(Ze)&&Ze.hasAttribute("href")}(Ze)||Ze.hasAttribute("contenteditable")||Ue(Ze))}(oe)&&!this.isDisabled(oe)&&(Oe?.ignoreVisibility||this.isVisible(oe))}static#e=this.\u0275fac=function(Oe){return new(Oe||Ze)(o.LFG(De.t4))};static#t=this.\u0275prov=o.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}return Ze})();function Ue(Ze){if(!Ze.hasAttribute("tabindex")||void 0===Ze.tabIndex)return!1;let Ve=Ze.getAttribute("tabindex");return!(!Ve||isNaN(parseInt(Ve,10)))}function ut(Ze){if(!Ue(Ze))return null;const Ve=parseInt(Ze.getAttribute("tabindex")||"",10);return isNaN(Ve)?-1:Ve}class ke{get enabled(){return this._enabled}set enabled(Ve){this._enabled=Ve,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ve,this._startAnchor),this._toggleAnchorTabIndex(Ve,this._endAnchor))}constructor(Ve,oe,Oe,ye,pe=!1){this._element=Ve,this._checker=oe,this._ngZone=Oe,this._document=ye,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,pe||this.attachAnchors()}destroy(){const Ve=this._startAnchor,oe=this._endAnchor;Ve&&(Ve.removeEventListener("focus",this.startAnchorListener),Ve.remove()),oe&&(oe.removeEventListener("focus",this.endAnchorListener),oe.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(Ve){return new Promise(oe=>{this._executeOnStable(()=>oe(this.focusInitialElement(Ve)))})}focusFirstTabbableElementWhenReady(Ve){return new Promise(oe=>{this._executeOnStable(()=>oe(this.focusFirstTabbableElement(Ve)))})}focusLastTabbableElementWhenReady(Ve){return new Promise(oe=>{this._executeOnStable(()=>oe(this.focusLastTabbableElement(Ve)))})}_getRegionBoundary(Ve){const oe=this._element.querySelectorAll(`[cdk-focus-region-${Ve}], [cdkFocusRegion${Ve}], [cdk-focus-${Ve}]`);return"start"==Ve?oe.length?oe[0]:this._getFirstTabbableElement(this._element):oe.length?oe[oe.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Ve){const oe=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(oe){if(!this._checker.isFocusable(oe)){const Oe=this._getFirstTabbableElement(oe);return Oe?.focus(Ve),!!Oe}return oe.focus(Ve),!0}return this.focusFirstTabbableElement(Ve)}focusFirstTabbableElement(Ve){const oe=this._getRegionBoundary("start");return oe&&oe.focus(Ve),!!oe}focusLastTabbableElement(Ve){const oe=this._getRegionBoundary("end");return oe&&oe.focus(Ve),!!oe}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Ve){if(this._checker.isFocusable(Ve)&&this._checker.isTabbable(Ve))return Ve;const oe=Ve.children;for(let Oe=0;Oe<oe.length;Oe++){const ye=oe[Oe].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(oe[Oe]):null;if(ye)return ye}return null}_getLastTabbableElement(Ve){if(this._checker.isFocusable(Ve)&&this._checker.isTabbable(Ve))return Ve;const oe=Ve.children;for(let Oe=oe.length-1;Oe>=0;Oe--){const ye=oe[Oe].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(oe[Oe]):null;if(ye)return ye}return null}_createAnchor(){const Ve=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Ve),Ve.classList.add("cdk-visually-hidden"),Ve.classList.add("cdk-focus-trap-anchor"),Ve.setAttribute("aria-hidden","true"),Ve}_toggleAnchorTabIndex(Ve,oe){Ve?oe.setAttribute("tabindex","0"):oe.removeAttribute("tabindex")}toggleAnchors(Ve){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ve,this._startAnchor),this._toggleAnchorTabIndex(Ve,this._endAnchor))}_executeOnStable(Ve){this._ngZone.isStable?Ve():this._ngZone.onStable.pipe((0,ne.q)(1)).subscribe(Ve)}}let he=(()=>{class Ze{constructor(oe,Oe,ye){this._checker=oe,this._ngZone=Oe,this._document=ye}create(oe,Oe=!1){return new ke(oe,this._checker,this._ngZone,this._document,Oe)}static#e=this.\u0275fac=function(Oe){return new(Oe||Ze)(o.LFG(K),o.LFG(o.R0b),o.LFG(h.K0))};static#t=this.\u0275prov=o.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}return Ze})();function Gt(Ze){return 0===Ze.buttons||0===Ze.offsetX&&0===Ze.offsetY}function Rt(Ze){const Ve=Ze.touches&&Ze.touches[0]||Ze.changedTouches&&Ze.changedTouches[0];return!(!Ve||-1!==Ve.identifier||null!=Ve.radiusX&&1!==Ve.radiusX||null!=Ve.radiusY&&1!==Ve.radiusY)}const $t=new o.OlP("cdk-input-modality-detector-options"),Tt={ignoreKeys:[de.zL,de.jx,de.b2,de.MW,de.JU]},Ct=(0,De.i$)({passive:!0,capture:!0});let kt=(()=>{class Ze{get mostRecentModality(){return this._modality.value}constructor(oe,Oe,ye,pe){this._platform=oe,this._mostRecentTarget=null,this._modality=new se.X(null),this._lastTouchMs=0,this._onKeydown=O=>{this._options?.ignoreKeys?.some(G=>G===O.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,De.sA)(O))},this._onMousedown=O=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Gt(O)?"keyboard":"mouse"),this._mostRecentTarget=(0,De.sA)(O))},this._onTouchstart=O=>{Rt(O)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,De.sA)(O))},this._options={...Tt,...pe},this.modalityDetected=this._modality.pipe((0,le.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,ie.x)()),oe.isBrowser&&Oe.runOutsideAngular(()=>{ye.addEventListener("keydown",this._onKeydown,Ct),ye.addEventListener("mousedown",this._onMousedown,Ct),ye.addEventListener("touchstart",this._onTouchstart,Ct)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ct),document.removeEventListener("mousedown",this._onMousedown,Ct),document.removeEventListener("touchstart",this._onTouchstart,Ct))}static#e=this.\u0275fac=function(Oe){return new(Oe||Ze)(o.LFG(De.t4),o.LFG(o.R0b),o.LFG(h.K0),o.LFG($t,8))};static#t=this.\u0275prov=o.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}return Ze})();const qt=new o.OlP("cdk-focus-monitor-default-options"),Ht=(0,De.i$)({passive:!0,capture:!0});let ti=(()=>{class Ze{constructor(oe,Oe,ye,pe,O){this._ngZone=oe,this._platform=Oe,this._inputModalityDetector=ye,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Ee.x,this._rootNodeFocusAndBlurListener=G=>{for(let _e=(0,De.sA)(G);_e;_e=_e.parentElement)"focus"===G.type?this._onFocus(G,_e):this._onBlur(G,_e)},this._document=pe,this._detectionMode=O?.detectionMode||0}monitor(oe,Oe=!1){const ye=(0,B.fI)(oe);if(!this._platform.isBrowser||1!==ye.nodeType)return(0,te.of)();const pe=(0,De.kV)(ye)||this._getDocument(),O=this._elementInfo.get(ye);if(O)return Oe&&(O.checkChildren=!0),O.subject;const G={checkChildren:Oe,subject:new Ee.x,rootNode:pe};return this._elementInfo.set(ye,G),this._registerGlobalListeners(G),G.subject}stopMonitoring(oe){const Oe=(0,B.fI)(oe),ye=this._elementInfo.get(Oe);ye&&(ye.subject.complete(),this._setClasses(Oe),this._elementInfo.delete(Oe),this._removeGlobalListeners(ye))}focusVia(oe,Oe,ye){const pe=(0,B.fI)(oe);pe===this._getDocument().activeElement?this._getClosestElementsInfo(pe).forEach(([G,N])=>this._originChanged(G,Oe,N)):(this._setOrigin(Oe),"function"==typeof pe.focus&&pe.focus(ye))}ngOnDestroy(){this._elementInfo.forEach((oe,Oe)=>this.stopMonitoring(Oe))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(oe){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(oe)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:oe&&this._isLastInteractionFromInputLabel(oe)?"mouse":"program"}_shouldBeAttributedToTouch(oe){return 1===this._detectionMode||!!oe?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(oe,Oe){oe.classList.toggle("cdk-focused",!!Oe),oe.classList.toggle("cdk-touch-focused","touch"===Oe),oe.classList.toggle("cdk-keyboard-focused","keyboard"===Oe),oe.classList.toggle("cdk-mouse-focused","mouse"===Oe),oe.classList.toggle("cdk-program-focused","program"===Oe)}_setOrigin(oe,Oe=!1){this._ngZone.runOutsideAngular(()=>{this._origin=oe,this._originFromTouchInteraction="touch"===oe&&Oe,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(oe,Oe){const ye=this._elementInfo.get(Oe),pe=(0,De.sA)(oe);!ye||!ye.checkChildren&&Oe!==pe||this._originChanged(Oe,this._getFocusOrigin(pe),ye)}_onBlur(oe,Oe){const ye=this._elementInfo.get(Oe);!ye||ye.checkChildren&&oe.relatedTarget instanceof Node&&Oe.contains(oe.relatedTarget)||(this._setClasses(Oe),this._emitOrigin(ye,null))}_emitOrigin(oe,Oe){oe.subject.observers.length&&this._ngZone.run(()=>oe.subject.next(Oe))}_registerGlobalListeners(oe){if(!this._platform.isBrowser)return;const Oe=oe.rootNode,ye=this._rootNodeFocusListenerCount.get(Oe)||0;ye||this._ngZone.runOutsideAngular(()=>{Oe.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ht),Oe.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ht)}),this._rootNodeFocusListenerCount.set(Oe,ye+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,ge.R)(this._stopInputModalityDetector)).subscribe(pe=>{this._setOrigin(pe,!0)}))}_removeGlobalListeners(oe){const Oe=oe.rootNode;if(this._rootNodeFocusListenerCount.has(Oe)){const ye=this._rootNodeFocusListenerCount.get(Oe);ye>1?this._rootNodeFocusListenerCount.set(Oe,ye-1):(Oe.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ht),Oe.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ht),this._rootNodeFocusListenerCount.delete(Oe))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(oe,Oe,ye){this._setClasses(oe,Oe),this._emitOrigin(ye,Oe),this._lastFocusOrigin=Oe}_getClosestElementsInfo(oe){const Oe=[];return this._elementInfo.forEach((ye,pe)=>{(pe===oe||ye.checkChildren&&pe.contains(oe))&&Oe.push([pe,ye])}),Oe}_isLastInteractionFromInputLabel(oe){const{_mostRecentTarget:Oe,mostRecentModality:ye}=this._inputModalityDetector;if("mouse"!==ye||!Oe||Oe===oe||"INPUT"!==oe.nodeName&&"TEXTAREA"!==oe.nodeName||oe.disabled)return!1;const pe=oe.labels;if(pe)for(let O=0;O<pe.length;O++)if(pe[O].contains(Oe))return!0;return!1}static#e=this.\u0275fac=function(Oe){return new(Oe||Ze)(o.LFG(o.R0b),o.LFG(De.t4),o.LFG(kt),o.LFG(h.K0,8),o.LFG(qt,8))};static#t=this.\u0275prov=o.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}return Ze})(),Nn=(()=>{class Ze{constructor(oe,Oe){this._elementRef=oe,this._focusMonitor=Oe,this._focusOrigin=null,this.cdkFocusChange=new o.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const oe=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(oe,1===oe.nodeType&&oe.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Oe=>{this._focusOrigin=Oe,this.cdkFocusChange.emit(Oe)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(Oe){return new(Oe||Ze)(o.Y36(o.SBq),o.Y36(ti))};static#t=this.\u0275dir=o.lG2({type:Ze,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return Ze})();const Sn="cdk-high-contrast-black-on-white",In="cdk-high-contrast-white-on-black",Dn="cdk-high-contrast-active";let kn=(()=>{class Ze{constructor(oe,Oe){this._platform=oe,this._document=Oe,this._breakpointSubscription=(0,o.f3M)(re.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const oe=this._document.createElement("div");oe.style.backgroundColor="rgb(1,2,3)",oe.style.position="absolute",this._document.body.appendChild(oe);const Oe=this._document.defaultView||window,ye=Oe&&Oe.getComputedStyle?Oe.getComputedStyle(oe):null,pe=(ye&&ye.backgroundColor||"").replace(/ /g,"");switch(oe.remove(),pe){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const oe=this._document.body.classList;oe.remove(Dn,Sn,In),this._hasCheckedHighContrastMode=!0;const Oe=this.getHighContrastMode();1===Oe?oe.add(Dn,Sn):2===Oe&&oe.add(Dn,In)}}static#e=this.\u0275fac=function(Oe){return new(Oe||Ze)(o.LFG(De.t4),o.LFG(h.K0))};static#t=this.\u0275prov=o.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}return Ze})(),gn=(()=>{class Ze{constructor(oe){oe._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(Oe){return new(Oe||Ze)(o.LFG(kn))};static#t=this.\u0275mod=o.oAB({type:Ze});static#n=this.\u0275inj=o.cJS({imports:[Z.Q8]})}return Ze})()},4877:(et,Me,v)=>{"use strict";v.d(Me,{Is:()=>te,vT:()=>ce});var h=v(7786),o=v(9462);const De=new h.OlP("cdk-dir-doc",{providedIn:"root",factory:function Ee(){return(0,h.f3M)(o.K0)}}),ae=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let te=(()=>{class z{constructor(W){this.value="ltr",this.change=new h.vpe,W&&(this.value=function se(z){const j=z?.toLowerCase()||"";return"auto"===j&&typeof navigator<"u"&&navigator?.language?ae.test(navigator.language)?"rtl":"ltr":"rtl"===j?"rtl":"ltr"}((W.body?W.body.dir:null)||(W.documentElement?W.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(ne){return new(ne||z)(h.LFG(De,8))};static#t=this.\u0275prov=h.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})(),ce=(()=>{class z{static#e=this.\u0275fac=function(ne){return new(ne||z)};static#t=this.\u0275mod=h.oAB({type:z});static#n=this.\u0275inj=h.cJS({})}return z})()},5988:(et,Me,v)=>{"use strict";v.d(Me,{Eq:()=>ae,HM:()=>se,Ig:()=>o,fI:()=>te,su:()=>De});var h=v(7786);function o(ce){return null!=ce&&"false"!=`${ce}`}function De(ce,z=0){return function Ee(ce){return!isNaN(parseFloat(ce))&&!isNaN(Number(ce))}(ce)?Number(ce):z}function ae(ce){return Array.isArray(ce)?ce:[ce]}function se(ce){return null==ce?"":"string"==typeof ce?ce:`${ce}px`}function te(ce){return ce instanceof h.SBq?ce.nativeElement:ce}},7605:(et,Me,v)=>{"use strict";v.d(Me,{A:()=>L,JH:()=>J,JU:()=>se,K5:()=>ae,Ku:()=>ne,LH:()=>Z,L_:()=>W,MW:()=>Ut,Mf:()=>De,SV:()=>re,Sd:()=>ge,VM:()=>le,Vb:()=>Bi,Z:()=>yn,ZH:()=>o,aO:()=>V,b2:()=>Li,hY:()=>j,jx:()=>te,oh:()=>B,uR:()=>ie,xE:()=>Ne,yY:()=>He,zL:()=>de});const o=8,De=9,ae=13,se=16,te=17,de=18,j=27,W=32,ne=33,le=34,ie=35,ge=36,B=37,Z=38,re=39,J=40,He=46,Ne=48,V=57,L=65,yn=90,Ut=91,Li=224;function Bi(Zi,...Vn){return Vn.length?Vn.some(go=>Zi[go]):Zi.altKey||Zi.shiftKey||Zi.ctrlKey||Zi.metaKey}},4515:(et,Me,v)=>{"use strict";v.d(Me,{Yg:()=>ve});var h=v(7786),o=v(5988),De=v(9453),Ee=v(7371),ae=v(1003),se=v(107),te=v(2390),de=v(4574),ce=v(177),z=v(5017),j=v(2829),W=v(8382);function ie(ze,V,K){ze?(0,W.f)(K,ze,V):V()}var ge=v(9925),B=v(3581),Z=v(1800),re=v(2067),J=v(8412),H=v(19),Se=v(5779),xe=v(3844);const Ne=new Set;let Pe,ct=(()=>{class ze{constructor(K,F){this._platform=K,this._nonce=F,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ke}matchMedia(K){return(this._platform.WEBKIT||this._platform.BLINK)&&function me(ze,V){if(!Ne.has(ze))try{Pe||(Pe=document.createElement("style"),V&&(Pe.nonce=V),Pe.setAttribute("type","text/css"),document.head.appendChild(Pe)),Pe.sheet&&(Pe.sheet.insertRule(`@media ${ze} {body{ }}`,0),Ne.add(ze))}catch(K){console.error(K)}}(K,this._nonce),this._matchMedia(K)}static#e=this.\u0275fac=function(F){return new(F||ze)(h.LFG(xe.t4),h.LFG(h.Ojb,8))};static#t=this.\u0275prov=h.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();function Ke(ze){return{matches:"all"===ze||""===ze,media:ze,addListener:()=>{},removeListener:()=>{}}}let ve=(()=>{class ze{constructor(K,F){this._mediaMatcher=K,this._zone=F,this._queries=new Map,this._destroySubject=new De.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(K){return je((0,o.Eq)(K)).some(R=>this._registerQuery(R).mql.matches)}observe(K){let P=function ne(...ze){const V=(0,ce.yG)(ze),K=(0,ce.jO)(ze),{args:F,keys:R}=(0,ae.D)(ze);if(0===F.length)return(0,se.D)([],V);const P=new Ee.y(function le(ze,V,K=te.y){return F=>{ie(V,()=>{const{length:R}=ze,P=new Array(R);let L=R,Q=R;for(let q=0;q<R;q++)ie(V,()=>{const Ae=(0,se.D)(ze[q],V);let Ue=!1;Ae.subscribe((0,j.x)(F,ut=>{P[q]=ut,Ue||(Ue=!0,Q--),Q||F.next(K(P.slice()))},()=>{--L||F.complete()}))},F)},F)}}(F,V,R?L=>(0,z.n)(R,L):te.y));return K?P.pipe((0,de.Z)(K)):P}(je((0,o.Eq)(K)).map(L=>this._registerQuery(L).observable));return P=(0,ge.z)(P.pipe((0,B.q)(1)),P.pipe((0,Z.T)(1),(0,re.b)(0))),P.pipe((0,J.U)(L=>{const Q={matches:!1,breakpoints:{}};return L.forEach(({matches:q,query:Ae})=>{Q.matches=Q.matches||q,Q.breakpoints[Ae]=q}),Q}))}_registerQuery(K){if(this._queries.has(K))return this._queries.get(K);const F=this._mediaMatcher.matchMedia(K),P={observable:new Ee.y(L=>{const Q=q=>this._zone.run(()=>L.next(q));return F.addListener(Q),()=>{F.removeListener(Q)}}).pipe((0,H.O)(F),(0,J.U)(({matches:L})=>({query:K,matches:L})),(0,Se.R)(this._destroySubject)),mql:F};return this._queries.set(K,P),P}static#e=this.\u0275fac=function(F){return new(F||ze)(h.LFG(ct),h.LFG(h.R0b))};static#t=this.\u0275prov=h.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();function je(ze){return ze.map(V=>V.split(",")).reduce((V,K)=>V.concat(K)).map(V=>V.trim())}},8267:(et,Me,v)=>{"use strict";v.d(Me,{Q8:()=>ce,wD:()=>de});var h=v(5988),o=v(7786),De=v(7371),Ee=v(9453),ae=v(2067);let se=(()=>{class z{create(W){return typeof MutationObserver>"u"?null:new MutationObserver(W)}static#e=this.\u0275fac=function(ne){return new(ne||z)};static#t=this.\u0275prov=o.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})(),te=(()=>{class z{constructor(W){this._mutationObserverFactory=W,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((W,ne)=>this._cleanupObserver(ne))}observe(W){const ne=(0,h.fI)(W);return new De.y(le=>{const ge=this._observeElement(ne).subscribe(le);return()=>{ge.unsubscribe(),this._unobserveElement(ne)}})}_observeElement(W){if(this._observedElements.has(W))this._observedElements.get(W).count++;else{const ne=new Ee.x,le=this._mutationObserverFactory.create(ie=>ne.next(ie));le&&le.observe(W,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(W,{observer:le,stream:ne,count:1})}return this._observedElements.get(W).stream}_unobserveElement(W){this._observedElements.has(W)&&(this._observedElements.get(W).count--,this._observedElements.get(W).count||this._cleanupObserver(W))}_cleanupObserver(W){if(this._observedElements.has(W)){const{observer:ne,stream:le}=this._observedElements.get(W);ne&&ne.disconnect(),le.complete(),this._observedElements.delete(W)}}static#e=this.\u0275fac=function(ne){return new(ne||z)(o.LFG(se))};static#t=this.\u0275prov=o.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})(),de=(()=>{class z{get disabled(){return this._disabled}set disabled(W){this._disabled=(0,h.Ig)(W),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(W){this._debounce=(0,h.su)(W),this._subscribe()}constructor(W,ne,le){this._contentObserver=W,this._elementRef=ne,this._ngZone=le,this.event=new o.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const W=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?W.pipe((0,ae.b)(this.debounce)):W).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(ne){return new(ne||z)(o.Y36(te),o.Y36(o.SBq),o.Y36(o.R0b))};static#t=this.\u0275dir=o.lG2({type:z,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return z})(),ce=(()=>{class z{static#e=this.\u0275fac=function(ne){return new(ne||z)};static#t=this.\u0275mod=o.oAB({type:z});static#n=this.\u0275inj=o.cJS({providers:[se]})}return z})()},3844:(et,Me,v)=>{"use strict";v.d(Me,{Mq:()=>le,Oy:()=>H,ht:()=>re,i$:()=>j,kV:()=>Z,sA:()=>J,t4:()=>Ee});var h=v(7786),o=v(9462);let De;try{De=typeof Intl<"u"&&Intl.v8BreakIterator}catch{De=!1}let ce,ne,ge,Ee=(()=>{class Se{constructor(He){this._platformId=He,this.isBrowser=this._platformId?(0,o.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!De)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(Ne){return new(Ne||Se)(h.LFG(h.Lbi))};static#t=this.\u0275prov=h.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"})}return Se})();function j(Se){return function z(){if(null==ce&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ce=!0}))}finally{ce=ce||!1}return ce}()?Se:!!Se.capture}function le(){if(null==ne){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ne=!1,ne;if("scrollBehavior"in document.documentElement.style)ne=!0;else{const Se=Element.prototype.scrollTo;ne=!!Se&&!/\{\s*\[native code\]\s*\}/.test(Se.toString())}}return ne}function Z(Se){if(function B(){if(null==ge){const Se=typeof document<"u"?document.head:null;ge=!(!Se||!Se.createShadowRoot&&!Se.attachShadow)}return ge}()){const xe=Se.getRootNode?Se.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&xe instanceof ShadowRoot)return xe}return null}function re(){let Se=typeof document<"u"&&document?document.activeElement:null;for(;Se&&Se.shadowRoot;){const xe=Se.shadowRoot.activeElement;if(xe===Se)break;Se=xe}return Se}function J(Se){return Se.composedPath?Se.composedPath()[0]:Se.target}function H(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6512:(et,Me,v)=>{"use strict";v.d(Me,{C5:()=>z,Pl:()=>re,UE:()=>j,eL:()=>H,en:()=>ne,ig:()=>B,u0:()=>ie});var h=v(7786),o=v(9462);class ce{attach(He){return this._attachedHost=He,He.attach(this)}detach(){let He=this._attachedHost;null!=He&&(this._attachedHost=null,He.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(He){this._attachedHost=He}}class z extends ce{constructor(He,Ne,Pe,ct,me){super(),this.component=He,this.viewContainerRef=Ne,this.injector=Pe,this.componentFactoryResolver=ct,this.projectableNodes=me}}class j extends ce{constructor(He,Ne,Pe,ct){super(),this.templateRef=He,this.viewContainerRef=Ne,this.context=Pe,this.injector=ct}get origin(){return this.templateRef.elementRef}attach(He,Ne=this.context){return this.context=Ne,super.attach(He)}detach(){return this.context=void 0,super.detach()}}class W extends ce{constructor(He){super(),this.element=He instanceof h.SBq?He.nativeElement:He}}class ne{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(He){return He instanceof z?(this._attachedPortal=He,this.attachComponentPortal(He)):He instanceof j?(this._attachedPortal=He,this.attachTemplatePortal(He)):this.attachDomPortal&&He instanceof W?(this._attachedPortal=He,this.attachDomPortal(He)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(He){this._disposeFn=He}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class ie extends ne{constructor(He,Ne,Pe,ct,me){super(),this.outletElement=He,this._componentFactoryResolver=Ne,this._appRef=Pe,this._defaultInjector=ct,this.attachDomPortal=Ke=>{const ve=Ke.element,je=this._document.createComment("dom-portal");ve.parentNode.insertBefore(je,ve),this.outletElement.appendChild(ve),this._attachedPortal=Ke,super.setDisposeFn(()=>{je.parentNode&&je.parentNode.replaceChild(ve,je)})},this._document=me}attachComponentPortal(He){const Pe=(He.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(He.component);let ct;return He.viewContainerRef?(ct=He.viewContainerRef.createComponent(Pe,He.viewContainerRef.length,He.injector||He.viewContainerRef.injector,He.projectableNodes||void 0),this.setDisposeFn(()=>ct.destroy())):(ct=Pe.create(He.injector||this._defaultInjector||h.zs3.NULL),this._appRef.attachView(ct.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(ct.hostView),ct.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ct)),this._attachedPortal=He,ct}attachTemplatePortal(He){let Ne=He.viewContainerRef,Pe=Ne.createEmbeddedView(He.templateRef,He.context,{injector:He.injector});return Pe.rootNodes.forEach(ct=>this.outletElement.appendChild(ct)),Pe.detectChanges(),this.setDisposeFn(()=>{let ct=Ne.indexOf(Pe);-1!==ct&&Ne.remove(ct)}),this._attachedPortal=He,Pe}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(He){return He.hostView.rootNodes[0]}}let B=(()=>{class xe extends j{constructor(Ne,Pe){super(Ne,Pe)}static#e=this.\u0275fac=function(Pe){return new(Pe||xe)(h.Y36(h.Rgc),h.Y36(h.s_b))};static#t=this.\u0275dir=h.lG2({type:xe,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[h.qOj]})}return xe})(),re=(()=>{class xe extends ne{constructor(Ne,Pe,ct){super(),this._componentFactoryResolver=Ne,this._viewContainerRef=Pe,this._isInitialized=!1,this.attached=new h.vpe,this.attachDomPortal=me=>{const Ke=me.element,ve=this._document.createComment("dom-portal");me.setAttachedHost(this),Ke.parentNode.insertBefore(ve,Ke),this._getRootNode().appendChild(Ke),this._attachedPortal=me,super.setDisposeFn(()=>{ve.parentNode&&ve.parentNode.replaceChild(Ke,ve)})},this._document=ct}get portal(){return this._attachedPortal}set portal(Ne){this.hasAttached()&&!Ne&&!this._isInitialized||(this.hasAttached()&&super.detach(),Ne&&super.attach(Ne),this._attachedPortal=Ne||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(Ne){Ne.setAttachedHost(this);const Pe=null!=Ne.viewContainerRef?Ne.viewContainerRef:this._viewContainerRef,me=(Ne.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Ne.component),Ke=Pe.createComponent(me,Pe.length,Ne.injector||Pe.injector,Ne.projectableNodes||void 0);return Pe!==this._viewContainerRef&&this._getRootNode().appendChild(Ke.hostView.rootNodes[0]),super.setDisposeFn(()=>Ke.destroy()),this._attachedPortal=Ne,this._attachedRef=Ke,this.attached.emit(Ke),Ke}attachTemplatePortal(Ne){Ne.setAttachedHost(this);const Pe=this._viewContainerRef.createEmbeddedView(Ne.templateRef,Ne.context,{injector:Ne.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Ne,this._attachedRef=Pe,this.attached.emit(Pe),Pe}_getRootNode(){const Ne=this._viewContainerRef.element.nativeElement;return Ne.nodeType===Ne.ELEMENT_NODE?Ne:Ne.parentNode}static#e=this.\u0275fac=function(Pe){return new(Pe||xe)(h.Y36(h._Vd),h.Y36(h.s_b),h.Y36(o.K0))};static#t=this.\u0275dir=h.lG2({type:xe,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[h.qOj]})}return xe})(),H=(()=>{class xe{static#e=this.\u0275fac=function(Pe){return new(Pe||xe)};static#t=this.\u0275mod=h.oAB({type:xe});static#n=this.\u0275inj=h.cJS({})}return xe})()},9467:(et,Me,v)=>{"use strict";v.d(Me,{ZD:()=>lt,mF:()=>V,Cl:()=>ke,rL:()=>R});var h=v(5988),o=v(7786),De=v(9453),Ee=v(9627),ae=v(7371),se=v(6058),te=v(2290),de=v(9592);const ce={schedule(he){let Ie=requestAnimationFrame,ue=cancelAnimationFrame;const{delegate:$e}=ce;$e&&(Ie=$e.requestAnimationFrame,ue=$e.cancelAnimationFrame);const at=Ie(bt=>{ue=void 0,he(bt)});return new de.w0(()=>ue?.(at))},requestAnimationFrame(...he){const{delegate:Ie}=ce;return(Ie?.requestAnimationFrame||requestAnimationFrame)(...he)},cancelAnimationFrame(...he){const{delegate:Ie}=ce;return(Ie?.cancelAnimationFrame||cancelAnimationFrame)(...he)},delegate:void 0};var j=v(5349);new class W extends j.v{flush(Ie){this._active=!0;const ue=this._scheduled;this._scheduled=void 0;const{actions:$e}=this;let at;Ie=Ie||$e.shift();do{if(at=Ie.execute(Ie.state,Ie.delay))break}while((Ie=$e[0])&&Ie.id===ue&&$e.shift());if(this._active=!1,at){for(;(Ie=$e[0])&&Ie.id===ue&&$e.shift();)Ie.unsubscribe();throw at}}}(class z extends te.o{constructor(Ie,ue){super(Ie,ue),this.scheduler=Ie,this.work=ue}requestAsyncId(Ie,ue,$e=0){return null!==$e&&$e>0?super.requestAsyncId(Ie,ue,$e):(Ie.actions.push(this),Ie._scheduled||(Ie._scheduled=ce.requestAnimationFrame(()=>Ie.flush(void 0))))}recycleAsyncId(Ie,ue,$e=0){var at;if(null!=$e?$e>0:this.delay>0)return super.recycleAsyncId(Ie,ue,$e);const{actions:bt}=Ie;null!=ue&&(null===(at=bt[bt.length-1])||void 0===at?void 0:at.id)!==ue&&(ce.cancelAnimationFrame(ue),Ie._scheduled=void 0)}});v(4453);var ge=v(6589),B=v(4049),Z=v(8299),re=v(2829),H=v(5117);function Se(he,Ie=ge.z){return function J(he){return(0,B.e)((Ie,ue)=>{let $e=!1,at=null,bt=null,Ot=!1;const Gt=()=>{if(bt?.unsubscribe(),bt=null,$e){$e=!1;const $t=at;at=null,ue.next($t)}Ot&&ue.complete()},Rt=()=>{bt=null,Ot&&ue.complete()};Ie.subscribe((0,re.x)(ue,$t=>{$e=!0,at=$t,bt||(0,Z.Xf)(he($t)).subscribe(bt=(0,re.x)(ue,Gt,Rt))},()=>{Ot=!0,(!$e||!bt||bt.closed)&&ue.complete()}))})}(()=>(0,H.H)(he,Ie))}var xe=v(1497),He=v(3844),Ne=v(9462),Pe=v(4877);let V=(()=>{class he{constructor(ue,$e,at){this._ngZone=ue,this._platform=$e,this._scrolled=new De.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=at}register(ue){this.scrollContainers.has(ue)||this.scrollContainers.set(ue,ue.elementScrolled().subscribe(()=>this._scrolled.next(ue)))}deregister(ue){const $e=this.scrollContainers.get(ue);$e&&($e.unsubscribe(),this.scrollContainers.delete(ue))}scrolled(ue=20){return this._platform.isBrowser?new ae.y($e=>{this._globalSubscription||this._addGlobalListener();const at=ue>0?this._scrolled.pipe(Se(ue)).subscribe($e):this._scrolled.subscribe($e);return this._scrolledCount++,()=>{at.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ee.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ue,$e)=>this.deregister($e)),this._scrolled.complete()}ancestorScrolled(ue,$e){const at=this.getAncestorScrollContainers(ue);return this.scrolled($e).pipe((0,xe.h)(bt=>!bt||at.indexOf(bt)>-1))}getAncestorScrollContainers(ue){const $e=[];return this.scrollContainers.forEach((at,bt)=>{this._scrollableContainsElement(bt,ue)&&$e.push(bt)}),$e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ue,$e){let at=(0,h.fI)($e),bt=ue.getElementRef().nativeElement;do{if(at==bt)return!0}while(at=at.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ue=this._getWindow();return(0,se.R)(ue.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function($e){return new($e||he)(o.LFG(o.R0b),o.LFG(He.t4),o.LFG(Ne.K0,8))};static#t=this.\u0275prov=o.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})(),R=(()=>{class he{constructor(ue,$e,at){this._platform=ue,this._change=new De.x,this._changeListener=bt=>{this._change.next(bt)},this._document=at,$e.runOutsideAngular(()=>{if(ue.isBrowser){const bt=this._getWindow();bt.addEventListener("resize",this._changeListener),bt.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ue=this._getWindow();ue.removeEventListener("resize",this._changeListener),ue.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ue={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ue}getViewportRect(){const ue=this.getViewportScrollPosition(),{width:$e,height:at}=this.getViewportSize();return{top:ue.top,left:ue.left,bottom:ue.top+at,right:ue.left+$e,height:at,width:$e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ue=this._document,$e=this._getWindow(),at=ue.documentElement,bt=at.getBoundingClientRect();return{top:-bt.top||ue.body.scrollTop||$e.scrollY||at.scrollTop||0,left:-bt.left||ue.body.scrollLeft||$e.scrollX||at.scrollLeft||0}}change(ue=20){return ue>0?this._change.pipe(Se(ue)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ue=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ue.innerWidth,height:ue.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function($e){return new($e||he)(o.LFG(He.t4),o.LFG(o.R0b),o.LFG(Ne.K0,8))};static#t=this.\u0275prov=o.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})(),lt=(()=>{class he{static#e=this.\u0275fac=function($e){return new($e||he)};static#t=this.\u0275mod=o.oAB({type:he});static#n=this.\u0275inj=o.cJS({})}return he})(),ke=(()=>{class he{static#e=this.\u0275fac=function($e){return new($e||he)};static#t=this.\u0275mod=o.oAB({type:he});static#n=this.\u0275inj=o.cJS({imports:[Pe.vT,lt,Pe.vT,lt]})}return he})()},9462:(et,Me,v)=>{"use strict";v.d(Me,{ED:()=>Di,HT:()=>Ee,JF:()=>ai,K0:()=>se,Mx:()=>nn,NF:()=>Zs,O5:()=>Li,Ov:()=>yr,PM:()=>bo,RF:()=>go,Ye:()=>B,bD:()=>Mi,ez:()=>En,mk:()=>zn,n9:()=>Kr,q:()=>De,sg:()=>ni,w_:()=>ae});var h=v(7786);let o=null;function De(){return o}function Ee(g){o||(o=g)}class ae{}const se=new h.OlP("DocumentToken");let te=(()=>{class g{historyGo(x){throw new Error("Not implemented")}static#e=this.\u0275fac=function(A){return new(A||g)};static#t=this.\u0275prov=h.Yz7({token:g,factory:function(){return(0,h.f3M)(ce)},providedIn:"platform"})}return g})(),ce=(()=>{class g extends te{constructor(){super(),this._doc=(0,h.f3M)(se),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return De().getBaseHref(this._doc)}onPopState(x){const A=De().getGlobalEventTarget(this._doc,"window");return A.addEventListener("popstate",x,!1),()=>A.removeEventListener("popstate",x)}onHashChange(x){const A=De().getGlobalEventTarget(this._doc,"window");return A.addEventListener("hashchange",x,!1),()=>A.removeEventListener("hashchange",x)}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(x){this._location.pathname=x}pushState(x,A,fe){this._history.pushState(x,A,fe)}replaceState(x,A,fe){this._history.replaceState(x,A,fe)}forward(){this._history.forward()}back(){this._history.back()}historyGo(x=0){this._history.go(x)}getState(){return this._history.state}static#e=this.\u0275fac=function(A){return new(A||g)};static#t=this.\u0275prov=h.Yz7({token:g,factory:function(){return new g},providedIn:"platform"})}return g})();function z(g,I){if(0==g.length)return I;if(0==I.length)return g;let x=0;return g.endsWith("/")&&x++,I.startsWith("/")&&x++,2==x?g+I.substring(1):1==x?g+I:g+"/"+I}function j(g){const I=g.match(/#|\?|$/),x=I&&I.index||g.length;return g.slice(0,x-("/"===g[x-1]?1:0))+g.slice(x)}function W(g){return g&&"?"!==g[0]?"?"+g:g}let ne=(()=>{class g{historyGo(x){throw new Error("Not implemented")}static#e=this.\u0275fac=function(A){return new(A||g)};static#t=this.\u0275prov=h.Yz7({token:g,factory:function(){return(0,h.f3M)(ie)},providedIn:"root"})}return g})();const le=new h.OlP("appBaseHref");let ie=(()=>{class g extends ne{constructor(x,A){super(),this._platformLocation=x,this._removeListenerFns=[],this._baseHref=A??this._platformLocation.getBaseHrefFromDOM()??(0,h.f3M)(se).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(x){this._removeListenerFns.push(this._platformLocation.onPopState(x),this._platformLocation.onHashChange(x))}getBaseHref(){return this._baseHref}prepareExternalUrl(x){return z(this._baseHref,x)}path(x=!1){const A=this._platformLocation.pathname+W(this._platformLocation.search),fe=this._platformLocation.hash;return fe&&x?`${A}${fe}`:A}pushState(x,A,fe,Je){const ht=this.prepareExternalUrl(fe+W(Je));this._platformLocation.pushState(x,A,ht)}replaceState(x,A,fe,Je){const ht=this.prepareExternalUrl(fe+W(Je));this._platformLocation.replaceState(x,A,ht)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(x=0){this._platformLocation.historyGo?.(x)}static#e=this.\u0275fac=function(A){return new(A||g)(h.LFG(te),h.LFG(le,8))};static#t=this.\u0275prov=h.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"})}return g})(),B=(()=>{class g{constructor(x){this._subject=new h.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=x;const A=this._locationStrategy.getBaseHref();this._basePath=function H(g){if(new RegExp("^(https?:)?//").test(g)){const[,x]=g.split(/\/\/[^\/]+/);return x}return g}(j(J(A))),this._locationStrategy.onPopState(fe=>{this._subject.emit({url:this.path(!0),pop:!0,state:fe.state,type:fe.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(x=!1){return this.normalize(this._locationStrategy.path(x))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(x,A=""){return this.path()==this.normalize(x+W(A))}normalize(x){return g.stripTrailingSlash(function re(g,I){if(!g||!I.startsWith(g))return I;const x=I.substring(g.length);return""===x||["/",";","?","#"].includes(x[0])?x:I}(this._basePath,J(x)))}prepareExternalUrl(x){return x&&"/"!==x[0]&&(x="/"+x),this._locationStrategy.prepareExternalUrl(x)}go(x,A="",fe=null){this._locationStrategy.pushState(fe,"",x,A),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+W(A)),fe)}replaceState(x,A="",fe=null){this._locationStrategy.replaceState(fe,"",x,A),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+W(A)),fe)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(x=0){this._locationStrategy.historyGo?.(x)}onUrlChange(x){return this._urlChangeListeners.push(x),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(A=>{this._notifyUrlChangeListeners(A.url,A.state)})),()=>{const A=this._urlChangeListeners.indexOf(x);this._urlChangeListeners.splice(A,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(x="",A){this._urlChangeListeners.forEach(fe=>fe(x,A))}subscribe(x,A,fe){return this._subject.subscribe({next:x,error:A,complete:fe})}static#e=this.normalizeQueryParams=W;static#t=this.joinWithSlash=z;static#n=this.stripTrailingSlash=j;static#i=this.\u0275fac=function(A){return new(A||g)(h.LFG(ne))};static#o=this.\u0275prov=h.Yz7({token:g,factory:function(){return function Z(){return new B((0,h.LFG)(ne))}()},providedIn:"root"})}return g})();function J(g){return g.replace(/\/index.html$/,"")}function nn(g,I){I=encodeURIComponent(I);for(const x of g.split(";")){const A=x.indexOf("="),[fe,Je]=-1==A?[x,""]:[x.slice(0,A),x.slice(A+1)];if(fe.trim()===I)return decodeURIComponent(Je)}return null}const dn=/\s+/,_i=[];let zn=(()=>{class g{constructor(x,A,fe,Je){this._iterableDiffers=x,this._keyValueDiffers=A,this._ngEl=fe,this._renderer=Je,this.initialClasses=_i,this.stateMap=new Map}set klass(x){this.initialClasses=null!=x?x.trim().split(dn):_i}set ngClass(x){this.rawClass="string"==typeof x?x.trim().split(dn):x}ngDoCheck(){for(const A of this.initialClasses)this._updateState(A,!0);const x=this.rawClass;if(Array.isArray(x)||x instanceof Set)for(const A of x)this._updateState(A,!0);else if(null!=x)for(const A of Object.keys(x))this._updateState(A,!!x[A]);this._applyStateDiff()}_updateState(x,A){const fe=this.stateMap.get(x);void 0!==fe?(fe.enabled!==A&&(fe.changed=!0,fe.enabled=A),fe.touched=!0):this.stateMap.set(x,{enabled:A,changed:!0,touched:!0})}_applyStateDiff(){for(const x of this.stateMap){const A=x[0],fe=x[1];fe.changed?(this._toggleClass(A,fe.enabled),fe.changed=!1):fe.touched||(fe.enabled&&this._toggleClass(A,!1),this.stateMap.delete(A)),fe.touched=!1}}_toggleClass(x,A){(x=x.trim()).length>0&&x.split(dn).forEach(fe=>{A?this._renderer.addClass(this._ngEl.nativeElement,fe):this._renderer.removeClass(this._ngEl.nativeElement,fe)})}static#e=this.\u0275fac=function(A){return new(A||g)(h.Y36(h.ZZ4),h.Y36(h.aQg),h.Y36(h.SBq),h.Y36(h.Qsj))};static#t=this.\u0275dir=h.lG2({type:g,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return g})();class Zn{constructor(I,x,A,fe){this.$implicit=I,this.ngForOf=x,this.index=A,this.count=fe}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 ni=(()=>{class g{set ngForOf(x){this._ngForOf=x,this._ngForOfDirty=!0}set ngForTrackBy(x){this._trackByFn=x}get ngForTrackBy(){return this._trackByFn}constructor(x,A,fe){this._viewContainer=x,this._template=A,this._differs=fe,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(x){x&&(this._template=x)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const x=this._ngForOf;!this._differ&&x&&(this._differ=this._differs.find(x).create(this.ngForTrackBy))}if(this._differ){const x=this._differ.diff(this._ngForOf);x&&this._applyChanges(x)}}_applyChanges(x){const A=this._viewContainer;x.forEachOperation((fe,Je,ht)=>{if(null==fe.previousIndex)A.createEmbeddedView(this._template,new Zn(fe.item,this._ngForOf,-1,-1),null===ht?void 0:ht);else if(null==ht)A.remove(null===Je?void 0:Je);else if(null!==Je){const It=A.get(Je);A.move(It,ht),xn(It,fe)}});for(let fe=0,Je=A.length;fe<Je;fe++){const It=A.get(fe).context;It.index=fe,It.count=Je,It.ngForOf=this._ngForOf}x.forEachIdentityChange(fe=>{xn(A.get(fe.currentIndex),fe)})}static ngTemplateContextGuard(x,A){return!0}static#e=this.\u0275fac=function(A){return new(A||g)(h.Y36(h.s_b),h.Y36(h.Rgc),h.Y36(h.ZZ4))};static#t=this.\u0275dir=h.lG2({type:g,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return g})();function xn(g,I){g.context.$implicit=I.item}let Li=(()=>{class g{constructor(x,A){this._viewContainer=x,this._context=new Bi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=A}set ngIf(x){this._context.$implicit=this._context.ngIf=x,this._updateView()}set ngIfThen(x){Zi("ngIfThen",x),this._thenTemplateRef=x,this._thenViewRef=null,this._updateView()}set ngIfElse(x){Zi("ngIfElse",x),this._elseTemplateRef=x,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(x,A){return!0}static#e=this.\u0275fac=function(A){return new(A||g)(h.Y36(h.s_b),h.Y36(h.Rgc))};static#t=this.\u0275dir=h.lG2({type:g,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return g})();class Bi{constructor(){this.$implicit=null,this.ngIf=null}}function Zi(g,I){if(I&&!I.createEmbeddedView)throw new Error(`${g} must be a TemplateRef, but received '${(0,h.AaK)(I)}'.`)}class Vn{constructor(I,x){this._viewContainerRef=I,this._templateRef=x,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(I){I&&!this._created?this.create():!I&&this._created&&this.destroy()}}let go=(()=>{class g{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(x){this._ngSwitch=x,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(x){this._defaultViews.push(x)}_matchCase(x){const A=x==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||A,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),A}_updateDefaultCases(x){if(this._defaultViews.length>0&&x!==this._defaultUsed){this._defaultUsed=x;for(const A of this._defaultViews)A.enforceState(x)}}static#e=this.\u0275fac=function(A){return new(A||g)};static#t=this.\u0275dir=h.lG2({type:g,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return g})(),Kr=(()=>{class g{constructor(x,A,fe){this.ngSwitch=fe,fe._addCase(),this._view=new Vn(x,A)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(A){return new(A||g)(h.Y36(h.s_b),h.Y36(h.Rgc),h.Y36(go,9))};static#t=this.\u0275dir=h.lG2({type:g,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return g})(),Di=(()=>{class g{constructor(x,A,fe){fe._addDefault(new Vn(x,A))}static#e=this.\u0275fac=function(A){return new(A||g)(h.Y36(h.s_b),h.Y36(h.Rgc),h.Y36(go,9))};static#t=this.\u0275dir=h.lG2({type:g,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return g})();class vr{createSubscription(I,x){return(0,h.rg0)(()=>I.subscribe({next:x,error:A=>{throw A}}))}dispose(I){(0,h.rg0)(()=>I.unsubscribe())}}class Zr{createSubscription(I,x){return I.then(x,A=>{throw A})}dispose(I){}}const tr=new Zr,qr=new vr;let yr=(()=>{class g{constructor(x){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=x}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(x){return this._obj?x!==this._obj?(this._dispose(),this.transform(x)):this._latestValue:(x&&this._subscribe(x),this._latestValue)}_subscribe(x){this._obj=x,this._strategy=this._selectStrategy(x),this._subscription=this._strategy.createSubscription(x,A=>this._updateLatestValue(x,A))}_selectStrategy(x){if((0,h.QGY)(x))return tr;if((0,h.F4k)(x))return qr;throw function fi(g,I){return new h.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(x,A){x===this._obj&&(this._latestValue=A,this._ref.markForCheck())}static#e=this.\u0275fac=function(A){return new(A||g)(h.Y36(h.sBO,16))};static#t=this.\u0275pipe=h.Yjl({name:"async",type:g,pure:!1,standalone:!0})}return g})(),En=(()=>{class g{static#e=this.\u0275fac=function(A){return new(A||g)};static#t=this.\u0275mod=h.oAB({type:g});static#n=this.\u0275inj=h.cJS({})}return g})();const Mi="browser",Gn="server";function Zs(g){return g===Mi}function bo(g){return g===Gn}class ai{}},9272:(et,Me,v)=>{"use strict";v.d(Me,{eN:()=>P,JF:()=>yt});var h=v(7786),o=v(9627),De=v(107),Ee=v(7371),ae=v(5123),se=v(3276),de=v(1497),ce=v(8412),z=v(1927),j=v(2835),W=v(9462);class ne{}class le{}class ie{constructor(E){this.normalizedNames=new Map,this.lazyUpdate=null,E?"string"==typeof E?this.lazyInit=()=>{this.headers=new Map,E.split("\n").forEach(Y=>{const Be=Y.indexOf(":");if(Be>0){const Qe=Y.slice(0,Be),We=Qe.toLowerCase(),tt=Y.slice(Be+1).trim();this.maybeSetNormalizedName(Qe,We),this.headers.has(We)?this.headers.get(We).push(tt):this.headers.set(We,[tt])}})}:typeof Headers<"u"&&E instanceof Headers?(this.headers=new Map,E.forEach((Y,Be)=>{this.setHeaderEntries(Be,Y)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(E).forEach(([Y,Be])=>{this.setHeaderEntries(Y,Be)})}:this.headers=new Map}has(E){return this.init(),this.headers.has(E.toLowerCase())}get(E){this.init();const Y=this.headers.get(E.toLowerCase());return Y&&Y.length>0?Y[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(E){return this.init(),this.headers.get(E.toLowerCase())||null}append(E,Y){return this.clone({name:E,value:Y,op:"a"})}set(E,Y){return this.clone({name:E,value:Y,op:"s"})}delete(E,Y){return this.clone({name:E,value:Y,op:"d"})}maybeSetNormalizedName(E,Y){this.normalizedNames.has(Y)||this.normalizedNames.set(Y,E)}init(){this.lazyInit&&(this.lazyInit instanceof ie?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(E=>this.applyUpdate(E)),this.lazyUpdate=null))}copyFrom(E){E.init(),Array.from(E.headers.keys()).forEach(Y=>{this.headers.set(Y,E.headers.get(Y)),this.normalizedNames.set(Y,E.normalizedNames.get(Y))})}clone(E){const Y=new ie;return Y.lazyInit=this.lazyInit&&this.lazyInit instanceof ie?this.lazyInit:this,Y.lazyUpdate=(this.lazyUpdate||[]).concat([E]),Y}applyUpdate(E){const Y=E.name.toLowerCase();switch(E.op){case"a":case"s":let Be=E.value;if("string"==typeof Be&&(Be=[Be]),0===Be.length)return;this.maybeSetNormalizedName(E.name,Y);const Qe=("a"===E.op?this.headers.get(Y):void 0)||[];Qe.push(...Be),this.headers.set(Y,Qe);break;case"d":const We=E.value;if(We){let tt=this.headers.get(Y);if(!tt)return;tt=tt.filter(wt=>-1===We.indexOf(wt)),0===tt.length?(this.headers.delete(Y),this.normalizedNames.delete(Y)):this.headers.set(Y,tt)}else this.headers.delete(Y),this.normalizedNames.delete(Y)}}setHeaderEntries(E,Y){const Be=(Array.isArray(Y)?Y:[Y]).map(We=>We.toString()),Qe=E.toLowerCase();this.headers.set(Qe,Be),this.maybeSetNormalizedName(E,Qe)}forEach(E){this.init(),Array.from(this.normalizedNames.keys()).forEach(Y=>E(this.normalizedNames.get(Y),this.headers.get(Y)))}}class B{encodeKey(E){return H(E)}encodeValue(E){return H(E)}decodeKey(E){return decodeURIComponent(E)}decodeValue(E){return decodeURIComponent(E)}}const re=/%(\d[a-f0-9])/gi,J={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function H(w){return encodeURIComponent(w).replace(re,(E,Y)=>J[Y]??E)}function Se(w){return`${w}`}class xe{constructor(E={}){if(this.updates=null,this.cloneFrom=null,this.encoder=E.encoder||new B,E.fromString){if(E.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Z(w,E){const Y=new Map;return w.length>0&&w.replace(/^\?/,"").split("&").forEach(Qe=>{const We=Qe.indexOf("="),[tt,wt]=-1==We?[E.decodeKey(Qe),""]:[E.decodeKey(Qe.slice(0,We)),E.decodeValue(Qe.slice(We+1))],mt=Y.get(tt)||[];mt.push(wt),Y.set(tt,mt)}),Y}(E.fromString,this.encoder)}else E.fromObject?(this.map=new Map,Object.keys(E.fromObject).forEach(Y=>{const Be=E.fromObject[Y],Qe=Array.isArray(Be)?Be.map(Se):[Se(Be)];this.map.set(Y,Qe)})):this.map=null}has(E){return this.init(),this.map.has(E)}get(E){this.init();const Y=this.map.get(E);return Y?Y[0]:null}getAll(E){return this.init(),this.map.get(E)||null}keys(){return this.init(),Array.from(this.map.keys())}append(E,Y){return this.clone({param:E,value:Y,op:"a"})}appendAll(E){const Y=[];return Object.keys(E).forEach(Be=>{const Qe=E[Be];Array.isArray(Qe)?Qe.forEach(We=>{Y.push({param:Be,value:We,op:"a"})}):Y.push({param:Be,value:Qe,op:"a"})}),this.clone(Y)}set(E,Y){return this.clone({param:E,value:Y,op:"s"})}delete(E,Y){return this.clone({param:E,value:Y,op:"d"})}toString(){return this.init(),this.keys().map(E=>{const Y=this.encoder.encodeKey(E);return this.map.get(E).map(Be=>Y+"="+this.encoder.encodeValue(Be)).join("&")}).filter(E=>""!==E).join("&")}clone(E){const Y=new xe({encoder:this.encoder});return Y.cloneFrom=this.cloneFrom||this,Y.updates=(this.updates||[]).concat(E),Y}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(E=>this.map.set(E,this.cloneFrom.map.get(E))),this.updates.forEach(E=>{switch(E.op){case"a":case"s":const Y=("a"===E.op?this.map.get(E.param):void 0)||[];Y.push(Se(E.value)),this.map.set(E.param,Y);break;case"d":if(void 0===E.value){this.map.delete(E.param);break}{let Be=this.map.get(E.param)||[];const Qe=Be.indexOf(Se(E.value));-1!==Qe&&Be.splice(Qe,1),Be.length>0?this.map.set(E.param,Be):this.map.delete(E.param)}}}),this.cloneFrom=this.updates=null)}}class Ne{constructor(){this.map=new Map}set(E,Y){return this.map.set(E,Y),this}get(E){return this.map.has(E)||this.map.set(E,E.defaultValue()),this.map.get(E)}delete(E){return this.map.delete(E),this}has(E){return this.map.has(E)}keys(){return this.map.keys()}}function ct(w){return typeof ArrayBuffer<"u"&&w instanceof ArrayBuffer}function me(w){return typeof Blob<"u"&&w instanceof Blob}function Ke(w){return typeof FormData<"u"&&w instanceof FormData}class je{constructor(E,Y,Be,Qe){let We;if(this.url=Y,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=E.toUpperCase(),function Pe(w){switch(w){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Qe?(this.body=void 0!==Be?Be:null,We=Qe):We=Be,We&&(this.reportProgress=!!We.reportProgress,this.withCredentials=!!We.withCredentials,We.responseType&&(this.responseType=We.responseType),We.headers&&(this.headers=We.headers),We.context&&(this.context=We.context),We.params&&(this.params=We.params)),this.headers||(this.headers=new ie),this.context||(this.context=new Ne),this.params){const tt=this.params.toString();if(0===tt.length)this.urlWithParams=Y;else{const wt=Y.indexOf("?");this.urlWithParams=Y+(-1===wt?"?":wt<Y.length-1?"&":"")+tt}}else this.params=new xe,this.urlWithParams=Y}serializeBody(){return null===this.body?null:ct(this.body)||me(this.body)||Ke(this.body)||function ve(w){return typeof URLSearchParams<"u"&&w instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof xe?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Ke(this.body)?null:me(this.body)?this.body.type||null:ct(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof xe?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(E={}){const Y=E.method||this.method,Be=E.url||this.url,Qe=E.responseType||this.responseType,We=void 0!==E.body?E.body:this.body,tt=void 0!==E.withCredentials?E.withCredentials:this.withCredentials,wt=void 0!==E.reportProgress?E.reportProgress:this.reportProgress;let mt=E.headers||this.headers,Vt=E.params||this.params;const sn=E.context??this.context;return void 0!==E.setHeaders&&(mt=Object.keys(E.setHeaders).reduce((nn,dn)=>nn.set(dn,E.setHeaders[dn]),mt)),E.setParams&&(Vt=Object.keys(E.setParams).reduce((nn,dn)=>nn.set(dn,E.setParams[dn]),Vt)),new je(Y,Be,We,{params:Vt,headers:mt,context:sn,reportProgress:wt,responseType:Qe,withCredentials:tt})}}var Xe=function(w){return w[w.Sent=0]="Sent",w[w.UploadProgress=1]="UploadProgress",w[w.ResponseHeader=2]="ResponseHeader",w[w.DownloadProgress=3]="DownloadProgress",w[w.Response=4]="Response",w[w.User=5]="User",w}(Xe||{});class ze{constructor(E,Y=200,Be="OK"){this.headers=E.headers||new ie,this.status=void 0!==E.status?E.status:Y,this.statusText=E.statusText||Be,this.url=E.url||null,this.ok=this.status>=200&&this.status<300}}class V extends ze{constructor(E={}){super(E),this.type=Xe.ResponseHeader}clone(E={}){return new V({headers:E.headers||this.headers,status:void 0!==E.status?E.status:this.status,statusText:E.statusText||this.statusText,url:E.url||this.url||void 0})}}class K extends ze{constructor(E={}){super(E),this.type=Xe.Response,this.body=void 0!==E.body?E.body:null}clone(E={}){return new K({body:void 0!==E.body?E.body:this.body,headers:E.headers||this.headers,status:void 0!==E.status?E.status:this.status,statusText:E.statusText||this.statusText,url:E.url||this.url||void 0})}}class F extends ze{constructor(E){super(E,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${E.url||"(unknown url)"}`:`Http failure response for ${E.url||"(unknown url)"}: ${E.status} ${E.statusText}`,this.error=E.error||null}}function R(w,E){return{body:E,headers:w.headers,context:w.context,observe:w.observe,params:w.params,reportProgress:w.reportProgress,responseType:w.responseType,withCredentials:w.withCredentials}}let P=(()=>{class w{constructor(Y){this.handler=Y}request(Y,Be,Qe={}){let We;if(Y instanceof je)We=Y;else{let mt,Vt;mt=Qe.headers instanceof ie?Qe.headers:new ie(Qe.headers),Qe.params&&(Vt=Qe.params instanceof xe?Qe.params:new xe({fromObject:Qe.params})),We=new je(Y,Be,void 0!==Qe.body?Qe.body:null,{headers:mt,context:Qe.context,params:Vt,reportProgress:Qe.reportProgress,responseType:Qe.responseType||"json",withCredentials:Qe.withCredentials})}const tt=(0,o.of)(We).pipe(function te(w,E){return(0,se.m)(E)?(0,ae.z)(w,E,1):(0,ae.z)(w,1)}(mt=>this.handler.handle(mt)));if(Y instanceof je||"events"===Qe.observe)return tt;const wt=tt.pipe((0,de.h)(mt=>mt instanceof K));switch(Qe.observe||"body"){case"body":switch(We.responseType){case"arraybuffer":return wt.pipe((0,ce.U)(mt=>{if(null!==mt.body&&!(mt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return mt.body}));case"blob":return wt.pipe((0,ce.U)(mt=>{if(null!==mt.body&&!(mt.body instanceof Blob))throw new Error("Response is not a Blob.");return mt.body}));case"text":return wt.pipe((0,ce.U)(mt=>{if(null!==mt.body&&"string"!=typeof mt.body)throw new Error("Response is not a string.");return mt.body}));default:return wt.pipe((0,ce.U)(mt=>mt.body))}case"response":return wt;default:throw new Error(`Unreachable: unhandled observe type ${Qe.observe}}`)}}delete(Y,Be={}){return this.request("DELETE",Y,Be)}get(Y,Be={}){return this.request("GET",Y,Be)}head(Y,Be={}){return this.request("HEAD",Y,Be)}jsonp(Y,Be){return this.request("JSONP",Y,{params:(new xe).append(Be,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Y,Be={}){return this.request("OPTIONS",Y,Be)}patch(Y,Be,Qe={}){return this.request("PATCH",Y,R(Qe,Be))}post(Y,Be,Qe={}){return this.request("POST",Y,R(Qe,Be))}put(Y,Be,Qe={}){return this.request("PUT",Y,R(Qe,Be))}static#e=this.\u0275fac=function(Be){return new(Be||w)(h.LFG(ne))};static#t=this.\u0275prov=h.Yz7({token:w,factory:w.\u0275fac})}return w})();function dt(w,E){return E(w)}function lt(w,E){return(Y,Be)=>E.intercept(Y,{handle:Qe=>w(Qe,Be)})}const he=new h.OlP(""),Ie=new h.OlP(""),ue=new h.OlP("");function $e(){let w=null;return(E,Y)=>{null===w&&(w=((0,h.f3M)(he,{optional:!0})??[]).reduceRight(lt,dt));const Be=(0,h.f3M)(h.HDt),Qe=Be.add();return w(E,Y).pipe((0,z.x)(()=>Be.remove(Qe)))}}let at=(()=>{class w extends ne{constructor(Y,Be){super(),this.backend=Y,this.injector=Be,this.chain=null,this.pendingTasks=(0,h.f3M)(h.HDt)}handle(Y){if(null===this.chain){const Qe=Array.from(new Set([...this.injector.get(Ie),...this.injector.get(ue,[])]));this.chain=Qe.reduceRight((We,tt)=>function ke(w,E,Y){return(Be,Qe)=>Y.runInContext(()=>E(Be,We=>w(We,Qe)))}(We,tt,this.injector),dt)}const Be=this.pendingTasks.add();return this.chain(Y,Qe=>this.backend.handle(Qe)).pipe((0,z.x)(()=>this.pendingTasks.remove(Be)))}static#e=this.\u0275fac=function(Be){return new(Be||w)(h.LFG(le),h.LFG(h.lqb))};static#t=this.\u0275prov=h.Yz7({token:w,factory:w.\u0275fac})}return w})();const Ut=/^\)\]\}',?\n/;let $n=(()=>{class w{constructor(Y){this.xhrFactory=Y}handle(Y){if("JSONP"===Y.method)throw new h.vHH(-2800,!1);const Be=this.xhrFactory;return(Be.\u0275loadImpl?(0,De.D)(Be.\u0275loadImpl()):(0,o.of)(null)).pipe((0,j.w)(()=>new Ee.y(We=>{const tt=Be.build();if(tt.open(Y.method,Y.urlWithParams),Y.withCredentials&&(tt.withCredentials=!0),Y.headers.forEach((rn,fn)=>tt.setRequestHeader(rn,fn.join(","))),Y.headers.has("Accept")||tt.setRequestHeader("Accept","application/json, text/plain, */*"),!Y.headers.has("Content-Type")){const rn=Y.detectContentTypeHeader();null!==rn&&tt.setRequestHeader("Content-Type",rn)}if(Y.responseType){const rn=Y.responseType.toLowerCase();tt.responseType="json"!==rn?rn:"text"}const wt=Y.serializeBody();let mt=null;const Vt=()=>{if(null!==mt)return mt;const rn=tt.statusText||"OK",fn=new ie(tt.getAllResponseHeaders()),Zn=function hn(w){return"responseURL"in w&&w.responseURL?w.responseURL:/^X-Request-URL:/m.test(w.getAllResponseHeaders())?w.getResponseHeader("X-Request-URL"):null}(tt)||Y.url;return mt=new V({headers:fn,status:tt.status,statusText:rn,url:Zn}),mt},sn=()=>{let{headers:rn,status:fn,statusText:Zn,url:ni}=Vt(),xn=null;204!==fn&&(xn=typeof tt.response>"u"?tt.responseText:tt.response),0===fn&&(fn=xn?200:0);let co=fn>=200&&fn<300;if("json"===Y.responseType&&"string"==typeof xn){const Li=xn;xn=xn.replace(Ut,"");try{xn=""!==xn?JSON.parse(xn):null}catch(Bi){xn=Li,co&&(co=!1,xn={error:Bi,text:xn})}}co?(We.next(new K({body:xn,headers:rn,status:fn,statusText:Zn,url:ni||void 0})),We.complete()):We.error(new F({error:xn,headers:rn,status:fn,statusText:Zn,url:ni||void 0}))},nn=rn=>{const{url:fn}=Vt(),Zn=new F({error:rn,status:tt.status||0,statusText:tt.statusText||"Unknown Error",url:fn||void 0});We.error(Zn)};let dn=!1;const _i=rn=>{dn||(We.next(Vt()),dn=!0);let fn={type:Xe.DownloadProgress,loaded:rn.loaded};rn.lengthComputable&&(fn.total=rn.total),"text"===Y.responseType&&tt.responseText&&(fn.partialText=tt.responseText),We.next(fn)},zn=rn=>{let fn={type:Xe.UploadProgress,loaded:rn.loaded};rn.lengthComputable&&(fn.total=rn.total),We.next(fn)};return tt.addEventListener("load",sn),tt.addEventListener("error",nn),tt.addEventListener("timeout",nn),tt.addEventListener("abort",nn),Y.reportProgress&&(tt.addEventListener("progress",_i),null!==wt&&tt.upload&&tt.upload.addEventListener("progress",zn)),tt.send(wt),We.next({type:Xe.Sent}),()=>{tt.removeEventListener("error",nn),tt.removeEventListener("abort",nn),tt.removeEventListener("load",sn),tt.removeEventListener("timeout",nn),Y.reportProgress&&(tt.removeEventListener("progress",_i),null!==wt&&tt.upload&&tt.upload.removeEventListener("progress",zn)),tt.readyState!==tt.DONE&&tt.abort()}})))}static#e=this.\u0275fac=function(Be){return new(Be||w)(h.LFG(W.JF))};static#t=this.\u0275prov=h.Yz7({token:w,factory:w.\u0275fac})}return w})();const tn=new h.OlP("XSRF_ENABLED"),Ht=new h.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Nn=new h.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Sn{}let In=(()=>{class w{constructor(Y,Be,Qe){this.doc=Y,this.platform=Be,this.cookieName=Qe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Y=this.doc.cookie||"";return Y!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,W.Mx)(Y,this.cookieName),this.lastCookieString=Y),this.lastToken}static#e=this.\u0275fac=function(Be){return new(Be||w)(h.LFG(W.K0),h.LFG(h.Lbi),h.LFG(Ht))};static#t=this.\u0275prov=h.Yz7({token:w,factory:w.\u0275fac})}return w})();function Dn(w,E){const Y=w.url.toLowerCase();if(!(0,h.f3M)(tn)||"GET"===w.method||"HEAD"===w.method||Y.startsWith("http://")||Y.startsWith("https://"))return E(w);const Be=(0,h.f3M)(Sn).getToken(),Qe=(0,h.f3M)(Nn);return null!=Be&&!w.headers.has(Qe)&&(w=w.clone({headers:w.headers.set(Qe,Be)})),E(w)}var gn=function(w){return w[w.Interceptors=0]="Interceptors",w[w.LegacyInterceptors=1]="LegacyInterceptors",w[w.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",w[w.NoXsrfProtection=3]="NoXsrfProtection",w[w.JsonpSupport=4]="JsonpSupport",w[w.RequestsMadeViaParent=5]="RequestsMadeViaParent",w[w.Fetch=6]="Fetch",w}(gn||{});function Ve(...w){const E=[P,$n,at,{provide:ne,useExisting:at},{provide:le,useExisting:$n},{provide:Ie,useValue:Dn,multi:!0},{provide:tn,useValue:!0},{provide:Sn,useClass:In}];for(const Y of w)E.push(...Y.\u0275providers);return(0,h.MR2)(E)}const Oe=new h.OlP("LEGACY_INTERCEPTOR_FN");function ye(){return function Ze(w,E){return{\u0275kind:w,\u0275providers:E}}(gn.LegacyInterceptors,[{provide:Oe,useFactory:$e},{provide:Ie,useExisting:Oe,multi:!0}])}let yt=(()=>{class w{static#e=this.\u0275fac=function(Be){return new(Be||w)};static#t=this.\u0275mod=h.oAB({type:w});static#n=this.\u0275inj=h.cJS({providers:[Ve(ye())]})}return w})()},7786:(et,Me,v)=>{"use strict";v.d(Me,{$8M:()=>Vl,$Z:()=>k_,AFp:()=>Eh,ALo:()=>uy,AaK:()=>W,BQk:()=>nf,CHM:()=>cs,CRH:()=>Ay,DdM:()=>iy,EJc:()=>vE,EiD:()=>Nr,EpF:()=>Cb,F$t:()=>Ib,F4k:()=>Db,FYo:()=>Rh,FiY:()=>Or,G48:()=>QE,Gf:()=>My,GfV:()=>Ph,GkF:()=>Lm,Gpc:()=>ie,HDt:()=>qy,Hsn:()=>Ob,Ikx:()=>Km,JOm:()=>Sc,JVY:()=>Tp,JZr:()=>J,KtG:()=>la,L6k:()=>Ap,LAX:()=>d_,LFG:()=>xt,Lbi:()=>wd,Lck:()=>rD,MAs:()=>yb,MR2:()=>Qo,NdJ:()=>$m,O4$:()=>fa,Ojb:()=>Gp,OlP:()=>un,Oqu:()=>Ym,Q6J:()=>Pm,QGY:()=>Bm,QbO:()=>zp,Qsj:()=>sm,R0b:()=>Le,RDi:()=>l_,Rgc:()=>Xd,SBq:()=>ja,Suo:()=>Ty,TTD:()=>an,TgZ:()=>Xh,Tol:()=>Kb,Udp:()=>zm,VKq:()=>oy,VuI:()=>MM,W1O:()=>ky,WLB:()=>ry,Xpm:()=>vr,Y36:()=>il,YNc:()=>_b,Yjl:()=>Ks,Yz7:()=>lt,ZZ4:()=>Mg,_Bn:()=>Kv,_UZ:()=>Nm,_Vd:()=>Va,_c5:()=>pM,_uU:()=>tv,aQg:()=>Tg,cJS:()=>he,cg1:()=>qm,d8E:()=>Zm,dDg:()=>VE,dqk:()=>Ut,eBb:()=>Sp,eFA:()=>c0,ekj:()=>Gm,eoX:()=>n0,f3M:()=>ot,g9A:()=>Th,h0i:()=>Ka,hGG:()=>mM,hij:()=>af,iGM:()=>Ey,ifc:()=>Be,jDz:()=>qv,kL8:()=>yv,lG2:()=>Qr,lcZ:()=>hy,lqb:()=>Ro,lri:()=>e0,mCW:()=>Vc,n5z:()=>Su,n_E:()=>hf,oAB:()=>yr,oJD:()=>bh,oxw:()=>Sb,pB0:()=>Ip,q3G:()=>Br,qLn:()=>l,qOj:()=>Mm,qZA:()=>ef,qzn:()=>Ns,rWj:()=>t0,rg0:()=>fe,sBO:()=>XE,s_b:()=>mf,soG:()=>_f,tp0:()=>Ds,uIk:()=>Am,vHH:()=>H,vpe:()=>b,wAp:()=>gl,xi3:()=>fy,xp6:()=>I_,ynx:()=>tf,z2F:()=>yl,z3N:()=>Zo,zSh:()=>Yc,zs3:()=>fo});var h=v(9453),o=v(9592),De=v(7371),Ee=v(4991),ae=v(1625),se=v(9627),te=v(3949),de=v(2835),ce=v(4263);function z(e){for(let t in e)if(e[t]===z)return t;throw Error("Could not find renamed property on target object.")}function j(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function W(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(W).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 ne(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const le=z({__forward_ref__:z});function ie(e){return e.__forward_ref__=ie,e.toString=function(){return W(this())},e}function ge(e){return B(e)?e():e}function B(e){return"function"==typeof e&&e.hasOwnProperty(le)&&e.__forward_ref__===ie}function Z(e){return e&&!!e.\u0275providers}const J="https://g.co/ng/security#xss";class H extends Error{constructor(t,n){super(function Se(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function xe(e){return"string"==typeof e?e:null==e?"":String(e)}function me(e,t){throw new H(-201,!1)}function Ae(e,t){null==e&&function Ue(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function lt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function he(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ie(e){return $e(e,Ot)||$e(e,Rt)}function $e(e,t){return e.hasOwnProperty(t)?e[t]:null}function bt(e){return e&&(e.hasOwnProperty(Gt)||e.hasOwnProperty($t))?e[Gt]:null}const Ot=z({\u0275prov:z}),Gt=z({\u0275inj:z}),Rt=z({ngInjectableDef:z}),$t=z({ngInjectorDef:z});var Tt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Tt||{});let Lt;function kt(e){const t=Lt;return Lt=e,t}function ei(e,t,n){const r=Ie(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Tt.Optional?null:void 0!==t?t:void me(W(e))}const Ut=globalThis,Ve={},oe="__NG_DI_FLAG__",Oe="ngTempTokenPath",pe=/\n/gm,G="__source";let N;function qe(e){const t=N;return N=e,t}function yt(e,t=Tt.Default){if(void 0===N)throw new H(-203,!1);return null===N?ei(e,void 0,t):N.get(e,t&Tt.Optional?null:void 0,t)}function xt(e,t=Tt.Default){return(function Ct(){return Lt}()||yt)(ge(e),t)}function ot(e,t=Tt.Default){return xt(e,U(t))}function U(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function we(e){const t=[];for(let n=0;n<e.length;n++){const r=ge(e[n]);if(Array.isArray(r)){if(0===r.length)throw new H(900,!1);let c,u=Tt.Default;for(let f=0;f<r.length;f++){const m=r[f],_=rt(m);"number"==typeof _?-1===_?c=m.token:u|=_:c=m}t.push(xt(c,u))}else t.push(xt(r))}return t}function Fe(e,t){return e[oe]=t,e.prototype[oe]=t,e}function rt(e){return e[oe]}function E(e){return{toString:e}.toString()}var Y=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Y||{}),Be=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Be||{});const Qe={},We=[],tt=z({\u0275cmp:z}),wt=z({\u0275dir:z}),mt=z({\u0275pipe:z}),Vt=z({\u0275mod:z}),sn=z({\u0275fac:z}),nn=z({__NG_ELEMENT_ID__:z}),dn=z({__NG_ENV_ID__:z});function _i(e,t,n){let r=e.length;for(;;){const c=e.indexOf(t,n);if(-1===c)return c;if(0===c||e.charCodeAt(c-1)<=32){const u=t.length;if(c+u===r||e.charCodeAt(c+u)<=32)return c}n=c+1}}function zn(e,t,n){let r=0;for(;r<n.length;){const c=n[r];if("number"==typeof c){if(0!==c)break;r++;const u=n[r++],f=n[r++],m=n[r++];e.setAttribute(t,f,m,u)}else{const u=c,f=n[++r];fn(u)?e.setProperty(t,u,f):e.setAttribute(t,u,f),r++}}return r}function rn(e){return 3===e||4===e||6===e}function fn(e){return 64===e.charCodeAt(0)}function Zn(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const c=t[r];"number"==typeof c?n=c:0===n||ni(e,n,c,null,-1===n||2===n?t[++r]:null)}}return e}function ni(e,t,n,r,c){let u=0,f=e.length;if(-1===t)f=-1;else for(;u<e.length;){const m=e[u++];if("number"==typeof m){if(m===t){f=-1;break}if(m>t){f=u-1;break}}}for(;u<e.length;){const m=e[u];if("number"==typeof m)break;if(m===n){if(null===r)return void(null!==c&&(e[u+1]=c));if(r===e[u+1])return void(e[u+2]=c)}u++,null!==r&&u++,null!==c&&u++}-1!==f&&(e.splice(f,0,t),u=f+1),e.splice(u++,0,n),null!==r&&e.splice(u++,0,r),null!==c&&e.splice(u++,0,c)}const xn="ng-template";function co(e,t,n){let r=0,c=!0;for(;r<e.length;){let u=e[r++];if("string"==typeof u&&c){const f=e[r++];if(n&&"class"===u&&-1!==_i(f.toLowerCase(),t,0))return!0}else{if(1===u){for(;r<e.length&&"string"==typeof(u=e[r++]);)if(u.toLowerCase()===t)return!0;return!1}"number"==typeof u&&(c=!1)}}return!1}function Li(e){return 4===e.type&&e.value!==xn}function Bi(e,t,n){return t===(4!==e.type||n?e.value:xn)}function Zi(e,t,n){let r=4;const c=e.attrs||[],u=function ii(e){for(let t=0;t<e.length;t++)if(rn(e[t]))return t;return e.length}(c);let f=!1;for(let m=0;m<t.length;m++){const _=t[m];if("number"!=typeof _){if(!f)if(4&r){if(r=2|1&r,""!==_&&!Bi(e,_,n)||""===_&&1===t.length){if(Vn(r))return!1;f=!0}}else{const C=8&r?_:t[++m];if(8&r&&null!==e.attrs){if(!co(e.attrs,C,n)){if(Vn(r))return!1;f=!0}continue}const X=go(8&r?"class":_,c,Li(e),n);if(-1===X){if(Vn(r))return!1;f=!0;continue}if(""!==C){let Re;Re=X>u?"":c[X+1].toLowerCase();const Ge=8&r?Re:null;if(Ge&&-1!==_i(Ge,C,0)||2&r&&C!==Re){if(Vn(r))return!1;f=!0}}}}else{if(!f&&!Vn(r)&&!Vn(_))return!1;if(f&&Vn(_))continue;f=!1,r=_|1&r}}return Vn(r)||f}function Vn(e){return 0==(1&e)}function go(e,t,n,r){if(null===t)return-1;let c=0;if(r||!n){let u=!1;for(;c<t.length;){const f=t[c];if(f===e)return c;if(3===f||6===f)u=!0;else{if(1===f||2===f){let m=t[++c];for(;"string"==typeof m;)m=t[++c];continue}if(4===f)break;if(0===f){c+=4;continue}}c+=u?1:2}return-1}return function $i(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Kr(e,t,n=!1){for(let r=0;r<t.length;r++)if(Zi(e,t[r],n))return!0;return!1}function oi(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let c=0;c<e.length;c++)if(e[c]!==r[c])continue e;return!0}}return!1}function qi(e,t){return e?":not("+t.trim()+")":t}function Ws(e){let t=e[0],n=1,r=2,c="",u=!1;for(;n<e.length;){let f=e[n];if("string"==typeof f)if(2&r){const m=e[++n];c+="["+f+(m.length>0?'="'+m+'"':"")+"]"}else 8&r?c+="."+f:4&r&&(c+=" "+f);else""!==c&&!Vn(f)&&(t+=qi(u,c),c=""),r=f,u=u||!Vn(r);n++}return""!==c&&(t+=qi(u,c)),t}function vr(e){return E(()=>{const t=Bo(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Y.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Be.Emulated,styles:e.styles||We,_:null,schemas:e.schemas||null,tView:null,id:""};$o(n);const r=e.dependencies;return n.directiveDefs=Ei(r,!1),n.pipeDefs=Ei(r,!0),n.id=function xr(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const c of n)t=Math.imul(31,t)+c.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function tr(e){return Xt(e)||Ln(e)}function qr(e){return null!==e}function yr(e){return E(()=>({type:e.type,bootstrap:e.bootstrap||We,declarations:e.declarations||We,imports:e.imports||We,exports:e.exports||We,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function nr(e,t){if(null==e)return Qe;const n={};for(const r in e)if(e.hasOwnProperty(r)){let c=e[r],u=c;Array.isArray(c)&&(u=c[1],c=c[0]),n[c]=r,t&&(t[c]=u)}return n}function Qr(e){return E(()=>{const t=Bo(e);return $o(t),t})}function Ks(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 Xt(e){return e[tt]||null}function Ln(e){return e[wt]||null}function qn(e){return e[mt]||null}function Bo(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,inputTransforms:null,inputConfig:e.inputs||Qe,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||We,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:nr(e.inputs,t),outputs:nr(e.outputs)}}function $o(e){e.features?.forEach(t=>t(e))}function Ei(e,t){if(!e)return null;const n=t?qn:tr;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(qr)}const _n=0,vt=1,zt=2,pn=3,si=4,_o=5,Bn=6,Ho=7,En=8,Mi=9,Gn=10,Wt=11,lo=12,Zs=13,bo=14,Mn=15,Ti=16,Qi=17,Hi=18,vo=19,ir=20,Xi=21,ai=22,yo=23,bi=24,en=25,Vo=1,or=2,ci=7,Uo=9,jn=11;function Jn(e){return Array.isArray(e)&&"object"==typeof e[Vo]}function Un(e){return Array.isArray(e)&&!0===e[Vo]}function wr(e){return 0!=(4&e.flags)}function Vi(e){return e.componentOffset>-1}function rr(e){return 1==(1&e.flags)}function Ai(e){return!!e.template}function Cr(e){return 0!=(512&e[zt])}function wo(e,t){return e.hasOwnProperty(sn)?e[sn]:null}let On=null,is=!1;function vi(e){const t=On;return On=e,t}const ta={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function ia(e){if(!rs(e)||e.dirty){if(!e.producerMustRecompute(e)&&!ic(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Cl(e){e.dirty=!0,function ec(e){if(void 0===e.liveConsumerNode)return;const t=is;is=!0;try{for(const n of e.liveConsumerNode)n.dirty||Cl(n)}finally{is=t}}(e),e.consumerMarkedDirty?.(e)}function tc(e){return e&&(e.nextProducerIndex=0),vi(e)}function nc(e,t){if(vi(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(rs(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)oa(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ic(e){sr(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(ia(n),r!==n.version))return!0}return!1}function Dl(e){if(sr(e),rs(e))for(let t=0;t<e.producerNode.length;t++)oa(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function oa(e,t){if(function El(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),sr(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)oa(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],c=e.liveConsumerNode[t];sr(c),c.producerIndexOfThis[r]=t}}function rs(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function sr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let au=null;function fe(e){const t=vi(null);try{return e()}finally{vi(t)}}const ht=()=>{},It=(()=>({...ta,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:ht}))();class bn{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function an(){return Jt}function Jt(e){return e.type.prototype.ngOnChanges&&(e.setInput=vn),Rn}function Rn(){const e=Do(this),t=e?.current;if(t){const n=e.previous;if(n===Qe)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function vn(e,t,n,r){const c=this.declaredInputs[n],u=Do(e)||function ji(e,t){return e[Hn]=t}(e,{previous:Qe,current:null}),f=u.current||(u.current={}),m=u.previous,_=m[c];f[c]=new bn(_&&_.currentValue,t,m===Qe),e[r]=t}an.ngInherit=!0;const Hn="__ngSimpleChanges__";function Do(e){return e[Hn]||null}const Wn=function(e,t,n){},Go="svg";function Tn(e){for(;Array.isArray(e);)e=e[_n];return e}function sc(e,t){return Tn(t[e])}function Ii(e,t){return Tn(t[e.index])}function uu(e,t){return e.data[t]}function ss(e,t){return e[t]}function Ui(e,t){const n=t[e];return Jn(n)?n:n[_n]}function zi(e,t){return null==t?null:e[t]}function hu(e){e[Qi]=0}function as(e){1024&e[zt]||(e[zt]|=1024,aa(e,1))}function Er(e){1024&e[zt]&&(e[zt]&=-1025,aa(e,-1))}function aa(e,t){let n=e[pn];if(null===n)return;n[_o]+=t;let r=n;for(n=n[pn];null!==n&&(1===t&&1===r[_o]||-1===t&&0===r[_o]);)n[_o]+=t,r=n,n=n[pn]}const Bt={lFrame:Pf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function cc(){return Bt.bindingsEnabled}function Mr(){return null!==Bt.skipHydrationRootTNode}function ft(){return Bt.lFrame.lView}function cn(){return Bt.lFrame.tView}function cs(e){return Bt.lFrame.contextLView=e,e[En]}function la(e){return Bt.lFrame.contextLView=null,e}function An(){let e=lc();for(;null!==e&&64===e.type;)e=e.parent;return e}function lc(){return Bt.lFrame.currentTNode}function eo(e,t){const n=Bt.lFrame;n.currentTNode=e,n.isParent=t}function ls(){return Bt.lFrame.isParent}function dc(){Bt.lFrame.isParent=!1}function Oi(){const e=Bt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function da(){return Bt.lFrame.bindingIndex++}function lr(e){const t=Bt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Rf(e,t){const n=Bt.lFrame;n.bindingIndex=n.bindingRootIndex=e,ds(t)}function ds(e){Bt.lFrame.currentDirectiveIndex=e}function us(e){const t=Bt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function ua(){return Bt.lFrame.currentQueryIndex}function _u(e){Bt.lFrame.currentQueryIndex=e}function Fg(e){const t=e[vt];return 2===t.type?t.declTNode:1===t.type?e[Bn]:null}function ha(e,t,n){if(n&Tt.SkipSelf){let c=t,u=e;for(;!(c=c.parent,null!==c||n&Tt.Host||(c=Fg(u),null===c||(u=u[bo],10&c.type))););if(null===c)return!1;t=c,e=u}const r=Bt.lFrame=kl();return r.currentTNode=t,r.lView=e,!0}function hs(e){const t=kl(),n=e[vt];Bt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function kl(){const e=Bt.lFrame,t=null===e?null:e.child;return null===t?Pf(e):t}function Pf(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 bu(){const e=Bt.lFrame;return Bt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const vu=bu;function Rl(){const e=bu();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 yi(){return Bt.lFrame.selectedIndex}function Wo(e){Bt.lFrame.selectedIndex=e}function Cn(){const e=Bt.lFrame;return uu(e.tView,e.selectedIndex)}function fa(){Bt.lFrame.currentNamespace=Go}let pa=!0;function Pl(){return pa}function Eo(e){pa=e}function fs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const u=e.data[n].type.prototype,{ngAfterContentInit:f,ngAfterContentChecked:m,ngAfterViewInit:_,ngAfterViewChecked:C,ngOnDestroy:k}=u;f&&(e.contentHooks??=[]).push(-n,f),m&&((e.contentHooks??=[]).push(n,m),(e.contentCheckHooks??=[]).push(n,m)),_&&(e.viewHooks??=[]).push(-n,_),C&&((e.viewHooks??=[]).push(n,C),(e.viewCheckHooks??=[]).push(n,C)),null!=k&&(e.destroyHooks??=[]).push(n,k)}}function ps(e,t,n){$f(e,t,3,n)}function mc(e,t,n,r){(3&e[zt])===n&&$f(e,t,n,r)}function ma(e,t){let n=e[zt];(3&n)===t&&(n&=8191,n+=1,e[zt]=n)}function $f(e,t,n,r){const u=r??-1,f=t.length-1;let m=0;for(let _=void 0!==r?65535&e[Qi]:0;_<f;_++)if("number"==typeof t[_+1]){if(m=t[_],null!=r&&m>=r)break}else t[_]<0&&(e[Qi]+=65536),(m<u||-1==u)&&(Ng(e,n,t,_),e[Qi]=(4294901760&e[Qi])+_+2),_++}function Hf(e,t){Wn(4,e,t);const n=vi(null);try{t.call(e)}finally{vi(n),Wn(5,e,t)}}function Ng(e,t,n,r){const c=n[r]<0,u=n[r+1],m=e[c?-n[r]:n[r]];c?e[zt]>>13<e[Qi]>>16&&(3&e[zt])===t&&(e[zt]+=8192,Hf(m,u)):Hf(m,u)}const ms=-1;class ga{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Fl(e){return e!==ms}function _a(e){return 32767&e}function gc(e,t){let n=function Uf(e){return e>>16}(e),r=t;for(;n>0;)r=r[bo],n--;return r}let _c=!0;function ba(e){const t=_c;return _c=e,t}const xu=255,wu=5;let zf=0;const Mo={};function gs(e,t){const n=Cu(e,t);if(-1!==n)return n;const r=t[vt];r.firstCreatePass&&(e.injectorIndex=t.length,Nl(r.data,e),Nl(t,null),Nl(r.blueprint,null));const c=Ll(e,t),u=e.injectorIndex;if(Fl(c)){const f=_a(c),m=gc(c,t),_=m[vt].data;for(let C=0;C<8;C++)t[u+C]=m[f+C]|_[f+C]}return t[u+8]=c,u}function Nl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Cu(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ll(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,c=t;for(;null!==c;){if(r=Iu(c),null===r)return ms;if(n++,c=c[bo],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return ms}function Bl(e,t,n){!function Gf(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(nn)&&(r=n[nn]),null==r&&(r=n[nn]=zf++);const c=r&xu;t.data[e+(c>>wu)]|=1<<c}(e,t,n)}function $l(e,t,n){if(n&Tt.Optional||void 0!==e)return e;me()}function Du(e,t,n,r){if(n&Tt.Optional&&void 0===r&&(r=null),!(n&(Tt.Self|Tt.Host))){const c=e[Mi],u=kt(void 0);try{return c?c.get(t,r,n&Tt.Optional):ei(t,r,n&Tt.Optional)}finally{kt(u)}}return $l(r,0,n)}function Eu(e,t,n,r=Tt.Default,c){if(null!==e){if(2048&t[zt]&&!(r&Tt.Self)){const f=function Zf(e,t,n,r,c){let u=e,f=t;for(;null!==u&&null!==f&&2048&f[zt]&&!(512&f[zt]);){const m=Mu(u,f,n,r|Tt.Self,Mo);if(m!==Mo)return m;let _=u.parent;if(!_){const C=f[ir];if(C){const k=C.get(n,Mo,r);if(k!==Mo)return k}_=Iu(f),f=f[bo]}u=_}return c}(e,t,n,r,Mo);if(f!==Mo)return f}const u=Mu(e,t,n,r,Mo);if(u!==Mo)return u}return Du(t,n,r,c)}function Mu(e,t,n,r,c){const u=function Yf(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(nn)?e[nn]:void 0;return"number"==typeof t?t>=0?t&xu:Kf:t}(n);if("function"==typeof u){if(!ha(t,e,r))return r&Tt.Host?$l(c,0,r):Du(t,n,r,c);try{let f;if(f=u(r),null!=f||r&Tt.Optional)return f;me()}finally{vu()}}else if("number"==typeof u){let f=null,m=Cu(e,t),_=ms,C=r&Tt.Host?t[Mn][Bn]:null;for((-1===m||r&Tt.SkipSelf)&&(_=-1===m?Ll(e,t):t[m+8],_!==ms&&Au(r,!1)?(f=t[vt],m=_a(_),t=gc(_,t)):m=-1);-1!==m;){const k=t[vt];if(Tu(u,m,k.data)){const X=Wf(m,t,n,f,r,C);if(X!==Mo)return X}_=t[m+8],_!==ms&&Au(r,t[vt].data[m+8]===C)&&Tu(u,m,t)?(f=k,m=_a(_),t=gc(_,t)):m=-1}}return c}function Wf(e,t,n,r,c,u){const f=t[vt],m=f.data[e+8],k=bc(m,f,n,null==r?Vi(m)&&_c:r!=f&&0!=(3&m.type),c&Tt.Host&&u===m);return null!==k?Ar(t,f,k,m):Mo}function bc(e,t,n,r,c){const u=e.providerIndexes,f=t.data,m=1048575&u,_=e.directiveStart,k=u>>20,Re=c?m+k:e.directiveEnd;for(let Ge=r?m:m+k;Ge<Re;Ge++){const st=f[Ge];if(Ge<_&&n===st||Ge>=_&&st.type===n)return Ge}if(c){const Ge=f[_];if(Ge&&Ai(Ge)&&Ge.type===n)return _}return null}function Ar(e,t,n,r){let c=e[n];const u=t.data;if(function Lg(e){return e instanceof ga}(c)){const f=c;f.resolving&&function Ne(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new H(-200,`Circular dependency in DI detected for ${e}${n}`)}(function He(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():xe(e)}(u[n]));const m=ba(f.canSeeViewProviders);f.resolving=!0;const C=f.injectImpl?kt(f.injectImpl):null;ha(e,r,Tt.Default);try{c=e[n]=f.factory(void 0,u,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Bf(e,t,n){const{ngOnChanges:r,ngOnInit:c,ngDoCheck:u}=t.type.prototype;if(r){const f=Jt(t);(n.preOrderHooks??=[]).push(e,f),(n.preOrderCheckHooks??=[]).push(e,f)}c&&(n.preOrderHooks??=[]).push(0-e,c),u&&((n.preOrderHooks??=[]).push(e,u),(n.preOrderCheckHooks??=[]).push(e,u))}(n,u[n],t)}finally{null!==C&&kt(C),ba(m),f.resolving=!1,vu()}}return c}function Tu(e,t,n){return!!(n[t+(e>>wu)]&1<<e)}function Au(e,t){return!(e&Tt.Self||e&Tt.Host&&t)}class xi{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Eu(this._tNode,this._lView,t,U(r),n)}}function Kf(){return new xi(An(),ft())}function Su(e){return E(()=>{const t=e.prototype.constructor,n=t[sn]||Hl(t),r=Object.prototype;let c=Object.getPrototypeOf(e.prototype).constructor;for(;c&&c!==r;){const u=c[sn]||Hl(c);if(u&&u!==n)return u;c=Object.getPrototypeOf(c)}return u=>new u})}function Hl(e){return B(e)?()=>{const t=Hl(ge(e));return t&&t()}:wo(e)}function Iu(e){const t=e[vt],n=t.type;return 2===n?t.declTNode:1===n?e[Bn]:null}function Vl(e){return function jg(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 c=0;for(;c<r;){const u=n[c];if(rn(u))break;if(0===u)c+=2;else if("number"==typeof u)for(c++;c<r&&"string"==typeof n[c];)c++;else{if(u===t)return n[c+1];c+=2}}}return null}(An(),e)}const bs="__parameters__";function ys(e,t,n){return E(()=>{const r=function jl(e){return function(...n){if(e){const r=e(...n);for(const c in r)this[c]=r[c]}}}(t);function c(...u){if(this instanceof c)return r.apply(this,u),this;const f=new c(...u);return m.annotation=f,m;function m(_,C,k){const X=_.hasOwnProperty(bs)?_[bs]:Object.defineProperty(_,bs,{value:[]})[bs];for(;X.length<=k;)X.push(null);return(X[k]=X[k]||[]).push(f),_}}return n&&(c.prototype=Object.create(n.prototype)),c.prototype.ngMetadataName=e,c.annotationCls=c,c})}function ur(e,t){e.forEach(n=>Array.isArray(n)?ur(n,t):t(n))}function Ri(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ya(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function xa(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Gi(e,t,n){let r=Cs(e,t);return r>=0?e[1|r]=n:(r=~r,function Sr(e,t,n,r){let c=e.length;if(c==t)e.push(n,r);else if(1===c)e.push(r,e[0]),e[0]=n;else{for(c--,e.push(e[c-1],e[c]);c>t;)e[c]=e[c-2],c--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function ku(e,t){const n=Cs(e,t);if(n>=0)return e[1|n]}function Cs(e,t){return function Gl(e,t,n){let r=0,c=e.length>>n;for(;c!==r;){const u=r+(c-r>>1),f=e[u<<n];if(t===f)return u<<n;f>t?c=u:r=u+1}return~(c<<n)}(e,t,1)}const Or=Fe(ys("Optional"),8),Ds=Fe(ys("SkipSelf"),4);function Tc(e){return 128==(128&e.flags)}var Sc=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Sc||{});const Rr=/^>|^->|<!--|-->|--!>|<!-$/g,ql=/(<|>)/g,Jl="\u200b$1\u200b";const Ql=new Map;let rp=0;const ed="__ngContext__";function di(e,t){Jn(t)?(e[ed]=t[vo],function ap(e){Ql.set(e[vo],e)}(t)):e[ed]=t}let od;function rd(e,t){return od(e,t)}function Ia(e){const t=e[pn];return Un(t)?t[pn]:t}function Ku(e){return sd(e[lo])}function Zu(e){return sd(e[si])}function sd(e){for(;null!==e&&!Un(e);)e=e[si];return e}function Is(e,t,n,r,c){if(null!=r){let u,f=!1;Un(r)?u=r:Jn(r)&&(f=!0,r=r[_n]);const m=Tn(r);0===e&&null!==n?null==c?dd(t,n,m):hr(t,n,m,c||null,!0):1===e&&null!==n?hr(t,n,m,c||null,!0):2===e?function Lc(e,t,n){const r=Pc(e,t);r&&function no(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,m,f):3===e&&t.destroyNode(m),null!=u&&function oh(e,t,n,r,c){const u=n[ci];u!==Tn(n)&&Is(t,e,r,u,c);for(let m=jn;m<n.length;m++){const _=n[m];Pa(_[vt],_,e,t,r,u)}}(t,e,u,n,c)}}function ad(e,t){return e.createComment(function Ma(e){return e.replace(Rr,t=>t.replace(ql,Jl))}(t))}function Oc(e,t,n){return e.createElement(t,n)}function kc(e,t){const n=e[Uo],r=n.indexOf(t);Er(t),n.splice(r,1)}function Rc(e,t){if(e.length<=jn)return;const n=jn+t,r=e[n];if(r){const c=r[Ti];null!==c&&c!==e&&kc(c,r),t>0&&(e[n-1][si]=r[si]);const u=ya(e,jn+t);!function pp(e,t){Pa(e,t,t[Wt],2,null,null),t[_n]=null,t[Bn]=null}(r[vt],r);const f=u[Hi];null!==f&&f.detachView(u[vt]),r[pn]=null,r[si]=null,r[zt]&=-129}return r}function ld(e,t){if(!(256&t[zt])){const n=t[Wt];t[yo]&&Dl(t[yo]),t[bi]&&Dl(t[bi]),n.destroyNode&&Pa(e,t,n,3,null,null),function ho(e){let t=e[lo];if(!t)return ka(e[vt],e);for(;t;){let n=null;if(Jn(t))n=t[lo];else{const r=t[jn];r&&(n=r)}if(!n){for(;t&&!t[si]&&t!==e;)Jn(t)&&ka(t[vt],t),t=t[pn];null===t&&(t=e),Jn(t)&&ka(t[vt],t),n=t&&t[si]}t=n}}(t)}}function ka(e,t){if(!(256&t[zt])){t[zt]&=-129,t[zt]|=256,function _p(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const c=t[n[r]];if(!(c instanceof ga)){const u=n[r+1];if(Array.isArray(u))for(let f=0;f<u.length;f+=2){const m=c[u[f]],_=u[f+1];Wn(4,m,_);try{_.call(m)}finally{Wn(5,m,_)}}else{Wn(4,c,u);try{u.call(c)}finally{Wn(5,c,u)}}}}}(e,t),function gp(e,t){const n=e.cleanup,r=t[Ho];if(null!==n)for(let u=0;u<n.length-1;u+=2)if("string"==typeof n[u]){const f=n[u+3];f>=0?r[f]():r[-f].unsubscribe(),u+=2}else n[u].call(r[n[u+1]]);null!==r&&(t[Ho]=null);const c=t[Xi];if(null!==c){t[Xi]=null;for(let u=0;u<c.length;u++)(0,c[u])()}}(e,t),1===t[vt].type&&t[Wt].destroy();const n=t[Ti];if(null!==n&&Un(t[pn])){n!==t[pn]&&kc(n,t);const r=t[Hi];null!==r&&r.detachView(e)}!function Xl(e){Ql.delete(e[vo])}(t)}}function ks(e,t,n){return function Qu(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[_n];{const{componentOffset:c}=r;if(c>-1){const{encapsulation:u}=e.data[r.directiveStart+c];if(u===Be.None||u===Be.Emulated)return null}return Ii(r,n)}}(e,t.parent,n)}function hr(e,t,n,r,c){e.insertBefore(t,n,r,c)}function dd(e,t,n){e.appendChild(t,n)}function ud(e,t,n,r,c){null!==r?hr(e,t,n,r,c):dd(e,t,n)}function Pc(e,t){return e.parentNode(t)}function hd(e,t,n){return fd(e,t,n)}let Rs,Bc,gd,_d,fd=function Xu(e,t,n){return 40&e.type?Ii(e,n):null};function Fc(e,t,n,r){const c=ks(e,r,t),u=t[Wt],m=hd(r.parent||t[Bn],r,t);if(null!=c)if(Array.isArray(n))for(let _=0;_<n.length;_++)ud(u,c,n[_],m,!1);else ud(u,c,n,m,!1);void 0!==Rs&&Rs(u,r,t,n,c)}function Pr(e,t){if(null!==t){const n=t.type;if(3&n)return Ii(t,e);if(4&n)return Nc(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Pr(e,r);{const c=e[t.index];return Un(c)?Nc(-1,c):Tn(c)}}if(32&n)return rd(t,e)()||Tn(e[t.index]);{const r=th(e,t);return null!==r?Array.isArray(r)?r[0]:Pr(Ia(e[Mn]),r):Pr(e,t.next)}}return null}function th(e,t){return null!==t?e[Mn][Bn].projection[t.projection]:null}function Nc(e,t){const n=jn+e+1;if(n<t.length){const r=t[n],c=r[vt].firstChild;if(null!==c)return Pr(r,c)}return t[ci]}function pd(e,t,n,r,c,u,f){for(;null!=n;){const m=r[n.index],_=n.type;if(f&&0===t&&(m&&di(Tn(m),r),n.flags|=2),32!=(32&n.flags))if(8&_)pd(e,t,n.child,r,c,u,!1),Is(t,e,c,m,u);else if(32&_){const C=rd(n,r);let k;for(;k=C();)Is(t,e,c,k,u);Is(t,e,c,m,u)}else 16&_?Fa(e,t,r,n,c,u):Is(t,e,c,m,u);n=f?n.projectionNext:n.next}}function Pa(e,t,n,r,c,u){pd(n,r,e.firstChild,t,c,u,!1)}function Fa(e,t,n,r,c,u){const f=n[Mn],_=f[Bn].projection[r.projection];if(Array.isArray(_))for(let C=0;C<_.length;C++)Is(t,e,c,_[C],u);else{let C=_;const k=f[pn];Tc(r)&&(C.flags|=128),pd(e,t,C,k,c,u,!0)}}function sh(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ah(e,t,n){const{mergedAttrs:r,classes:c,styles:u}=n;null!==r&&zn(e,t,r),null!==c&&sh(e,t,c),null!==u&&function rh(e,t,n){e.setAttribute(t,"style",n)}(e,t,u)}function Ps(e){return function md(){if(void 0===Bc&&(Bc=null,Ut.trustedTypes))try{Bc=Ut.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Bc}()?.createHTML(e)||e}function l_(e){gd=e}function Na(){if(void 0!==gd)return gd;if(typeof document<"u")return document;throw new H(210,!1)}function $c(e){return function Fs(){if(void 0===_d&&(_d=null,Ut.trustedTypes))try{_d=Ut.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _d}()?.createHTML(e)||e}class Fr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${J})`}}class xp extends Fr{getTypeName(){return"HTML"}}class wp extends Fr{getTypeName(){return"Style"}}class Cp extends Fr{getTypeName(){return"Script"}}class Dp extends Fr{getTypeName(){return"URL"}}class Ep extends Fr{getTypeName(){return"ResourceURL"}}function Zo(e){return e instanceof Fr?e.changingThisBreaksApplicationSecurity:e}function Ns(e,t){const n=function Mp(e){return e instanceof Fr&&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 ${J})`)}return n===t}function Tp(e){return new xp(e)}function Ap(e){return new wp(e)}function Sp(e){return new Cp(e)}function d_(e){return new Dp(e)}function Ip(e){return new Ep(e)}class Op{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ps(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Hc{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Ps(t),n}}const ph=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Vc(e){return(e=String(e)).match(ph)?e:"unsafe:"+e}function qo(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function La(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const mh=qo("area,br,col,hr,img,wbr"),jc=qo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),kp=qo("rp,rt"),gh=La(mh,La(jc,qo("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),La(kp,qo("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),La(kp,jc)),_h=qo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),M=La(_h,qo("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),qo("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Rp=qo("script,style,template");class Pp{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let c=this.checkClobberedElement(n,n.nextSibling);if(c){n=c;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!gh.hasOwnProperty(n))return this.sanitizedSomething=!0,!Rp.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let c=0;c<r.length;c++){const u=r.item(c),f=u.name,m=f.toLowerCase();if(!M.hasOwnProperty(m)){this.sanitizedSomething=!0;continue}let _=u.value;_h[m]&&(_=Vc(_)),this.buf.push(" ",f,'="',So(_),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();gh.hasOwnProperty(n)&&!mh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(So(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Fp=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ao=/([^\#-~ |!])/g;function So(e){return e.replace(/&/g,"&amp;").replace(Fp,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Ao,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let wi;function Nr(e,t){let n=null;try{wi=wi||function hh(e){const t=new Hc(e);return function fh(){try{return!!(new window.DOMParser).parseFromString(Ps(""),"text/html")}catch{return!1}}()?new Op(t):t}(e);let r=t?String(t):"";n=wi.getInertBodyElement(r);let c=5,u=r;do{if(0===c)throw new Error("Failed to sanitize html because the input is unstable");c--,r=u,u=n.innerHTML,n=wi.getInertBodyElement(r)}while(r!==u);return Ps((new Pp).sanitizeChildren(Lr(n)||n))}finally{if(n){const r=Lr(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Lr(e){return"content"in e&&function Np(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Br=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Br||{});function bh(e){const t=function Ba(){const e=ft();return e&&e[Gn].sanitizer}();return t?$c(t.sanitize(Br.HTML,e)||""):Ns(e,"HTML")?$c(Zo(e)):Nr(Na(),xe(e))}class un{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=lt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const vd=new un("ENVIRONMENT_INITIALIZER"),yh=new un("INJECTOR",-1),Io=new un("INJECTOR_DEF_TYPES");class oo{get(t,n=Ve){if(n===Ve){const r=new Error(`NullInjectorError: No provider for ${W(t)}!`);throw r.name="NullInjectorError",r}return n}}function Qo(e){return{\u0275providers:e}}function $r(...e){return{\u0275providers:Ls(0,e),\u0275fromNgModule:!0}}function Ls(e,...t){const n=[],r=new Set;let c;const u=f=>{n.push(f)};return ur(t,f=>{const m=f;zc(m,u,[],r)&&(c||=[],c.push(m))}),void 0!==c&&xh(c,u),n}function xh(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:c}=e[n];Oo(c,u=>{t(u,r)})}}function zc(e,t,n,r){if(!(e=ge(e)))return!1;let c=null,u=bt(e);const f=!u&&Xt(e);if(u||f){if(f&&!f.standalone)return!1;c=e}else{const _=e.ngModule;if(u=bt(_),!u)return!1;c=_}const m=r.has(c);if(f){if(m)return!1;if(r.add(c),f.dependencies){const _="function"==typeof f.dependencies?f.dependencies():f.dependencies;for(const C of _)zc(C,t,n,r)}}else{if(!u)return!1;{if(null!=u.imports&&!m){let C;r.add(c);try{ur(u.imports,k=>{zc(k,t,n,r)&&(C||=[],C.push(k))})}finally{}void 0!==C&&xh(C,t)}if(!m){const C=wo(c)||(()=>new c);t({provide:c,useFactory:C,deps:We},c),t({provide:Io,useValue:c,multi:!0},c),t({provide:vd,useValue:()=>xt(c),multi:!0},c)}const _=u.providers;if(null!=_&&!m){const C=e;Oo(_,k=>{t(k,C)})}}}return c!==e&&void 0!==e.providers}function Oo(e,t){for(let n of e)Z(n)&&(n=n.\u0275providers),Array.isArray(n)?Oo(n,t):t(n)}const ko=z({provide:String,useValue:z});function Gc(e){return null!==e&&"object"==typeof e&&ko in e}function Hr(e){return"function"==typeof e}const Yc=new un("Set Injector scope."),Wi={},pi={};let Vr;function Kc(){return void 0===Vr&&(Vr=new oo),Vr}class Ro{}class Zc extends Ro{get destroyed(){return this._destroyed}constructor(t,n,r,c){super(),this.parent=n,this.source=r,this.scopes=c,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,jr(t,f=>this.processProvider(f)),this.records.set(yh,Bs(void 0,this)),c.has("environment")&&this.records.set(Ro,Bs(void 0,this));const u=this.records.get(Yc);null!=u&&"string"==typeof u.value&&this.scopes.add(u.value),this.injectorDefTypes=new Set(this.get(Io.multi,We,Tt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=qe(this),r=kt(void 0);try{return t()}finally{qe(n),kt(r)}}get(t,n=Ve,r=Tt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(dn))return t[dn](this);r=U(r);const u=qe(this),f=kt(void 0);try{if(!(r&Tt.SkipSelf)){let _=this.records.get(t);if(void 0===_){const C=function Up(e){return"function"==typeof e||"object"==typeof e&&e instanceof un}(t)&&Ie(t);_=C&&this.injectableDefInScope(C)?Bs(yd(t),Wi):null,this.records.set(t,_)}if(null!=_)return this.hydrate(t,_)}return(r&Tt.Self?Kc():this.parent).get(t,n=r&Tt.Optional&&n===Ve?null:n)}catch(m){if("NullInjectorError"===m.name){if((m[Oe]=m[Oe]||[]).unshift(W(t)),u)throw m;return function be(e,t,n,r){const c=e[Oe];throw t[G]&&c.unshift(t[G]),e.message=function w(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let c=W(t);if(Array.isArray(t))c=t.map(W).join(" -> ");else if("object"==typeof t){let u=[];for(let f in t)if(t.hasOwnProperty(f)){let m=t[f];u.push(f+":"+("string"==typeof m?JSON.stringify(m):W(m)))}c=`{${u.join(", ")}}`}return`${n}${r?"("+r+")":""}[${c}]: ${e.replace(pe,"\n ")}`}("\n"+e.message,c,n,r),e.ngTokenPath=c,e[Oe]=null,e}(m,t,"R3InjectorError",this.source)}throw m}finally{kt(f),qe(u)}}resolveInjectorInitializers(){const t=qe(this),n=kt(void 0);try{const c=this.get(vd.multi,We,Tt.Self);for(const u of c)u()}finally{qe(t),kt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(W(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new H(205,!1)}processProvider(t){let n=Hr(t=ge(t))?t:ge(t&&t.provide);const r=function jp(e){return Gc(e)?Bs(void 0,e.useValue):Bs(xd(e),Wi)}(t);if(Hr(t)||!0!==t.multi)this.records.get(n);else{let c=this.records.get(n);c||(c=Bs(void 0,Wi,!0),c.factory=()=>we(c.multi),this.records.set(n,c)),n=t,c.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Wi&&(n.value=pi,n.value=n.factory()),"object"==typeof n.value&&n.value&&function qc(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=ge(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 yd(e){const t=Ie(e),n=null!==t?t.factory:wo(e);if(null!==n)return n;if(e instanceof un)throw new H(204,!1);if(e instanceof Function)return function Vp(e){const t=e.length;if(t>0)throw xa(t,"?"),new H(204,!1);const n=function at(e){return e&&(e[Ot]||e[Rt])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new H(204,!1)}function xd(e,t,n){let r;if(Hr(e)){const c=ge(e);return wo(c)||yd(c)}if(Gc(e))r=()=>ge(e.useValue);else if(function Wc(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...we(e.deps||[]));else if(function wh(e){return!(!e||!e.useExisting)}(e))r=()=>xt(ge(e.useExisting));else{const c=ge(e&&(e.useClass||e.provide));if(!function Dh(e){return!!e.deps}(e))return wo(c)||yd(c);r=()=>new c(...we(e.deps))}return r}function Bs(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function jr(e,t){for(const n of e)Array.isArray(n)?jr(n,t):n&&Z(n)?jr(n.\u0275providers,t):t(n)}const Eh=new un("AppId",{providedIn:"root",factory:()=>Mh}),Mh="ng",Th=new un("Platform Initializer"),wd=new un("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),zp=new un("AnimationModuleType"),Gp=new un("CSP nonce",{providedIn:"root",factory:()=>Na().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Ah=(e,t,n)=>null;function Sd(e,t,n=!1){return Ah(e,t,n)}class tm{}class Oh{}class im{resolveComponentFactory(t){throw function nm(e){const t=Error(`No component factory found for ${W(e)}.`);return t.ngComponent=e,t}(t)}}let Va=(()=>{class e{static#e=this.NULL=new im}return e})();function om(){return Vs(An(),ft())}function Vs(e,t){return new ja(Ii(e,t))}let ja=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=om}return e})();function rm(e){return e instanceof ja?e.nativeElement:e}class Rh{}let sm=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function am(){const e=ft(),n=Ui(An().index,e);return(Jn(n)?n:e)[Wt]}()}return e})(),cm=(()=>{class e{static#e=this.\u0275prov=lt({token:e,providedIn:"root",factory:()=>null})}return e})();class Ph{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const lm=new Ph("16.2.7"),kd={};function Bh(e,t=null,n=null,r){const c=$h(e,t,n,r);return c.resolveInjectorInitializers(),c}function $h(e,t=null,n=null,r,c=new Set){const u=[n||We,$r(e)];return r=r||("object"==typeof e?void 0:W(e)),new Zc(u,t||Kc(),r||null,c)}let fo=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Ve;static#t=this.NULL=new oo;static create(n,r){if(Array.isArray(n))return Bh({name:""},r,n,"");{const c=n.name??"";return Bh({name:c},n.parent,n.providers,c)}}static#n=this.\u0275prov=lt({token:e,providedIn:"any",factory:()=>xt(yh)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function Vh(e){return e.ngOriginalError}class l{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&&Vh(t);for(;n&&Vh(n);)n=Vh(n);return n||null}}function p(e){return t=>{setTimeout(e,void 0,t)}}const b=class d extends h.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let c=t,u=n||(()=>null),f=r;if(t&&"object"==typeof t){const _=t;c=_.next?.bind(_),u=_.error?.bind(_),f=_.complete?.bind(_)}this.__isAsync&&(u=p(u),c&&(c=p(c)),f&&(f=p(f)));const m=super.subscribe({next:c,error:u,complete:f});return t instanceof o.w0&&t.add(m),m}};function S(...e){}class Le{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new b(!1),this.onMicrotaskEmpty=new b(!1),this.onStable=new b(!1),this.onError=new b(!1),typeof Zone>"u")throw new H(908,!1);Zone.assertZonePatched();const c=this;c._nesting=0,c._outer=c._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(c._inner=c._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(c._inner=c._inner.fork(Zone.longStackTraceZoneSpec)),c.shouldCoalesceEventChangeDetection=!r&&n,c.shouldCoalesceRunChangeDetection=r,c.lastRequestAnimationFrameId=-1,c.nativeRequestAnimationFrame=function ee(){const e="function"==typeof Ut.requestAnimationFrame;let t=Ut[e?"requestAnimationFrame":"setTimeout"],n=Ut[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const c=n[Zone.__symbol__("OriginalDelegate")];c&&(n=c)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function Mt(e){const t=()=>{!function Dt(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ut,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,At(e),e.isCheckStableRunning=!0,_t(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),At(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,c,u,f,m)=>{if(function js(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(m))return n.invokeTask(c,u,f,m);try{return Yt(e),n.invokeTask(c,u,f,m)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===u.type||e.shouldCoalesceRunChangeDetection)&&t(),Pn(e)}},onInvoke:(n,r,c,u,f,m,_)=>{try{return Yt(e),n.invoke(c,u,f,m,_)}finally{e.shouldCoalesceRunChangeDetection&&t(),Pn(e)}},onHasTask:(n,r,c,u)=>{n.hasTask(c,u),r===c&&("microTask"==u.change?(e._hasPendingMicrotasks=u.microTask,At(e),_t(e)):"macroTask"==u.change&&(e.hasPendingMacrotasks=u.macroTask))},onHandleError:(n,r,c,u)=>(n.handleError(c,u),e.runOutsideAngular(()=>e.onError.emit(u)),!1)})}(c)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Le.isInAngularZone())throw new H(909,!1)}static assertNotInAngularZone(){if(Le.isInAngularZone())throw new H(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,c){const u=this._inner,f=u.scheduleEventTask("NgZoneEvent: "+c,t,nt,S,S);try{return u.runTask(f,n,r)}finally{u.cancelTask(f)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const nt={};function _t(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 At(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Yt(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Pn(e){e._nesting--,_t(e)}class Qn{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new b,this.onMicrotaskEmpty=new b,this.onStable=new b,this.onError=new b}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,c){return t.apply(n,r)}}const mi=new un("",{providedIn:"root",factory:Xn});function Xn(){const e=ot(Le);let t=!0;const n=new De.y(c=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{c.next(t),c.complete()})}),r=new De.y(c=>{let u;e.runOutsideAngular(()=>{u=e.onStable.subscribe(()=>{Le.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,c.next(!0))})})});const f=e.onUnstable.subscribe(()=>{Le.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{c.next(!1)}))});return()=>{u.unsubscribe(),f.unsubscribe()}});return(0,Ee.T)(n,r.pipe((0,te.B)()))}let St=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=lt({token:e,providedIn:"root",factory:()=>new e})}return e})();function Ft(e){for(;e;){e[zt]|=64;const t=Ia(e);if(Cr(e)&&!t)return e;e=t}return null}const Kn=new un("",{providedIn:"root",factory:()=>!1});let jh=null;function M_(e,t){return e[t]??S_()}function T_(e,t){const n=S_();n.producerNode?.length&&(e[t]=jh,n.lView=e,jh=A_())}const H0={...ta,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ft(e.lView)},lView:null};function A_(){return Object.create(H0)}function S_(){return jh??=A_(),jh}const Zt={};function I_(e){O_(cn(),ft(),yi()+e,!1)}function O_(e,t,n,r){if(!r)if(3==(3&t[zt])){const u=e.preOrderCheckHooks;null!==u&&ps(t,u,n)}else{const u=e.preOrderHooks;null!==u&&mc(t,u,0,n)}Wo(n)}function il(e,t=Tt.Default){const n=ft();return null===n?xt(e,t):Eu(An(),n,ge(e),t)}function k_(){throw new Error("invalid")}function Uh(e,t,n,r,c,u,f,m,_,C,k){const X=t.blueprint.slice();return X[_n]=c,X[zt]=140|r,(null!==C||e&&2048&e[zt])&&(X[zt]|=2048),hu(X),X[pn]=X[bo]=e,X[En]=n,X[Gn]=f||e&&e[Gn],X[Wt]=m||e&&e[Wt],X[Mi]=_||e&&e[Mi]||null,X[Bn]=u,X[vo]=function sp(){return rp++}(),X[ai]=k,X[ir]=C,X[Mn]=2==t.type?e[Mn]:X,X}function ol(e,t,n,r,c){let u=e.data[t];if(null===u)u=function mm(e,t,n,r,c){const u=lc(),f=ls(),_=e.data[t]=function K0(e,t,n,r,c,u){let f=t?t.injectorIndex:-1,m=0;return Mr()&&(m|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:f,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:m,providerIndexes:0,value:c,attrs:u,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,f?u:u&&u.parent,n,t,r,c);return null===e.firstChild&&(e.firstChild=_),null!==u&&(f?null==u.child&&null!==_.parent&&(u.child=_):null===u.next&&(u.next=_,_.prev=u)),_}(e,t,n,r,c),function Pg(){return Bt.lFrame.inI18n}()&&(u.flags|=32);else if(64&u.type){u.type=n,u.value=r,u.attrs=c;const f=function Tr(){const e=Bt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();u.injectorIndex=null===f?-1:f.injectorIndex}return eo(u,!0),u}function Ld(e,t,n,r){if(0===n)return-1;const c=t.length;for(let u=0;u<n;u++)t.push(r),e.blueprint.push(r),e.data.push(null);return c}function R_(e,t,n,r,c){const u=M_(t,yo),f=yi(),m=2&r;try{Wo(-1),m&&t.length>en&&O_(e,t,en,!1),Wn(m?2:0,c);const C=m?u:null,k=tc(C);try{null!==C&&(C.dirty=!1),n(r,c)}finally{nc(C,k)}}finally{m&&null===t[yo]&&T_(t,yo),Wo(f),Wn(m?3:1,c)}}function gm(e,t,n){if(wr(t)){const r=vi(null);try{const u=t.directiveEnd;for(let f=t.directiveStart;f<u;f++){const m=e.data[f];m.contentQueries&&m.contentQueries(1,n[f],f)}}finally{vi(r)}}}function _m(e,t,n){cc()&&(function tx(e,t,n,r){const c=n.directiveStart,u=n.directiveEnd;Vi(n)&&function cx(e,t,n){const r=Ii(t,e),c=P_(n);let f=16;n.signals?f=4096:n.onPush&&(f=64);const m=zh(e,Uh(e,c,null,f,r,t,null,e[Gn].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=m}(t,n,e.data[c+n.componentOffset]),e.firstCreatePass||gs(n,t),di(r,t);const f=n.initialInputs;for(let m=c;m<u;m++){const _=e.data[m],C=Ar(t,e,m,n);di(C,t),null!==f&&lx(0,m-c,C,_,0,f),Ai(_)&&(Ui(n.index,t)[En]=Ar(t,e,m,n))}}(e,t,n,Ii(n,t)),64==(64&n.flags)&&$_(e,t,n))}function bm(e,t,n=Ii){const r=t.localNames;if(null!==r){let c=t.index+1;for(let u=0;u<r.length;u+=2){const f=r[u+1],m=-1===f?n(t,e):e[f];e[c++]=m}}}function P_(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=vm(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function vm(e,t,n,r,c,u,f,m,_,C,k){const X=en+r,Re=X+c,Ge=function j0(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Zt);return n}(X,Re),st="function"==typeof C?C():C;return Ge[vt]={type:e,blueprint:Ge,template:n,queries:null,viewQuery:m,declTNode:t,data:Ge.slice().fill(null,X),bindingStartIndex:X,expandoStartIndex:Re,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof u?u():u,pipeRegistry:"function"==typeof f?f():f,firstChild:null,schemas:_,consts:st,incompleteFirstPass:!1,ssrId:k}}let F_=e=>null;function N_(e,t,n,r){for(let c in e)if(e.hasOwnProperty(c)){n=null===n?{}:n;const u=e[c];null===r?L_(n,t,c,u):r.hasOwnProperty(c)&&L_(n,t,r[c],u)}return n}function L_(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function mo(e,t,n,r,c,u,f,m){const _=Ii(t,n);let k,C=t.inputs;!m&&null!=C&&(k=C[r])?(Dm(e,n,k,r,c),Vi(t)&&function J0(e,t){const n=Ui(t,e);16&n[zt]||(n[zt]|=64)}(n,t.index)):3&t.type&&(r=function q0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),c=null!=f?f(c,t.value||"",r):c,u.setProperty(_,r,c))}function ym(e,t,n,r){if(cc()){const c=null===r?null:{"":-1},u=function ix(e,t){const n=e.directiveRegistry;let r=null,c=null;if(n)for(let u=0;u<n.length;u++){const f=n[u];if(Kr(t,f.selectors,!1))if(r||(r=[]),Ai(f))if(null!==f.findHostDirectiveDefs){const m=[];c=c||new Map,f.findHostDirectiveDefs(f,m,c),r.unshift(...m,f),xm(e,t,m.length)}else r.unshift(f),xm(e,t,0);else c=c||new Map,f.findHostDirectiveDefs?.(f,r,c),r.push(f)}return null===r?null:[r,c]}(e,n);let f,m;null===u?f=m=null:[f,m]=u,null!==f&&B_(e,t,n,f,c,m),c&&function ox(e,t,n){if(t){const r=e.localNames=[];for(let c=0;c<t.length;c+=2){const u=n[t[c+1]];if(null==u)throw new H(-301,!1);r.push(t[c],u)}}}(n,r,c)}n.mergedAttrs=Zn(n.mergedAttrs,n.attrs)}function B_(e,t,n,r,c,u){for(let C=0;C<r.length;C++)Bl(gs(n,t),e,r[C].type);!function sx(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let C=0;C<r.length;C++){const k=r[C];k.providersResolver&&k.providersResolver(k)}let f=!1,m=!1,_=Ld(e,t,r.length,null);for(let C=0;C<r.length;C++){const k=r[C];n.mergedAttrs=Zn(n.mergedAttrs,k.hostAttrs),ax(e,n,t,_,k),rx(_,k,c),null!==k.contentQueries&&(n.flags|=4),(null!==k.hostBindings||null!==k.hostAttrs||0!==k.hostVars)&&(n.flags|=64);const X=k.type.prototype;!f&&(X.ngOnChanges||X.ngOnInit||X.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),f=!0),!m&&(X.ngOnChanges||X.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),m=!0),_++}!function Z0(e,t,n){const c=t.directiveEnd,u=e.data,f=t.attrs,m=[];let _=null,C=null;for(let k=t.directiveStart;k<c;k++){const X=u[k],Re=n?n.get(X):null,st=Re?Re.outputs:null;_=N_(X.inputs,k,_,Re?Re.inputs:null),C=N_(X.outputs,k,C,st);const gt=null===_||null===f||Li(t)?null:dx(_,k,f);m.push(gt)}null!==_&&(_.hasOwnProperty("class")&&(t.flags|=8),_.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=m,t.inputs=_,t.outputs=C}(e,n,u)}function $_(e,t,n){const r=n.directiveStart,c=n.directiveEnd,u=n.index,f=function hc(){return Bt.lFrame.currentDirectiveIndex}();try{Wo(u);for(let m=r;m<c;m++){const _=e.data[m],C=t[m];ds(m),(null!==_.hostBindings||0!==_.hostVars||null!==_.hostAttrs)&&nx(_,C)}}finally{Wo(-1),ds(f)}}function nx(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function xm(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function rx(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ai(t)&&(n[""]=e)}}function ax(e,t,n,r,c){e.data[r]=c;const u=c.factory||(c.factory=wo(c.type)),f=new ga(u,Ai(c),il);e.blueprint[r]=f,n[r]=f,function X0(e,t,n,r,c){const u=c.hostBindings;if(u){let f=e.hostBindingOpCodes;null===f&&(f=e.hostBindingOpCodes=[]);const m=~t.index;(function ex(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(f)!=m&&f.push(m),f.push(n,r,u)}}(e,t,r,Ld(e,n,c.hostVars,Zt),c)}function mr(e,t,n,r,c,u){const f=Ii(e,t);!function wm(e,t,n,r,c,u,f){if(null==u)e.removeAttribute(t,c,n);else{const m=null==f?xe(u):f(u,r||"",c);e.setAttribute(t,c,m,n)}}(t[Wt],f,u,e.value,n,r,c)}function lx(e,t,n,r,c,u){const f=u[t];if(null!==f)for(let m=0;m<f.length;)H_(r,n,f[m++],f[m++],f[m++])}function H_(e,t,n,r,c){const u=vi(null);try{const f=e.inputTransforms;null!==f&&f.hasOwnProperty(r)&&(c=f[r].call(t,c)),null!==e.setInput?e.setInput(t,c,n,r):t[r]=c}finally{vi(u)}}function dx(e,t,n){let r=null,c=0;for(;c<n.length;){const u=n[c];if(0!==u)if(5!==u){if("number"==typeof u)break;if(e.hasOwnProperty(u)){null===r&&(r=[]);const f=e[u];for(let m=0;m<f.length;m+=2)if(f[m]===t){r.push(u,f[m+1],n[c+1]);break}}c+=2}else c+=2;else c+=4}return r}function V_(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function j_(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const u=n[r+1];if(-1!==u){const f=e.data[u];_u(n[r]),f.contentQueries(2,t[u],u)}}}function zh(e,t){return e[lo]?e[Zs][si]=t:e[lo]=t,e[Zs]=t,t}function Cm(e,t,n){_u(0);const r=vi(null);try{t(e,n)}finally{vi(r)}}function U_(e){return e[Ho]||(e[Ho]=[])}function z_(e){return e.cleanup||(e.cleanup=[])}function G_(e,t,n){return(null===e||Ai(e))&&(n=function Dr(e){for(;Array.isArray(e);){if("object"==typeof e[Vo])return e;e=e[_n]}return null}(n[t.index])),n[Wt]}function W_(e,t){const n=e[Mi],r=n?n.get(l,null):null;r&&r.handleError(t)}function Dm(e,t,n,r,c){for(let u=0;u<n.length;){const f=n[u++],m=n[u++];H_(e.data[f],t[f],r,m,c)}}function ux(e,t){const n=Ui(t,e),r=n[vt];!function hx(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const c=n[_n];null!==c&&null===n[ai]&&(n[ai]=Sd(c,n[Mi])),Em(r,n,n[En])}function Em(e,t,n){hs(t);try{const r=e.viewQuery;null!==r&&Cm(1,r,n);const c=e.template;null!==c&&R_(e,t,c,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&j_(e,t),e.staticViewQueries&&Cm(2,e.viewQuery,n);const u=e.components;null!==u&&function fx(e,t){for(let n=0;n<t.length;n++)ux(e,t[n])}(t,u)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[zt]&=-5,Rl()}}let Y_=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,c){const u=typeof Zone>"u"?null:Zone.current,f=function Je(e,t,n){const r=Object.create(It);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const c=f=>{r.cleanupFn=f};return r.ref={notify:()=>Cl(r),run:()=>{if(r.dirty=!1,r.hasRun&&!ic(r))return;r.hasRun=!0;const f=tc(r);try{r.cleanupFn(),r.cleanupFn=ht,r.fn(c)}finally{nc(r,f)}},cleanup:()=>r.cleanupFn()},r.ref}(n,C=>{this.all.has(C)&&this.queue.set(C,u)},c);let m;this.all.add(f),f.notify();const _=()=>{f.cleanup(),m?.(),this.all.delete(f),this.queue.delete(f)};return m=r?.onDestroy(_),{destroy:_}}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}static#e=this.\u0275prov=lt({token:e,providedIn:"root",factory:()=>new e})}return e})();function Gh(e,t,n){let r=n?e.styles:null,c=n?e.classes:null,u=0;if(null!==t)for(let f=0;f<t.length;f++){const m=t[f];"number"==typeof m?u=m:1==u?c=ne(c,m):2==u&&(r=ne(r,m+": "+t[++f]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=c:e.classesWithoutHost=c}function Bd(e,t,n,r,c=!1){for(;null!==n;){const u=t[n.index];null!==u&&r.push(Tn(u)),Un(u)&&K_(u,r);const f=n.type;if(8&f)Bd(e,t,n.child,r);else if(32&f){const m=rd(n,t);let _;for(;_=m();)r.push(_)}else if(16&f){const m=th(t,n);if(Array.isArray(m))r.push(...m);else{const _=Ia(t[Mn]);Bd(_[vt],_,m,r,!0)}}n=c?n.projectionNext:n.next}return r}function K_(e,t){for(let n=jn;n<e.length;n++){const r=e[n],c=r[vt].firstChild;null!==c&&Bd(r[vt],r,c,t)}e[ci]!==e[_n]&&t.push(e[ci])}function Wh(e,t,n,r=!0){const c=t[Gn],u=c.rendererFactory,f=c.afterRenderEventManager;u.begin?.(),f?.begin();try{Z_(e,t,e.template,n)}catch(_){throw r&&W_(t,_),_}finally{u.end?.(),c.effectManager?.flush(),f?.end()}}function Z_(e,t,n,r){const c=t[zt];if(256!=(256&c)){t[Gn].effectManager?.flush(),hs(t);try{hu(t),function kf(e){return Bt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&R_(e,t,n,2,r);const f=3==(3&c);if(f){const C=e.preOrderCheckHooks;null!==C&&ps(t,C,null)}else{const C=e.preOrderHooks;null!==C&&mc(t,C,0,null),ma(t,0)}if(function gx(e){for(let t=Ku(e);null!==t;t=Zu(t)){if(!t[or])continue;const n=t[Uo];for(let r=0;r<n.length;r++){as(n[r])}}}(t),q_(t,2),null!==e.contentQueries&&j_(e,t),f){const C=e.contentCheckHooks;null!==C&&ps(t,C)}else{const C=e.contentHooks;null!==C&&mc(t,C,1),ma(t,1)}!function V0(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=M_(t,bi);try{for(let c=0;c<n.length;c++){const u=n[c];if(u<0)Wo(~u);else{const f=u,m=n[++c],_=n[++c];Rf(m,f),r.dirty=!1;const C=tc(r);try{_(2,t[f])}finally{nc(r,C)}}}}finally{null===t[bi]&&T_(t,bi),Wo(-1)}}(e,t);const m=e.components;null!==m&&Q_(t,m,0);const _=e.viewQuery;if(null!==_&&Cm(2,_,r),f){const C=e.viewCheckHooks;null!==C&&ps(t,C)}else{const C=e.viewHooks;null!==C&&mc(t,C,2),ma(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[zt]&=-73,Er(t)}finally{Rl()}}}function q_(e,t){for(let n=Ku(e);null!==n;n=Zu(n))for(let r=jn;r<n.length;r++)J_(n[r],t)}function _x(e,t,n){J_(Ui(t,e),n)}function J_(e,t){if(!function Mf(e){return 128==(128&e[zt])}(e))return;const n=e[vt],r=e[zt];if(80&r&&0===t||1024&r||2===t)Z_(n,e,n.template,e[En]);else if(e[_o]>0){q_(e,1);const c=n.components;null!==c&&Q_(e,c,1)}}function Q_(e,t,n){for(let r=0;r<t.length;r++)_x(e,t[r],n)}class $d{get rootNodes(){const t=this._lView,n=t[vt];return Bd(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[En]}set context(t){this._lView[En]=t}get destroyed(){return 256==(256&this._lView[zt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[pn];if(Un(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Rc(t,r),ya(n,r))}this._attachedToViewContainer=!1}ld(this._lView[vt],this._lView)}onDestroy(t){!function fu(e,t){if(256==(256&e[zt]))throw new H(911,!1);null===e[Xi]&&(e[Xi]=[]),e[Xi].push(t)}(this._lView,t)}markForCheck(){Ft(this._cdRefInjectingView||this._lView)}detach(){this._lView[zt]&=-129}reattach(){this._lView[zt]|=128}detectChanges(){Wh(this._lView[vt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new H(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function mp(e,t){Pa(e,t,t[Wt],2,null,null)}(this._lView[vt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new H(902,!1);this._appRef=t}}class bx extends $d{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Wh(t[vt],t,t[En],!1)}checkNoChanges(){}get context(){return null}}class X_ extends Va{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Xt(t);return new Hd(n,this.ngModule)}}function eb(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class yx{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=U(r);const c=this.injector.get(t,kd,r);return c!==kd||n===kd?c:this.parentInjector.get(t,n,r)}}class Hd extends Oh{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=eb(t.inputs);if(null!==n)for(const c of r)n.hasOwnProperty(c.propName)&&(c.transform=n[c.propName]);return r}get outputs(){return eb(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Ys(e){return e.map(Ws).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,c){let u=(c=c||this.ngModule)instanceof Ro?c:c?.injector;u&&null!==this.componentDef.getStandaloneInjector&&(u=this.componentDef.getStandaloneInjector(u)||u);const f=u?new yx(t,u):t,m=f.get(Rh,null);if(null===m)throw new H(407,!1);const X={rendererFactory:m,sanitizer:f.get(cm,null),effectManager:f.get(Y_,null),afterRenderEventManager:f.get(St,null)},Re=m.createRenderer(null,this.componentDef),Ge=this.componentDef.selectors[0][0]||"div",st=r?function U0(e,t,n,r){const u=r.get(Kn,!1)||n===Be.ShadowDom,f=e.selectRootElement(t,u);return function z0(e){F_(e)}(f),f}(Re,r,this.componentDef.encapsulation,f):Oc(Re,Ge,function vx(e){const t=e.toLowerCase();return"svg"===t?Go:"math"===t?"math":null}(Ge)),Nt=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let pt=null;null!==st&&(pt=Sd(st,f,!0));const Kt=vm(0,null,null,1,0,null,null,null,null,null,null),on=Uh(null,Kt,null,Nt,null,null,X,Re,f,null,pt);let wn,ao;hs(on);try{const Yr=this.componentDef;let xl,Sg=null;Yr.findHostDirectiveDefs?(xl=[],Sg=new Map,Yr.findHostDirectiveDefs(Yr,xl,Sg),xl.push(Yr)):xl=[Yr];const AM=function wx(e,t){const n=e[vt],r=en;return e[r]=t,ol(n,r,2,"#host",null)}(on,st),SM=function Cx(e,t,n,r,c,u,f){const m=c[vt];!function Dx(e,t,n,r){for(const c of e)t.mergedAttrs=Zn(t.mergedAttrs,c.hostAttrs);null!==t.mergedAttrs&&(Gh(t,t.mergedAttrs,!0),null!==n&&ah(r,n,t))}(r,e,t,f);let _=null;null!==t&&(_=Sd(t,c[Mi]));const C=u.rendererFactory.createRenderer(t,n);let k=16;n.signals?k=4096:n.onPush&&(k=64);const X=Uh(c,P_(n),null,k,c[e.index],e,u,C,null,null,_);return m.firstCreatePass&&xm(m,e,r.length-1),zh(c,X),c[e.index]=X}(AM,st,Yr,xl,on,X,Re);ao=uu(Kt,en),st&&function Mx(e,t,n,r){if(r)zn(e,n,["ng-version",lm.full]);else{const{attrs:c,classes:u}=function fi(e){const t=[],n=[];let r=1,c=2;for(;r<e.length;){let u=e[r];if("string"==typeof u)2===c?""!==u&&t.push(u,e[++r]):8===c&&n.push(u);else{if(!Vn(c))break;c=u}r++}return{attrs:t,classes:n}}(t.selectors[0]);c&&zn(e,n,c),u&&u.length>0&&sh(e,n,u.join(" "))}}(Re,Yr,st,r),void 0!==n&&function Tx(e,t,n){const r=e.projection=[];for(let c=0;c<t.length;c++){const u=n[c];r.push(null!=u?Array.from(u):null)}}(ao,this.ngContentSelectors,n),wn=function Ex(e,t,n,r,c,u){const f=An(),m=c[vt],_=Ii(f,c);B_(m,c,f,n,null,r);for(let k=0;k<n.length;k++)di(Ar(c,m,f.directiveStart+k,f),c);$_(m,c,f),_&&di(_,c);const C=Ar(c,m,f.directiveStart+f.componentOffset,f);if(e[En]=c[En]=C,null!==u)for(const k of u)k(C,t);return gm(m,f,e),C}(SM,Yr,xl,Sg,on,[Ax]),Em(Kt,on,null)}finally{Rl()}return new xx(this.componentType,wn,Vs(ao,on),on,ao)}}class xx extends tm{constructor(t,n,r,c,u){super(),this.location=r,this._rootLView=c,this._tNode=u,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new bx(c),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let c;if(null!==r&&(c=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const u=this._rootLView;Dm(u[vt],u,c,t,n),this.previousInputValues.set(t,n),Ft(Ui(this._tNode.index,u))}}get injector(){return new xi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Ax(){const e=An();fs(ft()[vt],e)}function Mm(e){let t=function tb(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let c;if(Ai(e))c=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new H(903,!1);c=t.\u0275dir}if(c){if(n){r.push(c);const f=e;f.inputs=Yh(e.inputs),f.inputTransforms=Yh(e.inputTransforms),f.declaredInputs=Yh(e.declaredInputs),f.outputs=Yh(e.outputs);const m=c.hostBindings;m&&kx(e,m);const _=c.viewQuery,C=c.contentQueries;if(_&&Ix(e,_),C&&Ox(e,C),j(e.inputs,c.inputs),j(e.declaredInputs,c.declaredInputs),j(e.outputs,c.outputs),null!==c.inputTransforms&&(null===f.inputTransforms&&(f.inputTransforms={}),j(f.inputTransforms,c.inputTransforms)),Ai(c)&&c.data.animation){const k=e.data;k.animation=(k.animation||[]).concat(c.data.animation)}}const u=c.features;if(u)for(let f=0;f<u.length;f++){const m=u[f];m&&m.ngInherit&&m(e),m===Mm&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Sx(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const c=e[r];c.hostVars=t+=c.hostVars,c.hostAttrs=Zn(c.hostAttrs,n=Zn(n,c.hostAttrs))}}(r)}function Yh(e){return e===Qe?{}:e===We?[]:e}function Ix(e,t){const n=e.viewQuery;e.viewQuery=n?(r,c)=>{t(r,c),n(r,c)}:t}function Ox(e,t){const n=e.contentQueries;e.contentQueries=n?(r,c,u)=>{t(r,c,u),n(r,c,u)}:t}function kx(e,t){const n=e.hostBindings;e.hostBindings=n?(r,c)=>{t(r,c),n(r,c)}:t}function Kh(e){return!!Tm(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Tm(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function gr(e,t,n){return e[t]=n}function Ni(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Am(e,t,n,r){const c=ft();return Ni(c,da(),t)&&(cn(),mr(Cn(),c,e,t,n,r)),Am}function _b(e,t,n,r,c,u,f,m){const _=ft(),C=cn(),k=e+en,X=C.firstCreatePass?function ow(e,t,n,r,c,u,f,m,_){const C=t.consts,k=ol(t,e,4,f||null,zi(C,m));ym(t,n,k,zi(C,_)),fs(t,k);const X=k.tView=vm(2,k,r,c,u,t.directiveRegistry,t.pipeRegistry,null,t.schemas,C,null);return null!==t.queries&&(t.queries.template(t,k),X.queries=t.queries.embeddedTView(k)),k}(k,C,_,t,n,r,c,u,f):C.data[k];eo(X,!1);const Re=bb(C,_,X,e);Pl()&&Fc(C,_,Re,X),di(Re,_),zh(_,_[k]=V_(Re,_,Re,X)),rr(X)&&_m(C,_,X),null!=f&&bm(_,X,m)}let bb=function vb(e,t,n,r){return Eo(!0),t[Wt].createComment("")};function yb(e){return ss(function If(){return Bt.lFrame.contextLView}(),en+e)}function Pm(e,t,n){const r=ft();return Ni(r,da(),t)&&mo(cn(),Cn(),r,e,t,r[Wt],n,!1),Pm}function Fm(e,t,n,r,c){const f=c?"class":"style";Dm(e,n,t.inputs[f],f,r)}function Xh(e,t,n,r){const c=ft(),u=cn(),f=en+e,m=c[Wt],_=u.firstCreatePass?function cw(e,t,n,r,c,u){const f=t.consts,_=ol(t,e,2,r,zi(f,c));return ym(t,n,_,zi(f,u)),null!==_.attrs&&Gh(_,_.attrs,!1),null!==_.mergedAttrs&&Gh(_,_.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,_),_}(f,u,c,t,n,r):u.data[f],C=xb(u,c,_,m,t,e);c[f]=C;const k=rr(_);return eo(_,!0),ah(m,C,_),32!=(32&_.flags)&&Pl()&&Fc(u,c,C,_),0===function mu(){return Bt.lFrame.elementDepthCount}()&&di(C,c),function Il(){Bt.lFrame.elementDepthCount++}(),k&&(_m(u,c,_),gm(u,_,c)),null!==r&&bm(c,_),Xh}function ef(){let e=An();ls()?dc():(e=e.parent,eo(e,!1));const t=e;(function Rg(e){return Bt.skipHydrationRootTNode===e})(t)&&function ca(){Bt.skipHydrationRootTNode=null}(),function gu(){Bt.lFrame.elementDepthCount--}();const n=cn();return n.firstCreatePass&&(fs(n,e),wr(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Vf(e){return 0!=(8&e.flags)}(t)&&Fm(n,t,ft(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function $g(e){return 0!=(16&e.flags)}(t)&&Fm(n,t,ft(),t.stylesWithoutHost,!1),ef}function Nm(e,t,n,r){return Xh(e,t,n,r),ef(),Nm}let xb=(e,t,n,r,c,u)=>(Eo(!0),Oc(r,c,function yu(){return Bt.lFrame.currentNamespace}()));function tf(e,t,n){const r=ft(),c=cn(),u=e+en,f=c.firstCreatePass?function uw(e,t,n,r,c){const u=t.consts,f=zi(u,r),m=ol(t,e,8,"ng-container",f);return null!==f&&Gh(m,f,!0),ym(t,n,m,zi(u,c)),null!==t.queries&&t.queries.elementStart(t,m),m}(u,c,r,t,n):c.data[u];eo(f,!0);const m=wb(c,r,f,e);return r[u]=m,Pl()&&Fc(c,r,m,f),di(m,r),rr(f)&&(_m(c,r,f),gm(c,f,r)),null!=n&&bm(r,f),tf}function nf(){let e=An();const t=cn();return ls()?dc():(e=e.parent,eo(e,!1)),t.firstCreatePass&&(fs(t,e),wr(e)&&t.queries.elementEnd(e)),nf}function Lm(e,t,n){return tf(e,t,n),nf(),Lm}let wb=(e,t,n,r)=>(Eo(!0),ad(t[Wt],""));function Cb(){return ft()}function Bm(e){return!!e&&"function"==typeof e.then}function Db(e){return!!e&&"function"==typeof e.subscribe}function $m(e,t,n,r){const c=ft(),u=cn(),f=An();return function Mb(e,t,n,r,c,u,f){const m=rr(r),C=e.firstCreatePass&&z_(e),k=t[En],X=U_(t);let Re=!0;if(3&r.type||f){const gt=Ii(r,t),Et=f?f(gt):gt,Nt=X.length,pt=f?on=>f(Tn(on[r.index])):r.index;let Kt=null;if(!f&&m&&(Kt=function pw(e,t,n,r){const c=e.cleanup;if(null!=c)for(let u=0;u<c.length-1;u+=2){const f=c[u];if(f===n&&c[u+1]===r){const m=t[Ho],_=c[u+2];return m.length>_?m[_]:null}"string"==typeof f&&(u+=2)}return null}(e,t,c,r.index)),null!==Kt)(Kt.__ngLastListenerFn__||Kt).__ngNextListenerFn__=u,Kt.__ngLastListenerFn__=u,Re=!1;else{u=Ab(r,t,k,u,!1);const on=n.listen(Et,c,u);X.push(u,on),C&&C.push(c,pt,Nt,Nt+1)}}else u=Ab(r,t,k,u,!1);const Ge=r.outputs;let st;if(Re&&null!==Ge&&(st=Ge[c])){const gt=st.length;if(gt)for(let Et=0;Et<gt;Et+=2){const wn=t[st[Et]][st[Et+1]].subscribe(u),ao=X.length;X.push(u,wn),C&&C.push(c,r.index,ao,-(ao+1))}}}(u,c,c[Wt],f,e,t,r),$m}function Tb(e,t,n,r){try{return Wn(6,t,n),!1!==n(r)}catch(c){return W_(e,c),!1}finally{Wn(7,t,n)}}function Ab(e,t,n,r,c){return function u(f){if(f===Function)return r;Ft(e.componentOffset>-1?Ui(e.index,t):t);let _=Tb(t,n,r,f),C=u.__ngNextListenerFn__;for(;C;)_=Tb(t,n,C,f)&&_,C=C.__ngNextListenerFn__;return c&&!1===_&&f.preventDefault(),_}}function Sb(e=1){return function Ff(e){return(Bt.lFrame.contextLView=function Nf(e,t){for(;e>0;)t=t[bo],e--;return t}(e,Bt.lFrame.contextLView))[En]}(e)}function mw(e,t){let n=null;const r=function Di(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let c=0;c<t.length;c++){const u=t[c];if("*"!==u){if(null===r?Kr(e,u,!0):oi(r,u))return c}else n=c}return n}function Ib(e){const t=ft()[Mn][Bn];if(!t.projection){const r=t.projection=xa(e?e.length:1,null),c=r.slice();let u=t.child;for(;null!==u;){const f=e?mw(u,e):0;null!==f&&(c[f]?c[f].projectionNext=u:r[f]=u,c[f]=u),u=u.next}}}function Ob(e,t=0,n){const r=ft(),c=cn(),u=ol(c,en+e,16,null,n||null);null===u.projection&&(u.projection=t),dc(),(!r[ai]||Mr())&&32!=(32&u.flags)&&function ih(e,t,n){Fa(t[Wt],0,t,n,ks(e,n,t),hd(n.parent||t[Bn],n,t))}(c,r,u)}function rf(e,t){return e<<17|t<<2}function zs(e){return e>>17&32767}function Vm(e){return 2|e}function Wa(e){return(131068&e)>>2}function jm(e,t){return-131069&e|t<<2}function Um(e){return 1|e}function Vb(e,t,n,r,c){const u=e[n+1],f=null===t;let m=r?zs(u):Wa(u),_=!1;for(;0!==m&&(!1===_||f);){const k=e[m+1];xw(e[m],t)&&(_=!0,e[m+1]=r?Um(k):Vm(k)),m=r?zs(k):Wa(k)}_&&(e[n+1]=r?Vm(u):Um(u))}function xw(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Cs(e,t)>=0}const hi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function jb(e){return e.substring(hi.key,hi.keyEnd)}function Ub(e,t){const n=hi.textEnd;return n===t?-1:(t=hi.keyEnd=function Ew(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,hi.key=t,n),pl(e,t,n))}function pl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function zm(e,t,n){return Xo(e,t,n,!1),zm}function Gm(e,t){return Xo(e,t,null,!0),Gm}function Kb(e){!function er(e,t,n,r){const c=cn(),u=lr(2);c.firstUpdatePass&&qb(c,null,u,r);const f=ft();if(n!==Zt&&Ni(f,u,n)){const m=c.data[yi()];if(ev(m,r)&&!Zb(c,u)){let _=r?m.classesWithoutHost:m.stylesWithoutHost;null!==_&&(n=ne(_,n||"")),Fm(c,m,f,n,r)}else!function Fw(e,t,n,r,c,u,f,m){c===Zt&&(c=We);let _=0,C=0,k=0<c.length?c[0]:null,X=0<u.length?u[0]:null;for(;null!==k||null!==X;){const Re=_<c.length?c[_+1]:void 0,Ge=C<u.length?u[C+1]:void 0;let gt,st=null;k===X?(_+=2,C+=2,Re!==Ge&&(st=X,gt=Ge)):null===X||null!==k&&k<X?(_+=2,st=k):(C+=2,st=X,gt=Ge),null!==st&&Qb(e,t,n,r,st,gt,f,m),k=_<c.length?c[_]:null,X=C<u.length?u[C]:null}}(c,m,f,f[Wt],f[u+1],f[u+1]=function Rw(e,t,n){if(null==n||""===n)return We;const r=[],c=Zo(n);if(Array.isArray(c))for(let u=0;u<c.length;u++)e(r,c[u],!0);else if("object"==typeof c)for(const u in c)c.hasOwnProperty(u)&&e(r,u,c[u]);else"string"==typeof c&&t(r,c);return r}(e,t,n),r,u)}}(Pw,br,e,!0)}function br(e,t){for(let n=function Cw(e){return function Gb(e){hi.key=0,hi.keyEnd=0,hi.value=0,hi.valueEnd=0,hi.textEnd=e.length}(e),Ub(e,pl(e,0,hi.textEnd))}(t);n>=0;n=Ub(t,n))Gi(e,jb(t),!0)}function Xo(e,t,n,r){const c=ft(),u=cn(),f=lr(2);u.firstUpdatePass&&qb(u,e,f,r),t!==Zt&&Ni(c,f,t)&&Qb(u,u.data[yi()],c,c[Wt],e,c[f+1]=function Nw(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=W(Zo(e)))),e}(t,n),r,f)}function Zb(e,t){return t>=e.expandoStartIndex}function qb(e,t,n,r){const c=e.data;if(null===c[n+1]){const u=c[yi()],f=Zb(e,n);ev(u,r)&&null===t&&!f&&(t=!1),t=function Sw(e,t,n,r){const c=us(e);let u=r?t.residualClasses:t.residualStyles;if(null===c)0===(r?t.classBindings:t.styleBindings)&&(n=Gd(n=Wm(null,e,t,n,r),t.attrs,r),u=null);else{const f=t.directiveStylingLast;if(-1===f||e[f]!==c)if(n=Wm(c,e,t,n,r),null===u){let _=function Iw(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Wa(r))return e[zs(r)]}(e,t,r);void 0!==_&&Array.isArray(_)&&(_=Wm(null,e,t,_[1],r),_=Gd(_,t.attrs,r),function Ow(e,t,n,r){e[zs(n?t.classBindings:t.styleBindings)]=r}(e,t,r,_))}else u=function kw(e,t,n){let r;const c=t.directiveEnd;for(let u=1+t.directiveStylingLast;u<c;u++)r=Gd(r,e[u].hostAttrs,n);return Gd(r,t.attrs,n)}(e,t,r)}return void 0!==u&&(r?t.residualClasses=u:t.residualStyles=u),n}(c,u,t,r),function vw(e,t,n,r,c,u){let f=u?t.classBindings:t.styleBindings,m=zs(f),_=Wa(f);e[r]=n;let k,C=!1;if(Array.isArray(n)?(k=n[1],(null===k||Cs(n,k)>0)&&(C=!0)):k=n,c)if(0!==_){const Re=zs(e[m+1]);e[r+1]=rf(Re,m),0!==Re&&(e[Re+1]=jm(e[Re+1],r)),e[m+1]=function _w(e,t){return 131071&e|t<<17}(e[m+1],r)}else e[r+1]=rf(m,0),0!==m&&(e[m+1]=jm(e[m+1],r)),m=r;else e[r+1]=rf(_,0),0===m?m=r:e[_+1]=jm(e[_+1],r),_=r;C&&(e[r+1]=Vm(e[r+1])),Vb(e,k,r,!0),Vb(e,k,r,!1),function yw(e,t,n,r,c){const u=c?e.residualClasses:e.residualStyles;null!=u&&"string"==typeof t&&Cs(u,t)>=0&&(n[r+1]=Um(n[r+1]))}(t,k,e,r,u),f=rf(m,_),u?t.classBindings=f:t.styleBindings=f}(c,u,t,n,f,r)}}function Wm(e,t,n,r,c){let u=null;const f=n.directiveEnd;let m=n.directiveStylingLast;for(-1===m?m=n.directiveStart:m++;m<f&&(u=t[m],r=Gd(r,u.hostAttrs,c),u!==e);)m++;return null!==e&&(n.directiveStylingLast=m),r}function Gd(e,t,n){const r=n?1:2;let c=-1;if(null!==t)for(let u=0;u<t.length;u++){const f=t[u];"number"==typeof f?c=f:c===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Gi(e,f,!!n||t[++u]))}return void 0===e?null:e}function Pw(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Gi(e,r,n)}function Qb(e,t,n,r,c,u,f,m){if(!(3&t.type))return;const _=e.data,C=_[m+1],k=function bw(e){return 1==(1&e)}(C)?Xb(_,t,n,c,Wa(C),f):void 0;sf(k)||(sf(u)||function gw(e){return 2==(2&e)}(C)&&(u=Xb(_,null,n,c,m,f)),function vp(e,t,n,r,c){if(t)c?e.addClass(n,r):e.removeClass(n,r);else{let u=-1===r.indexOf("-")?void 0:Sc.DashCase;null==c?e.removeStyle(n,r,u):("string"==typeof c&&c.endsWith("!important")&&(c=c.slice(0,-10),u|=Sc.Important),e.setStyle(n,r,c,u))}}(r,f,sc(yi(),n),c,u))}function Xb(e,t,n,r,c,u){const f=null===t;let m;for(;c>0;){const _=e[c],C=Array.isArray(_),k=C?_[1]:_,X=null===k;let Re=n[c+1];Re===Zt&&(Re=X?We:void 0);let Ge=X?ku(Re,r):k===r?Re:void 0;if(C&&!sf(Ge)&&(Ge=ku(_,r)),sf(Ge)&&(m=Ge,f))return m;const st=e[c+1];c=f?zs(st):Wa(st)}if(null!==t){let _=u?t.residualClasses:t.residualStyles;null!=_&&(m=ku(_,r))}return m}function sf(e){return void 0!==e}function ev(e,t){return 0!=(e.flags&(t?8:16))}function tv(e,t=""){const n=ft(),r=cn(),c=e+en,u=r.firstCreatePass?ol(r,c,1,t,null):r.data[c],f=nv(r,n,u,t,e);n[c]=f,Pl()&&Fc(r,n,f,u),eo(u,!1)}let nv=(e,t,n,r,c)=>(Eo(!0),function Os(e,t){return e.createText(t)}(t[Wt],r));function Ym(e){return af("",e,""),Ym}function af(e,t,n){const r=ft(),c=function sl(e,t,n,r){return Ni(e,da(),n)?t+xe(n)+r:Zt}(r,e,t,n);return c!==Zt&&function Wr(e,t,n){const r=sc(t,e);!function qu(e,t,n){e.setValue(t,n)}(e[Wt],r,n)}(r,yi(),c),af}function Km(e,t,n){const r=ft();return Ni(r,da(),t)&&mo(cn(),Cn(),r,e,t,r[Wt],n,!0),Km}function Zm(e,t,n){const r=ft();if(Ni(r,da(),t)){const u=cn(),f=Cn();mo(u,f,r,e,t,G_(us(u.data),f,r),n,!0)}return Zm}const Ya=void 0;var oC=["en",[["a","p"],["AM","PM"],Ya],[["AM","PM"],Ya,Ya],[["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"]],Ya,[["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"]],Ya,[["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}",Ya,"{1} 'at' {0}",Ya],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function iC(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ml={};function qm(e){const t=function rC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=xv(t);if(n)return n;const r=t.split("-")[0];if(n=xv(r),n)return n;if("en"===r)return oC;throw new H(701,!1)}function yv(e){return qm(e)[gl.PluralCase]}function xv(e){return e in ml||(ml[e]=Ut.ng&&Ut.ng.common&&Ut.ng.common.locales&&Ut.ng.common.locales[e]),ml[e]}var gl=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(gl||{});const _l="en-US";let wv=_l;function Xm(e,t,n,r,c){if(e=ge(e),Array.isArray(e))for(let u=0;u<e.length;u++)Xm(e[u],t,n,r,c);else{const u=cn(),f=ft(),m=An();let _=Hr(e)?e:ge(e.provide);const C=xd(e),k=1048575&m.providerIndexes,X=m.directiveStart,Re=m.providerIndexes>>20;if(Hr(e)||!e.multi){const Ge=new ga(C,c,il),st=tg(_,t,c?k:k+Re,X);-1===st?(Bl(gs(m,f),u,_),eg(u,e,t.length),t.push(_),m.directiveStart++,m.directiveEnd++,c&&(m.providerIndexes+=1048576),n.push(Ge),f.push(Ge)):(n[st]=Ge,f[st]=Ge)}else{const Ge=tg(_,t,k+Re,X),st=tg(_,t,k,k+Re),Et=st>=0&&n[st];if(c&&!Et||!c&&!(Ge>=0&&n[Ge])){Bl(gs(m,f),u,_);const Nt=function iD(e,t,n,r,c){const u=new ga(e,n,il);return u.multi=[],u.index=t,u.componentProviders=0,Yv(u,c,r&&!n),u}(c?nD:tD,n.length,c,r,C);!c&&Et&&(n[st].providerFactory=Nt),eg(u,e,t.length,0),t.push(_),m.directiveStart++,m.directiveEnd++,c&&(m.providerIndexes+=1048576),n.push(Nt),f.push(Nt)}else eg(u,e,Ge>-1?Ge:st,Yv(n[c?st:Ge],C,!c&&r));!c&&r&&Et&&n[st].componentProviders++}}}function eg(e,t,n,r){const c=Hr(t),u=function Ch(e){return!!e.useClass}(t);if(c||u){const _=(u?ge(t.useClass):t).prototype.ngOnDestroy;if(_){const C=e.destroyHooks||(e.destroyHooks=[]);if(!c&&t.multi){const k=C.indexOf(n);-1===k?C.push(n,[r,_]):C[k+1].push(r,_)}else C.push(n,_)}}}function Yv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function tg(e,t,n,r){for(let c=n;c<r;c++)if(t[c]===e)return c;return-1}function tD(e,t,n,r){return ng(this.multi,[])}function nD(e,t,n,r){const c=this.multi;let u;if(this.providerFactory){const f=this.providerFactory.componentProviders,m=Ar(n,n[vt],this.providerFactory.index,r);u=m.slice(0,f),ng(c,u);for(let _=f;_<m.length;_++)u.push(m[_])}else u=[],ng(c,u);return u}function ng(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Kv(e,t=[]){return n=>{n.providersResolver=(r,c)=>function eD(e,t,n){const r=cn();if(r.firstCreatePass){const c=Ai(e);Xm(n,r.data,r.blueprint,c,!0),Xm(t,r.data,r.blueprint,c,!1)}}(r,c?c(e):e,t)}}class Ka{}class oD{}function rD(e,t){return new ig(e,t??null,[])}class ig extends Ka{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new X_(this);const c=function ri(e,t){const n=e[Vt]||null;if(!n&&!0===t)throw new Error(`Type ${W(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function ui(e){return e instanceof Function?e():e}(c.bootstrap),this._r3Injector=$h(t,n,[{provide:Ka,useValue:this},{provide:Va,useValue:this.componentFactoryResolver},...r],W(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 og extends oD{constructor(t){super(),this.moduleType=t}create(t){return new ig(this.moduleType,t,[])}}class Zv extends Ka{constructor(t){super(),this.componentFactoryResolver=new X_(this),this.instance=null;const n=new Zc([...t.providers,{provide:Ka,useValue:this},{provide:Va,useValue:this.componentFactoryResolver}],t.parent||Kc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let cD=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Ls(0,n.type),c=r.length>0?function aD(e,t,n=null){return new Zv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,c)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=lt({token:e,providedIn:"environment",factory:()=>new e(xt(Ro))})}return e})();function qv(e){e.getStandaloneInjector=t=>t.get(cD).getOrCreateStandaloneInjector(e)}function iy(e,t,n){const r=Oi()+e,c=ft();return c[r]===Zt?gr(c,r,n?t.call(n):t()):function Vd(e,t){return e[t]}(c,r)}function oy(e,t,n,r){return sy(ft(),Oi(),e,t,n,r)}function ry(e,t,n,r,c){return ay(ft(),Oi(),e,t,n,r,c)}function Jd(e,t){const n=e[t];return n===Zt?void 0:n}function sy(e,t,n,r,c,u){const f=t+n;return Ni(e,f,c)?gr(e,f+1,u?r.call(u,c):r(c)):Jd(e,f+1)}function ay(e,t,n,r,c,u,f){const m=t+n;return function Ga(e,t,n,r){const c=Ni(e,t,n);return Ni(e,t+1,r)||c}(e,m,c,u)?gr(e,m+2,f?r.call(f,c,u):r(c,u)):Jd(e,m+2)}function uy(e,t){const n=cn();let r;const c=e+en;n.firstCreatePass?(r=function DD(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[c]=r,r.onDestroy&&(n.destroyHooks??=[]).push(c,r.onDestroy)):r=n.data[c];const u=r.factory||(r.factory=wo(r.type)),m=kt(il);try{const _=ba(!1),C=u();return ba(_),function aw(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,ft(),c,C),C}finally{kt(m)}}function hy(e,t,n){const r=e+en,c=ft(),u=ss(c,r);return Qd(c,r)?sy(c,Oi(),t,u.transform,n,u):u.transform(n)}function fy(e,t,n,r){const c=e+en,u=ft(),f=ss(u,c);return Qd(u,c)?ay(u,Oi(),t,f.transform,n,r,f):f.transform(n,r)}function Qd(e,t){return e[vt].data[t].pure}function AD(){return this._results[Symbol.iterator]()}class hf{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new b)}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=hf.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=AD)}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 c=function ki(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Ul(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let c=e[r],u=t[r];if(n&&(c=n(c),u=n(u)),u!==c)return!1}return!0}(r._results,c,n))&&(r._results=c,r.length=c.length,r.last=c[this.length-1],r.first=c[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function ID(e,t,n,r=!0){const c=t[vt];if(function cd(e,t,n,r){const c=jn+r,u=n.length;r>0&&(n[c-1][si]=t),r<u-jn?(t[si]=n[c],Ri(n,jn+r,t)):(n.push(t),t[si]=null),t[pn]=n;const f=t[Ti];null!==f&&n!==f&&function Oa(e,t){const n=e[Uo];t[Mn]!==t[pn][pn][Mn]&&(e[or]=!0),null===n?e[Uo]=[t]:n.push(t)}(f,t);const m=t[Hi];null!==m&&m.insertView(e),t[zt]|=128}(c,t,e,n),r){const u=Nc(n,e),f=t[Wt],m=Pc(f,e[ci]);null!==m&&function Ju(e,t,n,r,c,u){r[_n]=c,r[Bn]=t,Pa(e,r,n,1,c,u)}(c,e[Bn],f,t,m,u)}}let Xd=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=RD}return e})();const OD=Xd,kD=class extends OD{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)}createEmbeddedViewImpl(t,n,r){const c=function SD(e,t,n,r){const c=t.tView,m=Uh(e,c,n,4096&e[zt]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);m[Ti]=e[t.index];const C=e[Hi];return null!==C&&(m[Hi]=C.createEmbeddedView(c)),Em(c,m,n),m}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new $d(c)}};function RD(){return ff(An(),ft())}function ff(e,t){return 4&e.type?new kD(t,e,Vs(e,t)):null}let mf=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=$D}return e})();function $D(){return yy(An(),ft())}const HD=mf,by=class extends HD{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Vs(this._hostTNode,this._hostLView)}get injector(){return new xi(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ll(this._hostTNode,this._hostLView);if(Fl(t)){const n=gc(t,this._hostLView),r=_a(t);return new xi(n[vt].data[r+8],n)}return new xi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=vy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-jn}createEmbeddedView(t,n,r){let c,u;"number"==typeof r?c=r:null!=r&&(c=r.index,u=r.injector);const m=t.createEmbeddedViewImpl(n||{},u,null);return this.insertImpl(m,c,false),m}createComponent(t,n,r,c,u){const f=t&&!function ws(e){return"function"==typeof e}(t);let m;if(f)m=n;else{const gt=n||{};m=gt.index,r=gt.injector,c=gt.projectableNodes,u=gt.environmentInjector||gt.ngModuleRef}const _=f?t:new Hd(Xt(t)),C=r||this.parentInjector;if(!u&&null==_.ngModule){const Et=(f?C:this.parentInjector).get(Ro,null);Et&&(u=Et)}Xt(_.componentType??{});const Ge=_.create(C,c,null,u);return this.insertImpl(Ge.hostView,m,false),Ge}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const c=t._lView;if(function Sl(e){return Un(e[pn])}(c)){const _=this.indexOf(t);if(-1!==_)this.detach(_);else{const C=c[pn],k=new by(C,C[Bn],C[pn]);k.detach(k.indexOf(t))}}const f=this._adjustIndex(n),m=this._lContainer;return ID(m,c,f,!r),t.attachToViewContainerRef(),Ri(sg(m),f,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=vy(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Rc(this._lContainer,n);r&&(ya(sg(this._lContainer),n),ld(r[vt],r))}detach(t){const n=this._adjustIndex(t,-1),r=Rc(this._lContainer,n);return r&&null!=ya(sg(this._lContainer),n)?new $d(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function vy(e){return e[8]}function sg(e){return e[8]||(e[8]=[])}function yy(e,t){let n;const r=t[e.index];return Un(r)?n=r:(n=V_(r,t,null,e),t[e.index]=n,zh(t,n)),xy(n,t,e,r),new by(n,e,t)}let xy=function wy(e,t,n,r){if(e[ci])return;let c;c=8&n.type?Tn(r):function VD(e,t){const n=e[Wt],r=n.createComment(""),c=Ii(t,e);return hr(n,Pc(n,c),r,function bp(e,t){return e.nextSibling(t)}(n,c),!1),r}(t,n),e[ci]=c};class ag{constructor(t){this.queryList=t,this.matches=null}clone(){return new ag(this.queryList)}setDirty(){this.queryList.setDirty()}}class cg{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,c=[];for(let u=0;u<r;u++){const f=n.getByIndex(u);c.push(this.queries[f.indexInDeclarationView].clone())}return new cg(c)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Oy(t,n).matches&&this.queries[n].setDirty()}}class Cy{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class lg{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const c=null!==n?n.length:0,u=this.getByIndex(r).embeddedTView(t,c);u&&(u.indexInDeclarationView=r,null!==n?n.push(u):n=[u])}return null!==n?new lg(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class dg{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new dg(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let c=0;c<r.length;c++){const u=r[c];this.matchTNodeWithReadOption(t,n,zD(n,u)),this.matchTNodeWithReadOption(t,n,bc(n,t,u,!1,!1))}else r===Xd?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,bc(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const c=this.metadata.read;if(null!==c)if(c===ja||c===mf||c===Xd&&4&n.type)this.addMatch(n.index,-2);else{const u=bc(n,t,c,!1,!1);null!==u&&this.addMatch(n.index,u)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function zD(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function WD(e,t,n,r){return-1===n?function GD(e,t){return 11&e.type?Vs(e,t):4&e.type?ff(e,t):null}(t,e):-2===n?function YD(e,t,n){return n===ja?Vs(t,e):n===Xd?ff(t,e):n===mf?yy(t,e):void 0}(e,t,r):Ar(e,e[vt],n,t)}function Dy(e,t,n,r){const c=t[Hi].queries[r];if(null===c.matches){const u=e.data,f=n.matches,m=[];for(let _=0;_<f.length;_+=2){const C=f[_];m.push(C<0?null:WD(t,u[C],f[_+1],n.metadata.read))}c.matches=m}return c.matches}function ug(e,t,n,r){const c=e.queries.getByIndex(n),u=c.matches;if(null!==u){const f=Dy(e,t,c,n);for(let m=0;m<u.length;m+=2){const _=u[m];if(_>0)r.push(f[m/2]);else{const C=u[m+1],k=t[-_];for(let X=jn;X<k.length;X++){const Re=k[X];Re[Ti]===Re[pn]&&ug(Re[vt],Re,C,r)}if(null!==k[Uo]){const X=k[Uo];for(let Re=0;Re<X.length;Re++){const Ge=X[Re];ug(Ge[vt],Ge,C,r)}}}}}return r}function Ey(e){const t=ft(),n=cn(),r=ua();_u(r+1);const c=Oy(n,r);if(e.dirty&&function Ef(e){return 4==(4&e[zt])}(t)===(2==(2&c.metadata.flags))){if(null===c.matches)e.reset([]);else{const u=c.crossesNgTemplate?ug(n,t,r,[]):Dy(n,t,c,r);e.reset(u,rm),e.notifyOnChanges()}return!0}return!1}function My(e,t,n){const r=cn();r.firstCreatePass&&(Iy(r,new Cy(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Sy(r,ft(),t)}function Ty(e,t,n,r){const c=cn();if(c.firstCreatePass){const u=An();Iy(c,new Cy(t,n,r),u.index),function ZD(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(c,e),2==(2&n)&&(c.staticContentQueries=!0)}Sy(c,ft(),n)}function Ay(){return function KD(e,t){return e[Hi].queries[t].queryList}(ft(),ua())}function Sy(e,t,n){const r=new hf(4==(4&n));(function Y0(e,t,n,r){const c=U_(t);c.push(n),e.firstCreatePass&&z_(e).push(r,c.length-1)})(e,t,r,r.destroy),null===t[Hi]&&(t[Hi]=new cg),t[Hi].queries.push(new ag(r))}function Iy(e,t,n){null===e.queries&&(e.queries=new lg),e.queries.track(new dg(t,n))}function Oy(e,t){return e.queries.getByIndex(t)}function ky(e,t){return ff(e,t)}const gE=new un("Application Initializer");let gg=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=ot(gE,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const c of this.appInits){const u=c();if(Bm(u))n.push(u);else if(Db(u)){const f=new Promise((m,_)=>{u.subscribe({complete:m,error:_})});n.push(f)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(c=>{this.reject(c)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const _f=new un("LocaleId",{providedIn:"root",factory:()=>ot(_f,Tt.Optional|Tt.SkipSelf)||function bE(){return typeof $localize<"u"&&$localize.locale||_l}()}),vE=new un("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let qy=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ae.X(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const e0=new un(""),t0=new un("");let vg,VE=(()=>{class e{constructor(n,r,c){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,vg||(function jE(e){vg=e}(c),c.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:()=>{Le.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{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,c){let u=-1;r&&r>0&&(u=setTimeout(()=>{this._callbacks=this._callbacks.filter(f=>f.timeoutId!==u),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:u,updateCb:c})}whenStable(n,r,c){if(c&&!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,c),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,c){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(xt(Le),xt(n0),xt(t0))};static#t=this.\u0275prov=lt({token:e,factory:e.\u0275fac})}return e})(),n0=(()=>{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 vg?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Gs=null;const o0=new un("AllowMultipleToken"),yg=new un("PlatformDestroyListeners"),r0=new un("appBootstrapListener");function c0(e,t,n=[]){const r=`Platform: ${t}`,c=new un(r);return(u=[])=>{let f=xg();if(!f||f.injector.get(o0,!1)){const m=[...n,...u,{provide:c,useValue:!0}];e?e(m):function GE(e){if(Gs&&!Gs.get(o0,!1))throw new H(400,!1);(function s0(){!function cu(e){au=e}(()=>{throw new H(600,!1)})})(),Gs=e;const t=e.get(d0);(function a0(e){e.get(Th,null)?.forEach(n=>n())})(e)}(function l0(e=[],t){return fo.create({name:t,providers:[{provide:Yc,useValue:"platform"},{provide:yg,useValue:new Set([()=>Gs=null])},...e]})}(m,r))}return function YE(e){const t=xg();if(!t)throw new H(401,!1);return t}()}}function xg(){return Gs?.get(d0)??null}let d0=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const c=function KE(e="zone.js",t){return"noop"===e?new Qn:"zone.js"===e?new Le(t):e}(r?.ngZone,function u0(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return c.run(()=>{const u=function sD(e,t,n){return new ig(e,t,n)}(n.moduleType,this.injector,function g0(e){return[{provide:Le,useFactory:e},{provide:vd,multi:!0,useFactory:()=>{const t=ot(qE,{optional:!0});return()=>t.initialize()}},{provide:m0,useFactory:ZE},{provide:mi,useFactory:Xn}]}(()=>c)),f=u.injector.get(l,null);return c.runOutsideAngular(()=>{const m=c.onError.subscribe({next:_=>{f.handleError(_)}});u.onDestroy(()=>{vf(this._modules,u),m.unsubscribe()})}),function h0(e,t,n){try{const r=n();return Bm(r)?r.catch(c=>{throw t.runOutsideAngular(()=>e.handleError(c)),c}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(f,c,()=>{const m=u.injector.get(gg);return m.runInitializers(),m.donePromise.then(()=>(function Cv(e){Ae(e,"Expected localeId to be defined"),"string"==typeof e&&(wv=e.toLowerCase().replace(/_/g,"-"))}(u.injector.get(_f,_l)||_l),this._moduleDoBootstrap(u),u))})})}bootstrapModule(n,r=[]){const c=f0({},r);return function UE(e,t,n){const r=new og(n);return Promise.resolve(r)}(0,0,n).then(u=>this.bootstrapModuleFactory(u,c))}_moduleDoBootstrap(n){const r=n.injector.get(yl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(c=>r.bootstrap(c));else{if(!n.instance.ngDoBootstrap)throw new H(-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 H(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(yg,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(xt(fo))};static#t=this.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function f0(e,t){return Array.isArray(t)?t.reduce(f0,e):{...e,...t}}let yl=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ot(m0),this.zoneIsStable=ot(mi),this.componentTypes=[],this.components=[],this.isStable=ot(qy).hasPendingTasks.pipe((0,de.w)(n=>n?(0,se.of)(!1):this.zoneIsStable),(0,ce.x)(),(0,te.B)()),this._injector=ot(Ro)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const c=n instanceof Oh;if(!this._injector.get(gg).done)throw!c&&function Ji(e){const t=Xt(e)||Ln(e)||qn(e);return null!==t&&t.standalone}(n),new H(405,!1);let f;f=c?n:this._injector.get(Va).resolveComponentFactory(n),this.componentTypes.push(f.componentType);const m=function zE(e){return e.isBoundToModule}(f)?void 0:this._injector.get(Ka),C=f.create(fo.NULL,[],r||f.selector,m),k=C.location.nativeElement,X=C.injector.get(e0,null);return X?.registerApplication(k),C.onDestroy(()=>{this.detachView(C.hostView),vf(this.components,C),X?.unregisterApplication(k)}),this._loadComponent(C),C}tick(){if(this._runningTick)throw new H(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;vf(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(r0,[]);r.push(...this._bootstrapListeners),r.forEach(c=>c(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),()=>vf(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new H(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function vf(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const m0=new un("",{providedIn:"root",factory:()=>ot(l).handleError.bind(void 0)});function ZE(){const e=ot(Le),t=ot(l);return n=>e.runOutsideAngular(()=>t.handleError(n))}let qE=(()=>{class e{constructor(){this.zone=ot(Le),this.applicationRef=ot(yl)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function QE(){}let XE=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=eM}return e})();function eM(e){return function tM(e,t,n){if(Vi(e)&&!n){const r=Ui(e.index,t);return new $d(r,r)}return 47&e.type?new $d(t[Mn],t):null}(An(),ft(),16==(16&e))}class y0{constructor(){}supports(t){return Kh(t)}create(t){return new aM(t)}}const sM=(e,t)=>t;class aM{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||sM}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,c=0,u=null;for(;n||r;){const f=!r||n&&n.currentIndex<w0(r,c,u)?n:r,m=w0(f,c,u),_=f.currentIndex;if(f===r)c--,r=r._nextRemoved;else if(n=n._next,null==f.previousIndex)c++;else{u||(u=[]);const C=m-c,k=_-c;if(C!=k){for(let Re=0;Re<C;Re++){const Ge=Re<u.length?u[Re]:u[Re]=0,st=Ge+Re;k<=st&&st<C&&(u[Re]=Ge+1)}u[f.previousIndex]=k-C}}m!==_&&t(f,m,_)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Kh(t))throw new H(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let c,u,f,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let m=0;m<this.length;m++)u=t[m],f=this._trackByFn(m,u),null!==n&&Object.is(n.trackById,f)?(r&&(n=this._verifyReinsertion(n,u,f,m)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,f,m),r=!0),n=n._next}else c=0,function Hx(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,m=>{f=this._trackByFn(c,m),null!==n&&Object.is(n.trackById,f)?(r&&(n=this._verifyReinsertion(n,m,f,c)),Object.is(n.item,m)||this._addIdentityChange(n,m)):(n=this._mismatch(n,m,f,c),r=!0),n=n._next,c++}),this.length=c;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,c){let u;return null===t?u=this._itTail:(u=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,u,c)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,c))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,u,c)):t=this._addAfter(new cM(n,r),u,c),t}_verifyReinsertion(t,n,r,c){let u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==u?t=this._reinsertAfter(u,t._prev,c):t.currentIndex!=c&&(t.currentIndex=c,this._addToMoves(t,c)),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 c=t._prevRemoved,u=t._nextRemoved;return null===c?this._removalsHead=u:c._nextRemoved=u,null===u?this._removalsTail=c:u._prevRemoved=c,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 c=null===n?this._itHead:n._next;return t._next=c,t._prev=n,null===c?this._itTail=t:c._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new x0),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 x0),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 cM{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 lM{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 x0{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new lM,this.map.set(n,r)),r.add(t)}get(t,n){const c=this.map.get(t);return c?c.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 w0(e,t,n){const r=e.previousIndex;if(null===r)return r;let c=0;return n&&r<n.length&&(c=n[r]),r+t+c}class C0{constructor(){}supports(t){return t instanceof Map||Tm(t)}create(){return new dM}}class dM{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Tm(t)))throw new H(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,c)=>{if(n&&n.key===c)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const u=this._getOrCreateRecordForKey(c,r);n=this._insertBeforeOrAppend(n,u)}}),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 c=this._records.get(t);this._maybeAddToChanges(c,n);const u=c._prev,f=c._next;return u&&(u._next=f),f&&(f._prev=u),c._next=null,c._prev=null,c}const r=new uM(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 uM{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 D0(){return new Mg([new y0])}let Mg=(()=>{class e{static#e=this.\u0275prov=lt({token:e,providedIn:"root",factory:D0});constructor(n){this.factories=n}static create(n,r){if(null!=r){const c=r.factories.slice();n=n.concat(c)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||D0()),deps:[[e,new Ds,new Or]]}}find(n){const r=this.factories.find(c=>c.supports(n));if(null!=r)return r;throw new H(901,!1)}}return e})();function E0(){return new Tg([new C0])}let Tg=(()=>{class e{static#e=this.\u0275prov=lt({token:e,providedIn:"root",factory:E0});constructor(n){this.factories=n}static create(n,r){if(r){const c=r.factories.slice();n=n.concat(c)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||E0()),deps:[[e,new Ds,new Or]]}}find(n){const r=this.factories.find(c=>c.supports(n));if(r)return r;throw new H(901,!1)}}return e})();const pM=c0(null,"core",[]);let mM=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(xt(yl))};static#t=this.\u0275mod=yr({type:e});static#n=this.\u0275inj=he({})}return e})();function MM(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},8832:(et,Me,v)=>{"use strict";v.d(Me,{Cf:()=>B,F:()=>xn,Fj:()=>le,JJ:()=>at,JL:()=>bt,JU:()=>de,NI:()=>Bi,On:()=>fi,UX:()=>ts,_Y:()=>vr,a5:()=>he,kI:()=>J,oH:()=>Ji,sg:()=>Bo,u5:()=>qs});var h=v(7786),o=v(9462),De=v(107),Ee=v(6312),ae=v(8412);let se=(()=>{class D{constructor(y,$){this._renderer=y,this._elementRef=$,this.onChange=Ce=>{},this.onTouched=()=>{}}setProperty(y,$){this._renderer.setProperty(this._elementRef.nativeElement,y,$)}registerOnTouched(y){this.onTouched=y}registerOnChange(y){this.onChange=y}setDisabledState(y){this.setProperty("disabled",y)}static#e=this.\u0275fac=function($){return new($||D)(h.Y36(h.Qsj),h.Y36(h.SBq))};static#t=this.\u0275dir=h.lG2({type:D})}return D})(),te=(()=>{class D extends se{static#e=this.\u0275fac=function(){let y;return function(Ce){return(y||(y=h.n5z(D)))(Ce||D)}}();static#t=this.\u0275dir=h.lG2({type:D,features:[h.qOj]})}return D})();const de=new h.OlP("NgValueAccessor"),j={provide:de,useExisting:(0,h.Gpc)(()=>le),multi:!0},ne=new h.OlP("CompositionEventMode");let le=(()=>{class D extends se{constructor(y,$,Ce){super(y,$),this._compositionMode=Ce,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function W(){const D=(0,o.q)()?(0,o.q)().getUserAgent():"";return/android (\d+)/.test(D.toLowerCase())}())}writeValue(y){this.setProperty("value",y??"")}_handleInput(y){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(y)}_compositionStart(){this._composing=!0}_compositionEnd(y){this._composing=!1,this._compositionMode&&this.onChange(y)}static#e=this.\u0275fac=function($){return new($||D)(h.Y36(h.Qsj),h.Y36(h.SBq),h.Y36(ne,8))};static#t=this.\u0275dir=h.lG2({type:D,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($,Ce){1&$&&h.NdJ("input",function(Qt){return Ce._handleInput(Qt.target.value)})("blur",function(){return Ce.onTouched()})("compositionstart",function(){return Ce._compositionStart()})("compositionend",function(Qt){return Ce._compositionEnd(Qt.target.value)})},features:[h._Bn([j]),h.qOj]})}return D})();function ie(D){return null==D||("string"==typeof D||Array.isArray(D))&&0===D.length}function ge(D){return null!=D&&"number"==typeof D.length}const B=new h.OlP("NgValidators"),Z=new h.OlP("NgAsyncValidators"),re=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class J{static min(T){return function H(D){return T=>{if(ie(T.value)||ie(D))return null;const y=parseFloat(T.value);return!isNaN(y)&&y<D?{min:{min:D,actual:T.value}}:null}}(T)}static max(T){return function Se(D){return T=>{if(ie(T.value)||ie(D))return null;const y=parseFloat(T.value);return!isNaN(y)&&y>D?{max:{max:D,actual:T.value}}:null}}(T)}static required(T){return function xe(D){return ie(D.value)?{required:!0}:null}(T)}static requiredTrue(T){return function He(D){return!0===D.value?null:{required:!0}}(T)}static email(T){return function Ne(D){return ie(D.value)||re.test(D.value)?null:{email:!0}}(T)}static minLength(T){return function Pe(D){return T=>ie(T.value)||!ge(T.value)?null:T.value.length<D?{minlength:{requiredLength:D,actualLength:T.value.length}}:null}(T)}static maxLength(T){return function ct(D){return T=>ge(T.value)&&T.value.length>D?{maxlength:{requiredLength:D,actualLength:T.value.length}}:null}(T)}static pattern(T){return function me(D){if(!D)return Ke;let T,y;return"string"==typeof D?(y="","^"!==D.charAt(0)&&(y+="^"),y+=D,"$"!==D.charAt(D.length-1)&&(y+="$"),T=new RegExp(y)):(y=D.toString(),T=D),$=>{if(ie($.value))return null;const Ce=$.value;return T.test(Ce)?null:{pattern:{requiredPattern:y,actualValue:Ce}}}}(T)}static nullValidator(T){return null}static compose(T){return F(T)}static composeAsync(T){return P(T)}}function Ke(D){return null}function ve(D){return null!=D}function je(D){return(0,h.QGY)(D)?(0,De.D)(D):D}function Xe(D){let T={};return D.forEach(y=>{T=null!=y?{...T,...y}:T}),0===Object.keys(T).length?null:T}function ze(D,T){return T.map(y=>y(D))}function K(D){return D.map(T=>function V(D){return!D.validate}(T)?T:y=>T.validate(y))}function F(D){if(!D)return null;const T=D.filter(ve);return 0==T.length?null:function(y){return Xe(ze(y,T))}}function R(D){return null!=D?F(K(D)):null}function P(D){if(!D)return null;const T=D.filter(ve);return 0==T.length?null:function(y){const $=ze(y,T).map(je);return(0,Ee.D)($).pipe((0,ae.U)(Xe))}}function L(D){return null!=D?P(K(D)):null}function Q(D,T){return null===D?[T]:Array.isArray(D)?[...D,T]:[D,T]}function q(D){return D._rawValidators}function Ae(D){return D._rawAsyncValidators}function Ue(D){return D?Array.isArray(D)?D:[D]:[]}function ut(D,T){return Array.isArray(D)?D.includes(T):D===T}function it(D,T){const y=Ue(T);return Ue(D).forEach(Ce=>{ut(y,Ce)||y.push(Ce)}),y}function dt(D,T){return Ue(T).filter(y=>!ut(D,y))}class lt{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=R(this._rawValidators)}_setAsyncValidators(T){this._rawAsyncValidators=T||[],this._composedAsyncValidatorFn=L(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,y){return!!this.control&&this.control.hasError(T,y)}getError(T,y){return this.control?this.control.getError(T,y):null}}class ke extends lt{get formDirective(){return null}get path(){return null}}class he extends lt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ie{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 at=(()=>{class D extends Ie{constructor(y){super(y)}static#e=this.\u0275fac=function($){return new($||D)(h.Y36(he,2))};static#t=this.\u0275dir=h.lG2({type:D,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function($,Ce){2&$&&h.ekj("ng-untouched",Ce.isUntouched)("ng-touched",Ce.isTouched)("ng-pristine",Ce.isPristine)("ng-dirty",Ce.isDirty)("ng-valid",Ce.isValid)("ng-invalid",Ce.isInvalid)("ng-pending",Ce.isPending)},features:[h.qOj]})}return D})(),bt=(()=>{class D extends Ie{constructor(y){super(y)}static#e=this.\u0275fac=function($){return new($||D)(h.Y36(ke,10))};static#t=this.\u0275dir=h.lG2({type:D,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function($,Ce){2&$&&h.ekj("ng-untouched",Ce.isUntouched)("ng-touched",Ce.isTouched)("ng-pristine",Ce.isPristine)("ng-dirty",Ce.isDirty)("ng-valid",Ce.isValid)("ng-invalid",Ce.isInvalid)("ng-pending",Ce.isPending)("ng-submitted",Ce.isSubmitted)},features:[h.qOj]})}return D})();const Nn="VALID",Sn="INVALID",In="PENDING",Dn="DISABLED";function kn(D){return(oe(D)?D.validators:D)||null}function Ze(D,T){return(oe(T)?T.asyncValidators:D)||null}function oe(D){return null!=D&&!Array.isArray(D)&&"object"==typeof D}class pe{constructor(T,y){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(y)}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===Nn}get invalid(){return this.status===Sn}get pending(){return this.status==In}get disabled(){return this.status===Dn}get enabled(){return this.status!==Dn}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(it(T,this._rawValidators))}addAsyncValidators(T){this.setAsyncValidators(it(T,this._rawAsyncValidators))}removeValidators(T){this.setValidators(dt(T,this._rawValidators))}removeAsyncValidators(T){this.setAsyncValidators(dt(T,this._rawAsyncValidators))}hasValidator(T){return ut(this._rawValidators,T)}hasAsyncValidator(T){return ut(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(y=>{y.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(y=>{y.markAsPristine({onlySelf:!0})}),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}markAsPending(T={}){this.status=In,!1!==T.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!T.onlySelf&&this._parent.markAsPending(T)}disable(T={}){const y=this._parentMarkedDirty(T.onlySelf);this.status=Dn,this.errors=null,this._forEachChild($=>{$.disable({...T,onlySelf:!0})}),this._updateValue(),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...T,skipPristineCheck:y}),this._onDisabledChange.forEach($=>$(!0))}enable(T={}){const y=this._parentMarkedDirty(T.onlySelf);this.status=Nn,this._forEachChild($=>{$.enable({...T,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent}),this._updateAncestors({...T,skipPristineCheck:y}),this._onDisabledChange.forEach($=>$(!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===Nn||this.status===In)&&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(y=>y._updateTreeValidity(T)),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Dn:Nn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(T){if(this.asyncValidator){this.status=In,this._hasOwnPendingAsyncValidator=!0;const y=je(this.asyncValidator(this));this._asyncValidationSubscription=y.subscribe($=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors($,{emitEvent:T})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(T,y={}){this.errors=T,this._updateControlsErrors(!1!==y.emitEvent)}get(T){let y=T;return null==y||(Array.isArray(y)||(y=y.split(".")),0===y.length)?null:y.reduce(($,Ce)=>$&&$._find(Ce),this)}getError(T,y){const $=y?this.get(y):this;return $&&$.errors?$.errors[T]:null}hasError(T,y){return!!this.getError(T,y)}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 h.vpe,this.statusChanges=new h.vpe}_calculateStatus(){return this._allControlsDisabled()?Dn:this.errors?Sn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(In)?In:this._anyControlsHaveStatus(Sn)?Sn:Nn}_anyControlsHaveStatus(T){return this._anyControls(y=>y.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){oe(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 gn(D){return Array.isArray(D)?R(D):D||null}(this._rawValidators)}_assignAsyncValidators(T){this._rawAsyncValidators=Array.isArray(T)?T.slice():T,this._composedAsyncValidatorFn=function Ve(D){return Array.isArray(D)?L(D):D||null}(this._rawAsyncValidators)}}class O extends pe{constructor(T,y,$){super(kn(y),Ze($,y)),this.controls=T,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(T,y){return this.controls[T]?this.controls[T]:(this.controls[T]=y,y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange),y)}addControl(T,y,$={}){this.registerControl(T,y),this.updateValueAndValidity({emitEvent:$.emitEvent}),this._onCollectionChange()}removeControl(T,y={}){this.controls[T]&&this.controls[T]._registerOnCollectionChange(()=>{}),delete this.controls[T],this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}setControl(T,y,$={}){this.controls[T]&&this.controls[T]._registerOnCollectionChange(()=>{}),delete this.controls[T],y&&this.registerControl(T,y),this.updateValueAndValidity({emitEvent:$.emitEvent}),this._onCollectionChange()}contains(T){return this.controls.hasOwnProperty(T)&&this.controls[T].enabled}setValue(T,y={}){(function ye(D,T,y){D._forEachChild(($,Ce)=>{if(void 0===y[Ce])throw new h.vHH(1002,"")})})(this,0,T),Object.keys(T).forEach($=>{(function Oe(D,T,y){const $=D.controls;if(!(T?Object.keys($):$).length)throw new h.vHH(1e3,"");if(!$[y])throw new h.vHH(1001,"")})(this,!0,$),this.controls[$].setValue(T[$],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(T,y={}){null!=T&&(Object.keys(T).forEach($=>{const Ce=this.controls[$];Ce&&Ce.patchValue(T[$],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(T={},y={}){this._forEachChild(($,Ce)=>{$.reset(T[Ce],{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y),this._updateTouched(y),this.updateValueAndValidity(y)}getRawValue(){return this._reduceChildren({},(T,y,$)=>(T[$]=y.getRawValue(),T))}_syncPendingControls(){let T=this._reduceChildren(!1,(y,$)=>!!$._syncPendingControls()||y);return T&&this.updateValueAndValidity({onlySelf:!0}),T}_forEachChild(T){Object.keys(this.controls).forEach(y=>{const $=this.controls[y];$&&T($,y)})}_setUpControls(){this._forEachChild(T=>{T.setParent(this),T._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(T){for(const[y,$]of Object.entries(this.controls))if(this.contains(y)&&T($))return!0;return!1}_reduceValue(){return this._reduceChildren({},(y,$,Ce)=>(($.enabled||this.disabled)&&(y[Ce]=$.value),y))}_reduceChildren(T,y){let $=T;return this._forEachChild((Ce,Pt)=>{$=y($,Ce,Pt)}),$}_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 yt=new h.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>xt}),xt="always";function ot(D,T,y=xt){rt(D,T),T.valueAccessor.writeValue(D.value),(D.disabled||"always"===y)&&T.valueAccessor.setDisabledState?.(D.disabled),function w(D,T){T.valueAccessor.registerOnChange(y=>{D._pendingValue=y,D._pendingChange=!0,D._pendingDirty=!0,"change"===D.updateOn&&Y(D,T)})}(D,T),function Be(D,T){const y=($,Ce)=>{T.valueAccessor.writeValue($),Ce&&T.viewToModelUpdate($)};D.registerOnChange(y),T._registerOnDestroy(()=>{D._unregisterOnChange(y)})}(D,T),function E(D,T){T.valueAccessor.registerOnTouched(()=>{D._pendingTouched=!0,"blur"===D.updateOn&&D._pendingChange&&Y(D,T),"submit"!==D.updateOn&&D.markAsTouched()})}(D,T),function Fe(D,T){if(T.valueAccessor.setDisabledState){const y=$=>{T.valueAccessor.setDisabledState($)};D.registerOnDisabledChange(y),T._registerOnDestroy(()=>{D._unregisterOnDisabledChange(y)})}}(D,T)}function U(D,T,y=!0){const $=()=>{};T.valueAccessor&&(T.valueAccessor.registerOnChange($),T.valueAccessor.registerOnTouched($)),be(D,T),D&&(T._invokeOnDestroyCallbacks(),D._registerOnCollectionChange(()=>{}))}function we(D,T){D.forEach(y=>{y.registerOnValidatorChange&&y.registerOnValidatorChange(T)})}function rt(D,T){const y=q(D);null!==T.validator?D.setValidators(Q(y,T.validator)):"function"==typeof y&&D.setValidators([y]);const $=Ae(D);null!==T.asyncValidator?D.setAsyncValidators(Q($,T.asyncValidator)):"function"==typeof $&&D.setAsyncValidators([$]);const Ce=()=>D.updateValueAndValidity();we(T._rawValidators,Ce),we(T._rawAsyncValidators,Ce)}function be(D,T){let y=!1;if(null!==D){if(null!==T.validator){const Ce=q(D);if(Array.isArray(Ce)&&Ce.length>0){const Pt=Ce.filter(Qt=>Qt!==T.validator);Pt.length!==Ce.length&&(y=!0,D.setValidators(Pt))}}if(null!==T.asyncValidator){const Ce=Ae(D);if(Array.isArray(Ce)&&Ce.length>0){const Pt=Ce.filter(Qt=>Qt!==T.asyncValidator);Pt.length!==Ce.length&&(y=!0,D.setAsyncValidators(Pt))}}}const $=()=>{};return we(T._rawValidators,$),we(T._rawAsyncValidators,$),y}function Y(D,T){D._pendingDirty&&D.markAsDirty(),D.setValue(D._pendingValue,{emitModelToViewChange:!1}),T.viewToModelUpdate(D._pendingValue),D._pendingChange=!1}function Qe(D,T){rt(D,T)}function nn(D,T){if(!D.hasOwnProperty("model"))return!1;const y=D.model;return!!y.isFirstChange()||!Object.is(T,y.currentValue)}function _i(D,T){D._syncPendingControls(),T.forEach(y=>{const $=y.control;"submit"===$.updateOn&&$._pendingChange&&(y.viewToModelUpdate($._pendingValue),$._pendingChange=!1)})}function zn(D,T){if(!T)return null;let y,$,Ce;return Array.isArray(T),T.forEach(Pt=>{Pt.constructor===le?y=Pt:function dn(D){return Object.getPrototypeOf(D.constructor)===te}(Pt)?$=Pt:Ce=Pt}),Ce||$||y||null}const Zn={provide:ke,useExisting:(0,h.Gpc)(()=>xn)},ni=(()=>Promise.resolve())();let xn=(()=>{class D extends ke{constructor(y,$,Ce){super(),this.callSetDisabledState=Ce,this.submitted=!1,this._directives=new Set,this.ngSubmit=new h.vpe,this.form=new O({},R(y),L($))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(y){ni.then(()=>{const $=this._findContainer(y.path);y.control=$.registerControl(y.name,y.control),ot(y.control,y,this.callSetDisabledState),y.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(y)})}getControl(y){return this.form.get(y.path)}removeControl(y){ni.then(()=>{const $=this._findContainer(y.path);$&&$.removeControl(y.name),this._directives.delete(y)})}addFormGroup(y){ni.then(()=>{const $=this._findContainer(y.path),Ce=new O({});Qe(Ce,y),$.registerControl(y.name,Ce),Ce.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(y){ni.then(()=>{const $=this._findContainer(y.path);$&&$.removeControl(y.name)})}getFormGroup(y){return this.form.get(y.path)}updateModel(y,$){ni.then(()=>{this.form.get(y.path).setValue($)})}setValue(y){this.control.setValue(y)}onSubmit(y){return this.submitted=!0,_i(this.form,this._directives),this.ngSubmit.emit(y),"dialog"===y?.target?.method}onReset(){this.resetForm()}resetForm(y=void 0){this.form.reset(y),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(y){return y.pop(),y.length?this.form.get(y):this.form}static#e=this.\u0275fac=function($){return new($||D)(h.Y36(B,10),h.Y36(Z,10),h.Y36(yt,8))};static#t=this.\u0275dir=h.lG2({type:D,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function($,Ce){1&$&&h.NdJ("submit",function(Qt){return Ce.onSubmit(Qt)})("reset",function(){return Ce.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[h._Bn([Zn]),h.qOj]})}return D})();function co(D,T){const y=D.indexOf(T);y>-1&&D.splice(y,1)}function Li(D){return"object"==typeof D&&null!==D&&2===Object.keys(D).length&&"value"in D&&"disabled"in D}const Bi=class extends pe{constructor(T=null,y,$){super(kn(y),Ze($,y)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(T),this._setUpdateStrategy(y),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),oe(y)&&(y.nonNullable||y.initialValueIsDefault)&&(this.defaultValue=Li(T)?T.value:T)}setValue(T,y={}){this.value=this._pendingValue=T,this._onChange.length&&!1!==y.emitModelToViewChange&&this._onChange.forEach($=>$(this.value,!1!==y.emitViewToModelChange)),this.updateValueAndValidity(y)}patchValue(T,y={}){this.setValue(T,y)}reset(T=this.defaultValue,y={}){this._applyFormState(T),this.markAsPristine(y),this.markAsUntouched(y),this.setValue(this.value,y),this._pendingChange=!1}_updateValue(){}_anyControls(T){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(T){this._onChange.push(T)}_unregisterOnChange(T){co(this._onChange,T)}registerOnDisabledChange(T){this._onDisabledChange.push(T)}_unregisterOnDisabledChange(T){co(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){Li(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}},Ws={provide:he,useExisting:(0,h.Gpc)(()=>fi)},Ys=(()=>Promise.resolve())();let fi=(()=>{class D extends he{constructor(y,$,Ce,Pt,Qt,uo){super(),this._changeDetectorRef=Qt,this.callSetDisabledState=uo,this.control=new Bi,this._registered=!1,this.name="",this.update=new h.vpe,this._parent=y,this._setValidators($),this._setAsyncValidators(Ce),this.valueAccessor=zn(0,Pt)}ngOnChanges(y){if(this._checkForErrors(),!this._registered||"name"in y){if(this._registered&&(this._checkName(),this.formDirective)){const $=y.name.previousValue;this.formDirective.removeControl({name:$,path:this._getPath($)})}this._setUpControl()}"isDisabled"in y&&this._updateDisabled(y),nn(y,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(y){this.viewModel=y,this.update.emit(y)}_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(){ot(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(y){Ys.then(()=>{this.control.setValue(y,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(y){const $=y.isDisabled.currentValue,Ce=0!==$&&(0,h.VuI)($);Ys.then(()=>{Ce&&!this.control.disabled?this.control.disable():!Ce&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(y){return this._parent?function Ye(D,T){return[...T.path,D]}(y,this._parent):[y]}static#e=this.\u0275fac=function($){return new($||D)(h.Y36(ke,9),h.Y36(B,10),h.Y36(Z,10),h.Y36(de,10),h.Y36(h.sBO,8),h.Y36(yt,8))};static#t=this.\u0275dir=h.lG2({type:D,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[h._Bn([Ws]),h.qOj,h.TTD]})}return D})(),vr=(()=>{class D{static#e=this.\u0275fac=function($){return new($||D)};static#t=this.\u0275dir=h.lG2({type:D,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return D})(),Jr=(()=>{class D{static#e=this.\u0275fac=function($){return new($||D)};static#t=this.\u0275mod=h.oAB({type:D});static#n=this.\u0275inj=h.cJS({})}return D})();const Ln=new h.OlP("NgModelWithFormControlWarning"),qn={provide:he,useExisting:(0,h.Gpc)(()=>Ji)};let Ji=(()=>{class D extends he{set isDisabled(y){}static#e=this._ngModelWarningSentOnce=!1;constructor(y,$,Ce,Pt,Qt){super(),this._ngModelWarningConfig=Pt,this.callSetDisabledState=Qt,this.update=new h.vpe,this._ngModelWarningSent=!1,this._setValidators(y),this._setAsyncValidators($),this.valueAccessor=zn(0,Ce)}ngOnChanges(y){if(this._isControlChanged(y)){const $=y.form.previousValue;$&&U($,this,!1),ot(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}nn(y,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&U(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(y){this.viewModel=y,this.update.emit(y)}_isControlChanged(y){return y.hasOwnProperty("form")}static#t=this.\u0275fac=function($){return new($||D)(h.Y36(B,10),h.Y36(Z,10),h.Y36(de,10),h.Y36(Ln,8),h.Y36(yt,8))};static#n=this.\u0275dir=h.lG2({type:D,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[h._Bn([qn]),h.qOj,h.TTD]})}return D})();const ri={provide:ke,useExisting:(0,h.Gpc)(()=>Bo)};let Bo=(()=>{class D extends ke{constructor(y,$,Ce){super(),this.callSetDisabledState=Ce,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new h.vpe,this._setValidators(y),this._setAsyncValidators($)}ngOnChanges(y){this._checkFormPresent(),y.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(be(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(y){const $=this.form.get(y.path);return ot($,y,this.callSetDisabledState),$.updateValueAndValidity({emitEvent:!1}),this.directives.push(y),$}getControl(y){return this.form.get(y.path)}removeControl(y){U(y.control||null,y,!1),function rn(D,T){const y=D.indexOf(T);y>-1&&D.splice(y,1)}(this.directives,y)}addFormGroup(y){this._setUpFormContainer(y)}removeFormGroup(y){this._cleanUpFormContainer(y)}getFormGroup(y){return this.form.get(y.path)}addFormArray(y){this._setUpFormContainer(y)}removeFormArray(y){this._cleanUpFormContainer(y)}getFormArray(y){return this.form.get(y.path)}updateModel(y,$){this.form.get(y.path).setValue($)}onSubmit(y){return this.submitted=!0,_i(this.form,this.directives),this.ngSubmit.emit(y),"dialog"===y?.target?.method}onReset(){this.resetForm()}resetForm(y=void 0){this.form.reset(y),this.submitted=!1}_updateDomValue(){this.directives.forEach(y=>{const $=y.control,Ce=this.form.get(y.path);$!==Ce&&(U($||null,y),(D=>D instanceof Bi)(Ce)&&(ot(Ce,y,this.callSetDisabledState),y.control=Ce))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(y){const $=this.form.get(y.path);Qe($,y),$.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(y){if(this.form){const $=this.form.get(y.path);$&&function We(D,T){return be(D,T)}($,y)&&$.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){rt(this.form,this),this._oldForm&&be(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function($){return new($||D)(h.Y36(B,10),h.Y36(Z,10),h.Y36(yt,8))};static#t=this.\u0275dir=h.lG2({type:D,selectors:[["","formGroup",""]],hostBindings:function($,Ce){1&$&&h.NdJ("submit",function(Qt){return Ce.onSubmit(Qt)})("reset",function(){return Ce.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[h._Bn([ri]),h.qOj,h.TTD]})}return D})(),Un=(()=>{class D{static#e=this.\u0275fac=function($){return new($||D)};static#t=this.\u0275mod=h.oAB({type:D});static#n=this.\u0275inj=h.cJS({imports:[Jr]})}return D})(),qs=(()=>{class D{static withConfig(y){return{ngModule:D,providers:[{provide:yt,useValue:y.callSetDisabledState??xt}]}}static#e=this.\u0275fac=function($){return new($||D)};static#t=this.\u0275mod=h.oAB({type:D});static#n=this.\u0275inj=h.cJS({imports:[Un]})}return D})(),ts=(()=>{class D{static withConfig(y){return{ngModule:D,providers:[{provide:Ln,useValue:y.warnOnNgModelWithFormControl??"always"},{provide:yt,useValue:y.callSetDisabledState??xt}]}}static#e=this.\u0275fac=function($){return new($||D)};static#t=this.\u0275mod=h.oAB({type:D});static#n=this.\u0275inj=h.cJS({imports:[Un]})}return D})()},7950:(et,Me,v)=>{"use strict";v.d(Me,{RK:()=>K,cs:()=>je,lW:()=>Ne,ot:()=>R,zs:()=>Pe});var h=v(3844),o=v(7786),De=v(8654),Ee=v(5988),ae=v(9021);const se=["mat-button",""],te=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],de=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],z=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",j=["mat-fab",""],le=["mat-icon-button",""],ie=["*"],re=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],J=(0,ae.pj)((0,ae.Id)((0,ae.Kr)(class{constructor(P){this._elementRef=P}})));let H=(()=>{class P extends J{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(Q){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,Q)}get disableRipple(){return this._disableRipple}set disableRipple(Q){this._disableRipple=(0,Ee.Ig)(Q),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(Q){this._disabled=(0,Ee.Ig)(Q),this._updateRippleDisabled()}constructor(Q,q,Ae,Ue){super(Q),this._platform=q,this._ngZone=Ae,this._animationMode=Ue,this._focusMonitor=(0,o.f3M)(De.tE),this._rippleLoader=(0,o.f3M)(ae.Fq),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const ut=Q.nativeElement.classList;for(const it of re)this._hasHostAttributes(it.selector)&&it.mdcClasses.forEach(dt=>{ut.add(dt)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(Q="program",q){Q?this._focusMonitor.focusVia(this._elementRef.nativeElement,Q,q):this._elementRef.nativeElement.focus(q)}_hasHostAttributes(...Q){return Q.some(q=>this._elementRef.nativeElement.hasAttribute(q))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(q){o.$Z()};static#t=this.\u0275dir=o.lG2({type:P,features:[o.qOj]})}return P})(),He=(()=>{class P extends H{constructor(Q,q,Ae,Ue){super(Q,q,Ae,Ue),this._haltDisabledEvents=ut=>{this.disabled&&(ut.preventDefault(),ut.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}static#e=this.\u0275fac=function(q){o.$Z()};static#t=this.\u0275dir=o.lG2({type:P,features:[o.qOj]})}return P})(),Ne=(()=>{class P extends H{constructor(Q,q,Ae,Ue){super(Q,q,Ae,Ue)}static#e=this.\u0275fac=function(q){return new(q||P)(o.Y36(o.SBq),o.Y36(h.t4),o.Y36(o.R0b),o.Y36(o.QbO,8))};static#t=this.\u0275cmp=o.Xpm({type:P,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(q,Ae){2&q&&(o.uIk("disabled",Ae.disabled||null),o.ekj("_mat-animation-noopable","NoopAnimations"===Ae._animationMode)("mat-unthemed",!Ae.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[o.qOj],attrs:se,ngContentSelectors:de,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(q,Ae){1&q&&(o.F$t(te),o._UZ(0,"span",0),o.Hsn(1),o.TgZ(2,"span",1),o.Hsn(3,1),o.qZA(),o.Hsn(4,2),o._UZ(5,"span",2)(6,"span",3)),2&q&&o.ekj("mdc-button__ripple",!Ae._isFab)("mdc-fab__ripple",Ae._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return P})(),Pe=(()=>{class P extends He{constructor(Q,q,Ae,Ue){super(Q,q,Ae,Ue)}static#e=this.\u0275fac=function(q){return new(q||P)(o.Y36(o.SBq),o.Y36(h.t4),o.Y36(o.R0b),o.Y36(o.QbO,8))};static#t=this.\u0275cmp=o.Xpm({type:P,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(q,Ae){2&q&&(o.uIk("disabled",Ae.disabled||null)("tabindex",Ae.disabled?-1:Ae.tabIndex)("aria-disabled",Ae.disabled.toString()),o.ekj("_mat-animation-noopable","NoopAnimations"===Ae._animationMode)("mat-unthemed",!Ae.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[o.qOj],attrs:se,ngContentSelectors:de,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(q,Ae){1&q&&(o.F$t(te),o._UZ(0,"span",0),o.Hsn(1),o.TgZ(2,"span",1),o.Hsn(3,1),o.qZA(),o.Hsn(4,2),o._UZ(5,"span",2)(6,"span",3)),2&q&&o.ekj("mdc-button__ripple",!Ae._isFab)("mdc-fab__ripple",Ae._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',z],encapsulation:2,changeDetection:0})}return P})();const ct=new o.OlP("mat-mdc-fab-default-options",{providedIn:"root",factory:me});function me(){return{color:"accent"}}const Ke=me();let je=(()=>{class P extends H{get extended(){return this._extended}set extended(Q){this._extended=(0,Ee.Ig)(Q)}constructor(Q,q,Ae,Ue,ut){super(Q,q,Ae,Ue),this._options=ut,this._isFab=!0,this._options=this._options||Ke,this.color=this.defaultColor=this._options.color||Ke.color}static#e=this.\u0275fac=function(q){return new(q||P)(o.Y36(o.SBq),o.Y36(h.t4),o.Y36(o.R0b),o.Y36(o.QbO,8),o.Y36(ct,8))};static#t=this.\u0275cmp=o.Xpm({type:P,selectors:[["button","mat-fab",""]],hostVars:11,hostBindings:function(q,Ae){2&q&&(o.uIk("disabled",Ae.disabled||null),o.ekj("_mat-animation-noopable","NoopAnimations"===Ae._animationMode)("mat-unthemed",!Ae.color)("mat-mdc-button-base",!0)("mdc-fab--extended",Ae.extended)("mat-mdc-extended-fab",Ae.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton"],features:[o.qOj],attrs:j,ngContentSelectors:de,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(q,Ae){1&q&&(o.F$t(te),o._UZ(0,"span",0),o.Hsn(1),o.TgZ(2,"span",1),o.Hsn(3,1),o.qZA(),o.Hsn(4,2),o._UZ(5,"span",2)(6,"span",3)),2&q&&o.ekj("mdc-button__ripple",!Ae._isFab)("mdc-fab__ripple",Ae._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color);--mdc-fab-container-shape:50%;--mdc-fab-icon-size:24px}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}return P})(),K=(()=>{class P extends H{constructor(Q,q,Ae,Ue){super(Q,q,Ae,Ue),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(q){return new(q||P)(o.Y36(o.SBq),o.Y36(h.t4),o.Y36(o.R0b),o.Y36(o.QbO,8))};static#t=this.\u0275cmp=o.Xpm({type:P,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(q,Ae){2&q&&(o.uIk("disabled",Ae.disabled||null),o.ekj("_mat-animation-noopable","NoopAnimations"===Ae._animationMode)("mat-unthemed",!Ae.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[o.qOj],attrs:le,ngContentSelectors:ie,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(q,Ae){1&q&&(o.F$t(),o._UZ(0,"span",0),o.Hsn(1),o._UZ(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',z],encapsulation:2,changeDetection:0})}return P})(),R=(()=>{class P{static#e=this.\u0275fac=function(q){return new(q||P)};static#t=this.\u0275mod=o.oAB({type:P});static#n=this.\u0275inj=o.cJS({imports:[ae.BQ,ae.si,ae.BQ]})}return P})()},9021:(et,Me,v)=>{"use strict";v.d(Me,{rD:()=>Ae,Y2:()=>Rt,BQ:()=>H,wG:()=>$t,Fq:()=>Oe,si:()=>Tt,pj:()=>Pe,Kr:()=>ct,Id:()=>Ne,FD:()=>Ke,sb:()=>me});var h=v(7786),o=v(8654),De=v(4877),ae=v(9462),se=v(3844),te=v(5988);const J=new h.OlP("mat-sanity-checks",{providedIn:"root",factory:function re(){return!0}});let H=(()=>{class ye{constructor(O,G,N){this._sanityChecks=G,this._document=N,this._hasDoneGlobalChecks=!1,O._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(O){return!(0,se.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[O])}static#e=this.\u0275fac=function(G){return new(G||ye)(h.LFG(o.qm),h.LFG(J,8),h.LFG(ae.K0))};static#t=this.\u0275mod=h.oAB({type:ye});static#n=this.\u0275inj=h.cJS({imports:[De.vT,De.vT]})}return ye})();function Ne(ye){return class extends ye{get disabled(){return this._disabled}set disabled(pe){this._disabled=(0,te.Ig)(pe)}constructor(...pe){super(...pe),this._disabled=!1}}}function Pe(ye,pe){return class extends ye{get color(){return this._color}set color(O){const G=O||this.defaultColor;G!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),G&&this._elementRef.nativeElement.classList.add(`mat-${G}`),this._color=G)}constructor(...O){super(...O),this.defaultColor=pe,this.color=pe}}}function ct(ye){return class extends ye{get disableRipple(){return this._disableRipple}set disableRipple(pe){this._disableRipple=(0,te.Ig)(pe)}constructor(...pe){super(...pe),this._disableRipple=!1}}}function me(ye,pe=0){return class extends ye{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(O){this._tabIndex=null!=O?(0,te.su)(O):this.defaultTabIndex}constructor(...O){super(...O),this._tabIndex=pe,this.defaultTabIndex=pe}}}function Ke(ye){return class extends ye{updateErrorState(){const pe=this.errorState,_e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);_e!==pe&&(this.errorState=_e,this.stateChanges.next())}constructor(...pe){super(...pe),this.errorState=!1}}}let Ae=(()=>{class ye{isErrorState(O,G){return!!(O&&O.invalid&&(O.touched||G&&G.submitted))}static#e=this.\u0275fac=function(G){return new(G||ye)};static#t=this.\u0275prov=h.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();class lt{constructor(pe,O,G,N=!1){this._renderer=pe,this.element=O,this.config=G,this._animationForciblyDisabledThroughCss=N,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ke=(0,se.i$)({passive:!0,capture:!0});class he{constructor(){this._events=new Map,this._delegateEventHandler=pe=>{const O=(0,se.sA)(pe);O&&this._events.get(pe.type)?.forEach((G,N)=>{(N===O||N.contains(O))&&G.forEach(_e=>_e.handleEvent(pe))})}}addHandler(pe,O,G,N){const _e=this._events.get(O);if(_e){const qe=_e.get(G);qe?qe.add(N):_e.set(G,new Set([N]))}else this._events.set(O,new Map([[G,new Set([N])]])),pe.runOutsideAngular(()=>{document.addEventListener(O,this._delegateEventHandler,ke)})}removeHandler(pe,O,G){const N=this._events.get(pe);if(!N)return;const _e=N.get(O);_e&&(_e.delete(G),0===_e.size&&N.delete(O),0===N.size&&(this._events.delete(pe),document.removeEventListener(pe,this._delegateEventHandler,ke)))}}const Ie={enterDuration:225,exitDuration:150},$e=(0,se.i$)({passive:!0,capture:!0}),at=["mousedown","touchstart"],bt=["mouseup","mouseleave","touchend","touchcancel"];class Ot{static#e=this._eventManager=new he;constructor(pe,O,G,N){this._target=pe,this._ngZone=O,this._platform=N,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,N.isBrowser&&(this._containerElement=(0,te.fI)(G))}fadeInRipple(pe,O,G={}){const N=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),_e={...Ie,...G.animation};G.centered&&(pe=N.left+N.width/2,O=N.top+N.height/2);const qe=G.radius||function Gt(ye,pe,O){const G=Math.max(Math.abs(ye-O.left),Math.abs(ye-O.right)),N=Math.max(Math.abs(pe-O.top),Math.abs(pe-O.bottom));return Math.sqrt(G*G+N*N)}(pe,O,N),yt=pe-N.left,xt=O-N.top,Ye=_e.enterDuration,ot=document.createElement("div");ot.classList.add("mat-ripple-element"),ot.style.left=yt-qe+"px",ot.style.top=xt-qe+"px",ot.style.height=2*qe+"px",ot.style.width=2*qe+"px",null!=G.color&&(ot.style.backgroundColor=G.color),ot.style.transitionDuration=`${Ye}ms`,this._containerElement.appendChild(ot);const U=window.getComputedStyle(ot),Fe=U.transitionDuration,rt="none"===U.transitionProperty||"0s"===Fe||"0s, 0s"===Fe||0===N.width&&0===N.height,be=new lt(this,ot,G,rt);ot.style.transform="scale3d(1, 1, 1)",be.state=0,G.persistent||(this._mostRecentTransientRipple=be);let w=null;return!rt&&(Ye||_e.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const E=()=>this._finishRippleTransition(be),Y=()=>this._destroyRipple(be);ot.addEventListener("transitionend",E),ot.addEventListener("transitioncancel",Y),w={onTransitionEnd:E,onTransitionCancel:Y}}),this._activeRipples.set(be,w),(rt||!Ye)&&this._finishRippleTransition(be),be}fadeOutRipple(pe){if(2===pe.state||3===pe.state)return;const O=pe.element,G={...Ie,...pe.config.animation};O.style.transitionDuration=`${G.exitDuration}ms`,O.style.opacity="0",pe.state=2,(pe._animationForciblyDisabledThroughCss||!G.exitDuration)&&this._finishRippleTransition(pe)}fadeOutAll(){this._getActiveRipples().forEach(pe=>pe.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(pe=>{pe.config.persistent||pe.fadeOut()})}setupTriggerEvents(pe){const O=(0,te.fI)(pe);!this._platform.isBrowser||!O||O===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=O,at.forEach(G=>{Ot._eventManager.addHandler(this._ngZone,G,O,this)}))}handleEvent(pe){"mousedown"===pe.type?this._onMousedown(pe):"touchstart"===pe.type?this._onTouchStart(pe):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{bt.forEach(O=>{this._triggerElement.addEventListener(O,this,$e)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(pe){0===pe.state?this._startFadeOutTransition(pe):2===pe.state&&this._destroyRipple(pe)}_startFadeOutTransition(pe){const O=pe===this._mostRecentTransientRipple,{persistent:G}=pe.config;pe.state=1,!G&&(!O||!this._isPointerDown)&&pe.fadeOut()}_destroyRipple(pe){const O=this._activeRipples.get(pe)??null;this._activeRipples.delete(pe),this._activeRipples.size||(this._containerRect=null),pe===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),pe.state=3,null!==O&&(pe.element.removeEventListener("transitionend",O.onTransitionEnd),pe.element.removeEventListener("transitioncancel",O.onTransitionCancel)),pe.element.remove()}_onMousedown(pe){const O=(0,o.X6)(pe),G=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!O&&!G&&(this._isPointerDown=!0,this.fadeInRipple(pe.clientX,pe.clientY,this._target.rippleConfig))}_onTouchStart(pe){if(!this._target.rippleDisabled&&!(0,o.yG)(pe)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const O=pe.changedTouches;if(O)for(let G=0;G<O.length;G++)this.fadeInRipple(O[G].clientX,O[G].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(pe=>{!pe.config.persistent&&(1===pe.state||pe.config.terminateOnPointerUp&&0===pe.state)&&pe.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const pe=this._triggerElement;pe&&(at.forEach(O=>Ot._eventManager.removeHandler(O,pe,this)),this._pointerUpEventsRegistered&&bt.forEach(O=>pe.removeEventListener(O,this,$e)))}}const Rt=new h.OlP("mat-ripple-global-options");let $t=(()=>{class ye{get disabled(){return this._disabled}set disabled(O){O&&this.fadeOutAllNonPersistent(),this._disabled=O,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(O){this._trigger=O,this._setupTriggerEventsIfEnabled()}constructor(O,G,N,_e,qe){this._elementRef=O,this._animationMode=qe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=_e||{},this._rippleRenderer=new Ot(this,G,O,N)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(O,G=0,N){return"number"==typeof O?this._rippleRenderer.fadeInRipple(O,G,{...this.rippleConfig,...N}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...O})}static#e=this.\u0275fac=function(G){return new(G||ye)(h.Y36(h.SBq),h.Y36(h.R0b),h.Y36(se.t4),h.Y36(Rt,8),h.Y36(h.QbO,8))};static#t=this.\u0275dir=h.lG2({type:ye,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(G,N){2&G&&h.ekj("mat-ripple-unbounded",N.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return ye})(),Tt=(()=>{class ye{static#e=this.\u0275fac=function(G){return new(G||ye)};static#t=this.\u0275mod=h.oAB({type:ye});static#n=this.\u0275inj=h.cJS({imports:[H,H]})}return ye})();const Dn={capture:!0},kn=["focus","click","mouseenter","touchstart"],gn="mat-ripple-loader-uninitialized",Ze="mat-ripple-loader-class-name",Ve="mat-ripple-loader-centered",oe="mat-ripple-loader-disabled";let Oe=(()=>{class ye{constructor(){this._document=(0,h.f3M)(ae.K0,{optional:!0}),this._animationMode=(0,h.f3M)(h.QbO,{optional:!0}),this._globalRippleOptions=(0,h.f3M)(Rt,{optional:!0}),this._platform=(0,h.f3M)(se.t4),this._ngZone=(0,h.f3M)(h.R0b),this._onInteraction=O=>{if(!(O.target instanceof HTMLElement))return;const N=O.target.closest(`[${gn}]`);N&&this.createRipple(N)},this._ngZone.runOutsideAngular(()=>{for(const O of kn)this._document?.addEventListener(O,this._onInteraction,Dn)})}ngOnDestroy(){for(const O of kn)this._document?.removeEventListener(O,this._onInteraction,Dn)}configureRipple(O,G){O.setAttribute(gn,""),(G.className||!O.hasAttribute(Ze))&&O.setAttribute(Ze,G.className||""),G.centered&&O.setAttribute(Ve,""),G.disabled&&O.setAttribute(oe,"")}getRipple(O){return O.matRipple?O.matRipple:this.createRipple(O)}setDisabled(O,G){const N=O.matRipple;N?N.disabled=G:G?O.setAttribute(oe,""):O.removeAttribute(oe)}createRipple(O){if(!this._document)return;O.querySelector(".mat-ripple")?.remove();const G=this._document.createElement("span");G.classList.add("mat-ripple",O.getAttribute(Ze)),O.append(G);const N=new $t(new h.SBq(G),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return N._isInitialized=!0,N.trigger=O,N.centered=O.hasAttribute(Ve),N.disabled=O.hasAttribute(oe),this.attachRipple(O,N),N}attachRipple(O,G){O.removeAttribute(gn),O.matRipple=G}static#e=this.\u0275fac=function(G){return new(G||ye)};static#t=this.\u0275prov=h.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})()},2836:(et,Me,v)=>{"use strict";v.d(Me,{Hw:()=>ut,Ps:()=>it,jv:()=>je});var h=v(7786),o=v(9021),De=v(5988),Ee=v(9462),ae=v(9627),se=v(7371),te=v(3276),ce=v(6312),z=v(9592),j=v(4104),W=v(8412),ne=v(8299),le=v(2829),ie=v(4049);function ge(dt){return(0,ie.e)((lt,ke)=>{let ue,he=null,Ie=!1;he=lt.subscribe((0,le.x)(ke,void 0,void 0,$e=>{ue=(0,ne.Xf)(dt($e,ge(dt)(lt))),he?(he.unsubscribe(),he=null,ue.subscribe(ke)):Ie=!0})),Ie&&(he.unsubscribe(),he=null,ue.subscribe(ke))})}var B=v(1927),Z=v(3949),re=v(3581),J=v(9272),H=v(4707);const Se=["*"];let xe;function Ne(dt){return function He(){if(void 0===xe&&(xe=null,typeof window<"u")){const dt=window;void 0!==dt.trustedTypes&&(xe=dt.trustedTypes.createPolicy("angular#components",{createHTML:lt=>lt}))}return xe}()?.createHTML(dt)||dt}function Pe(dt){return Error(`Unable to find icon with the name "${dt}"`)}function me(dt){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${dt}".`)}function Ke(dt){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${dt}".`)}class ve{constructor(lt,ke,he){this.url=lt,this.svgText=ke,this.options=he}}let je=(()=>{class dt{constructor(ke,he,Ie,ue){this._httpClient=ke,this._sanitizer=he,this._errorHandler=ue,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=Ie}addSvgIcon(ke,he,Ie){return this.addSvgIconInNamespace("",ke,he,Ie)}addSvgIconLiteral(ke,he,Ie){return this.addSvgIconLiteralInNamespace("",ke,he,Ie)}addSvgIconInNamespace(ke,he,Ie,ue){return this._addSvgIconConfig(ke,he,new ve(Ie,null,ue))}addSvgIconResolver(ke){return this._resolvers.push(ke),this}addSvgIconLiteralInNamespace(ke,he,Ie,ue){const $e=this._sanitizer.sanitize(h.q3G.HTML,Ie);if(!$e)throw Ke(Ie);const at=Ne($e);return this._addSvgIconConfig(ke,he,new ve("",at,ue))}addSvgIconSet(ke,he){return this.addSvgIconSetInNamespace("",ke,he)}addSvgIconSetLiteral(ke,he){return this.addSvgIconSetLiteralInNamespace("",ke,he)}addSvgIconSetInNamespace(ke,he,Ie){return this._addSvgIconSetConfig(ke,new ve(he,null,Ie))}addSvgIconSetLiteralInNamespace(ke,he,Ie){const ue=this._sanitizer.sanitize(h.q3G.HTML,he);if(!ue)throw Ke(he);const $e=Ne(ue);return this._addSvgIconSetConfig(ke,new ve("",$e,Ie))}registerFontClassAlias(ke,he=ke){return this._fontCssClassesByAlias.set(ke,he),this}classNameForFontAlias(ke){return this._fontCssClassesByAlias.get(ke)||ke}setDefaultFontSetClass(...ke){return this._defaultFontSetClass=ke,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(ke){const he=this._sanitizer.sanitize(h.q3G.RESOURCE_URL,ke);if(!he)throw me(ke);const Ie=this._cachedIconsByUrl.get(he);return Ie?(0,ae.of)(V(Ie)):this._loadSvgIconFromConfig(new ve(ke,null)).pipe((0,j.b)(ue=>this._cachedIconsByUrl.set(he,ue)),(0,W.U)(ue=>V(ue)))}getNamedSvgIcon(ke,he=""){const Ie=K(he,ke);let ue=this._svgIconConfigs.get(Ie);if(ue)return this._getSvgFromConfig(ue);if(ue=this._getIconConfigFromResolvers(he,ke),ue)return this._svgIconConfigs.set(Ie,ue),this._getSvgFromConfig(ue);const $e=this._iconSetConfigs.get(he);return $e?this._getSvgFromIconSetConfigs(ke,$e):function de(dt,lt){const ke=(0,te.m)(dt)?dt:()=>dt,he=Ie=>Ie.error(ke());return new se.y(lt?Ie=>lt.schedule(he,0,Ie):he)}(Pe(Ie))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(ke){return ke.svgText?(0,ae.of)(V(this._svgElementFromConfig(ke))):this._loadSvgIconFromConfig(ke).pipe((0,W.U)(he=>V(he)))}_getSvgFromIconSetConfigs(ke,he){const Ie=this._extractIconWithNameFromAnySet(ke,he);if(Ie)return(0,ae.of)(Ie);const ue=he.filter($e=>!$e.svgText).map($e=>this._loadSvgIconSetFromConfig($e).pipe(ge(at=>{const Ot=`Loading icon set URL: ${this._sanitizer.sanitize(h.q3G.RESOURCE_URL,$e.url)} failed: ${at.message}`;return this._errorHandler.handleError(new Error(Ot)),(0,ae.of)(null)})));return(0,ce.D)(ue).pipe((0,W.U)(()=>{const $e=this._extractIconWithNameFromAnySet(ke,he);if(!$e)throw Pe(ke);return $e}))}_extractIconWithNameFromAnySet(ke,he){for(let Ie=he.length-1;Ie>=0;Ie--){const ue=he[Ie];if(ue.svgText&&ue.svgText.toString().indexOf(ke)>-1){const $e=this._svgElementFromConfig(ue),at=this._extractSvgIconFromSet($e,ke,ue.options);if(at)return at}}return null}_loadSvgIconFromConfig(ke){return this._fetchIcon(ke).pipe((0,j.b)(he=>ke.svgText=he),(0,W.U)(()=>this._svgElementFromConfig(ke)))}_loadSvgIconSetFromConfig(ke){return ke.svgText?(0,ae.of)(null):this._fetchIcon(ke).pipe((0,j.b)(he=>ke.svgText=he))}_extractSvgIconFromSet(ke,he,Ie){const ue=ke.querySelector(`[id="${he}"]`);if(!ue)return null;const $e=ue.cloneNode(!0);if($e.removeAttribute("id"),"svg"===$e.nodeName.toLowerCase())return this._setSvgAttributes($e,Ie);if("symbol"===$e.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement($e),Ie);const at=this._svgElementFromString(Ne("<svg></svg>"));return at.appendChild($e),this._setSvgAttributes(at,Ie)}_svgElementFromString(ke){const he=this._document.createElement("DIV");he.innerHTML=ke;const Ie=he.querySelector("svg");if(!Ie)throw Error("<svg> tag not found");return Ie}_toSvgElement(ke){const he=this._svgElementFromString(Ne("<svg></svg>")),Ie=ke.attributes;for(let ue=0;ue<Ie.length;ue++){const{name:$e,value:at}=Ie[ue];"id"!==$e&&he.setAttribute($e,at)}for(let ue=0;ue<ke.childNodes.length;ue++)ke.childNodes[ue].nodeType===this._document.ELEMENT_NODE&&he.appendChild(ke.childNodes[ue].cloneNode(!0));return he}_setSvgAttributes(ke,he){return ke.setAttribute("fit",""),ke.setAttribute("height","100%"),ke.setAttribute("width","100%"),ke.setAttribute("preserveAspectRatio","xMidYMid meet"),ke.setAttribute("focusable","false"),he&&he.viewBox&&ke.setAttribute("viewBox",he.viewBox),ke}_fetchIcon(ke){const{url:he,options:Ie}=ke,ue=Ie?.withCredentials??!1;if(!this._httpClient)throw function ct(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==he)throw Error(`Cannot fetch icon from URL "${he}".`);const $e=this._sanitizer.sanitize(h.q3G.RESOURCE_URL,he);if(!$e)throw me(he);const at=this._inProgressUrlFetches.get($e);if(at)return at;const bt=this._httpClient.get($e,{responseType:"text",withCredentials:ue}).pipe((0,W.U)(Ot=>Ne(Ot)),(0,B.x)(()=>this._inProgressUrlFetches.delete($e)),(0,Z.B)());return this._inProgressUrlFetches.set($e,bt),bt}_addSvgIconConfig(ke,he,Ie){return this._svgIconConfigs.set(K(ke,he),Ie),this}_addSvgIconSetConfig(ke,he){const Ie=this._iconSetConfigs.get(ke);return Ie?Ie.push(he):this._iconSetConfigs.set(ke,[he]),this}_svgElementFromConfig(ke){if(!ke.svgElement){const he=this._svgElementFromString(ke.svgText);this._setSvgAttributes(he,ke.options),ke.svgElement=he}return ke.svgElement}_getIconConfigFromResolvers(ke,he){for(let Ie=0;Ie<this._resolvers.length;Ie++){const ue=this._resolvers[Ie](he,ke);if(ue)return F(ue)?new ve(ue.url,null,ue.options):new ve(ue,null)}}static#e=this.\u0275fac=function(he){return new(he||dt)(h.LFG(J.eN,8),h.LFG(H.H7),h.LFG(Ee.K0,8),h.LFG(h.qLn))};static#t=this.\u0275prov=h.Yz7({token:dt,factory:dt.\u0275fac,providedIn:"root"})}return dt})();function V(dt){return dt.cloneNode(!0)}function K(dt,lt){return dt+":"+lt}function F(dt){return!(!dt.url||!dt.options)}const R=(0,o.pj)(class{constructor(dt){this._elementRef=dt}}),P=new h.OlP("MAT_ICON_DEFAULT_OPTIONS"),L=new h.OlP("mat-icon-location",{providedIn:"root",factory:function Q(){const dt=(0,h.f3M)(Ee.K0),lt=dt?dt.location:null;return{getPathname:()=>lt?lt.pathname+lt.search:""}}}),q=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Ae=q.map(dt=>`[${dt}]`).join(", "),Ue=/^url\(['"]?#(.*?)['"]?\)$/;let ut=(()=>{class dt extends R{get inline(){return this._inline}set inline(ke){this._inline=(0,De.Ig)(ke)}get svgIcon(){return this._svgIcon}set svgIcon(ke){ke!==this._svgIcon&&(ke?this._updateSvgIcon(ke):this._svgIcon&&this._clearSvgElement(),this._svgIcon=ke)}get fontSet(){return this._fontSet}set fontSet(ke){const he=this._cleanupFontValue(ke);he!==this._fontSet&&(this._fontSet=he,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(ke){const he=this._cleanupFontValue(ke);he!==this._fontIcon&&(this._fontIcon=he,this._updateFontIconClasses())}constructor(ke,he,Ie,ue,$e,at){super(ke),this._iconRegistry=he,this._location=ue,this._errorHandler=$e,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=z.w0.EMPTY,at&&(at.color&&(this.color=this.defaultColor=at.color),at.fontSet&&(this.fontSet=at.fontSet)),Ie||ke.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(ke){if(!ke)return["",""];const he=ke.split(":");switch(he.length){case 1:return["",he[0]];case 2:return he;default:throw Error(`Invalid icon name: "${ke}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const ke=this._elementsWithExternalReferences;if(ke&&ke.size){const he=this._location.getPathname();he!==this._previousPath&&(this._previousPath=he,this._prependPathToReferences(he))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(ke){this._clearSvgElement();const he=this._location.getPathname();this._previousPath=he,this._cacheChildrenWithExternalReferences(ke),this._prependPathToReferences(he),this._elementRef.nativeElement.appendChild(ke)}_clearSvgElement(){const ke=this._elementRef.nativeElement;let he=ke.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();he--;){const Ie=ke.childNodes[he];(1!==Ie.nodeType||"svg"===Ie.nodeName.toLowerCase())&&Ie.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const ke=this._elementRef.nativeElement,he=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ie=>Ie.length>0);this._previousFontSetClass.forEach(Ie=>ke.classList.remove(Ie)),he.forEach(Ie=>ke.classList.add(Ie)),this._previousFontSetClass=he,this.fontIcon!==this._previousFontIconClass&&!he.includes("mat-ligature-font")&&(this._previousFontIconClass&&ke.classList.remove(this._previousFontIconClass),this.fontIcon&&ke.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(ke){return"string"==typeof ke?ke.trim().split(" ")[0]:ke}_prependPathToReferences(ke){const he=this._elementsWithExternalReferences;he&&he.forEach((Ie,ue)=>{Ie.forEach($e=>{ue.setAttribute($e.name,`url('${ke}#${$e.value}')`)})})}_cacheChildrenWithExternalReferences(ke){const he=ke.querySelectorAll(Ae),Ie=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let ue=0;ue<he.length;ue++)q.forEach($e=>{const at=he[ue],bt=at.getAttribute($e),Ot=bt?bt.match(Ue):null;if(Ot){let Gt=Ie.get(at);Gt||(Gt=[],Ie.set(at,Gt)),Gt.push({name:$e,value:Ot[1]})}})}_updateSvgIcon(ke){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),ke){const[he,Ie]=this._splitIconName(ke);he&&(this._svgNamespace=he),Ie&&(this._svgName=Ie),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ie,he).pipe((0,re.q)(1)).subscribe(ue=>this._setSvgElement(ue),ue=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${he}:${Ie}! ${ue.message}`))})}}static#e=this.\u0275fac=function(he){return new(he||dt)(h.Y36(h.SBq),h.Y36(je),h.$8M("aria-hidden"),h.Y36(L),h.Y36(h.qLn),h.Y36(P,8))};static#t=this.\u0275cmp=h.Xpm({type:dt,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(he,Ie){2&he&&(h.uIk("data-mat-icon-type",Ie._usingFontIcon()?"font":"svg")("data-mat-icon-name",Ie._svgName||Ie.fontIcon)("data-mat-icon-namespace",Ie._svgNamespace||Ie.fontSet)("fontIcon",Ie._usingFontIcon()?Ie.fontIcon:null),h.ekj("mat-icon-inline",Ie.inline)("mat-icon-no-color","primary"!==Ie.color&&"accent"!==Ie.color&&"warn"!==Ie.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[h.qOj],ngContentSelectors:Se,decls:1,vars:0,template:function(he,Ie){1&he&&(h.F$t(),h.Hsn(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return dt})(),it=(()=>{class dt{static#e=this.\u0275fac=function(he){return new(he||dt)};static#t=this.\u0275mod=h.oAB({type:dt});static#n=this.\u0275inj=h.cJS({imports:[o.BQ,o.BQ]})}return dt})()},7361:(et,Me,v)=>{"use strict";v.d(Me,{Nh:()=>xt,SP:()=>oe,uD:()=>Ot,uX:()=>qt});var h=v(9462),o=v(7786),De=v(9021),Ee=v(6512),ae=v(8267),se=v(8654),te=v(4877),de=v(9592),ce=v(9453),z=v(6058),j=v(9627),W=v(4991),ne=v(8025),le=v(7371),ie=v(5117),ge=v(19),B=v(4263),Z=v(5779),re=v(3581),J=v(2835),H=v(1800),Se=v(1497),xe=v(6e3),He=v(5988),Ne=v(9467),Pe=v(3844),ct=v(7605);function me(Ye,ot){}const Ke=function(Ye){return{animationDuration:Ye}},ve=function(Ye,ot){return{value:Ye,params:ot}};function je(Ye,ot){1&Ye&&o.Hsn(0)}const Xe=["*"],ze=["tabListContainer"],V=["tabList"],K=["tabListInner"],F=["nextPaginator"],R=["previousPaginator"],P=["tabBodyWrapper"],L=["tabHeader"];function Q(Ye,ot){}function q(Ye,ot){if(1&Ye&&o.YNc(0,Q,0,0,"ng-template",14),2&Ye){const U=o.oxw().$implicit;o.Q6J("cdkPortalOutlet",U.templateLabel)}}function Ae(Ye,ot){if(1&Ye&&o._uU(0),2&Ye){const U=o.oxw().$implicit;o.Oqu(U.textLabel)}}function Ue(Ye,ot){if(1&Ye){const U=o.EpF();o.TgZ(0,"div",6,7),o.NdJ("click",function(){const Fe=o.CHM(U),rt=Fe.$implicit,be=Fe.index,w=o.oxw(),E=o.MAs(1);return o.KtG(w._handleClick(rt,E,be))})("cdkFocusChange",function(Fe){const be=o.CHM(U).index,w=o.oxw();return o.KtG(w._tabFocusChanged(Fe,be))}),o._UZ(2,"span",8)(3,"div",9),o.TgZ(4,"span",10)(5,"span",11),o.YNc(6,q,1,1,"ng-template",12),o.YNc(7,Ae,1,1,"ng-template",null,13,o.W1O),o.qZA()()()}if(2&Ye){const U=ot.$implicit,we=ot.index,Fe=o.MAs(1),rt=o.MAs(8),be=o.oxw();o.ekj("mdc-tab--active",be.selectedIndex===we),o.Q6J("id",be._getTabLabelId(we))("ngClass",U.labelClass)("disabled",U.disabled)("fitInkBarToContent",be.fitInkBarToContent),o.uIk("tabIndex",be._getTabIndex(we))("aria-posinset",we+1)("aria-setsize",be._tabs.length)("aria-controls",be._getTabContentId(we))("aria-selected",be.selectedIndex===we)("aria-label",U.ariaLabel||null)("aria-labelledby",!U.ariaLabel&&U.ariaLabelledby?U.ariaLabelledby:null),o.xp6(3),o.Q6J("matRippleTrigger",Fe)("matRippleDisabled",U.disabled||be.disableRipple),o.xp6(3),o.Q6J("ngIf",U.templateLabel)("ngIfElse",rt)}}function ut(Ye,ot){if(1&Ye){const U=o.EpF();o.TgZ(0,"mat-tab-body",15),o.NdJ("_onCentered",function(){o.CHM(U);const Fe=o.oxw();return o.KtG(Fe._removeTabBodyWrapperHeight())})("_onCentering",function(Fe){o.CHM(U);const rt=o.oxw();return o.KtG(rt._setTabBodyWrapperHeight(Fe))}),o.qZA()}if(2&Ye){const U=ot.$implicit,we=ot.index,Fe=o.oxw();o.ekj("mat-mdc-tab-body-active",Fe.selectedIndex===we),o.Q6J("id",Fe._getTabContentId(we))("ngClass",U.bodyClass)("content",U.content)("position",U.position)("origin",U.origin)("animationDuration",Fe.animationDuration)("preserveContent",Fe.preserveContent),o.uIk("tabindex",null!=Fe.contentTabIndex&&Fe.selectedIndex===we?Fe.contentTabIndex:null)("aria-labelledby",Fe._getTabLabelId(we))("aria-hidden",Fe.selectedIndex!==we)}}const lt={translateTab:(0,xe.X$)("translateTab",[(0,xe.SB)("center, void, left-origin-center, right-origin-center",(0,xe.oB)({transform:"none"})),(0,xe.SB)("left",(0,xe.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,xe.SB)("right",(0,xe.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,xe.eR)("* => left, * => right, left => center, right => center",(0,xe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,xe.eR)("void => left-origin-center",[(0,xe.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,xe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,xe.eR)("void => right-origin-center",[(0,xe.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,xe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let ke=(()=>{class Ye extends Ee.Pl{constructor(U,we,Fe,rt){super(U,we,rt),this._host=Fe,this._centeringSub=de.w0.EMPTY,this._leavingSub=de.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,ge.O)(this._host._isCenterPosition(this._host._position))).subscribe(U=>{U&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o._Vd),o.Y36(o.s_b),o.Y36((0,o.Gpc)(()=>Ie)),o.Y36(h.K0))};static#t=this.\u0275dir=o.lG2({type:Ye,selectors:[["","matTabBodyHost",""]],features:[o.qOj]})}return Ye})(),he=(()=>{class Ye{set position(U){this._positionIndex=U,this._computePositionAnimationState()}constructor(U,we,Fe){this._elementRef=U,this._dir=we,this._dirChangeSubscription=de.w0.EMPTY,this._translateTabComplete=new ce.x,this._onCentering=new o.vpe,this._beforeCentering=new o.vpe,this._afterLeavingCenter=new o.vpe,this._onCentered=new o.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,we&&(this._dirChangeSubscription=we.change.subscribe(rt=>{this._computePositionAnimationState(rt),Fe.markForCheck()})),this._translateTabComplete.pipe((0,B.x)((rt,be)=>rt.fromState===be.fromState&&rt.toState===be.toState)).subscribe(rt=>{this._isCenterPosition(rt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(rt.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(U){const we=this._isCenterPosition(U.toState);this._beforeCentering.emit(we),we&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(U){return"center"==U||"left-origin-center"==U||"right-origin-center"==U}_computePositionAnimationState(U=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==U?"left":"right":this._positionIndex>0?"ltr"==U?"right":"left":"center"}_computePositionFromOrigin(U){const we=this._getLayoutDirection();return"ltr"==we&&U<=0||"rtl"==we&&U>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.SBq),o.Y36(te.Is,8),o.Y36(o.sBO))};static#t=this.\u0275dir=o.lG2({type:Ye,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}})}return Ye})(),Ie=(()=>{class Ye extends he{constructor(U,we,Fe){super(U,we,Fe)}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.SBq),o.Y36(te.Is,8),o.Y36(o.sBO))};static#t=this.\u0275cmp=o.Xpm({type:Ye,selectors:[["mat-tab-body"]],viewQuery:function(we,Fe){if(1&we&&o.Gf(Ee.Pl,5),2&we){let rt;o.iGM(rt=o.CRH())&&(Fe._portalHost=rt.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[o.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(we,Fe){1&we&&(o.TgZ(0,"div",0,1),o.NdJ("@translateTab.start",function(be){return Fe._onTranslateTabStarted(be)})("@translateTab.done",function(be){return Fe._translateTabComplete.next(be)}),o.YNc(2,me,0,0,"ng-template",2),o.qZA()),2&we&&o.Q6J("@translateTab",o.WLB(3,ve,Fe._position,o.VKq(1,Ke,Fe.animationDuration)))},dependencies:[ke],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[lt.translateTab]}})}return Ye})();const ue=new o.OlP("MatTabContent");let $e=(()=>{class Ye{constructor(U){this.template=U}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.Rgc))};static#t=this.\u0275dir=o.lG2({type:Ye,selectors:[["","matTabContent",""]],features:[o._Bn([{provide:ue,useExisting:Ye}])]})}return Ye})();const at=new o.OlP("MatTabLabel"),bt=new o.OlP("MAT_TAB");let Ot=(()=>{class Ye extends Ee.ig{constructor(U,we,Fe){super(U,we),this._closestTab=Fe}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.Rgc),o.Y36(o.s_b),o.Y36(bt,8))};static#t=this.\u0275dir=o.lG2({type:Ye,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[o._Bn([{provide:at,useExisting:Ye}]),o.qOj]})}return Ye})();const Gt="mdc-tab-indicator--active",Rt="mdc-tab-indicator--no-transition";class $t{constructor(ot){this._items=ot}hide(){this._items.forEach(ot=>ot.deactivateInkBar())}alignToElement(ot){const U=this._items.find(Fe=>Fe.elementRef.nativeElement===ot),we=this._currentItem;if(U!==we&&(we?.deactivateInkBar(),U)){const Fe=we?.elementRef.nativeElement.getBoundingClientRect?.();U.activateInkBar(Fe),this._currentItem=U}}}function Tt(Ye){return class extends Ye{constructor(...ot){super(...ot),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(ot){const U=(0,He.Ig)(ot);this._fitToContent!==U&&(this._fitToContent=U,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(ot){const U=this.elementRef.nativeElement;if(!ot||!U.getBoundingClientRect||!this._inkBarContentElement)return void U.classList.add(Gt);const we=U.getBoundingClientRect(),Fe=ot.width/we.width,rt=ot.left-we.left;U.classList.add(Rt),this._inkBarContentElement.style.setProperty("transform",`translateX(${rt}px) scaleX(${Fe})`),U.getBoundingClientRect(),U.classList.remove(Rt),U.classList.add(Gt),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Gt)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const ot=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=ot.createElement("span"),this._inkBarContentElement=ot.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const kt=(0,De.Id)(class{}),yn=Tt((()=>{class Ye extends kt{constructor(U){super(),this.elementRef=U}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:Ye,features:[o.qOj]})}return Ye})());let Ut=(()=>{class Ye extends yn{static#e=this.\u0275fac=function(){let U;return function(Fe){return(U||(U=o.n5z(Ye)))(Fe||Ye)}}();static#t=this.\u0275dir=o.lG2({type:Ye,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(we,Fe){2&we&&(o.uIk("aria-disabled",!!Fe.disabled),o.ekj("mat-mdc-tab-disabled",Fe.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[o.qOj]})}return Ye})();const hn=(0,De.Id)(class{}),$n=new o.OlP("MAT_TAB_GROUP");let tn=(()=>{class Ye extends hn{get content(){return this._contentPortal}constructor(U,we){super(),this._viewContainerRef=U,this._closestTabGroup=we,this.textLabel="",this._contentPortal=null,this._stateChanges=new ce.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(U){(U.hasOwnProperty("textLabel")||U.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Ee.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(U){U&&U._closestTab===this&&(this._templateLabel=U)}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.s_b),o.Y36($n,8))};static#t=this.\u0275dir=o.lG2({type:Ye,viewQuery:function(we,Fe){if(1&we&&o.Gf(o.Rgc,7),2&we){let rt;o.iGM(rt=o.CRH())&&(Fe._implicitContent=rt.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[o.qOj,o.TTD]})}return Ye})(),qt=(()=>{class Ye extends tn{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(U){this._setTemplateLabelInput(U)}static#e=this.\u0275fac=function(){let U;return function(Fe){return(U||(U=o.n5z(Ye)))(Fe||Ye)}}();static#t=this.\u0275cmp=o.Xpm({type:Ye,selectors:[["mat-tab"]],contentQueries:function(we,Fe,rt){if(1&we&&(o.Suo(rt,$e,7,o.Rgc),o.Suo(rt,Ot,5)),2&we){let be;o.iGM(be=o.CRH())&&(Fe._explicitContent=be.first),o.iGM(be=o.CRH())&&(Fe.templateLabel=be.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[o._Bn([{provide:bt,useExisting:Ye}]),o.qOj],ngContentSelectors:Xe,decls:1,vars:0,template:function(we,Fe){1&we&&(o.F$t(),o.YNc(0,je,1,0,"ng-template"))},encapsulation:2})}return Ye})();const Ht=(0,Pe.i$)({passive:!0});let Sn=(()=>{class Ye{get disablePagination(){return this._disablePagination}set disablePagination(U){this._disablePagination=(0,He.Ig)(U)}get selectedIndex(){return this._selectedIndex}set selectedIndex(U){U=(0,He.su)(U),this._selectedIndex!=U&&(this._selectedIndexChanged=!0,this._selectedIndex=U,this._keyManager&&this._keyManager.updateActiveItem(U))}constructor(U,we,Fe,rt,be,w,E){this._elementRef=U,this._changeDetectorRef=we,this._viewportRuler=Fe,this._dir=rt,this._ngZone=be,this._platform=w,this._animationMode=E,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new ce.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new ce.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new o.vpe,this.indexFocused=new o.vpe,be.runOutsideAngular(()=>{(0,z.R)(U.nativeElement,"mouseleave").pipe((0,Z.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,z.R)(this._previousPaginator.nativeElement,"touchstart",Ht).pipe((0,Z.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,z.R)(this._nextPaginator.nativeElement,"touchstart",Ht).pipe((0,Z.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const U=this._dir?this._dir.change:(0,j.of)("ltr"),we=this._viewportRuler.change(150),Fe=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new se.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,re.q)(1)).subscribe(Fe),(0,W.T)(U,we,this._items.changes,this._itemsResized()).pipe((0,Z.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Fe()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(rt=>{this.indexFocused.emit(rt),this._setTabFocus(rt)})}_itemsResized(){return"function"!=typeof ResizeObserver?ne.E:this._items.changes.pipe((0,ge.O)(this._items),(0,J.w)(U=>new le.y(we=>this._ngZone.runOutsideAngular(()=>{const Fe=new ResizeObserver(rt=>we.next(rt));return U.forEach(rt=>Fe.observe(rt.elementRef.nativeElement)),()=>{Fe.disconnect()}}))),(0,H.T)(1),(0,Se.h)(U=>U.some(we=>we.contentRect.width>0&&we.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(U){if(!(0,ct.Vb)(U))switch(U.keyCode){case ct.K5:case ct.L_:if(this.focusIndex!==this.selectedIndex){const we=this._items.get(this.focusIndex);we&&!we.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(U))}break;default:this._keyManager.onKeydown(U)}}_onContentChanges(){const U=this._elementRef.nativeElement.textContent;U!==this._currentTextContent&&(this._currentTextContent=U||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(U){!this._isValidIndex(U)||this.focusIndex===U||!this._keyManager||this._keyManager.setActiveItem(U)}_isValidIndex(U){return!this._items||!!this._items.toArray()[U]}_setTabFocus(U){if(this._showPaginationControls&&this._scrollToLabel(U),this._items&&this._items.length){this._items.toArray()[U].focus();const we=this._tabListContainer.nativeElement;we.scrollLeft="ltr"==this._getLayoutDirection()?0:we.scrollWidth-we.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const U=this.scrollDistance,we="ltr"===this._getLayoutDirection()?-U:U;this._tabList.nativeElement.style.transform=`translateX(${Math.round(we)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(U){this._scrollTo(U)}_scrollHeader(U){return this._scrollTo(this._scrollDistance+("before"==U?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(U){this._stopInterval(),this._scrollHeader(U)}_scrollToLabel(U){if(this.disablePagination)return;const we=this._items?this._items.toArray()[U]:null;if(!we)return;const Fe=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:rt,offsetWidth:be}=we.elementRef.nativeElement;let w,E;"ltr"==this._getLayoutDirection()?(w=rt,E=w+be):(E=this._tabListInner.nativeElement.offsetWidth-rt,w=E-be);const Y=this.scrollDistance,Be=this.scrollDistance+Fe;w<Y?this.scrollDistance-=Y-w:E>Be&&(this.scrollDistance+=Math.min(E-Be,w-Y))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const U=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;U||(this.scrollDistance=0),U!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=U}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const U=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,we=U?U.elementRef.nativeElement:null;we?this._inkBar.alignToElement(we):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(U,we){we&&null!=we.button&&0!==we.button||(this._stopInterval(),(0,ie.H)(650,100).pipe((0,Z.R)((0,W.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Fe,distance:rt}=this._scrollHeader(U);(0===rt||rt>=Fe)&&this._stopInterval()}))}_scrollTo(U){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const we=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(we,U)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:we,distance:this._scrollDistance}}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(Ne.rL),o.Y36(te.Is,8),o.Y36(o.R0b),o.Y36(Pe.t4),o.Y36(o.QbO,8))};static#t=this.\u0275dir=o.lG2({type:Ye,inputs:{disablePagination:"disablePagination"}})}return Ye})(),In=(()=>{class Ye extends Sn{get disableRipple(){return this._disableRipple}set disableRipple(U){this._disableRipple=(0,He.Ig)(U)}constructor(U,we,Fe,rt,be,w,E){super(U,we,Fe,rt,be,w,E),this._disableRipple=!1}_itemSelected(U){U.preventDefault()}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(Ne.rL),o.Y36(te.Is,8),o.Y36(o.R0b),o.Y36(Pe.t4),o.Y36(o.QbO,8))};static#t=this.\u0275dir=o.lG2({type:Ye,inputs:{disableRipple:"disableRipple"},features:[o.qOj]})}return Ye})(),Dn=(()=>{class Ye extends In{constructor(U,we,Fe,rt,be,w,E){super(U,we,Fe,rt,be,w,E)}ngAfterContentInit(){this._inkBar=new $t(this._items),super.ngAfterContentInit()}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(Ne.rL),o.Y36(te.Is,8),o.Y36(o.R0b),o.Y36(Pe.t4),o.Y36(o.QbO,8))};static#t=this.\u0275cmp=o.Xpm({type:Ye,selectors:[["mat-tab-header"]],contentQueries:function(we,Fe,rt){if(1&we&&o.Suo(rt,Ut,4),2&we){let be;o.iGM(be=o.CRH())&&(Fe._items=be)}},viewQuery:function(we,Fe){if(1&we&&(o.Gf(ze,7),o.Gf(V,7),o.Gf(K,7),o.Gf(F,5),o.Gf(R,5)),2&we){let rt;o.iGM(rt=o.CRH())&&(Fe._tabListContainer=rt.first),o.iGM(rt=o.CRH())&&(Fe._tabList=rt.first),o.iGM(rt=o.CRH())&&(Fe._tabListInner=rt.first),o.iGM(rt=o.CRH())&&(Fe._nextPaginator=rt.first),o.iGM(rt=o.CRH())&&(Fe._previousPaginator=rt.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(we,Fe){2&we&&o.ekj("mat-mdc-tab-header-pagination-controls-enabled",Fe._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Fe._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[o.qOj],ngContentSelectors:Xe,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(we,Fe){1&we&&(o.F$t(),o.TgZ(0,"button",0,1),o.NdJ("click",function(){return Fe._handlePaginatorClick("before")})("mousedown",function(be){return Fe._handlePaginatorPress("before",be)})("touchend",function(){return Fe._stopInterval()}),o._UZ(2,"div",2),o.qZA(),o.TgZ(3,"div",3,4),o.NdJ("keydown",function(be){return Fe._handleKeydown(be)}),o.TgZ(5,"div",5,6),o.NdJ("cdkObserveContent",function(){return Fe._onContentChanges()}),o.TgZ(7,"div",7,8),o.Hsn(9),o.qZA()()(),o.TgZ(10,"button",9,10),o.NdJ("mousedown",function(be){return Fe._handlePaginatorPress("after",be)})("click",function(){return Fe._handlePaginatorClick("after")})("touchend",function(){return Fe._stopInterval()}),o._UZ(12,"div",2),o.qZA()),2&we&&(o.ekj("mat-mdc-tab-header-pagination-disabled",Fe._disableScrollBefore),o.Q6J("matRippleDisabled",Fe._disableScrollBefore||Fe.disableRipple)("disabled",Fe._disableScrollBefore||null),o.xp6(3),o.ekj("_mat-animation-noopable","NoopAnimations"===Fe._animationMode),o.xp6(7),o.ekj("mat-mdc-tab-header-pagination-disabled",Fe._disableScrollAfter),o.Q6J("matRippleDisabled",Fe._disableScrollAfter||Fe.disableRipple)("disabled",Fe._disableScrollAfter||null))},dependencies:[De.wG,ae.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}return Ye})();const kn=new o.OlP("MAT_TABS_CONFIG");let gn=0;const Ze=(0,De.pj)((0,De.Kr)(class{constructor(Ye){this._elementRef=Ye}}),"primary");let Ve=(()=>{class Ye extends Ze{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(U){this._dynamicHeight=(0,He.Ig)(U)}get selectedIndex(){return this._selectedIndex}set selectedIndex(U){this._indexToSelect=(0,He.su)(U,null)}get animationDuration(){return this._animationDuration}set animationDuration(U){this._animationDuration=/^\d+$/.test(U+"")?U+"ms":U}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(U){this._contentTabIndex=(0,He.su)(U,null)}get disablePagination(){return this._disablePagination}set disablePagination(U){this._disablePagination=(0,He.Ig)(U)}get preserveContent(){return this._preserveContent}set preserveContent(U){this._preserveContent=(0,He.Ig)(U)}get backgroundColor(){return this._backgroundColor}set backgroundColor(U){const we=this._elementRef.nativeElement.classList;we.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),U&&we.add("mat-tabs-with-background",`mat-background-${U}`),this._backgroundColor=U}constructor(U,we,Fe,rt){super(U),this._changeDetectorRef=we,this._animationMode=rt,this._tabs=new o.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=de.w0.EMPTY,this._tabLabelSubscription=de.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new o.vpe,this.focusChange=new o.vpe,this.animationDone=new o.vpe,this.selectedTabChange=new o.vpe(!0),this._groupId=gn++,this.animationDuration=Fe&&Fe.animationDuration?Fe.animationDuration:"500ms",this.disablePagination=!(!Fe||null==Fe.disablePagination)&&Fe.disablePagination,this.dynamicHeight=!(!Fe||null==Fe.dynamicHeight)&&Fe.dynamicHeight,this.contentTabIndex=Fe?.contentTabIndex??null,this.preserveContent=!!Fe?.preserveContent}ngAfterContentChecked(){const U=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=U){const we=null==this._selectedIndex;if(!we){this.selectedTabChange.emit(this._createChangeEvent(U));const Fe=this._tabBodyWrapper.nativeElement;Fe.style.minHeight=Fe.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Fe,rt)=>Fe.isActive=rt===U),we||(this.selectedIndexChange.emit(U),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((we,Fe)=>{we.position=Fe-U,null!=this._selectedIndex&&0==we.position&&!we.origin&&(we.origin=U-this._selectedIndex)}),this._selectedIndex!==U&&(this._selectedIndex=U,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const U=this._clampTabIndex(this._indexToSelect);if(U===this._selectedIndex){const we=this._tabs.toArray();let Fe;for(let rt=0;rt<we.length;rt++)if(we[rt].isActive){this._indexToSelect=this._selectedIndex=rt,this._lastFocusedTabIndex=null,Fe=we[rt];break}!Fe&&we[U]&&Promise.resolve().then(()=>{we[U].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(U))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,ge.O)(this._allTabs)).subscribe(U=>{this._tabs.reset(U.filter(we=>we._closestTabGroup===this||!we._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(U){const we=this._tabHeader;we&&(we.focusIndex=U)}_focusChanged(U){this._lastFocusedTabIndex=U,this.focusChange.emit(this._createChangeEvent(U))}_createChangeEvent(U){const we=new Oe;return we.index=U,this._tabs&&this._tabs.length&&(we.tab=this._tabs.toArray()[U]),we}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,W.T)(...this._tabs.map(U=>U._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(U){return Math.min(this._tabs.length-1,Math.max(U||0,0))}_getTabLabelId(U){return`mat-tab-label-${this._groupId}-${U}`}_getTabContentId(U){return`mat-tab-content-${this._groupId}-${U}`}_setTabBodyWrapperHeight(U){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const we=this._tabBodyWrapper.nativeElement;we.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(we.style.height=U+"px")}_removeTabBodyWrapperHeight(){const U=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=U.clientHeight,U.style.height="",this.animationDone.emit()}_handleClick(U,we,Fe){we.focusIndex=Fe,U.disabled||(this.selectedIndex=Fe)}_getTabIndex(U){return U===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(U,we){U&&"mouse"!==U&&"touch"!==U&&(this._tabHeader.focusIndex=we)}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(kn,8),o.Y36(o.QbO,8))};static#t=this.\u0275dir=o.lG2({type:Ye,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[o.qOj]})}return Ye})(),oe=(()=>{class Ye extends Ve{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(U){this._fitInkBarToContent=(0,He.Ig)(U),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(U){this._stretchTabs=(0,He.Ig)(U)}constructor(U,we,Fe,rt){super(U,we,Fe,rt),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!Fe||null==Fe.fitInkBarToContent)&&Fe.fitInkBarToContent,this.stretchTabs=!Fe||null==Fe.stretchTabs||Fe.stretchTabs}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(kn,8),o.Y36(o.QbO,8))};static#t=this.\u0275cmp=o.Xpm({type:Ye,selectors:[["mat-tab-group"]],contentQueries:function(we,Fe,rt){if(1&we&&o.Suo(rt,qt,5),2&we){let be;o.iGM(be=o.CRH())&&(Fe._allTabs=be)}},viewQuery:function(we,Fe){if(1&we&&(o.Gf(P,5),o.Gf(L,5)),2&we){let rt;o.iGM(rt=o.CRH())&&(Fe._tabBodyWrapper=rt.first),o.iGM(rt=o.CRH())&&(Fe._tabHeader=rt.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(we,Fe){2&we&&(o.Udp("--mat-tab-animation-duration",Fe.animationDuration),o.ekj("mat-mdc-tab-group-dynamic-height",Fe.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Fe.headerPosition)("mat-mdc-tab-group-stretch-tabs",Fe.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[o._Bn([{provide:$n,useExisting:Ye}]),o.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(we,Fe){1&we&&(o.TgZ(0,"mat-tab-header",0,1),o.NdJ("indexFocused",function(be){return Fe._focusChanged(be)})("selectFocusedIndex",function(be){return Fe.selectedIndex=be}),o.YNc(2,Ue,9,17,"div",2),o.qZA(),o.TgZ(3,"div",3,4),o.YNc(5,ut,1,12,"mat-tab-body",5),o.qZA()),2&we&&(o.Q6J("selectedIndex",Fe.selectedIndex||0)("disableRipple",Fe.disableRipple)("disablePagination",Fe.disablePagination),o.xp6(2),o.Q6J("ngForOf",Fe._tabs),o.xp6(1),o.ekj("_mat-animation-noopable","NoopAnimations"===Fe._animationMode),o.xp6(2),o.Q6J("ngForOf",Fe._tabs))},dependencies:[h.mk,h.sg,h.O5,Ee.Pl,De.wG,se.kH,Ie,Ut,Dn],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return Ye})();class Oe{}let xt=(()=>{class Ye{static#e=this.\u0275fac=function(we){return new(we||Ye)};static#t=this.\u0275mod=o.oAB({type:Ye});static#n=this.\u0275inj=o.cJS({imports:[h.ez,De.BQ,Ee.eL,De.si,ae.Q8,se.rt,De.BQ]})}return Ye})()},4707:(et,Me,v)=>{"use strict";v.d(Me,{H7:()=>Sn,b2:()=>ue,q6:()=>lt,se:()=>Pe});var h=v(7786),o=v(9462);class De extends o.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Ee extends De{static makeCurrent(){(0,o.HT)(new Ee)}onAndCancel(G,N,_e){return G.addEventListener(N,_e),()=>{G.removeEventListener(N,_e)}}dispatchEvent(G,N){G.dispatchEvent(N)}remove(G){G.parentNode&&G.parentNode.removeChild(G)}createElement(G,N){return(N=N||this.getDefaultDocument()).createElement(G)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(G){return G.nodeType===Node.ELEMENT_NODE}isShadowRoot(G){return G instanceof DocumentFragment}getGlobalEventTarget(G,N){return"window"===N?window:"document"===N?G:"body"===N?G.body:null}getBaseHref(G){const N=function se(){return ae=ae||document.querySelector("base"),ae?ae.getAttribute("href"):null}();return null==N?null:function de(O){te=te||document.createElement("a"),te.setAttribute("href",O);const G=te.pathname;return"/"===G.charAt(0)?G:`/${G}`}(N)}resetBaseElement(){ae=null}getUserAgent(){return window.navigator.userAgent}getCookie(G){return(0,o.Mx)(document.cookie,G)}}let te,ae=null,z=(()=>{class O{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(_e){return new(_e||O)};static#t=this.\u0275prov=h.Yz7({token:O,factory:O.\u0275fac})}return O})();const j=new h.OlP("EventManagerPlugins");let W=(()=>{class O{constructor(N,_e){this._zone=_e,this._eventNameToPlugin=new Map,N.forEach(qe=>{qe.manager=this}),this._plugins=N.slice().reverse()}addEventListener(N,_e,qe){return this._findPluginFor(_e).addEventListener(N,_e,qe)}getZone(){return this._zone}_findPluginFor(N){let _e=this._eventNameToPlugin.get(N);if(_e)return _e;if(_e=this._plugins.find(yt=>yt.supports(N)),!_e)throw new h.vHH(5101,!1);return this._eventNameToPlugin.set(N,_e),_e}static#e=this.\u0275fac=function(_e){return new(_e||O)(h.LFG(j),h.LFG(h.R0b))};static#t=this.\u0275prov=h.Yz7({token:O,factory:O.\u0275fac})}return O})();class ne{constructor(G){this._doc=G}}const le="ng-app-id";let ie=(()=>{class O{constructor(N,_e,qe,yt={}){this.doc=N,this.appId=_e,this.nonce=qe,this.platformId=yt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,o.PM)(yt),this.resetHostNodes()}addStyles(N){for(const _e of N)1===this.changeUsageCount(_e,1)&&this.onStyleAdded(_e)}removeStyles(N){for(const _e of N)this.changeUsageCount(_e,-1)<=0&&this.onStyleRemoved(_e)}ngOnDestroy(){const N=this.styleNodesInDOM;N&&(N.forEach(_e=>_e.remove()),N.clear());for(const _e of this.getAllStyles())this.onStyleRemoved(_e);this.resetHostNodes()}addHost(N){this.hostNodes.add(N);for(const _e of this.getAllStyles())this.addStyleToHost(N,_e)}removeHost(N){this.hostNodes.delete(N)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(N){for(const _e of this.hostNodes)this.addStyleToHost(_e,N)}onStyleRemoved(N){const _e=this.styleRef;_e.get(N)?.elements?.forEach(qe=>qe.remove()),_e.delete(N)}collectServerRenderedStyles(){const N=this.doc.head?.querySelectorAll(`style[${le}="${this.appId}"]`);if(N?.length){const _e=new Map;return N.forEach(qe=>{null!=qe.textContent&&_e.set(qe.textContent,qe)}),_e}return null}changeUsageCount(N,_e){const qe=this.styleRef;if(qe.has(N)){const yt=qe.get(N);return yt.usage+=_e,yt.usage}return qe.set(N,{usage:_e,elements:[]}),_e}getStyleElement(N,_e){const qe=this.styleNodesInDOM,yt=qe?.get(_e);if(yt?.parentNode===N)return qe.delete(_e),yt.removeAttribute(le),yt;{const xt=this.doc.createElement("style");return this.nonce&&xt.setAttribute("nonce",this.nonce),xt.textContent=_e,this.platformIsServer&&xt.setAttribute(le,this.appId),xt}}addStyleToHost(N,_e){const qe=this.getStyleElement(N,_e);N.appendChild(qe);const yt=this.styleRef,xt=yt.get(_e)?.elements;xt?xt.push(qe):yt.set(_e,{elements:[qe],usage:1})}resetHostNodes(){const N=this.hostNodes;N.clear(),N.add(this.doc.head)}static#e=this.\u0275fac=function(_e){return new(_e||O)(h.LFG(o.K0),h.LFG(h.AFp),h.LFG(h.Ojb,8),h.LFG(h.Lbi))};static#t=this.\u0275prov=h.Yz7({token:O,factory:O.\u0275fac})}return O})();const ge={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/"},B=/%COMP%/g,Z="%COMP%",re=`_nghost-${Z}`,J=`_ngcontent-${Z}`,Se=new h.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Ne(O,G){return G.map(N=>N.replace(B,O))}let Pe=(()=>{class O{constructor(N,_e,qe,yt,xt,Ye,ot,U=null){this.eventManager=N,this.sharedStylesHost=_e,this.appId=qe,this.removeStylesOnCompDestroy=yt,this.doc=xt,this.platformId=Ye,this.ngZone=ot,this.nonce=U,this.rendererByCompId=new Map,this.platformIsServer=(0,o.PM)(Ye),this.defaultRenderer=new ct(N,xt,ot,this.platformIsServer)}createRenderer(N,_e){if(!N||!_e)return this.defaultRenderer;this.platformIsServer&&_e.encapsulation===h.ifc.ShadowDom&&(_e={..._e,encapsulation:h.ifc.Emulated});const qe=this.getOrCreateRenderer(N,_e);return qe instanceof ze?qe.applyToHost(N):qe instanceof Xe&&qe.applyStyles(),qe}getOrCreateRenderer(N,_e){const qe=this.rendererByCompId;let yt=qe.get(_e.id);if(!yt){const xt=this.doc,Ye=this.ngZone,ot=this.eventManager,U=this.sharedStylesHost,we=this.removeStylesOnCompDestroy,Fe=this.platformIsServer;switch(_e.encapsulation){case h.ifc.Emulated:yt=new ze(ot,U,_e,this.appId,we,xt,Ye,Fe);break;case h.ifc.ShadowDom:return new je(ot,U,N,_e,xt,Ye,this.nonce,Fe);default:yt=new Xe(ot,U,_e,we,xt,Ye,Fe)}qe.set(_e.id,yt)}return yt}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(_e){return new(_e||O)(h.LFG(W),h.LFG(ie),h.LFG(h.AFp),h.LFG(Se),h.LFG(o.K0),h.LFG(h.Lbi),h.LFG(h.R0b),h.LFG(h.Ojb))};static#t=this.\u0275prov=h.Yz7({token:O,factory:O.\u0275fac})}return O})();class ct{constructor(G,N,_e,qe){this.eventManager=G,this.doc=N,this.ngZone=_e,this.platformIsServer=qe,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(G,N){return N?this.doc.createElementNS(ge[N]||N,G):this.doc.createElement(G)}createComment(G){return this.doc.createComment(G)}createText(G){return this.doc.createTextNode(G)}appendChild(G,N){(ve(G)?G.content:G).appendChild(N)}insertBefore(G,N,_e){G&&(ve(G)?G.content:G).insertBefore(N,_e)}removeChild(G,N){G&&G.removeChild(N)}selectRootElement(G,N){let _e="string"==typeof G?this.doc.querySelector(G):G;if(!_e)throw new h.vHH(-5104,!1);return N||(_e.textContent=""),_e}parentNode(G){return G.parentNode}nextSibling(G){return G.nextSibling}setAttribute(G,N,_e,qe){if(qe){N=qe+":"+N;const yt=ge[qe];yt?G.setAttributeNS(yt,N,_e):G.setAttribute(N,_e)}else G.setAttribute(N,_e)}removeAttribute(G,N,_e){if(_e){const qe=ge[_e];qe?G.removeAttributeNS(qe,N):G.removeAttribute(`${_e}:${N}`)}else G.removeAttribute(N)}addClass(G,N){G.classList.add(N)}removeClass(G,N){G.classList.remove(N)}setStyle(G,N,_e,qe){qe&(h.JOm.DashCase|h.JOm.Important)?G.style.setProperty(N,_e,qe&h.JOm.Important?"important":""):G.style[N]=_e}removeStyle(G,N,_e){_e&h.JOm.DashCase?G.style.removeProperty(N):G.style[N]=""}setProperty(G,N,_e){G[N]=_e}setValue(G,N){G.nodeValue=N}listen(G,N,_e){if("string"==typeof G&&!(G=(0,o.q)().getGlobalEventTarget(this.doc,G)))throw new Error(`Unsupported event target ${G} for event ${N}`);return this.eventManager.addEventListener(G,N,this.decoratePreventDefault(_e))}decoratePreventDefault(G){return N=>{if("__ngUnwrap__"===N)return G;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>G(N)):G(N))&&N.preventDefault()}}}function ve(O){return"TEMPLATE"===O.tagName&&void 0!==O.content}class je extends ct{constructor(G,N,_e,qe,yt,xt,Ye,ot){super(G,yt,xt,ot),this.sharedStylesHost=N,this.hostEl=_e,this.shadowRoot=_e.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const U=Ne(qe.id,qe.styles);for(const we of U){const Fe=document.createElement("style");Ye&&Fe.setAttribute("nonce",Ye),Fe.textContent=we,this.shadowRoot.appendChild(Fe)}}nodeOrShadowRoot(G){return G===this.hostEl?this.shadowRoot:G}appendChild(G,N){return super.appendChild(this.nodeOrShadowRoot(G),N)}insertBefore(G,N,_e){return super.insertBefore(this.nodeOrShadowRoot(G),N,_e)}removeChild(G,N){return super.removeChild(this.nodeOrShadowRoot(G),N)}parentNode(G){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(G)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Xe extends ct{constructor(G,N,_e,qe,yt,xt,Ye,ot){super(G,yt,xt,Ye),this.sharedStylesHost=N,this.removeStylesOnCompDestroy=qe,this.styles=ot?Ne(ot,_e.styles):_e.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ze extends Xe{constructor(G,N,_e,qe,yt,xt,Ye,ot){const U=qe+"-"+_e.id;super(G,N,_e,yt,xt,Ye,ot,U),this.contentAttr=function xe(O){return J.replace(B,O)}(U),this.hostAttr=function He(O){return re.replace(B,O)}(U)}applyToHost(G){this.applyStyles(),this.setAttribute(G,this.hostAttr,"")}createElement(G,N){const _e=super.createElement(G,N);return super.setAttribute(_e,this.contentAttr,""),_e}}let V=(()=>{class O extends ne{constructor(N){super(N)}supports(N){return!0}addEventListener(N,_e,qe){return N.addEventListener(_e,qe,!1),()=>this.removeEventListener(N,_e,qe)}removeEventListener(N,_e,qe){return N.removeEventListener(_e,qe)}static#e=this.\u0275fac=function(_e){return new(_e||O)(h.LFG(o.K0))};static#t=this.\u0275prov=h.Yz7({token:O,factory:O.\u0275fac})}return O})();const K=["alt","control","meta","shift"],F={"\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"},R={alt:O=>O.altKey,control:O=>O.ctrlKey,meta:O=>O.metaKey,shift:O=>O.shiftKey};let P=(()=>{class O extends ne{constructor(N){super(N)}supports(N){return null!=O.parseEventName(N)}addEventListener(N,_e,qe){const yt=O.parseEventName(_e),xt=O.eventCallback(yt.fullKey,qe,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.q)().onAndCancel(N,yt.domEventName,xt))}static parseEventName(N){const _e=N.toLowerCase().split("."),qe=_e.shift();if(0===_e.length||"keydown"!==qe&&"keyup"!==qe)return null;const yt=O._normalizeKey(_e.pop());let xt="",Ye=_e.indexOf("code");if(Ye>-1&&(_e.splice(Ye,1),xt="code."),K.forEach(U=>{const we=_e.indexOf(U);we>-1&&(_e.splice(we,1),xt+=U+".")}),xt+=yt,0!=_e.length||0===yt.length)return null;const ot={};return ot.domEventName=qe,ot.fullKey=xt,ot}static matchEventFullKeyCode(N,_e){let qe=F[N.key]||N.key,yt="";return _e.indexOf("code.")>-1&&(qe=N.code,yt="code."),!(null==qe||!qe)&&(qe=qe.toLowerCase()," "===qe?qe="space":"."===qe&&(qe="dot"),K.forEach(xt=>{xt!==qe&&(0,R[xt])(N)&&(yt+=xt+".")}),yt+=qe,yt===_e)}static eventCallback(N,_e,qe){return yt=>{O.matchEventFullKeyCode(yt,N)&&qe.runGuarded(()=>_e(yt))}}static _normalizeKey(N){return"esc"===N?"escape":N}static#e=this.\u0275fac=function(_e){return new(_e||O)(h.LFG(o.K0))};static#t=this.\u0275prov=h.Yz7({token:O,factory:O.\u0275fac})}return O})();const lt=(0,h.eFA)(h._c5,"browser",[{provide:h.Lbi,useValue:o.bD},{provide:h.g9A,useValue:function Ue(){Ee.makeCurrent()},multi:!0},{provide:o.K0,useFactory:function it(){return(0,h.RDi)(document),document},deps:[]}]),ke=new h.OlP(""),he=[{provide:h.rWj,useClass:class ce{addToWindow(G){h.dqk.getAngularTestability=(_e,qe=!0)=>{const yt=G.findTestabilityInTree(_e,qe);if(null==yt)throw new h.vHH(5103,!1);return yt},h.dqk.getAllAngularTestabilities=()=>G.getAllTestabilities(),h.dqk.getAllAngularRootElements=()=>G.getAllRootElements(),h.dqk.frameworkStabilizers||(h.dqk.frameworkStabilizers=[]),h.dqk.frameworkStabilizers.push(_e=>{const qe=h.dqk.getAllAngularTestabilities();let yt=qe.length,xt=!1;const Ye=function(ot){xt=xt||ot,yt--,0==yt&&_e(xt)};qe.forEach(ot=>{ot.whenStable(Ye)})})}findTestabilityInTree(G,N,_e){return null==N?null:G.getTestability(N)??(_e?(0,o.q)().isShadowRoot(N)?this.findTestabilityInTree(G,N.host,!0):this.findTestabilityInTree(G,N.parentElement,!0):null)}},deps:[]},{provide:h.lri,useClass:h.dDg,deps:[h.R0b,h.eoX,h.rWj]},{provide:h.dDg,useClass:h.dDg,deps:[h.R0b,h.eoX,h.rWj]}],Ie=[{provide:h.zSh,useValue:"root"},{provide:h.qLn,useFactory:function ut(){return new h.qLn},deps:[]},{provide:j,useClass:V,multi:!0,deps:[o.K0,h.R0b,h.Lbi]},{provide:j,useClass:P,multi:!0,deps:[o.K0]},Pe,ie,W,{provide:h.FYo,useExisting:Pe},{provide:o.JF,useClass:z,deps:[]},[]];let ue=(()=>{class O{constructor(N){}static withServerTransition(N){return{ngModule:O,providers:[{provide:h.AFp,useValue:N.appId}]}}static#e=this.\u0275fac=function(_e){return new(_e||O)(h.LFG(ke,12))};static#t=this.\u0275mod=h.oAB({type:O});static#n=this.\u0275inj=h.cJS({providers:[...Ie,...he],imports:[o.ez,h.hGG]})}return O})();typeof window<"u"&&window;let Sn=(()=>{class O{static#e=this.\u0275fac=function(_e){return new(_e||O)};static#t=this.\u0275prov=h.Yz7({token:O,factory:function(_e){let qe=null;return qe=_e?new(_e||O):h.LFG(Dn),qe},providedIn:"root"})}return O})(),Dn=(()=>{class O extends Sn{constructor(N){super(),this._doc=N}sanitize(N,_e){if(null==_e)return null;switch(N){case h.q3G.NONE:return _e;case h.q3G.HTML:return(0,h.qzn)(_e,"HTML")?(0,h.z3N)(_e):(0,h.EiD)(this._doc,String(_e)).toString();case h.q3G.STYLE:return(0,h.qzn)(_e,"Style")?(0,h.z3N)(_e):_e;case h.q3G.SCRIPT:if((0,h.qzn)(_e,"Script"))return(0,h.z3N)(_e);throw new h.vHH(5200,!1);case h.q3G.URL:return(0,h.qzn)(_e,"URL")?(0,h.z3N)(_e):(0,h.mCW)(String(_e));case h.q3G.RESOURCE_URL:if((0,h.qzn)(_e,"ResourceURL"))return(0,h.z3N)(_e);throw new h.vHH(5201,!1);default:throw new h.vHH(5202,!1)}}bypassSecurityTrustHtml(N){return(0,h.JVY)(N)}bypassSecurityTrustStyle(N){return(0,h.L6k)(N)}bypassSecurityTrustScript(N){return(0,h.eBb)(N)}bypassSecurityTrustUrl(N){return(0,h.LAX)(N)}bypassSecurityTrustResourceUrl(N){return(0,h.pB0)(N)}static#e=this.\u0275fac=function(_e){return new(_e||O)(h.LFG(o.K0))};static#t=this.\u0275prov=h.Yz7({token:O,factory:function(_e){let qe=null;return qe=_e?new _e:function In(O){return new Dn(O.get(o.K0))}(h.LFG(h.zs3)),qe},providedIn:"root"})}return O})()},9309:(et,Me,v)=>{"use strict";v.d(Me,{F_:()=>ce,T2:()=>W,nm:()=>le});var h=v(7786),o=v(1497),De=v(3581),Ee=v(1625),ae=v(8832);const se=["editor"],ce="MONACO_PATH";let z=(()=>{class ie{constructor(B,Z){this.ngZone=B,this.monacoPathConfig=Z,this.isMonacoLoaded$=new Ee.X(!1),this._monacoPath="assets/monaco-editor/min/vs",window.monacoEditorAlreadyInitialized?B.run(()=>this.isMonacoLoaded$.next(!0)):(window.monacoEditorAlreadyInitialized=!0,this.monacoPathConfig&&(this.monacoPath=this.monacoPathConfig),this.loadMonaco())}set monacoPath(B){B&&(this._monacoPath=B)}loadMonaco(){const B=()=>{let H=this._monacoPath;window.amdRequire=window.require;const Se=!!this.nodeRequire,xe=H.includes("http");Se&&(window.require=this.nodeRequire,xe||(H=window.require("path").resolve(window.__dirname,this._monacoPath))),window.amdRequire.config({paths:{vs:H}}),window.amdRequire(["vs/editor/editor.main"],()=>{this.ngZone.run(()=>this.isMonacoLoaded$.next(!0))},He=>console.error("Error loading monaco-editor: ",He))};if(window.amdRequire)return B();window.require&&(this.addElectronFixScripts(),this.nodeRequire=window.require);const J=document.createElement("script");J.type="text/javascript",J.src=`${this._monacoPath}/loader.js`,J.addEventListener("load",B),document.body.appendChild(J)}addElectronFixScripts(){const B=document.createElement("script"),Z=document.createTextNode("self.module = undefined;"),re=document.createTextNode("self.process.browser = true;");B.appendChild(Z),B.appendChild(re),document.body.appendChild(B)}}return ie.\u0275fac=function(B){return new(B||ie)(h.LFG(h.R0b),h.LFG(ce,8))},ie.\u0275prov=h.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})(),W=(()=>{class ie{constructor(B){this.monacoLoader=B,this.init=new h.vpe,this.onTouched=()=>{},this.onErrorStatusChange=()=>{},this.propagateChange=()=>{}}get model(){return this.editor&&this.editor.getModel()}get modelMarkers(){return this.model&&monaco.editor.getModelMarkers({resource:this.model.uri})}ngOnInit(){this.monacoLoader.isMonacoLoaded$.pipe((0,o.h)(B=>B),(0,De.q)(1)).subscribe(()=>{this.initEditor()})}ngOnChanges(B){if(this.editor&&B.options&&!B.options.firstChange){const{language:Z,theme:re,...J}=B.options.currentValue,{language:H,theme:Se}=B.options.previousValue;H!==Z&&monaco.editor.setModelLanguage(this.editor.getModel(),this.options&&this.options.language?this.options.language:"text"),Se!==re&&monaco.editor.setTheme(re),this.editor.updateOptions(J)}if(this.editor&&B.uri){const Z=B.uri.currentValue,re=B.uri.previousValue;if(re&&!Z||!re&&Z||Z&&re&&Z.path!==re.path){const J=this.editor.getValue();let H;this.modelUriInstance&&this.modelUriInstance.dispose(),Z&&(H=monaco.editor.getModels().find(Se=>Se.uri.path===Z.path)),this.modelUriInstance=H||monaco.editor.createModel(J,this.options.language||"text",this.uri),this.editor.setModel(this.modelUriInstance)}}}writeValue(B){this.value=B,this.editor&&B?this.editor.setValue(B):this.editor&&this.editor.setValue("")}registerOnChange(B){this.propagateChange=B}registerOnTouched(B){this.onTouched=B}validate(){return this.parsedError?{monaco:{value:this.parsedError.split("|")}}:null}registerOnValidatorChange(B){this.onErrorStatusChange=B}initEditor(){const B={value:[this.value].join("\n"),language:"text",automaticLayout:!0,scrollBeyondLastLine:!1,theme:"vc"};this.editor=monaco.editor.create(this.editorContent.nativeElement,this.options?{...B,...this.options}:B),this.registerEditorListeners(),this.init.emit(this.editor)}registerEditorListeners(){this.editor.onDidChangeModelContent(()=>{this.propagateChange(this.editor.getValue())}),this.editor.onDidChangeModelDecorations(()=>{const B=this.modelMarkers.map(({message:re})=>re).join("|");this.parsedError!==B&&(this.parsedError=B,this.onErrorStatusChange())}),this.editor.onDidBlurEditorText(()=>{this.onTouched()})}ngOnDestroy(){this.editor&&this.editor.dispose()}}return ie.\u0275fac=function(B){return new(B||ie)(h.Y36(z))},ie.\u0275cmp=h.Xpm({type:ie,selectors:[["ngx-monaco-editor"]],viewQuery:function(B,Z){if(1&B&&h.Gf(se,7),2&B){let re;h.iGM(re=h.CRH())&&(Z.editorContent=re.first)}},inputs:{options:"options",uri:"uri"},outputs:{init:"init"},features:[h._Bn([{provide:ae.JU,useExisting:(0,h.Gpc)(()=>ie),multi:!0},{provide:ae.Cf,useExisting:(0,h.Gpc)(()=>ie),multi:!0}]),h.TTD],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["editor",""]],template:function(B,Z){1&B&&(h.TgZ(0,"div",0,1),h._UZ(2,"div",2,3),h.qZA())},styles:[".monaco-editor[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0}.editor-container[_ngcontent-%COMP%]{overflow:hidden;position:relative;display:table;width:100%;height:100%;min-width:0}"],changeDetection:0}),ie})(),le=(()=>{class ie{}return ie.\u0275fac=function(B){return new(B||ie)},ie.\u0275mod=h.oAB({type:ie}),ie.\u0275inj=h.cJS({imports:[[]]}),ie})()},534:(et,Me,v)=>{"use strict";v.d(Me,{Mq:()=>Ne,fX:()=>ct,zE:()=>Pe});var h=v(7786),o=v(9462),De=v(7371),Ee=v(9453),ae=v(2067);const se=["gutterEls"];function te(me,Ke){if(1&me){const ve=h.EpF();h.TgZ(0,"div",2,3),h.NdJ("keydown",function(Xe){h.CHM(ve);const ze=h.oxw().index,V=h.oxw();return h.KtG(V.startKeyboardDrag(Xe,2*ze+1,ze+1))})("mousedown",function(Xe){h.CHM(ve);const ze=h.oxw().index,V=h.oxw();return h.KtG(V.startMouseDrag(Xe,2*ze+1,ze+1))})("touchstart",function(Xe){h.CHM(ve);const ze=h.oxw().index,V=h.oxw();return h.KtG(V.startMouseDrag(Xe,2*ze+1,ze+1))})("mouseup",function(Xe){h.CHM(ve);const ze=h.oxw().index,V=h.oxw();return h.KtG(V.clickGutter(Xe,ze+1))})("touchend",function(Xe){h.CHM(ve);const ze=h.oxw().index,V=h.oxw();return h.KtG(V.clickGutter(Xe,ze+1))}),h._UZ(2,"div",4),h.qZA()}if(2&me){const ve=h.oxw(),je=ve.index,Xe=ve.$implicit,ze=h.oxw();h.Udp("flex-basis",ze.gutterSize,"px")("order",2*je+1),h.uIk("aria-label",ze.gutterAriaLabel)("aria-orientation",ze.direction)("aria-valuemin",Xe.minSize)("aria-valuemax",Xe.maxSize)("aria-valuenow",Xe.size)("aria-valuetext",ze.getAriaAreaSizeText(Xe.size))}}function de(me,Ke){1&me&&h.YNc(0,te,3,10,"div",1),2&me&&h.Q6J("ngIf",!1===Ke.last)}const ce=["*"];function z(me){if(void 0!==me.changedTouches&&me.changedTouches.length>0)return{x:me.changedTouches[0].clientX,y:me.changedTouches[0].clientY};if(void 0!==me.clientX&&void 0!==me.clientY)return{x:me.clientX,y:me.clientY};if(void 0!==me.currentTarget){const Ke=me.currentTarget;return{x:Ke.offsetLeft,y:Ke.offsetTop}}return null}function j(me,Ke,ve){return Math.abs(me.x-Ke.x)<=ve&&Math.abs(me.y-Ke.y)<=ve}function ne(me,Ke){const ve=me.nativeElement.getBoundingClientRect();return"horizontal"===Ke?ve.width:ve.height}function le(me){return"boolean"==typeof me?me:"false"!==me}function ie(me,Ke){return null==me?Ke:(me=Number(me),!isNaN(me)&&me>=0?me:Ke)}function ge(me,Ke){if("percent"===me){const ve=Ke.reduce((Xe,ze)=>"*"!==ze?Xe+ze:Xe,0),je=Ke.filter(Xe=>"*"===Xe);return!(je.length>1)&&(1===je.length||ve>99.9)&&ve<100.1}if("pixel"===me)return 1===Ke.filter(ve=>"*"===ve).length}function B(me){return"*"===me.size?null:!0===me.component.lockSize?me.size:null===me.component.minSize?null:me.component.minSize>me.size?me.size:me.component.minSize}function Z(me){return"*"===me.size?null:!0===me.component.lockSize?me.size:null===me.component.maxSize?null:me.component.maxSize<me.size?me.size:me.component.maxSize}function re(me,Ke,ve,je){return Ke.reduce((Xe,ze)=>{const V=function J(me,Ke,ve,je){return 0===ve?{areaSnapshot:Ke,pixelAbsorb:0,percentAfterAbsorption:Ke.sizePercentAtStart,pixelRemain:0}:0===Ke.sizePixelAtStart&&ve<0?{areaSnapshot:Ke,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:ve}:"percent"===me?function H(me,Ke,ve){const Xe=(me.sizePixelAtStart+Ke)/ve*100;if(Ke>0){if(null!==me.area.maxSize&&Xe>me.area.maxSize){const ze=me.area.maxSize/100*ve;return{areaSnapshot:me,pixelAbsorb:ze,percentAfterAbsorption:me.area.maxSize,pixelRemain:me.sizePixelAtStart+Ke-ze}}return{areaSnapshot:me,pixelAbsorb:Ke,percentAfterAbsorption:Xe>100?100:Xe,pixelRemain:0}}if(Ke<0){if(null!==me.area.minSize&&Xe<me.area.minSize){const ze=me.area.minSize/100*ve;return{areaSnapshot:me,pixelAbsorb:ze,percentAfterAbsorption:me.area.minSize,pixelRemain:me.sizePixelAtStart+Ke-ze}}return Xe<0?{areaSnapshot:me,pixelAbsorb:-me.sizePixelAtStart,percentAfterAbsorption:0,pixelRemain:Ke+me.sizePixelAtStart}:{areaSnapshot:me,pixelAbsorb:Ke,percentAfterAbsorption:Xe,pixelRemain:0}}}(Ke,ve,je):"pixel"===me?function Se(me,Ke,ve){const je=me.sizePixelAtStart+Ke;return Ke>0?null!==me.area.maxSize&&je>me.area.maxSize?{areaSnapshot:me,pixelAbsorb:me.area.maxSize-me.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:je-me.area.maxSize}:{areaSnapshot:me,pixelAbsorb:Ke,percentAfterAbsorption:-1,pixelRemain:0}:Ke<0?null!==me.area.minSize&&je<me.area.minSize?{areaSnapshot:me,pixelAbsorb:me.area.minSize+Ke-je,percentAfterAbsorption:-1,pixelRemain:je-me.area.minSize}:je<0?{areaSnapshot:me,pixelAbsorb:-me.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:Ke+me.sizePixelAtStart}:{areaSnapshot:me,pixelAbsorb:Ke,percentAfterAbsorption:-1,pixelRemain:0}:void 0}(Ke,ve):void 0}(me,ze,Xe.remain,je);return Xe.list.push(V),Xe.remain=V.pixelRemain,Xe},{remain:ve,list:[]})}function xe(me,Ke){"*"!==Ke.areaSnapshot.area.size&&("percent"===me?Ke.areaSnapshot.area.size=Ke.percentAfterAbsorption:"pixel"===me&&(Ke.areaSnapshot.area.size=Ke.areaSnapshot.sizePixelAtStart+Ke.pixelAbsorb))}const He=new h.OlP("angular-split-global-config");let Ne=(()=>{class me{set direction(ve){this._direction="vertical"===ve?"vertical":"horizontal",this.renderer.addClass(this.elRef.nativeElement,`as-${this._direction}`),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("vertical"===this._direction?"horizontal":"vertical")),this.build(!1,!1)}get direction(){return this._direction}set unit(ve){this._unit="pixel"===ve?"pixel":"percent",this.renderer.addClass(this.elRef.nativeElement,`as-${this._unit}`),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("pixel"===this._unit?"percent":"pixel")),this.build(!1,!0)}get unit(){return this._unit}set gutterSize(ve){this._gutterSize=ie(ve,11),this.build(!1,!1)}get gutterSize(){return this._gutterSize}set gutterStep(ve){this._gutterStep=ie(ve,1)}get gutterStep(){return this._gutterStep}set restrictMove(ve){this._restrictMove=le(ve)}get restrictMove(){return this._restrictMove}set useTransition(ve){this._useTransition=le(ve),this._useTransition?this.renderer.addClass(this.elRef.nativeElement,"as-transition"):this.renderer.removeClass(this.elRef.nativeElement,"as-transition")}get useTransition(){return this._useTransition}set disabled(ve){this._disabled=le(ve),this._disabled?this.renderer.addClass(this.elRef.nativeElement,"as-disabled"):this.renderer.removeClass(this.elRef.nativeElement,"as-disabled")}get disabled(){return this._disabled}set dir(ve){this._dir="rtl"===ve?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}get dir(){return this._dir}set gutterDblClickDuration(ve){this._gutterDblClickDuration=ie(ve,0)}get gutterDblClickDuration(){return this._gutterDblClickDuration}get transitionEnd(){return new De.y(ve=>this.transitionEndSubscriber=ve).pipe((0,ae.b)(20))}constructor(ve,je,Xe,ze,V){this.ngZone=ve,this.elRef=je,this.cdRef=Xe,this.renderer=ze,this.gutterClickDeltaPx=2,this._config={direction:"horizontal",unit:"percent",gutterSize:11,gutterStep:1,restrictMove:!1,useTransition:!1,disabled:!1,dir:"ltr",gutterDblClickDuration:0},this.dragStart=new h.vpe(!1),this.dragEnd=new h.vpe(!1),this.gutterClick=new h.vpe(!1),this.gutterDblClick=new h.vpe(!1),this.dragProgressSubject=new Ee.x,this.dragProgress$=this.dragProgressSubject.asObservable(),this.isDragging=!1,this.isWaitingClear=!1,this.isWaitingInitialMove=!1,this.dragListeners=[],this.snapshot=null,this.startPoint=null,this.endPoint=null,this.displayedAreas=[],this.hiddenAreas=[],this._clickTimeout=null,this.direction=this._direction,this._config=V?Object.assign(this._config,V):this._config,Object.keys(this._config).forEach(K=>{this[K]=this._config[K]})}ngAfterViewInit(){this.ngZone.runOutsideAngular(()=>{setTimeout(()=>this.renderer.addClass(this.elRef.nativeElement,"as-init"))})}getNbGutters(){return 0===this.displayedAreas.length?0:this.displayedAreas.length-1}addArea(ve){const je={component:ve,order:0,size:0,minSize:null,maxSize:null,sizeBeforeCollapse:null,gutterBeforeCollapse:0};!0===ve.visible?(this.displayedAreas.push(je),this.build(!0,!0)):this.hiddenAreas.push(je)}removeArea(ve){if(this.displayedAreas.some(je=>je.component===ve)){const je=this.displayedAreas.find(Xe=>Xe.component===ve);this.displayedAreas.splice(this.displayedAreas.indexOf(je),1),this.build(!0,!0)}else if(this.hiddenAreas.some(je=>je.component===ve)){const je=this.hiddenAreas.find(Xe=>Xe.component===ve);this.hiddenAreas.splice(this.hiddenAreas.indexOf(je),1)}}updateArea(ve,je,Xe){!0===ve.visible&&this.build(je,Xe)}showArea(ve){const je=this.hiddenAreas.find(ze=>ze.component===ve);if(void 0===je)return;const Xe=this.hiddenAreas.splice(this.hiddenAreas.indexOf(je),1);this.displayedAreas.push(...Xe),this.build(!0,!0)}hideArea(ve){const je=this.displayedAreas.find(ze=>ze.component===ve);if(void 0===je)return;const Xe=this.displayedAreas.splice(this.displayedAreas.indexOf(je),1);Xe.forEach(ze=>{ze.order=0,ze.size=0}),this.hiddenAreas.push(...Xe),this.build(!0,!0)}getVisibleAreaSizes(){return this.displayedAreas.map(ve=>ve.size)}setVisibleAreaSizes(ve){if(ve.length!==this.displayedAreas.length)return!1;const je=ve.map(ze=>ie(ze,"*"));return!1!==ge(this.unit,je)&&(this.displayedAreas.forEach((ze,V)=>ze.component._size=je[V]),this.build(!1,!0),!0)}build(ve,je){if(this.stopDragging(),!0===ve&&(this.displayedAreas.every(Xe=>null!==Xe.component.order)&&this.displayedAreas.sort((Xe,ze)=>Xe.component.order-ze.component.order),this.displayedAreas.forEach((Xe,ze)=>{Xe.order=2*ze,Xe.component.setStyleOrder(Xe.order)})),!0===je){const Xe=ge(this.unit,this.displayedAreas.map(ze=>ze.component.size));switch(this.unit){case"percent":{const ze=100/this.displayedAreas.length;this.displayedAreas.forEach(V=>{V.size=Xe?V.component.size:ze,V.minSize=B(V),V.maxSize=Z(V)});break}case"pixel":if(Xe)this.displayedAreas.forEach(ze=>{ze.size=ze.component.size,ze.minSize=B(ze),ze.maxSize=Z(ze)});else{const ze=this.displayedAreas.filter(V=>"*"===V.component.size);if(0===ze.length&&this.displayedAreas.length>0)this.displayedAreas.forEach((V,K)=>{V.size=0===K?"*":V.component.size,V.minSize=0===K?null:B(V),V.maxSize=0===K?null:Z(V)});else if(ze.length>1){let V=!1;this.displayedAreas.forEach(K=>{"*"===K.component.size?!1===V?(K.size="*",K.minSize=null,K.maxSize=null,V=!0):(K.size=100,K.minSize=null,K.maxSize=null):(K.size=K.component.size,K.minSize=B(K),K.maxSize=Z(K))})}}}}this.refreshStyleSizes(),this.cdRef.markForCheck()}refreshStyleSizes(){if("percent"===this.unit)if(1===this.displayedAreas.length)this.displayedAreas[0].component.setStyleFlex(0,0,"100%",!1,!1);else{const ve=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(je=>{"*"===je.size?je.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):je.component.setStyleFlex(0,0,`calc( ${je.size}% - ${je.size/100*ve}px )`,null!==je.minSize&&je.minSize===je.size,null!==je.maxSize&&je.maxSize===je.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach(ve=>{"*"===ve.size?ve.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):1===this.displayedAreas.length?ve.component.setStyleFlex(0,0,"100%",!1,!1):ve.component.setStyleFlex(0,0,`${ve.size}px`,null!==ve.minSize&&ve.minSize===ve.size,null!==ve.maxSize&&ve.maxSize===ve.size)})}clickGutter(ve,je){const Xe=z(ve);this.startPoint&&j(this.startPoint,Xe,this.gutterClickDeltaPx)&&(!this.isDragging||this.isWaitingInitialMove)&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",je),this.stopDragging()):this._clickTimeout=window.setTimeout(()=>{this._clickTimeout=null,this.notify("click",je),this.stopDragging()},this.gutterDblClickDuration))}startKeyboardDrag(ve,je,Xe){if(!0===this.disabled||!0===this.isWaitingClear)return;const ze=function W(me,Ke){if("horizontal"===Ke)switch(me.key){case"ArrowLeft":case"ArrowRight":case"PageUp":case"PageDown":break;default:return null}if("vertical"===Ke)switch(me.key){case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":break;default:return null}const ve=me.currentTarget,je="PageUp"===me.key||"PageDown"===me.key?500:50;let Xe=ve.offsetLeft,ze=ve.offsetTop;switch(me.key){case"ArrowLeft":Xe-=je;break;case"ArrowRight":Xe+=je;break;case"ArrowUp":ze-=je;break;case"ArrowDown":ze+=je;break;case"PageUp":"vertical"===Ke?ze-=je:Xe+=je;break;case"PageDown":"vertical"===Ke?ze+=je:Xe-=je;break;default:return null}return{x:Xe,y:ze}}(ve,this.direction);null!==ze&&(this.endPoint=ze,this.startPoint=z(ve),ve.preventDefault(),ve.stopPropagation(),this.setupForDragEvent(je,Xe),this.startDragging(),this.drag(),this.stopDragging())}startMouseDrag(ve,je,Xe){ve.preventDefault(),ve.stopPropagation(),this.startPoint=z(ve),null!==this.startPoint&&!0!==this.disabled&&!0!==this.isWaitingClear&&(this.setupForDragEvent(je,Xe),this.dragListeners.push(this.renderer.listen("document","mouseup",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchend",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchcancel",this.stopDragging.bind(this))),this.ngZone.runOutsideAngular(()=>{this.dragListeners.push(this.renderer.listen("document","mousemove",this.mouseDragEvent.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchmove",this.mouseDragEvent.bind(this)))}),this.startDragging())}setupForDragEvent(ve,je){if(this.snapshot={gutterNum:je,lastSteppedOffset:0,allAreasSizePixel:ne(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(Xe=>{const ze={area:Xe,sizePixelAtStart:ne(Xe.component.elRef,this.direction),sizePercentAtStart:"percent"===this.unit?Xe.size:-1};Xe.order<ve?!0===this.restrictMove?this.snapshot.areasBeforeGutter=[ze]:this.snapshot.areasBeforeGutter.unshift(ze):Xe.order>ve&&(!0===this.restrictMove?0===this.snapshot.areasAfterGutter.length&&(this.snapshot.areasAfterGutter=[ze]):this.snapshot.areasAfterGutter.push(ze))}),this.restrictMove&&"percent"===this.unit){const Xe=this.snapshot.areasBeforeGutter[0],ze=this.snapshot.areasAfterGutter[0];if("*"===Xe.area.size||"*"===ze.area.size){const V=this.displayedAreas.reduce((K,F)=>Xe.area!==F&&ze.area!==F?K+F.size:K,0);this.snapshot.allInvolvedAreasSizePercent=100-V}else this.snapshot.allInvolvedAreasSizePercent=[...this.snapshot.areasBeforeGutter,...this.snapshot.areasAfterGutter].reduce((V,K)=>V+K.sizePercentAtStart,0)}}startDragging(){this.displayedAreas.forEach(ve=>ve.component.lockEvents()),this.isDragging=!0,this.isWaitingInitialMove=!0}mouseDragEvent(ve){ve.preventDefault(),ve.stopPropagation();const je=z(ve);null!==this._clickTimeout&&!j(this.startPoint,je,this.gutterClickDeltaPx)&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1!==this.isDragging&&(this.endPoint=z(ve),null!==this.endPoint&&this.drag())}drag(){if(this.isWaitingInitialMove){if(this.startPoint.x===this.endPoint.x&&this.startPoint.y===this.endPoint.y)return;this.ngZone.run(()=>{this.isWaitingInitialMove=!1,this.renderer.addClass(this.elRef.nativeElement,"as-dragging"),this.renderer.addClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.notify("start",this.snapshot.gutterNum)})}let ve="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&"horizontal"===this.direction&&(ve=-ve);const je=Math.round(ve/this.gutterStep)*this.gutterStep;if(je===this.snapshot.lastSteppedOffset)return;this.snapshot.lastSteppedOffset=je;let Xe=re(this.unit,this.snapshot.areasBeforeGutter,-je,this.snapshot.allAreasSizePixel),ze=re(this.unit,this.snapshot.areasAfterGutter,je,this.snapshot.allAreasSizePixel);if(0!==Xe.remain&&0!==ze.remain?Math.abs(Xe.remain)===Math.abs(ze.remain)||(Math.abs(Xe.remain)>Math.abs(ze.remain)?ze=re(this.unit,this.snapshot.areasAfterGutter,je+Xe.remain,this.snapshot.allAreasSizePixel):Xe=re(this.unit,this.snapshot.areasBeforeGutter,-(je-ze.remain),this.snapshot.allAreasSizePixel)):0!==Xe.remain?ze=re(this.unit,this.snapshot.areasAfterGutter,je+Xe.remain,this.snapshot.allAreasSizePixel):0!==ze.remain&&(Xe=re(this.unit,this.snapshot.areasBeforeGutter,-(je-ze.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){const V=[...Xe.list,...ze.list],F=V.find(R=>"*"==R.percentAfterAbsorption)??V.find(R=>0!==R.percentAfterAbsorption&&R.percentAfterAbsorption!==R.areaSnapshot.area.minSize&&R.percentAfterAbsorption!==R.areaSnapshot.area.maxSize);F&&(F.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-V.filter(R=>R!==F).reduce((R,P)=>R+P.percentAfterAbsorption,0))}Xe.list.forEach(V=>xe(this.unit,V)),ze.list.forEach(V=>xe(this.unit,V)),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}stopDragging(ve){if(ve&&(ve.preventDefault(),ve.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach(je=>je.component.unlockEvents());this.dragListeners.length>0;){const je=this.dragListeners.pop();je&&je()}this.isDragging=!1,!1===this.isWaitingInitialMove&&this.notify("end",this.snapshot.gutterNum),this.renderer.removeClass(this.elRef.nativeElement,"as-dragging"),this.renderer.removeClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.snapshot=null,this.isWaitingClear=!0,this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.startPoint=null,this.endPoint=null,this.isWaitingClear=!1})})}}notify(ve,je){const Xe=this.getVisibleAreaSizes();"start"===ve?this.dragStart.emit({gutterNum:je,sizes:Xe}):"end"===ve?this.dragEnd.emit({gutterNum:je,sizes:Xe}):"click"===ve?this.gutterClick.emit({gutterNum:je,sizes:Xe}):"dblclick"===ve?this.gutterDblClick.emit({gutterNum:je,sizes:Xe}):"transitionEnd"===ve?this.transitionEndSubscriber&&this.ngZone.run(()=>this.transitionEndSubscriber.next(Xe)):"progress"===ve&&this.dragProgressSubject.next({gutterNum:je,sizes:Xe})}ngOnDestroy(){this.stopDragging()}collapseArea(ve,je,Xe){const ze=this.displayedAreas.find(F=>F.component===ve);if(void 0===ze)return;const V="right"===Xe?1:-1;ze.sizeBeforeCollapse||(ze.sizeBeforeCollapse=ze.size,ze.gutterBeforeCollapse=V),ze.size=je;const K=this.gutterEls.find(F=>F.nativeElement.style.order===`${ze.order+V}`);K&&this.renderer.addClass(K.nativeElement,"as-split-gutter-collapsed"),this.updateArea(ve,!1,!1)}expandArea(ve){const je=this.displayedAreas.find(ze=>ze.component===ve);if(void 0===je||!je.sizeBeforeCollapse)return;je.size=je.sizeBeforeCollapse,je.sizeBeforeCollapse=null;const Xe=this.gutterEls.find(ze=>ze.nativeElement.style.order===`${je.order+je.gutterBeforeCollapse}`);Xe&&this.renderer.removeClass(Xe.nativeElement,"as-split-gutter-collapsed"),this.updateArea(ve,!1,!1)}getAriaAreaSizeText(ve){return"*"===ve?null:ve.toFixed(0)+" "+this.unit}static#e=this.\u0275fac=function(je){return new(je||me)(h.Y36(h.R0b),h.Y36(h.SBq),h.Y36(h.sBO),h.Y36(h.Qsj),h.Y36(He,8))};static#t=this.\u0275cmp=h.Xpm({type:me,selectors:[["as-split"]],viewQuery:function(je,Xe){if(1&je&&h.Gf(se,5),2&je){let ze;h.iGM(ze=h.CRH())&&(Xe.gutterEls=ze)}},inputs:{direction:"direction",unit:"unit",gutterSize:"gutterSize",gutterStep:"gutterStep",restrictMove:"restrictMove",useTransition:"useTransition",disabled:"disabled",dir:"dir",gutterDblClickDuration:"gutterDblClickDuration",gutterClickDeltaPx:"gutterClickDeltaPx",gutterAriaLabel:"gutterAriaLabel"},outputs:{transitionEnd:"transitionEnd",dragStart:"dragStart",dragEnd:"dragEnd",gutterClick:"gutterClick",gutterDblClick:"gutterDblClick"},exportAs:["asSplit"],ngContentSelectors:ce,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],["role","separator","tabindex","0","class","as-split-gutter",3,"flex-basis","order","keydown","mousedown","touchstart","mouseup","touchend",4,"ngIf"],["role","separator","tabindex","0",1,"as-split-gutter",3,"keydown","mousedown","touchstart","mouseup","touchend"],["gutterEls",""],[1,"as-split-gutter-icon"]],template:function(je,Xe){1&je&&(h.F$t(),h.Hsn(0),h.YNc(1,de,1,1,"ng-template",0)),2&je&&(h.xp6(1),h.Q6J("ngForOf",Xe.displayedAreas))},dependencies:[o.sg,o.O5],styles:["[_nghost-%COMP%]{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;overflow:hidden;width:100%;height:100%}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{border:none;flex-grow:0;flex-shrink:0;background-color:#eee;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] > .as-split-gutter.as-split-gutter-collapsed[_ngcontent-%COMP%]{flex-basis:1px!important;pointer-events:none}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{width:100%;height:100%;background-position:center center;background-repeat:no-repeat}[_nghost-%COMP%] >.as-split-area{flex-grow:0;flex-shrink:0;overflow-x:hidden;overflow-y:auto}[_nghost-%COMP%] >.as-split-area.as-hidden{flex:0 1 0px!important;overflow-x:hidden;overflow-y:hidden}[_nghost-%COMP%] >.as-split-area .iframe-fix{position:absolute;top:0;left:0;width:100%;height:100%}.as-horizontal[_nghost-%COMP%]{flex-direction:row}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:row;cursor:col-resize;height:100%}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-horizontal[_nghost-%COMP%] >.as-split-area{height:100%}.as-vertical[_nghost-%COMP%]{flex-direction:column}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:column;cursor:row-resize;width:100%}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}.as-vertical[_nghost-%COMP%] >.as-split-area{width:100%}.as-vertical[_nghost-%COMP%] >.as-split-area.as-hidden{max-width:0}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{cursor:default}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) > .as-split-gutter[_ngcontent-%COMP%], .as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) >.as-split-area{transition:flex-basis .3s}"],changeDetection:0})}return me})(),Pe=(()=>{class me{set order(ve){this._order=ie(ve,null),this.split.updateArea(this,!0,!1)}get order(){return this._order}set size(ve){this._size=ie(ve,"*"),this.split.updateArea(this,!1,!0)}get size(){return this._size}set minSize(ve){this._minSize=ie(ve,null),this.split.updateArea(this,!1,!0)}get minSize(){return this._minSize}set maxSize(ve){this._maxSize=ie(ve,null),this.split.updateArea(this,!1,!0)}get maxSize(){return this._maxSize}set lockSize(ve){this._lockSize=le(ve),this.split.updateArea(this,!1,!0)}get lockSize(){return this._lockSize}set visible(ve){this._visible=le(ve),this._visible?(this.split.showArea(this),this.renderer.removeClass(this.elRef.nativeElement,"as-hidden")):(this.split.hideArea(this),this.renderer.addClass(this.elRef.nativeElement,"as-hidden"))}get visible(){return this._visible}constructor(ve,je,Xe,ze){this.ngZone=ve,this.elRef=je,this.renderer=Xe,this.split=ze,this._order=null,this._size="*",this._minSize=null,this._maxSize=null,this._lockSize=!1,this._visible=!0,this.lockListeners=[],this.renderer.addClass(this.elRef.nativeElement,"as-split-area")}ngOnInit(){this.split.addArea(this),this.ngZone.runOutsideAngular(()=>{this.transitionListener=this.renderer.listen(this.elRef.nativeElement,"transitionend",je=>{"flex-basis"===je.propertyName&&this.split.notify("transitionEnd",-1)})});const ve=this.renderer.createElement("div");this.renderer.addClass(ve,"iframe-fix"),this.dragStartSubscription=this.split.dragStart.subscribe(()=>{this.renderer.setStyle(this.elRef.nativeElement,"position","relative"),this.renderer.appendChild(this.elRef.nativeElement,ve)}),this.dragEndSubscription=this.split.dragEnd.subscribe(()=>{this.renderer.removeStyle(this.elRef.nativeElement,"position"),this.renderer.removeChild(this.elRef.nativeElement,ve)})}setStyleOrder(ve){this.renderer.setStyle(this.elRef.nativeElement,"order",ve)}setStyleFlex(ve,je,Xe,ze,V){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",ve),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",je),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",Xe),!0===ze?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===V?this.renderer.addClass(this.elRef.nativeElement,"as-max"):this.renderer.removeClass(this.elRef.nativeElement,"as-max")}lockEvents(){this.ngZone.runOutsideAngular(()=>{this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"selectstart",()=>!1)),this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"dragstart",()=>!1))})}unlockEvents(){for(;this.lockListeners.length>0;){const ve=this.lockListeners.pop();ve&&ve()}}ngOnDestroy(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.dragStartSubscription?.unsubscribe(),this.dragEndSubscription?.unsubscribe(),this.split.removeArea(this)}collapse(ve=0,je="right"){this.split.collapseArea(this,ve,je)}expand(){this.split.expandArea(this)}static#e=this.\u0275fac=function(je){return new(je||me)(h.Y36(h.R0b),h.Y36(h.SBq),h.Y36(h.Qsj),h.Y36(Ne))};static#t=this.\u0275dir=h.lG2({type:me,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]})}return me})(),ct=(()=>{class me{static#e=this.\u0275fac=function(je){return new(je||me)};static#t=this.\u0275mod=h.oAB({type:me});static#n=this.\u0275inj=h.cJS({imports:[o.ez]})}return me})()},6086:(et,Me,v)=>{"use strict";v.d(Me,{Y:()=>ce,s:()=>z});var h=v(7786),o=v(9462);function De(j,W){1&j&&h._UZ(0,"div",9)}function Ee(j,W){if(1&j&&(h.TgZ(0,"span",10),h._uU(1),h.qZA()),2&j){const ne=h.oxw().$implicit;h.xp6(1),h.Oqu(ne.description)}}function ae(j,W){if(1&j&&(h.TgZ(0,"section",11),h._UZ(1,"ngx-json-viewer",12),h.qZA()),2&j){const ne=h.oxw().$implicit,le=h.oxw();h.xp6(1),h.Q6J("json",ne.value)("expanded",le.expanded)("depth",le.depth)("_currentDepth",le._currentDepth+1)}}const se=function(j){return["segment",j]},te=function(j,W){return{"segment-main":!0,expandable:j,expanded:W}};function de(j,W){if(1&j){const ne=h.EpF();h.TgZ(0,"section",2)(1,"section",3),h.NdJ("click",function(){const ge=h.CHM(ne).$implicit,B=h.oxw();return h.KtG(B.toggle(ge))}),h.YNc(2,De,1,0,"div",4),h.TgZ(3,"span",5),h._uU(4),h.qZA(),h.TgZ(5,"span",6),h._uU(6,": "),h.qZA(),h.YNc(7,Ee,2,1,"span",7),h.qZA(),h.YNc(8,ae,2,4,"section",8),h.qZA()}if(2&j){const ne=W.$implicit,le=h.oxw();h.Q6J("ngClass",h.VKq(6,se,"segment-type-"+ne.type)),h.xp6(1),h.Q6J("ngClass",h.WLB(8,te,le.isExpandable(ne),ne.expanded)),h.xp6(1),h.Q6J("ngIf",le.isExpandable(ne)),h.xp6(2),h.Oqu(ne.key),h.xp6(3),h.Q6J("ngIf",!ne.expanded||!le.isExpandable(ne)),h.xp6(1),h.Q6J("ngIf",ne.expanded&&le.isExpandable(ne))}}let ce=(()=>{class j{constructor(){this.expanded=!0,this.depth=-1,this._currentDepth=0,this.segments=[]}ngOnChanges(){this.segments=[],this.json=this.decycle(this.json),"object"==typeof this.json?Object.keys(this.json).forEach(ne=>{this.segments.push(this.parseKeyValue(ne,this.json[ne]))}):this.segments.push(this.parseKeyValue(`(${typeof this.json})`,this.json))}isExpandable(ne){return"object"===ne.type||"array"===ne.type}toggle(ne){this.isExpandable(ne)&&(ne.expanded=!ne.expanded)}parseKeyValue(ne,le){const ie={key:ne,value:le,type:void 0,description:""+le,expanded:this.isExpanded()};switch(typeof ie.value){case"number":ie.type="number";break;case"boolean":ie.type="boolean";break;case"function":ie.type="function";break;case"string":ie.type="string",ie.description='"'+ie.value+'"';break;case"undefined":ie.type="undefined",ie.description="undefined";break;case"object":null===ie.value?(ie.type="null",ie.description="null"):Array.isArray(ie.value)?(ie.type="array",ie.description="Array["+ie.value.length+"] "+JSON.stringify(ie.value)):ie.value instanceof Date?ie.type="date":(ie.type="object",ie.description="Object "+JSON.stringify(ie.value))}return ie}isExpanded(){return this.expanded&&!(this.depth>-1&&this._currentDepth>=this.depth)}decycle(ne){const le=new WeakMap;return function ie(ge,B){let Z,re;return"object"!=typeof ge||null===ge||ge instanceof Boolean||ge instanceof Date||ge instanceof Number||ge instanceof RegExp||ge instanceof String?ge:(Z=le.get(ge),void 0!==Z?{$ref:Z}:(le.set(ge,B),Array.isArray(ge)?(re=[],ge.forEach(function(J,H){re[H]=ie(J,B+"["+H+"]")})):(re={},Object.keys(ge).forEach(function(J){re[J]=ie(ge[J],B+"["+JSON.stringify(J)+"]")})),re))}(ne,"$")}}return j.\u0275fac=function(ne){return new(ne||j)},j.\u0275cmp=h.Xpm({type:j,selectors:[["ngx-json-viewer"]],inputs:{json:"json",expanded:"expanded",depth:"depth",_currentDepth:"_currentDepth"},features:[h.TTD],decls:2,vars:1,consts:[[1,"ngx-json-viewer"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[3,"ngClass","click"],["class","toggler",4,"ngIf"],[1,"segment-key"],[1,"segment-separator"],["class","segment-value",4,"ngIf"],["class","children",4,"ngIf"],[1,"toggler"],[1,"segment-value"],[1,"children"],[3,"json","expanded","depth","_currentDepth"]],template:function(ne,le){1&ne&&(h.TgZ(0,"section",0),h.YNc(1,de,9,11,"section",1),h.qZA()),2&ne&&(h.xp6(1),h.Q6J("ngForOf",le.segments))},dependencies:[o.mk,o.sg,o.O5,j],styles:['@charset "UTF-8";.ngx-json-viewer[_ngcontent-%COMP%]{font-family:var(--ngx-json-font-family, monospace);font-size:var(--ngx-json-font-size, 1em);width:100%;height:100%;overflow:hidden;position:relative}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%]{padding:2px;margin:1px 1px 1px 12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%]{word-wrap:break-word}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]{position:absolute;margin-left:-14px;margin-top:3px;font-size:.8em;line-height:1.2em;vertical-align:middle;color:var(--ngx-json-toggler, #787878)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]:after{display:inline-block;content:"\\25ba";transition:transform .1s ease-in}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-key, #4E187C)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-separator[_ngcontent-%COMP%]{color:var(--ngx-json-separator, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-value, #000)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .children[_ngcontent-%COMP%]{margin-left:12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-string[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-string, #FF6B6B)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-number[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-number, #009688)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-boolean[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-boolean, #B938A4)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-date[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-date, #05668D)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-array, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-object, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-function[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-function, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-null, #fff)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-undefined, #fff)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-null-bg, red)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%]{white-space:nowrap}.ngx-json-viewer[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]:after{transform:rotate(90deg)}.ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]{cursor:pointer}']}),j})(),z=(()=>{class j{}return j.\u0275fac=function(ne){return new(ne||j)},j.\u0275mod=h.oAB({type:j}),j.\u0275inj=h.cJS({imports:[o.ez]}),j})()},5861:(et,Me,v)=>{"use strict";function h(De,Ee,ae,se,te,de,ce){try{var z=De[de](ce),j=z.value}catch(W){return void ae(W)}z.done?Ee(j):Promise.resolve(j).then(se,te)}function o(De){return function(){var Ee=this,ae=arguments;return new Promise(function(se,te){var de=De.apply(Ee,ae);function ce(j){h(de,se,te,ce,z,"next",j)}function z(j){h(de,se,te,ce,z,"throw",j)}ce(void 0)})}}v.d(Me,{Z:()=>o})}},et=>{et(et.s=7601)}]);
1
+ (self.webpackChunksdkgen_playground=self.webpackChunksdkgen_playground||[]).push([[179],{1505:function(et,Me,v){var h;!function(o){"use strict";var W,De=1e9,Ee={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},ae=!0,se="[DecimalError] ",te=se+"Invalid argument: ",de=se+"Exponent out of range: ",ce=Math.floor,z=Math.pow,j=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,ne=1e7,le=7,ie=9007199254740991,ge=ce(ie/le),B={};function Z(V,K){var F,R,P,L,Q,q,Ae,Ue,ut=V.constructor,it=ut.precision;if(!V.s||!K.s)return K.s||(K=new ut(V)),ae?me(K,it):K;if(Ue=K.d,Q=V.e,P=K.e,Ae=(Ae=V.d).slice(),L=Q-P){for(L<0?(R=Ae,L=-L,q=Ue.length):(R=Ue,P=Q,q=Ae.length),L>(q=(Q=Math.ceil(it/le))>q?Q+1:q+1)&&(L=q,R.length=1),R.reverse();L--;)R.push(0);R.reverse()}for((q=Ae.length)-(L=Ue.length)<0&&(L=q,R=Ue,Ue=Ae,Ae=R),F=0;L;)F=(Ae[--L]=Ae[L]+Ue[L]+F)/ne|0,Ae[L]%=ne;for(F&&(Ae.unshift(F),++P),q=Ae.length;0==Ae[--q];)Ae.pop();return K.d=Ae,K.e=P,ae?me(K,it):K}function re(V,K,F){if(V!==~~V||V<K||V>F)throw Error(te+V)}function J(V){var K,F,R,P=V.length-1,L="",Q=V[0];if(P>0){for(L+=Q,K=1;K<P;K++)(F=le-(R=V[K]+"").length)&&(L+=Ne(F)),L+=R;(F=le-(R=(Q=V[K])+"").length)&&(L+=Ne(F))}else if(0===Q)return"0";for(;Q%10==0;)Q/=10;return L+Q}B.absoluteValue=B.abs=function(){var V=new this.constructor(this);return V.s&&(V.s=1),V},B.comparedTo=B.cmp=function(V){var K,F,R,P,L=this;if(V=new L.constructor(V),L.s!==V.s)return L.s||-V.s;if(L.e!==V.e)return L.e>V.e^L.s<0?1:-1;for(K=0,F=(R=L.d.length)<(P=V.d.length)?R:P;K<F;++K)if(L.d[K]!==V.d[K])return L.d[K]>V.d[K]^L.s<0?1:-1;return R===P?0:R>P^L.s<0?1:-1},B.decimalPlaces=B.dp=function(){var V=this,K=V.d.length-1,F=(K-V.e)*le;if(K=V.d[K])for(;K%10==0;K/=10)F--;return F<0?0:F},B.dividedBy=B.div=function(V){return H(this,new this.constructor(V))},B.dividedToIntegerBy=B.idiv=function(V){var F=this.constructor;return me(H(this,new F(V),0,1),F.precision)},B.equals=B.eq=function(V){return!this.cmp(V)},B.exponent=function(){return xe(this)},B.greaterThan=B.gt=function(V){return this.cmp(V)>0},B.greaterThanOrEqualTo=B.gte=function(V){return this.cmp(V)>=0},B.isInteger=B.isint=function(){return this.e>this.d.length-2},B.isNegative=B.isneg=function(){return this.s<0},B.isPositive=B.ispos=function(){return this.s>0},B.isZero=function(){return 0===this.s},B.lessThan=B.lt=function(V){return this.cmp(V)<0},B.lessThanOrEqualTo=B.lte=function(V){return this.cmp(V)<1},B.logarithm=B.log=function(V){var K,F=this,R=F.constructor,P=R.precision,L=P+5;if(void 0===V)V=new R(10);else if((V=new R(V)).s<1||V.eq(W))throw Error(se+"NaN");if(F.s<1)throw Error(se+(F.s?"NaN":"-Infinity"));return F.eq(W)?new R(0):(ae=!1,K=H(Pe(F,L),Pe(V,L),L),ae=!0,me(K,P))},B.minus=B.sub=function(V){var K=this;return V=new K.constructor(V),K.s==V.s?Ke(K,V):Z(K,(V.s=-V.s,V))},B.modulo=B.mod=function(V){var K,F=this,R=F.constructor,P=R.precision;if(!(V=new R(V)).s)throw Error(se+"NaN");return F.s?(ae=!1,K=H(F,V,0,1).times(V),ae=!0,F.minus(K)):me(new R(F),P)},B.naturalExponential=B.exp=function(){return Se(this)},B.naturalLogarithm=B.ln=function(){return Pe(this)},B.negated=B.neg=function(){var V=new this.constructor(this);return V.s=-V.s||0,V},B.plus=B.add=function(V){var K=this;return V=new K.constructor(V),K.s==V.s?Z(K,V):Ke(K,(V.s=-V.s,V))},B.precision=B.sd=function(V){var K,F,R,P=this;if(void 0!==V&&V!==!!V&&1!==V&&0!==V)throw Error(te+V);if(K=xe(P)+1,F=(R=P.d.length-1)*le+1,R=P.d[R]){for(;R%10==0;R/=10)F--;for(R=P.d[0];R>=10;R/=10)F++}return V&&K>F?K:F},B.squareRoot=B.sqrt=function(){var V,K,F,R,P,L,Q,q=this,Ae=q.constructor;if(q.s<1){if(!q.s)return new Ae(0);throw Error(se+"NaN")}for(V=xe(q),ae=!1,0==(P=Math.sqrt(+q))||P==1/0?(((K=J(q.d)).length+V)%2==0&&(K+="0"),P=Math.sqrt(K),V=ce((V+1)/2)-(V<0||V%2),R=new Ae(K=P==1/0?"5e"+V:(K=P.toExponential()).slice(0,K.indexOf("e")+1)+V)):R=new Ae(P.toString()),P=Q=(F=Ae.precision)+3;;)if(R=(L=R).plus(H(q,L,Q+2)).times(.5),J(L.d).slice(0,Q)===(K=J(R.d)).slice(0,Q)){if(K=K.slice(Q-3,Q+1),P==Q&&"4999"==K){if(me(L,F+1,0),L.times(L).eq(q)){R=L;break}}else if("9999"!=K)break;Q+=4}return ae=!0,me(R,F)},B.times=B.mul=function(V){var K,F,R,P,L,Q,q,Ae,Ue,ut=this,it=ut.constructor,dt=ut.d,lt=(V=new it(V)).d;if(!ut.s||!V.s)return new it(0);for(V.s*=ut.s,F=ut.e+V.e,(Ae=dt.length)<(Ue=lt.length)&&(L=dt,dt=lt,lt=L,Q=Ae,Ae=Ue,Ue=Q),L=[],R=Q=Ae+Ue;R--;)L.push(0);for(R=Ue;--R>=0;){for(K=0,P=Ae+R;P>R;)q=L[P]+lt[R]*dt[P-R-1]+K,L[P--]=q%ne|0,K=q/ne|0;L[P]=(L[P]+K)%ne|0}for(;!L[--Q];)L.pop();return K?++F:L.shift(),V.d=L,V.e=F,ae?me(V,it.precision):V},B.toDecimalPlaces=B.todp=function(V,K){var F=this,R=F.constructor;return F=new R(F),void 0===V?F:(re(V,0,De),void 0===K?K=R.rounding:re(K,0,8),me(F,V+xe(F)+1,K))},B.toExponential=function(V,K){var F,R=this,P=R.constructor;return void 0===V?F=ve(R,!0):(re(V,0,De),void 0===K?K=P.rounding:re(K,0,8),F=ve(R=me(new P(R),V+1,K),!0,V+1)),F},B.toFixed=function(V,K){var F,R,P=this,L=P.constructor;return void 0===V?ve(P):(re(V,0,De),void 0===K?K=L.rounding:re(K,0,8),F=ve((R=me(new L(P),V+xe(P)+1,K)).abs(),!1,V+xe(R)+1),P.isneg()&&!P.isZero()?"-"+F:F)},B.toInteger=B.toint=function(){var V=this,K=V.constructor;return me(new K(V),xe(V)+1,K.rounding)},B.toNumber=function(){return+this},B.toPower=B.pow=function(V){var K,F,R,P,L,q=this,Ae=q.constructor,ut=+(V=new Ae(V));if(!V.s)return new Ae(W);if(!(q=new Ae(q)).s){if(V.s<1)throw Error(se+"Infinity");return q}if(q.eq(W))return q;if(R=Ae.precision,V.eq(W))return me(q,R);if(L=q.s,(K=V.e)>=(F=V.d.length-1)){if((F=ut<0?-ut:ut)<=ie){for(P=new Ae(W),K=Math.ceil(R/le+4),ae=!1;F%2&&je((P=P.times(q)).d,K),0!==(F=ce(F/2));)je((q=q.times(q)).d,K);return ae=!0,V.s<0?new Ae(W).div(P):me(P,R)}}else if(L<0)throw Error(se+"NaN");return L=L<0&&1&V.d[Math.max(K,F)]?-1:1,q.s=1,ae=!1,P=V.times(Pe(q,R+12)),ae=!0,(P=Se(P)).s=L,P},B.toPrecision=function(V,K){var F,R,P=this,L=P.constructor;return void 0===V?R=ve(P,(F=xe(P))<=L.toExpNeg||F>=L.toExpPos):(re(V,1,De),void 0===K?K=L.rounding:re(K,0,8),R=ve(P=me(new L(P),V,K),V<=(F=xe(P))||F<=L.toExpNeg,V)),R},B.toSignificantDigits=B.tosd=function(V,K){var R=this.constructor;return void 0===V?(V=R.precision,K=R.rounding):(re(V,1,De),void 0===K?K=R.rounding:re(K,0,8)),me(new R(this),V,K)},B.toString=B.valueOf=B.val=B.toJSON=function(){var V=this,K=xe(V),F=V.constructor;return ve(V,K<=F.toExpNeg||K>=F.toExpPos)};var H=function(){function V(R,P){var L,Q=0,q=R.length;for(R=R.slice();q--;)R[q]=(L=R[q]*P+Q)%ne|0,Q=L/ne|0;return Q&&R.unshift(Q),R}function K(R,P,L,Q){var q,Ae;if(L!=Q)Ae=L>Q?1:-1;else for(q=Ae=0;q<L;q++)if(R[q]!=P[q]){Ae=R[q]>P[q]?1:-1;break}return Ae}function F(R,P,L){for(var Q=0;L--;)R[L]-=Q,R[L]=(Q=R[L]<P[L]?1:0)*ne+R[L]-P[L];for(;!R[0]&&R.length>1;)R.shift()}return function(R,P,L,Q){var q,Ae,Ue,ut,it,dt,lt,ke,he,Ie,ue,$e,at,bt,Ot,Gt,Rt,$t,Tt=R.constructor,Lt=R.s==P.s?1:-1,Ct=R.d,kt=P.d;if(!R.s)return new Tt(R);if(!P.s)throw Error(se+"Division by zero");for(Ae=R.e-P.e,Rt=kt.length,Ot=Ct.length,ke=(lt=new Tt(Lt)).d=[],Ue=0;kt[Ue]==(Ct[Ue]||0);)++Ue;if(kt[Ue]>(Ct[Ue]||0)&&--Ae,($e=null==L?L=Tt.precision:Q?L+(xe(R)-xe(P))+1:L)<0)return new Tt(0);if($e=$e/le+2|0,Ue=0,1==Rt)for(ut=0,kt=kt[0],$e++;(Ue<Ot||ut)&&$e--;Ue++)ke[Ue]=(at=ut*ne+(Ct[Ue]||0))/kt|0,ut=at%kt|0;else{for((ut=ne/(kt[0]+1)|0)>1&&(kt=V(kt,ut),Ct=V(Ct,ut),Rt=kt.length,Ot=Ct.length),bt=Rt,Ie=(he=Ct.slice(0,Rt)).length;Ie<Rt;)he[Ie++]=0;($t=kt.slice()).unshift(0),Gt=kt[0],kt[1]>=ne/2&&++Gt;do{ut=0,(q=K(kt,he,Rt,Ie))<0?(ue=he[0],Rt!=Ie&&(ue=ue*ne+(he[1]||0)),(ut=ue/Gt|0)>1?(ut>=ne&&(ut=ne-1),1==(q=K(it=V(kt,ut),he,dt=it.length,Ie=he.length))&&(ut--,F(it,Rt<dt?$t:kt,dt))):(0==ut&&(q=ut=1),it=kt.slice()),(dt=it.length)<Ie&&it.unshift(0),F(he,it,Ie),-1==q&&(q=K(kt,he,Rt,Ie=he.length))<1&&(ut++,F(he,Rt<Ie?$t:kt,Ie)),Ie=he.length):0===q&&(ut++,he=[0]),ke[Ue++]=ut,q&&he[0]?he[Ie++]=Ct[bt]||0:(he=[Ct[bt]],Ie=1)}while((bt++<Ot||void 0!==he[0])&&$e--)}return ke[0]||ke.shift(),lt.e=Ae,me(lt,Q?L+xe(lt)+1:L)}}();function Se(V,K){var F,P,L,Q,q,Ae=0,Ue=0,ut=V.constructor,it=ut.precision;if(xe(V)>16)throw Error(de+xe(V));if(!V.s)return new ut(W);for(null==K?(ae=!1,q=it):q=K,Q=new ut(.03125);V.abs().gte(.1);)V=V.times(Q),Ue+=5;for(q+=Math.log(z(2,Ue))/Math.LN10*2+5|0,F=P=L=new ut(W),ut.precision=q;;){if(P=me(P.times(V),q),F=F.times(++Ae),J((Q=L.plus(H(P,F,q))).d).slice(0,q)===J(L.d).slice(0,q)){for(;Ue--;)L=me(L.times(L),q);return ut.precision=it,null==K?(ae=!0,me(L,it)):L}L=Q}}function xe(V){for(var K=V.e*le,F=V.d[0];F>=10;F/=10)K++;return K}function He(V,K,F){if(K>V.LN10.sd())throw ae=!0,F&&(V.precision=F),Error(se+"LN10 precision limit exceeded");return me(new V(V.LN10),K)}function Ne(V){for(var K="";V--;)K+="0";return K}function Pe(V,K){var F,R,P,L,Q,q,Ae,Ue,ut,it=1,lt=V,ke=lt.d,he=lt.constructor,Ie=he.precision;if(lt.s<1)throw Error(se+(lt.s?"NaN":"-Infinity"));if(lt.eq(W))return new he(0);if(null==K?(ae=!1,Ue=Ie):Ue=K,lt.eq(10))return null==K&&(ae=!0),He(he,Ue);if(he.precision=Ue+=10,R=(F=J(ke)).charAt(0),L=xe(lt),!(Math.abs(L)<15e14))return Ae=He(he,Ue+2,Ie).times(L+""),lt=Pe(new he(R+"."+F.slice(1)),Ue-10).plus(Ae),he.precision=Ie,null==K?(ae=!0,me(lt,Ie)):lt;for(;R<7&&1!=R||1==R&&F.charAt(1)>3;)R=(F=J((lt=lt.times(V)).d)).charAt(0),it++;for(L=xe(lt),R>1?(lt=new he("0."+F),L++):lt=new he(R+"."+F.slice(1)),q=Q=lt=H(lt.minus(W),lt.plus(W),Ue),ut=me(lt.times(lt),Ue),P=3;;){if(Q=me(Q.times(ut),Ue),J((Ae=q.plus(H(Q,new he(P),Ue))).d).slice(0,Ue)===J(q.d).slice(0,Ue))return q=q.times(2),0!==L&&(q=q.plus(He(he,Ue+2,Ie).times(L+""))),q=H(q,new he(it),Ue),he.precision=Ie,null==K?(ae=!0,me(q,Ie)):q;q=Ae,P+=2}}function ct(V,K){var F,R,P;for((F=K.indexOf("."))>-1&&(K=K.replace(".","")),(R=K.search(/e/i))>0?(F<0&&(F=R),F+=+K.slice(R+1),K=K.substring(0,R)):F<0&&(F=K.length),R=0;48===K.charCodeAt(R);)++R;for(P=K.length;48===K.charCodeAt(P-1);)--P;if(K=K.slice(R,P)){if(P-=R,V.e=ce((F=F-R-1)/le),V.d=[],R=(F+1)%le,F<0&&(R+=le),R<P){for(R&&V.d.push(+K.slice(0,R)),P-=le;R<P;)V.d.push(+K.slice(R,R+=le));K=K.slice(R),R=le-K.length}else R-=P;for(;R--;)K+="0";if(V.d.push(+K),ae&&(V.e>ge||V.e<-ge))throw Error(de+F)}else V.s=0,V.e=0,V.d=[0];return V}function me(V,K,F){var R,P,L,Q,q,Ae,Ue,ut,it=V.d;for(Q=1,L=it[0];L>=10;L/=10)Q++;if((R=K-Q)<0)R+=le,P=K,Ue=it[ut=0];else{if((ut=Math.ceil((R+1)/le))>=(L=it.length))return V;for(Ue=L=it[ut],Q=1;L>=10;L/=10)Q++;P=(R%=le)-le+Q}if(void 0!==F&&(q=Ue/(L=z(10,Q-P-1))%10|0,Ae=K<0||void 0!==it[ut+1]||Ue%L,Ae=F<4?(q||Ae)&&(0==F||F==(V.s<0?3:2)):q>5||5==q&&(4==F||Ae||6==F&&(R>0?P>0?Ue/z(10,Q-P):0:it[ut-1])%10&1||F==(V.s<0?8:7))),K<1||!it[0])return Ae?(L=xe(V),it.length=1,it[0]=z(10,(le-(K=K-L-1)%le)%le),V.e=ce(-K/le)||0):(it.length=1,it[0]=V.e=V.s=0),V;if(0==R?(it.length=ut,L=1,ut--):(it.length=ut+1,L=z(10,le-R),it[ut]=P>0?(Ue/z(10,Q-P)%z(10,P)|0)*L:0),Ae)for(;;){if(0==ut){(it[0]+=L)==ne&&(it[0]=1,++V.e);break}if(it[ut]+=L,it[ut]!=ne)break;it[ut--]=0,L=1}for(R=it.length;0===it[--R];)it.pop();if(ae&&(V.e>ge||V.e<-ge))throw Error(de+xe(V));return V}function Ke(V,K){var F,R,P,L,Q,q,Ae,Ue,ut,it,dt=V.constructor,lt=dt.precision;if(!V.s||!K.s)return K.s?K.s=-K.s:K=new dt(V),ae?me(K,lt):K;if(it=K.d,R=K.e,Ue=V.e,Ae=(Ae=V.d).slice(),Q=Ue-R){for((ut=Q<0)?(F=Ae,Q=-Q,q=it.length):(F=it,R=Ue,q=Ae.length),Q>(P=Math.max(Math.ceil(lt/le),q)+2)&&(Q=P,F.length=1),F.reverse(),P=Q;P--;)F.push(0);F.reverse()}else{for((ut=(P=Ae.length)<(q=it.length))&&(q=P),P=0;P<q;P++)if(Ae[P]!=it[P]){ut=Ae[P]<it[P];break}Q=0}for(ut&&(F=Ae,Ae=it,it=F,K.s=-K.s),P=it.length-(q=Ae.length);P>0;--P)Ae[q++]=0;for(P=it.length;P>Q;){if(Ae[--P]<it[P]){for(L=P;L&&0===Ae[--L];)Ae[L]=ne-1;--Ae[L],Ae[P]+=ne}Ae[P]-=it[P]}for(;0===Ae[--q];)Ae.pop();for(;0===Ae[0];Ae.shift())--R;return Ae[0]?(K.d=Ae,K.e=R,ae?me(K,lt):K):new dt(0)}function ve(V,K,F){var R,P=xe(V),L=J(V.d),Q=L.length;return K?(F&&(R=F-Q)>0?L=L.charAt(0)+"."+L.slice(1)+Ne(R):Q>1&&(L=L.charAt(0)+"."+L.slice(1)),L=L+(P<0?"e":"e+")+P):P<0?(L="0."+Ne(-P-1)+L,F&&(R=F-Q)>0&&(L+=Ne(R))):P>=Q?(L+=Ne(P+1-Q),F&&(R=F-P-1)>0&&(L=L+"."+Ne(R))):((R=P+1)<Q&&(L=L.slice(0,R)+"."+L.slice(R)),F&&(R=F-Q)>0&&(P+1===Q&&(L+="."),L+=Ne(R))),V.s<0?"-"+L:L}function je(V,K){if(V.length>K)return V.length=K,!0}function ze(V){if(!V||"object"!=typeof V)throw Error(se+"Object expected");var K,F,R,P=["precision",1,De,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(K=0;K<P.length;K+=3)if(void 0!==(R=V[F=P[K]])){if(!(ce(R)===R&&R>=P[K+1]&&R<=P[K+2]))throw Error(te+F+": "+R);this[F]=R}if(void 0!==(R=V[F="LN10"])){if(R!=Math.LN10)throw Error(te+F+": "+R);this[F]=new this(R)}return this}(Ee=function Xe(V){var K,F,R;function P(L){var Q=this;if(!(Q instanceof P))return new P(L);if(Q.constructor=P,L instanceof P)return Q.s=L.s,Q.e=L.e,void(Q.d=(L=L.d)?L.slice():L);if("number"==typeof L){if(0*L!=0)throw Error(te+L);if(L>0)Q.s=1;else{if(!(L<0))return Q.s=0,Q.e=0,void(Q.d=[0]);L=-L,Q.s=-1}return L===~~L&&L<1e7?(Q.e=0,void(Q.d=[L])):ct(Q,L.toString())}if("string"!=typeof L)throw Error(te+L);if(45===L.charCodeAt(0)?(L=L.slice(1),Q.s=-1):Q.s=1,!j.test(L))throw Error(te+L);ct(Q,L)}if(P.prototype=B,P.ROUND_UP=0,P.ROUND_DOWN=1,P.ROUND_CEIL=2,P.ROUND_FLOOR=3,P.ROUND_HALF_UP=4,P.ROUND_HALF_DOWN=5,P.ROUND_HALF_EVEN=6,P.ROUND_HALF_CEIL=7,P.ROUND_HALF_FLOOR=8,P.clone=Xe,P.config=P.set=ze,void 0===V&&(V={}),V)for(R=["precision","rounding","toExpNeg","toExpPos","LN10"],K=0;K<R.length;)V.hasOwnProperty(F=R[K++])||(V[F]=this[F]);return P.config(V),P}(Ee)).default=Ee.Decimal=Ee,W=new Ee(1),void 0!==(h=function(){return Ee}.call(Me,v,Me,et))&&(et.exports=h)}()},5046:function(et,Me){var v,o;void 0!==(o="function"==typeof(v=function(){"use strict";function Ee(z,j,W){var ne=new XMLHttpRequest;ne.open("GET",z),ne.responseType="blob",ne.onload=function(){ce(ne.response,j,W)},ne.onerror=function(){console.error("could not download file")},ne.send()}function ae(z){var j=new XMLHttpRequest;j.open("HEAD",z,!1);try{j.send()}catch{}return 200<=j.status&&299>=j.status}function se(z){try{z.dispatchEvent(new MouseEvent("click"))}catch{var j=document.createEvent("MouseEvents");j.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),z.dispatchEvent(j)}}var te="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,de=te.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),ce=te.saveAs||("object"!=typeof window||window!==te?function(){}:"download"in HTMLAnchorElement.prototype&&!de?function(z,j,W){var ne=te.URL||te.webkitURL,le=document.createElement("a");le.download=j=j||z.name||"download",le.rel="noopener","string"==typeof z?(le.href=z,le.origin===location.origin?se(le):ae(le.href)?Ee(z,j,W):se(le,le.target="_blank")):(le.href=ne.createObjectURL(z),setTimeout(function(){ne.revokeObjectURL(le.href)},4e4),setTimeout(function(){se(le)},0))}:"msSaveOrOpenBlob"in navigator?function(z,j,W){if(j=j||z.name||"download","string"!=typeof z)navigator.msSaveOrOpenBlob(function De(z,j){return typeof j>"u"?j={autoBom:!1}:"object"!=typeof j&&(console.warn("Deprecated: Expected third argument to be a object"),j={autoBom:!j}),j.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(z.type)?new Blob(["\ufeff",z],{type:z.type}):z}(z,W),j);else if(ae(z))Ee(z,j,W);else{var ne=document.createElement("a");ne.href=z,ne.target="_blank",setTimeout(function(){se(ne)})}}:function(z,j,W,ne){if((ne=ne||open("","_blank"))&&(ne.document.title=ne.document.body.innerText="downloading..."),"string"==typeof z)return Ee(z,j,W);var le="application/octet-stream"===z.type,ie=/constructor/i.test(te.HTMLElement)||te.safari,ge=/CriOS\/[\d]+/.test(navigator.userAgent);if((ge||le&&ie||de)&&typeof FileReader<"u"){var B=new FileReader;B.onloadend=function(){var J=B.result;J=ge?J:J.replace(/^data:[^;]*;/,"data:attachment/file;"),ne?ne.location.href=J:location=J,ne=null},B.readAsDataURL(z)}else{var Z=te.URL||te.webkitURL,re=Z.createObjectURL(z);ne?ne.location=re:location.href=re,ne=null,setTimeout(function(){Z.revokeObjectURL(re)},4e4)}});te.saveAs=ce.saveAs=ce,et.exports=ce})?v.apply(Me,[]):v)&&(et.exports=o)},1625:(et,Me,v)=>{"use strict";v.d(Me,{X:()=>o});var h=v(9453);class o extends h.x{constructor(Ee){super(),this._value=Ee}get value(){return this.getValue()}_subscribe(Ee){const ae=super._subscribe(Ee);return!ae.closed&&Ee.next(this._value),ae}getValue(){const{hasError:Ee,thrownError:ae,_value:se}=this;if(Ee)throw ae;return this._throwIfClosed(),se}next(Ee){super.next(this._value=Ee)}}},7371:(et,Me,v)=>{"use strict";v.d(Me,{y:()=>z});var h=v(9224),o=v(9592),De=v(7878),Ee=v(2390);var te=v(6786),de=v(3276),ce=v(1685);let z=(()=>{class le{constructor(ge){ge&&(this._subscribe=ge)}lift(ge){const B=new le;return B.source=this,B.operator=ge,B}subscribe(ge,B,Z){const re=function ne(le){return le&&le instanceof h.Lv||function W(le){return le&&(0,de.m)(le.next)&&(0,de.m)(le.error)&&(0,de.m)(le.complete)}(le)&&(0,o.Nn)(le)}(ge)?ge:new h.Hp(ge,B,Z);return(0,ce.x)(()=>{const{operator:J,source:H}=this;re.add(J?J.call(re,H):H?this._subscribe(re):this._trySubscribe(re))}),re}_trySubscribe(ge){try{return this._subscribe(ge)}catch(B){ge.error(B)}}forEach(ge,B){return new(B=j(B))((Z,re)=>{const J=new h.Hp({next:H=>{try{ge(H)}catch(Se){re(Se),J.unsubscribe()}},error:re,complete:Z});this.subscribe(J)})}_subscribe(ge){var B;return null===(B=this.source)||void 0===B?void 0:B.subscribe(ge)}[De.L](){return this}pipe(...ge){return function se(le){return 0===le.length?Ee.y:1===le.length?le[0]:function(ge){return le.reduce((B,Z)=>Z(B),ge)}}(ge)(this)}toPromise(ge){return new(ge=j(ge))((B,Z)=>{let re;this.subscribe(J=>re=J,J=>Z(J),()=>B(re))})}}return le.create=ie=>new le(ie),le})();function j(le){var ie;return null!==(ie=le??te.config.Promise)&&void 0!==ie?ie:Promise}},9453:(et,Me,v)=>{"use strict";v.d(Me,{x:()=>te});var h=v(7371),o=v(9592);const Ee=(0,v(3374).d)(ce=>function(){ce(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var ae=v(7352),se=v(1685);let te=(()=>{class ce extends h.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(j){const W=new de(this,this);return W.operator=j,W}_throwIfClosed(){if(this.closed)throw new Ee}next(j){(0,se.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const W of this.currentObservers)W.next(j)}})}error(j){(0,se.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=j;const{observers:W}=this;for(;W.length;)W.shift().error(j)}})}complete(){(0,se.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:j}=this;for(;j.length;)j.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var j;return(null===(j=this.observers)||void 0===j?void 0:j.length)>0}_trySubscribe(j){return this._throwIfClosed(),super._trySubscribe(j)}_subscribe(j){return this._throwIfClosed(),this._checkFinalizedStatuses(j),this._innerSubscribe(j)}_innerSubscribe(j){const{hasError:W,isStopped:ne,observers:le}=this;return W||ne?o.Lc:(this.currentObservers=null,le.push(j),new o.w0(()=>{this.currentObservers=null,(0,ae.P)(le,j)}))}_checkFinalizedStatuses(j){const{hasError:W,thrownError:ne,isStopped:le}=this;W?j.error(ne):le&&j.complete()}asObservable(){const j=new h.y;return j.source=this,j}}return ce.create=(z,j)=>new de(z,j),ce})();class de extends te{constructor(z,j){super(),this.destination=z,this.source=j}next(z){var j,W;null===(W=null===(j=this.destination)||void 0===j?void 0:j.next)||void 0===W||W.call(j,z)}error(z){var j,W;null===(W=null===(j=this.destination)||void 0===j?void 0:j.error)||void 0===W||W.call(j,z)}complete(){var z,j;null===(j=null===(z=this.destination)||void 0===z?void 0:z.complete)||void 0===j||j.call(z)}_subscribe(z){var j,W;return null!==(W=null===(j=this.source)||void 0===j?void 0:j.subscribe(z))&&void 0!==W?W:o.Lc}}},9224:(et,Me,v)=>{"use strict";v.d(Me,{Hp:()=>ge,Lv:()=>W});var h=v(3276),o=v(9592),De=v(6786),Ee=v(5625),ae=v(1952);const se=ce("C",void 0,void 0);function ce(H,Se,xe){return{kind:H,value:Se,error:xe}}var z=v(1296),j=v(1685);class W extends o.w0{constructor(Se){super(),this.isStopped=!1,Se?(this.destination=Se,(0,o.Nn)(Se)&&Se.add(this)):this.destination=J}static create(Se,xe,He){return new ge(Se,xe,He)}next(Se){this.isStopped?re(function de(H){return ce("N",H,void 0)}(Se),this):this._next(Se)}error(Se){this.isStopped?re(function te(H){return ce("E",void 0,H)}(Se),this):(this.isStopped=!0,this._error(Se))}complete(){this.isStopped?re(se,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(Se){this.destination.next(Se)}_error(Se){try{this.destination.error(Se)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const ne=Function.prototype.bind;function le(H,Se){return ne.call(H,Se)}class ie{constructor(Se){this.partialObserver=Se}next(Se){const{partialObserver:xe}=this;if(xe.next)try{xe.next(Se)}catch(He){B(He)}}error(Se){const{partialObserver:xe}=this;if(xe.error)try{xe.error(Se)}catch(He){B(He)}else B(Se)}complete(){const{partialObserver:Se}=this;if(Se.complete)try{Se.complete()}catch(xe){B(xe)}}}class ge extends W{constructor(Se,xe,He){let Ne;if(super(),(0,h.m)(Se)||!Se)Ne={next:Se??void 0,error:xe??void 0,complete:He??void 0};else{let Pe;this&&De.config.useDeprecatedNextContext?(Pe=Object.create(Se),Pe.unsubscribe=()=>this.unsubscribe(),Ne={next:Se.next&&le(Se.next,Pe),error:Se.error&&le(Se.error,Pe),complete:Se.complete&&le(Se.complete,Pe)}):Ne=Se}this.destination=new ie(Ne)}}function B(H){De.config.useDeprecatedSynchronousErrorHandling?(0,j.O)(H):(0,Ee.h)(H)}function re(H,Se){const{onStoppedNotification:xe}=De.config;xe&&z.z.setTimeout(()=>xe(H,Se))}const J={closed:!0,next:ae.Z,error:function Z(H){throw H},complete:ae.Z}},9592:(et,Me,v)=>{"use strict";v.d(Me,{Lc:()=>se,w0:()=>ae,Nn:()=>te});var h=v(3276);const De=(0,v(3374).d)(ce=>function(j){ce(this),this.message=j?`${j.length} errors occurred during unsubscription:\n${j.map((W,ne)=>`${ne+1}) ${W.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=j});var Ee=v(7352);class ae{constructor(z){this.initialTeardown=z,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let z;if(!this.closed){this.closed=!0;const{_parentage:j}=this;if(j)if(this._parentage=null,Array.isArray(j))for(const le of j)le.remove(this);else j.remove(this);const{initialTeardown:W}=this;if((0,h.m)(W))try{W()}catch(le){z=le instanceof De?le.errors:[le]}const{_finalizers:ne}=this;if(ne){this._finalizers=null;for(const le of ne)try{de(le)}catch(ie){z=z??[],ie instanceof De?z=[...z,...ie.errors]:z.push(ie)}}if(z)throw new De(z)}}add(z){var j;if(z&&z!==this)if(this.closed)de(z);else{if(z instanceof ae){if(z.closed||z._hasParent(this))return;z._addParent(this)}(this._finalizers=null!==(j=this._finalizers)&&void 0!==j?j:[]).push(z)}}_hasParent(z){const{_parentage:j}=this;return j===z||Array.isArray(j)&&j.includes(z)}_addParent(z){const{_parentage:j}=this;this._parentage=Array.isArray(j)?(j.push(z),j):j?[j,z]:z}_removeParent(z){const{_parentage:j}=this;j===z?this._parentage=null:Array.isArray(j)&&(0,Ee.P)(j,z)}remove(z){const{_finalizers:j}=this;j&&(0,Ee.P)(j,z),z instanceof ae&&z._removeParent(this)}}ae.EMPTY=(()=>{const ce=new ae;return ce.closed=!0,ce})();const se=ae.EMPTY;function te(ce){return ce instanceof ae||ce&&"closed"in ce&&(0,h.m)(ce.remove)&&(0,h.m)(ce.add)&&(0,h.m)(ce.unsubscribe)}function de(ce){(0,h.m)(ce)?ce():ce.unsubscribe()}},6786:(et,Me,v)=>{"use strict";v.d(Me,{config:()=>h});const h={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9925:(et,Me,v)=>{"use strict";v.d(Me,{z:()=>ae});var h=v(5326),De=v(177),Ee=v(107);function ae(...se){return function o(){return(0,h.J)(1)}()((0,Ee.D)(se,(0,De.yG)(se)))}},8025:(et,Me,v)=>{"use strict";v.d(Me,{E:()=>o});const o=new(v(7371).y)(ae=>ae.complete())},6312:(et,Me,v)=>{"use strict";v.d(Me,{D:()=>de});var h=v(7371),o=v(1003),De=v(8299),Ee=v(177),ae=v(2829),se=v(4574),te=v(5017);function de(...ce){const z=(0,Ee.jO)(ce),{args:j,keys:W}=(0,o.D)(ce),ne=new h.y(le=>{const{length:ie}=j;if(!ie)return void le.complete();const ge=new Array(ie);let B=ie,Z=ie;for(let re=0;re<ie;re++){let J=!1;(0,De.Xf)(j[re]).subscribe((0,ae.x)(le,H=>{J||(J=!0,Z--),ge[re]=H},()=>B--,void 0,()=>{(!B||!J)&&(Z||le.next(W?(0,te.n)(W,ge):ge),le.complete())}))}});return z?ne.pipe((0,se.Z)(z)):ne}},107:(et,Me,v)=>{"use strict";v.d(Me,{D:()=>He});var h=v(8299),o=v(8382),De=v(4049),Ee=v(2829);function ae(Ne,Pe=0){return(0,De.e)((ct,me)=>{ct.subscribe((0,Ee.x)(me,Ke=>(0,o.f)(me,Ne,()=>me.next(Ke),Pe),()=>(0,o.f)(me,Ne,()=>me.complete(),Pe),Ke=>(0,o.f)(me,Ne,()=>me.error(Ke),Pe)))})}function se(Ne,Pe=0){return(0,De.e)((ct,me)=>{me.add(Ne.schedule(()=>ct.subscribe(me),Pe))})}var ce=v(7371),j=v(8279),W=v(3276);function le(Ne,Pe){if(!Ne)throw new Error("Iterable cannot be null");return new ce.y(ct=>{(0,o.f)(ct,Pe,()=>{const me=Ne[Symbol.asyncIterator]();(0,o.f)(ct,Pe,()=>{me.next().then(Ke=>{Ke.done?ct.complete():ct.next(Ke.value)})},0,!0)})})}var ie=v(8620),ge=v(2753),B=v(4936),Z=v(5074),re=v(5e3),J=v(1380),H=v(3130);function He(Ne,Pe){return Pe?function xe(Ne,Pe){if(null!=Ne){if((0,ie.c)(Ne))return function te(Ne,Pe){return(0,h.Xf)(Ne).pipe(se(Pe),ae(Pe))}(Ne,Pe);if((0,B.z)(Ne))return function z(Ne,Pe){return new ce.y(ct=>{let me=0;return Pe.schedule(function(){me===Ne.length?ct.complete():(ct.next(Ne[me++]),ct.closed||this.schedule())})})}(Ne,Pe);if((0,ge.t)(Ne))return function de(Ne,Pe){return(0,h.Xf)(Ne).pipe(se(Pe),ae(Pe))}(Ne,Pe);if((0,re.D)(Ne))return le(Ne,Pe);if((0,Z.T)(Ne))return function ne(Ne,Pe){return new ce.y(ct=>{let me;return(0,o.f)(ct,Pe,()=>{me=Ne[j.h](),(0,o.f)(ct,Pe,()=>{let Ke,ve;try{({value:Ke,done:ve}=me.next())}catch(je){return void ct.error(je)}ve?ct.complete():ct.next(Ke)},0,!0)}),()=>(0,W.m)(me?.return)&&me.return()})}(Ne,Pe);if((0,H.L)(Ne))return function Se(Ne,Pe){return le((0,H.Q)(Ne),Pe)}(Ne,Pe)}throw(0,J.z)(Ne)}(Ne,Pe):(0,h.Xf)(Ne)}},6058:(et,Me,v)=>{"use strict";v.d(Me,{R:()=>z});var h=v(8299),o=v(7371),De=v(5123),Ee=v(4936),ae=v(3276),se=v(4574);const te=["addListener","removeListener"],de=["addEventListener","removeEventListener"],ce=["on","off"];function z(ie,ge,B,Z){if((0,ae.m)(B)&&(Z=B,B=void 0),Z)return z(ie,ge,B).pipe((0,se.Z)(Z));const[re,J]=function le(ie){return(0,ae.m)(ie.addEventListener)&&(0,ae.m)(ie.removeEventListener)}(ie)?de.map(H=>Se=>ie[H](ge,Se,B)):function W(ie){return(0,ae.m)(ie.addListener)&&(0,ae.m)(ie.removeListener)}(ie)?te.map(j(ie,ge)):function ne(ie){return(0,ae.m)(ie.on)&&(0,ae.m)(ie.off)}(ie)?ce.map(j(ie,ge)):[];if(!re&&(0,Ee.z)(ie))return(0,De.z)(H=>z(H,ge,B))((0,h.Xf)(ie));if(!re)throw new TypeError("Invalid event target");return new o.y(H=>{const Se=(...xe)=>H.next(1<xe.length?xe:xe[0]);return re(Se),()=>J(Se)})}function j(ie,ge){return B=>Z=>ie[B](ge,Z)}},8299:(et,Me,v)=>{"use strict";v.d(Me,{Xf:()=>ne});var h=v(2970),o=v(4936),De=v(2753),Ee=v(7371),ae=v(8620),se=v(5e3),te=v(1380),de=v(5074),ce=v(3130),z=v(3276),j=v(5625),W=v(7878);function ne(H){if(H instanceof Ee.y)return H;if(null!=H){if((0,ae.c)(H))return function le(H){return new Ee.y(Se=>{const xe=H[W.L]();if((0,z.m)(xe.subscribe))return xe.subscribe(Se);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(H);if((0,o.z)(H))return function ie(H){return new Ee.y(Se=>{for(let xe=0;xe<H.length&&!Se.closed;xe++)Se.next(H[xe]);Se.complete()})}(H);if((0,De.t)(H))return function ge(H){return new Ee.y(Se=>{H.then(xe=>{Se.closed||(Se.next(xe),Se.complete())},xe=>Se.error(xe)).then(null,j.h)})}(H);if((0,se.D)(H))return Z(H);if((0,de.T)(H))return function B(H){return new Ee.y(Se=>{for(const xe of H)if(Se.next(xe),Se.closed)return;Se.complete()})}(H);if((0,ce.L)(H))return function re(H){return Z((0,ce.Q)(H))}(H)}throw(0,te.z)(H)}function Z(H){return new Ee.y(Se=>{(function J(H,Se){var xe,He,Ne,Pe;return(0,h.mG)(this,void 0,void 0,function*(){try{for(xe=(0,h.KL)(H);!(He=yield xe.next()).done;)if(Se.next(He.value),Se.closed)return}catch(ct){Ne={error:ct}}finally{try{He&&!He.done&&(Pe=xe.return)&&(yield Pe.call(xe))}finally{if(Ne)throw Ne.error}}Se.complete()})})(H,Se).catch(xe=>Se.error(xe))})}},4991:(et,Me,v)=>{"use strict";v.d(Me,{T:()=>se});var h=v(5326),o=v(8299),De=v(8025),Ee=v(177),ae=v(107);function se(...te){const de=(0,Ee.yG)(te),ce=(0,Ee._6)(te,1/0),z=te;return z.length?1===z.length?(0,o.Xf)(z[0]):(0,h.J)(ce)((0,ae.D)(z,de)):De.E}},9627:(et,Me,v)=>{"use strict";v.d(Me,{of:()=>De});var h=v(177),o=v(107);function De(...Ee){const ae=(0,h.yG)(Ee);return(0,o.D)(Ee,ae)}},5117:(et,Me,v)=>{"use strict";v.d(Me,{H:()=>ae});var h=v(7371),o=v(6589),De=v(3946);function ae(se=0,te,de=o.P){let ce=-1;return null!=te&&((0,De.K)(te)?de=te:ce=te),new h.y(z=>{let j=function Ee(se){return se instanceof Date&&!isNaN(se)}(se)?+se-de.now():se;j<0&&(j=0);let W=0;return de.schedule(function(){z.closed||(z.next(W++),0<=ce?this.schedule(void 0,ce):z.complete())},j)})}},2829:(et,Me,v)=>{"use strict";v.d(Me,{x:()=>o});var h=v(9224);function o(Ee,ae,se,te,de){return new De(Ee,ae,se,te,de)}class De extends h.Lv{constructor(ae,se,te,de,ce,z){super(ae),this.onFinalize=ce,this.shouldUnsubscribe=z,this._next=se?function(j){try{se(j)}catch(W){ae.error(W)}}:super._next,this._error=de?function(j){try{de(j)}catch(W){ae.error(W)}finally{this.unsubscribe()}}:super._error,this._complete=te?function(){try{te()}catch(j){ae.error(j)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var ae;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:se}=this;super.unsubscribe(),!se&&(null===(ae=this.onFinalize)||void 0===ae||ae.call(this))}}}},2067:(et,Me,v)=>{"use strict";v.d(Me,{b:()=>Ee});var h=v(6589),o=v(4049),De=v(2829);function Ee(ae,se=h.z){return(0,o.e)((te,de)=>{let ce=null,z=null,j=null;const W=()=>{if(ce){ce.unsubscribe(),ce=null;const le=z;z=null,de.next(le)}};function ne(){const le=j+ae,ie=se.now();if(ie<le)return ce=this.schedule(void 0,le-ie),void de.add(ce);W()}te.subscribe((0,De.x)(de,le=>{z=le,j=se.now(),ce||(ce=se.schedule(ne,ae),de.add(ce))},()=>{W(),de.complete()},void 0,()=>{z=ce=null}))})}},4263:(et,Me,v)=>{"use strict";v.d(Me,{x:()=>Ee});var h=v(2390),o=v(4049),De=v(2829);function Ee(se,te=h.y){return se=se??ae,(0,o.e)((de,ce)=>{let z,j=!0;de.subscribe((0,De.x)(ce,W=>{const ne=te(W);(j||!se(z,ne))&&(j=!1,z=ne,ce.next(W))}))})}function ae(se,te){return se===te}},1497:(et,Me,v)=>{"use strict";v.d(Me,{h:()=>De});var h=v(4049),o=v(2829);function De(Ee,ae){return(0,h.e)((se,te)=>{let de=0;se.subscribe((0,o.x)(te,ce=>Ee.call(ae,ce,de++)&&te.next(ce)))})}},1927:(et,Me,v)=>{"use strict";v.d(Me,{x:()=>o});var h=v(4049);function o(De){return(0,h.e)((Ee,ae)=>{try{Ee.subscribe(ae)}finally{ae.add(De)}})}},8412:(et,Me,v)=>{"use strict";v.d(Me,{U:()=>De});var h=v(4049),o=v(2829);function De(Ee,ae){return(0,h.e)((se,te)=>{let de=0;se.subscribe((0,o.x)(te,ce=>{te.next(Ee.call(ae,ce,de++))}))})}},5326:(et,Me,v)=>{"use strict";v.d(Me,{J:()=>De});var h=v(5123),o=v(2390);function De(Ee=1/0){return(0,h.z)(o.y,Ee)}},5123:(et,Me,v)=>{"use strict";v.d(Me,{z:()=>de});var h=v(8412),o=v(8299),De=v(4049),Ee=v(8382),ae=v(2829),te=v(3276);function de(ce,z,j=1/0){return(0,te.m)(z)?de((W,ne)=>(0,h.U)((le,ie)=>z(W,le,ne,ie))((0,o.Xf)(ce(W,ne))),j):("number"==typeof z&&(j=z),(0,De.e)((W,ne)=>function se(ce,z,j,W,ne,le,ie,ge){const B=[];let Z=0,re=0,J=!1;const H=()=>{J&&!B.length&&!Z&&z.complete()},Se=He=>Z<W?xe(He):B.push(He),xe=He=>{le&&z.next(He),Z++;let Ne=!1;(0,o.Xf)(j(He,re++)).subscribe((0,ae.x)(z,Pe=>{ne?.(Pe),le?Se(Pe):z.next(Pe)},()=>{Ne=!0},void 0,()=>{if(Ne)try{for(Z--;B.length&&Z<W;){const Pe=B.shift();ie?(0,Ee.f)(z,ie,()=>xe(Pe)):xe(Pe)}H()}catch(Pe){z.error(Pe)}}))};return ce.subscribe((0,ae.x)(z,Se,()=>{J=!0,H()})),()=>{ge?.()}}(W,ne,ce,j)))}},3949:(et,Me,v)=>{"use strict";v.d(Me,{B:()=>ae});var h=v(8299),o=v(9453),De=v(9224),Ee=v(4049);function ae(te={}){const{connector:de=(()=>new o.x),resetOnError:ce=!0,resetOnComplete:z=!0,resetOnRefCountZero:j=!0}=te;return W=>{let ne,le,ie,ge=0,B=!1,Z=!1;const re=()=>{le?.unsubscribe(),le=void 0},J=()=>{re(),ne=ie=void 0,B=Z=!1},H=()=>{const Se=ne;J(),Se?.unsubscribe()};return(0,Ee.e)((Se,xe)=>{ge++,!Z&&!B&&re();const He=ie=ie??de();xe.add(()=>{ge--,0===ge&&!Z&&!B&&(le=se(H,j))}),He.subscribe(xe),!ne&&ge>0&&(ne=new De.Hp({next:Ne=>He.next(Ne),error:Ne=>{Z=!0,re(),le=se(J,ce,Ne),He.error(Ne)},complete:()=>{B=!0,re(),le=se(J,z),He.complete()}}),(0,h.Xf)(Se).subscribe(ne))})(W)}}function se(te,de,...ce){if(!0===de)return void te();if(!1===de)return;const z=new De.Hp({next:()=>{z.unsubscribe(),te()}});return(0,h.Xf)(de(...ce)).subscribe(z)}},1800:(et,Me,v)=>{"use strict";v.d(Me,{T:()=>o});var h=v(1497);function o(De){return(0,h.h)((Ee,ae)=>De<=ae)}},19:(et,Me,v)=>{"use strict";v.d(Me,{O:()=>Ee});var h=v(9925),o=v(177),De=v(4049);function Ee(...ae){const se=(0,o.yG)(ae);return(0,De.e)((te,de)=>{(se?(0,h.z)(ae,te,se):(0,h.z)(ae,te)).subscribe(de)})}},2835:(et,Me,v)=>{"use strict";v.d(Me,{w:()=>Ee});var h=v(8299),o=v(4049),De=v(2829);function Ee(ae,se){return(0,o.e)((te,de)=>{let ce=null,z=0,j=!1;const W=()=>j&&!ce&&de.complete();te.subscribe((0,De.x)(de,ne=>{ce?.unsubscribe();let le=0;const ie=z++;(0,h.Xf)(ae(ne,ie)).subscribe(ce=(0,De.x)(de,ge=>de.next(se?se(ne,ge,ie,le++):ge),()=>{ce=null,W()}))},()=>{j=!0,W()}))})}},3581:(et,Me,v)=>{"use strict";v.d(Me,{q:()=>Ee});var h=v(8025),o=v(4049),De=v(2829);function Ee(ae){return ae<=0?()=>h.E:(0,o.e)((se,te)=>{let de=0;se.subscribe((0,De.x)(te,ce=>{++de<=ae&&(te.next(ce),ae<=de&&te.complete())}))})}},5779:(et,Me,v)=>{"use strict";v.d(Me,{R:()=>ae});var h=v(4049),o=v(2829),De=v(8299),Ee=v(1952);function ae(se){return(0,h.e)((te,de)=>{(0,De.Xf)(se).subscribe((0,o.x)(de,()=>de.complete(),Ee.Z)),!de.closed&&te.subscribe(de)})}},4104:(et,Me,v)=>{"use strict";v.d(Me,{b:()=>ae});var h=v(3276),o=v(4049),De=v(2829),Ee=v(2390);function ae(se,te,de){const ce=(0,h.m)(se)||te||de?{next:se,error:te,complete:de}:se;return ce?(0,o.e)((z,j)=>{var W;null===(W=ce.subscribe)||void 0===W||W.call(ce);let ne=!0;z.subscribe((0,De.x)(j,le=>{var ie;null===(ie=ce.next)||void 0===ie||ie.call(ce,le),j.next(le)},()=>{var le;ne=!1,null===(le=ce.complete)||void 0===le||le.call(ce),j.complete()},le=>{var ie;ne=!1,null===(ie=ce.error)||void 0===ie||ie.call(ce,le),j.error(le)},()=>{var le,ie;ne&&(null===(le=ce.unsubscribe)||void 0===le||le.call(ce)),null===(ie=ce.finalize)||void 0===ie||ie.call(ce)}))}):Ee.y}},2290:(et,Me,v)=>{"use strict";v.d(Me,{o:()=>ae});var h=v(9592);class o extends h.w0{constructor(te,de){super()}schedule(te,de=0){return this}}const De={setInterval(se,te,...de){const{delegate:ce}=De;return ce?.setInterval?ce.setInterval(se,te,...de):setInterval(se,te,...de)},clearInterval(se){const{delegate:te}=De;return(te?.clearInterval||clearInterval)(se)},delegate:void 0};var Ee=v(7352);class ae extends o{constructor(te,de){super(te,de),this.scheduler=te,this.work=de,this.pending=!1}schedule(te,de=0){var ce;if(this.closed)return this;this.state=te;const z=this.id,j=this.scheduler;return null!=z&&(this.id=this.recycleAsyncId(j,z,de)),this.pending=!0,this.delay=de,this.id=null!==(ce=this.id)&&void 0!==ce?ce:this.requestAsyncId(j,this.id,de),this}requestAsyncId(te,de,ce=0){return De.setInterval(te.flush.bind(te,this),ce)}recycleAsyncId(te,de,ce=0){if(null!=ce&&this.delay===ce&&!1===this.pending)return de;null!=de&&De.clearInterval(de)}execute(te,de){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const ce=this._execute(te,de);if(ce)return ce;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(te,de){let z,ce=!1;try{this.work(te)}catch(j){ce=!0,z=j||new Error("Scheduled action threw falsy error")}if(ce)return this.unsubscribe(),z}unsubscribe(){if(!this.closed){const{id:te,scheduler:de}=this,{actions:ce}=de;this.work=this.state=this.scheduler=null,this.pending=!1,(0,Ee.P)(ce,this),null!=te&&(this.id=this.recycleAsyncId(de,te,null)),this.delay=null,super.unsubscribe()}}}},5349:(et,Me,v)=>{"use strict";v.d(Me,{v:()=>De});const h={now:()=>(h.delegate||Date).now(),delegate:void 0};class o{constructor(ae,se=o.now){this.schedulerActionCtor=ae,this.now=se}schedule(ae,se=0,te){return new this.schedulerActionCtor(this,ae).schedule(te,se)}}o.now=h.now;class De extends o{constructor(ae,se=o.now){super(ae,se),this.actions=[],this._active=!1}flush(ae){const{actions:se}=this;if(this._active)return void se.push(ae);let te;this._active=!0;do{if(te=ae.execute(ae.state,ae.delay))break}while(ae=se.shift());if(this._active=!1,te){for(;ae=se.shift();)ae.unsubscribe();throw te}}}},4453:(et,Me,v)=>{"use strict";v.d(Me,{E:()=>le});var h=v(2290);let De,o=1;const Ee={};function ae(ge){return ge in Ee&&(delete Ee[ge],!0)}const se={setImmediate(ge){const B=o++;return Ee[B]=!0,De||(De=Promise.resolve()),De.then(()=>ae(B)&&ge()),B},clearImmediate(ge){ae(ge)}},{setImmediate:de,clearImmediate:ce}=se,z={setImmediate(...ge){const{delegate:B}=z;return(B?.setImmediate||de)(...ge)},clearImmediate(ge){const{delegate:B}=z;return(B?.clearImmediate||ce)(ge)},delegate:void 0};var W=v(5349);const le=new class ne extends W.v{flush(B){this._active=!0;const Z=this._scheduled;this._scheduled=void 0;const{actions:re}=this;let J;B=B||re.shift();do{if(J=B.execute(B.state,B.delay))break}while((B=re[0])&&B.id===Z&&re.shift());if(this._active=!1,J){for(;(B=re[0])&&B.id===Z&&re.shift();)B.unsubscribe();throw J}}}(class j extends h.o{constructor(B,Z){super(B,Z),this.scheduler=B,this.work=Z}requestAsyncId(B,Z,re=0){return null!==re&&re>0?super.requestAsyncId(B,Z,re):(B.actions.push(this),B._scheduled||(B._scheduled=z.setImmediate(B.flush.bind(B,void 0))))}recycleAsyncId(B,Z,re=0){var J;if(null!=re?re>0:this.delay>0)return super.recycleAsyncId(B,Z,re);const{actions:H}=B;null!=Z&&(null===(J=H[H.length-1])||void 0===J?void 0:J.id)!==Z&&(z.clearImmediate(Z),B._scheduled===Z&&(B._scheduled=void 0))}})},6589:(et,Me,v)=>{"use strict";v.d(Me,{P:()=>Ee,z:()=>De});var h=v(2290);const De=new(v(5349).v)(h.o),Ee=De},1296:(et,Me,v)=>{"use strict";v.d(Me,{z:()=>h});const h={setTimeout(o,De,...Ee){const{delegate:ae}=h;return ae?.setTimeout?ae.setTimeout(o,De,...Ee):setTimeout(o,De,...Ee)},clearTimeout(o){const{delegate:De}=h;return(De?.clearTimeout||clearTimeout)(o)},delegate:void 0}},8279:(et,Me,v)=>{"use strict";v.d(Me,{h:()=>o});const o=function h(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},7878:(et,Me,v)=>{"use strict";v.d(Me,{L:()=>h});const h="function"==typeof Symbol&&Symbol.observable||"@@observable"},177:(et,Me,v)=>{"use strict";v.d(Me,{_6:()=>se,jO:()=>Ee,yG:()=>ae});var h=v(3276),o=v(3946);function De(te){return te[te.length-1]}function Ee(te){return(0,h.m)(De(te))?te.pop():void 0}function ae(te){return(0,o.K)(De(te))?te.pop():void 0}function se(te,de){return"number"==typeof De(te)?te.pop():de}},1003:(et,Me,v)=>{"use strict";v.d(Me,{D:()=>ae});const{isArray:h}=Array,{getPrototypeOf:o,prototype:De,keys:Ee}=Object;function ae(te){if(1===te.length){const de=te[0];if(h(de))return{args:de,keys:null};if(function se(te){return te&&"object"==typeof te&&o(te)===De}(de)){const ce=Ee(de);return{args:ce.map(z=>de[z]),keys:ce}}}return{args:te,keys:null}}},7352:(et,Me,v)=>{"use strict";function h(o,De){if(o){const Ee=o.indexOf(De);0<=Ee&&o.splice(Ee,1)}}v.d(Me,{P:()=>h})},3374:(et,Me,v)=>{"use strict";function h(o){const Ee=o(ae=>{Error.call(ae),ae.stack=(new Error).stack});return Ee.prototype=Object.create(Error.prototype),Ee.prototype.constructor=Ee,Ee}v.d(Me,{d:()=>h})},5017:(et,Me,v)=>{"use strict";function h(o,De){return o.reduce((Ee,ae,se)=>(Ee[ae]=De[se],Ee),{})}v.d(Me,{n:()=>h})},1685:(et,Me,v)=>{"use strict";v.d(Me,{O:()=>Ee,x:()=>De});var h=v(6786);let o=null;function De(ae){if(h.config.useDeprecatedSynchronousErrorHandling){const se=!o;if(se&&(o={errorThrown:!1,error:null}),ae(),se){const{errorThrown:te,error:de}=o;if(o=null,te)throw de}}else ae()}function Ee(ae){h.config.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=ae)}},8382:(et,Me,v)=>{"use strict";function h(o,De,Ee,ae=0,se=!1){const te=De.schedule(function(){Ee(),se?o.add(this.schedule(null,ae)):this.unsubscribe()},ae);if(o.add(te),!se)return te}v.d(Me,{f:()=>h})},2390:(et,Me,v)=>{"use strict";function h(o){return o}v.d(Me,{y:()=>h})},4936:(et,Me,v)=>{"use strict";v.d(Me,{z:()=>h});const h=o=>o&&"number"==typeof o.length&&"function"!=typeof o},5e3:(et,Me,v)=>{"use strict";v.d(Me,{D:()=>o});var h=v(3276);function o(De){return Symbol.asyncIterator&&(0,h.m)(De?.[Symbol.asyncIterator])}},3276:(et,Me,v)=>{"use strict";function h(o){return"function"==typeof o}v.d(Me,{m:()=>h})},8620:(et,Me,v)=>{"use strict";v.d(Me,{c:()=>De});var h=v(7878),o=v(3276);function De(Ee){return(0,o.m)(Ee[h.L])}},5074:(et,Me,v)=>{"use strict";v.d(Me,{T:()=>De});var h=v(8279),o=v(3276);function De(Ee){return(0,o.m)(Ee?.[h.h])}},2753:(et,Me,v)=>{"use strict";v.d(Me,{t:()=>o});var h=v(3276);function o(De){return(0,h.m)(De?.then)}},3130:(et,Me,v)=>{"use strict";v.d(Me,{L:()=>Ee,Q:()=>De});var h=v(2970),o=v(3276);function De(ae){return(0,h.FC)(this,arguments,function*(){const te=ae.getReader();try{for(;;){const{value:de,done:ce}=yield(0,h.qq)(te.read());if(ce)return yield(0,h.qq)(void 0);yield yield(0,h.qq)(de)}}finally{te.releaseLock()}})}function Ee(ae){return(0,o.m)(ae?.getReader)}},3946:(et,Me,v)=>{"use strict";v.d(Me,{K:()=>o});var h=v(3276);function o(De){return De&&(0,h.m)(De.schedule)}},4049:(et,Me,v)=>{"use strict";v.d(Me,{A:()=>o,e:()=>De});var h=v(3276);function o(Ee){return(0,h.m)(Ee?.lift)}function De(Ee){return ae=>{if(o(ae))return ae.lift(function(se){try{return Ee(se,this)}catch(te){this.error(te)}});throw new TypeError("Unable to lift unknown Observable type")}}},4574:(et,Me,v)=>{"use strict";v.d(Me,{Z:()=>Ee});var h=v(8412);const{isArray:o}=Array;function Ee(ae){return(0,h.U)(se=>function De(ae,se){return o(se)?ae(...se):ae(se)}(ae,se))}},1952:(et,Me,v)=>{"use strict";function h(){}v.d(Me,{Z:()=>h})},5625:(et,Me,v)=>{"use strict";v.d(Me,{h:()=>De});var h=v(6786),o=v(1296);function De(Ee){o.z.setTimeout(()=>{const{onUnhandledError:ae}=h.config;if(!ae)throw Ee;ae(Ee)})}},1380:(et,Me,v)=>{"use strict";function h(o){return new TypeError(`You provided ${null!==o&&"object"==typeof o?"an invalid object":`'${o}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}v.d(Me,{z:()=>h})},2973:(et,Me,v)=>{"use strict";v.d(Me,{Nn:()=>h,zG:()=>o,RJ:()=>ge});class h extends Error{get type(){return this.constructor.name}toJSON(){return{message:this.message,type:this.type}}}class o extends h{constructor(Z,re){super(Z),this.data=re}toJSON(){return{data:this.data,message:this.message,type:this.type}}}var De=v(5861),Ee=v(1505),ae=v.n(Ee);const se=["string","email","phone","html","xml"],te=["json","bool","url","int","uint","float","money","hex","uuid","base64","void",...se];class de extends Error{constructor(Z,re,J){let H;try{H=JSON.stringify(J)}catch{H=String(J)}super(`Invalid type at '${Z}', expected ${String(re)}, got ${H}`)}}function ce(B,Z,re){if("json"===Z)return null==re?null:JSON.parse(JSON.stringify(re));if("bool"===Z){if("boolean"!=typeof re)throw new de(B,Z,re);return re}if(se.indexOf(Z)>=0){if("string"!=typeof re)throw new de(B,Z,re);return re}if("hex"===Z){if("string"!=typeof re||!/^(?:[A-Fa-f0-9]{2})*$/u.test(re))throw new de(B,Z,re);return re.toLowerCase()}if("uuid"===Z){if("string"!=typeof re||!/^[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$/u.test(re))throw new de(B,Z,re);return re.toLowerCase()}if("base64"===Z){let J=!0;try{atob(re)}catch{J=!1}if("string"!=typeof re||!J)throw new de(B,Z,re);return re}if("int"===Z){if("number"!=typeof re||(0|re)!==re)throw new de(B,Z,re);return re}if("uint"===Z){if("number"!=typeof re||(0|re)!==re||re<0)throw new de(B,Z,re);return re}if("float"===Z){if("number"!=typeof re)throw new de(B,Z,re);return re}if("money"===Z){if("number"!=typeof re||!Number.isInteger(re))throw new de(B,Z,re);return re}if("url"===Z){let J;if("string"==typeof re)try{J=new URL(re)}catch{}if(!J)throw new de(B,Z,re);return J.toString()}if("void"===Z)return null;throw new Error(`Unknown type '${Z}' at '${B}'`)}function z(B,Z,re,J){if("string"==typeof re&&!re.endsWith("?")&&"void"!==re&&null==J)throw new Error(`Invalid type at '${Z}', cannot be null`);if(Array.isArray(re)){for(const H of re){if(H===J)return J;if(Array.isArray(J)&&2===J.length&&H===J[0])return J[0];if(Array.isArray(H)&&2===H.length){if(H[0]===J)return[J,z(B,`${Z}.${H[0]}`,H[1],{})];if(Array.isArray(J)&&2===J.length&&H[0]===J[0])return[J[0],z(B,`${Z}.${H[0]}`,H[1],J[1])]}}throw new de(Z,re,J)}if("object"==typeof re){if("object"!=typeof J)throw new de(Z,re,J);const H={};for(const Se of Object.keys(re))H[Se]=z(B,`${Z}.${Se}`,re[Se],J[Se]);return H}if(re.endsWith("?"))return null==J?null:z(B,Z,re.slice(0,re.length-1),J);if(re.endsWith("[]")){if(!Array.isArray(J))throw new de(Z,re,J);return J.map((H,Se)=>z(B,`${Z}[${Se}]`,re.slice(0,re.length-2),H))}if(te.indexOf(re)>=0)return ce(Z,re,J);if("bytes"===re){if(!(J instanceof ArrayBuffer))throw new de(Z,re,J);return btoa(String.fromCharCode(...new Uint8Array(J)))}if("bigint"===re){if("bigint"!=typeof J)throw new de(Z,re,J);return J.toString()}if("cpf"===re){if("string"!=typeof J)throw new de(Z,re,J);return J}if("cnpj"===re){if("string"!=typeof J)throw new de(Z,re,J);return J}if("date"===re){if((!(J instanceof Date)||isNaN(J.getTime()))&&("string"!=typeof J||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(J)))throw new de(Z,re,J);const H=J instanceof Date?J:new Date(J);return`${H.getFullYear().toString().padStart(4,"0")}-${(H.getMonth()+1).toString().padStart(2,"0")}-${H.getDate().toString().padStart(2,"0")}`}if("datetime"===re){if((!(J instanceof Date)||isNaN(J.getTime()))&&("string"!=typeof J||!/^[0-9]{4}-[01][0-9]-[0123][0-9]T[012][0-9]:[0123456][0-9]:[0123456][0-9](?:\.[0-9]{1,6})?(?:Z|[+-][012][0-9]:[0123456][0-9])?$/u.test(J)))throw new de(Z,re,J);return("string"==typeof J?new Date(J):J).toISOString().replace("Z","")}if("decimal"===re){if(!("number"==typeof J||"string"==typeof J&&/^-?[0-9]+(?:\.[0-9]+)?$/u.test(J)||J instanceof ae()))throw new de(Z,re,J);return new(ae())(J).toString()}{const H=B[re];if(H)return z(B,Z,H,J);throw new Error(`Unknown type '${re}' at '${Z}'`)}}function j(B,Z,re,J){if("string"==typeof re&&!re.endsWith("?")&&"void"!==re&&null==J)throw new Error(`Invalid type at '${Z}', cannot be null`);if(Array.isArray(re)){for(const H of re){if(H===J)return J;if(Array.isArray(J)&&2===J.length&&H===J[0])return J[0];if(Array.isArray(H)&&2===H.length){if(H[0]===J)return[J,j(B,`${Z}.${H[0]}`,H[1],{})];if(Array.isArray(J)&&2===J.length&&H[0]===J[0])return[J[0],j(B,`${Z}.${H[0]}`,H[1],J[1])]}}throw new de(Z,re,J)}if("object"==typeof re){if("object"!=typeof J)throw new de(Z,re,J);const H={};for(const Se of Object.keys(re))H[Se]=j(B,`${Z}.${Se}`,re[Se],J[Se]);return H}if(re.endsWith("?"))return null==J?null:j(B,Z,re.slice(0,re.length-1),J);if(re.endsWith("[]")){if(!Array.isArray(J))throw new de(Z,re,J);return J.map((H,Se)=>j(B,`${Z}[${Se}]`,re.slice(0,re.length-2),H))}if(te.indexOf(re)>=0)return ce(Z,re,J);if("bytes"!==re){if("bigint"===re){if("number"!=typeof J&&("string"!=typeof J||!/^-?[0-9]+$/u.test(J)))throw new de(Z,re,J);return BigInt(J)}if("cpf"===re){if("string"!=typeof J)throw new de(Z,re,J);return J}if("cnpj"===re){if("string"!=typeof J)throw new de(Z,re,J);return J}if("date"===re){if("string"!=typeof J||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(J))throw new de(Z,re,J);const H=parseInt(J.split("-")[2],10),Se=parseInt(J.split("-")[1],10)-1,xe=parseInt(J.split("-")[0],10),He=new Date(xe,Se,H);if(He.getFullYear()!==xe||He.getMonth()!==Se||He.getDate()!==H)throw new de(Z,re,J);return He}if("datetime"===re){if("string"!=typeof J||!/^[0-9]{4}-[01][0-9]-[0123][0-9]T[012][0-9]:[0123456][0-9]:[0123456][0-9](?:\.[0-9]{1,6})?Z?$/u.test(J))throw new de(Z,re,J);return new Date(`${J.endsWith("Z")?J:J.concat("Z")}`)}if("decimal"===re){if("number"!=typeof J&&("string"!=typeof J||!/^-?[0-9]+(?:\.[0-9]+)?$/u.test(J)))throw new de(Z,re,J);return new(ae())(J)}{const H=B[re];if(H)return j(B,Z,H,J);throw new Error(`Unknown type '${re}' at '${Z}'`)}}if("string"!=typeof J)throw new de(Z,`${re} (base 64)`,J);try{return Uint8Array.from(atob(J),H=>H.charCodeAt(0))}catch{throw new de(Z,`${re} (base 64)`,J)}}function W(B){let Z="";for(let re=0;re<2*B;++re)Z+="0123456789abcdef"[Math.floor(16*Math.random())];return Z}const ne=W(20);function le(){try{let B=localStorage.getItem("deviceId");return B||(B=ne,localStorage.setItem("deviceId",B)),B}catch{return ne}}function ie(B,Z){return Z in B}class ge{constructor(Z,re,J){this.baseUrl=Z,this.astJson=re,this.errClasses=J,this.extra=new Map,this.successHook=()=>{},this.errorHook=()=>{}}makeRequest(Z,re){var J=this;return(0,De.Z)(function*(){const H=J.astJson.functionTable[Z];if(!H)throw new Error(`Unknown function ${Z}`);const Se={};J.extra.forEach((Pe,ct)=>{Se[ct]=Pe});const xe={args:z(J.astJson.typeTable,`${Z}.args`,H.args,re),deviceInfo:{id:le(),language:navigator.language,platform:{browserUserAgent:navigator.userAgent},timezone:"object"==typeof Intl?Intl.DateTimeFormat().resolvedOptions().timeZone:null,type:"web",version:document.currentScript?.getAttribute("src")??""},extra:Se,name:Z,requestId:W(16),version:3},He=yield new Promise((Pe,ct)=>{const me=new XMLHttpRequest;me.open("POST",`${J.baseUrl}/${Z}`),me.setRequestHeader("Content-Type","application/sdkgen"),me.onreadystatechange=()=>{if(4===me.readyState)try{const Ke=JSON.parse(me.responseText);try{ie(Ke,"error")&&Ke.error?ct(Ke.error):Pe(ie(Ke,"result")?Ke.result:null)}catch(ve){ct({message:`${ve}`,type:"Fatal"})}}catch{ct({message:"Falha de conex\xe3o com o servidor",type:"Fatal"})}},me.send(JSON.stringify(xe))}).catch(Pe=>{if(J.errorHook(Pe,Z,re),ie(Pe,"type")&&ie(Pe,"message")&&"string"==typeof Pe.type&&"string"==typeof Pe.message){const ct=Pe.type in J.errClasses?Pe.type:"Fatal",me=J.errClasses[ct],Ke=J.astJson.errors.find(je=>Array.isArray(je)?je[0]===ct:je===ct);let ve;throw ve=Ke&&Array.isArray(Ke)&&ie(Pe,"data")?new me(Pe.message,j(J.astJson.typeTable,`${ct}.data`,Ke[1],Pe.data)):new me(Pe.message,void 0),ve.type=ct,ve}throw Pe}),Ne=j(J.astJson.typeTable,`${Z}.ret`,H.ret,He);return J.successHook(Ne,Z,re),Ne})()}}},1890:(et,Me,v)=>{"use strict";v.d(Me,{ts:()=>Tt,OR:()=>Ot,zE:()=>Q,Wi:()=>Ue,lw:()=>ut,Ro:()=>he,Xj:()=>ke,xW:()=>q,Gf:()=>Ae,KW:()=>lt,x3:()=>Ke,Tp:()=>Ie,PK:()=>Ct,IE:()=>ct,_P:()=>L,iE:()=>at,e1:()=>ze,dp:()=>bt,mN:()=>R,cs:()=>Rt,Bn:()=>dt,H1:()=>$t,Qs:()=>F,JQ:()=>Ut,d:()=>yn,kM:()=>P,Oo:()=>ue,ZU:()=>$e,RE:()=>it,BD:()=>Gt,w2:()=>yt,nd:()=>rt,Bp:()=>xt});class h{constructor(){this.filename="?",this.line=0,this.column=0}toString(){return`${this.filename}:${this.line}:${this.column}`}}class o{constructor(w=""){this.value=w,this.location=new h,Object.defineProperty(this,"location",{enumerable:!1})}maybeAsIdentifier(){return this}toString(){const w=this.constructor.name.replace("Token","");return""===this.value?w:`${w}(${JSON.stringify(this.value)})`}}class De extends o{}class Ee extends o{}class ae extends o{}class se extends o{}class te extends o{}class de extends o{}class ce extends o{}class z extends o{}class j extends o{}class W extends o{}class ne extends o{}class le extends o{}class ie extends o{}class ge extends o{}class B extends o{maybeAsIdentifier(){return new De("import")}}class Z extends o{maybeAsIdentifier(){return new De("type")}}class re extends o{maybeAsIdentifier(){return new De("enum")}}class J extends o{maybeAsIdentifier(){return new De("fn")}}class H extends o{maybeAsIdentifier(){return new De("error")}}class Se extends o{maybeAsIdentifier(){return new De("true")}}class xe extends o{maybeAsIdentifier(){return new De("false")}}class He extends o{maybeAsIdentifier(){return new De(this.value)}}class Ne{constructor(){this.location=new h,Object.defineProperty(this,"location",{enumerable:!1})}at(w){return this.location=w.location,this}atLocation(w){return this.location=w,this}}class Pe extends Ne{toJSON(){const{name:w,...E}={...this};return E}}class ct extends Ne{constructor(w,E){super(),this.name=w,this.dataType=E,this.annotations=[]}}class me extends Ne{}class Ke extends me{constructor(w){super(),this.text=w}}class ve extends me{constructor(w){super(),this.error=w}}class Xe extends me{constructor(w,E,Y,Be,Qe,We){super(),this.method=w,this.path=E,this.pathVariables=Y,this.queryVariables=Be,this.headers=Qe,this.bodyVariable=We}}class ze extends me{}class V extends me{constructor(w){super(),this.statusCode=w}}class K extends Pe{toJSON(){return this.name}}class F extends K{constructor(){super(...arguments),this.name="string"}}class R extends K{constructor(){super(...arguments),this.name="int"}}class P extends K{constructor(){super(...arguments),this.name="uint"}}class L extends K{constructor(){super(...arguments),this.name="float"}}class Q extends K{constructor(){super(...arguments),this.name="bigint"}}class q extends K{constructor(){super(...arguments),this.name="date"}}class Ae extends K{constructor(){super(...arguments),this.name="datetime"}}class Ue extends K{constructor(){super(...arguments),this.name="bool"}}class ut extends K{constructor(){super(...arguments),this.name="bytes"}}class it extends K{constructor(){super(...arguments),this.name="void"}}class dt extends K{constructor(){super(...arguments),this.name="money"}}class lt extends K{constructor(){super(...arguments),this.name="decimal"}}class ke extends K{constructor(){super(...arguments),this.name="cpf"}}class he extends K{constructor(){super(...arguments),this.name="cnpj"}}class Ie extends K{constructor(){super(...arguments),this.name="email"}}class ue extends K{constructor(){super(...arguments),this.name="url"}}class $e extends K{constructor(){super(...arguments),this.name="uuid"}}class at extends K{constructor(){super(...arguments),this.name="hex"}}class bt extends K{constructor(){super(...arguments),this.name="html"}}class Ot extends K{constructor(){super(...arguments),this.name="base64"}}class Gt extends K{constructor(){super(...arguments),this.name="xml"}}class Rt extends K{constructor(){super(...arguments),this.name="json"}}class $t extends Pe{constructor(w){super(),this.base=w}get name(){return`${this.base.name}?`}}class Tt extends Pe{constructor(w){super(),this.base=w}get name(){return`${this.base.name}[]`}}class Lt extends Ne{constructor(w){super(),this.value=w,this.annotations=[],this.struct=null}}class Ct extends Pe{constructor(w){super(),this.values=w}get hasStructValues(){return this.values.some(w=>null!==w.struct)}}class kt extends Ne{constructor(w,E,Y=!1){super(),this.name=w,this.type=E,this.secret=Y,this.annotations=[]}}class ei extends Ne{constructor(w){super(),this.typeReference=w}}class yn extends Pe{constructor(w){super(),this.name=w}}class Ut extends Pe{constructor(w){super(),this.fieldsAndSpreads=w,this.fields=[]}}class hn extends Ne{constructor(w,E){super(),this.name=w,this.type=E,this.annotations=[]}}class $n extends Ne{constructor(w,E,Y){super(),this.name=w,this.fieldsAndSpreads=E,this.returnType=Y,this.annotations=[],this.args=[]}}class tn{constructor(w=[],E=[],Y=[]){this.typeDefinitions=w,this.operations=E,this.errors=Y,this.structTypes=[],this.enumTypes=[],this.warnings=[]}}class qt extends Error{}class Ht{constructor(w){this.root=w}process(){for(const w of this.root.errors)this.visit(w);for(const w of this.root.typeDefinitions)this.visit(w);for(const w of this.root.operations)this.visit(w)}visit(w){if(w instanceof $n){for(const E of w.args)this.visit(E);for(const E of w.fieldsAndSpreads)this.visit(E);this.visit(w.returnType)}else if(w instanceof kt||w instanceof hn)this.visit(w.type);else if(w instanceof Ut){for(const E of w.fields)this.visit(E);for(const E of w.fieldsAndSpreads)this.visit(E)}else if(w instanceof Ct)for(const E of w.values)this.visit(E);else w instanceof Lt?w.struct&&this.visit(w.struct):w instanceof Tt||w instanceof $t?this.visit(w.base):w instanceof ct?this.visit(w.dataType):w instanceof ei&&this.visit(w.typeReference)}}class ti extends Ht{constructor(){super(...arguments),this.nameToType=new Map}visit(w){if(w instanceof hn){const E=this.nameToType.get(w.name);if(E&&JSON.stringify(E)!==JSON.stringify(w.type))throw new qt(`Type '${w.name}' at ${w.location} is defined multiple times (also at ${E.location})`);this.nameToType.set(w.name,w.type)}super.visit(w)}}class Sn{constructor(w){this.root=w}process(){this.root.errors=this.root.errors.map(w=>this.transform(w)),this.root.typeDefinitions=this.root.typeDefinitions.map(w=>this.transform(w)),this.root.operations=this.root.operations.map(w=>this.transform(w))}transform(w){return w instanceof $n?(w.args=w.args.map(E=>this.transform(E)),w.fieldsAndSpreads=w.fieldsAndSpreads.map(E=>this.transform(E)),w.returnType=this.transform(w.returnType)):w instanceof kt||w instanceof hn?w.type=this.transform(w.type):w instanceof Ut?(w.fields=w.fields.map(E=>this.transform(E)),w.fieldsAndSpreads=w.fieldsAndSpreads.map(E=>this.transform(E))):w instanceof Ct?w.values=w.values.map(E=>this.transform(E)):w instanceof Lt?w.struct&&(w.struct=this.transform(w.struct)):w instanceof Tt||w instanceof $t?w.base=this.transform(w.base):w instanceof ct?w.dataType=this.transform(w.dataType):w instanceof ei&&(w.typeReference=this.transform(w.typeReference)),w}}class In extends Sn{constructor(){super(...arguments),this.path=[],this.names=new Map}transform(w){if(w instanceof hn)return this.path=[w.name],super.transform(w);if(w instanceof ct)return this.path=[`${w.name}Data`],super.transform(w);if(w instanceof $n)return this.path=[w.name],super.transform(w);if(w instanceof kt)try{return this.path.push(w.name),super.transform(w)}finally{this.path.pop()}else{if(!(w instanceof Lt)){if(w instanceof Ut||w instanceof Ct){w.name=this.path.map(Y=>Y[0].toUpperCase()+Y.slice(1)).join("");const E=this.names.get(w.name);if(E){if(E.type.constructor!==w.constructor||JSON.stringify(E.type)!==JSON.stringify(w))throw new qt(`The name of the type '${this.path.join(".")}' at ${w.location} will conflict with '${E.path.join(".")}' at ${E.type.location}`);return E.type}return this.names.set(w.name,{path:[...this.path],type:w}),super.transform(w)}return super.transform(w)}try{return this.path.push(w.value),super.transform(w)}finally{this.path.pop()}}}}class Dn extends Ht{visit(w){if(w instanceof yn){const E=this.root.typeDefinitions.find(Y=>Y.name===w.name);if(void 0===E)throw new qt(`Could not find type '${w.name}' at ${w.location}`);w.type=E.type}super.visit(w)}}class kn extends Ht{constructor(){super(...arguments),this.isInReturn=!1,this.path=[],this.visited=new Set}visit(w){if(!this.visited.has(w))if(this.visited.add(w),w instanceof $n)this.isInReturn=!0,this.visited.clear(),this.path.push(`${w.name}(...)`),this.visit(w.returnType),this.path.pop(),this.isInReturn=!1;else if(w instanceof yn)this.visit(w.type);else if(w instanceof kt){if(this.path.push(w.name),this.isInReturn&&w.secret)throw new qt(`Can't return a secret value at ${this.path.join(".")} at ${w.location}`);super.visit(w),this.path.pop()}else super.visit(w)}}class gn extends Ht{constructor(){super(...arguments),this.processed=new Set}expandSpread(w,E){const Y=new Map;for(const Be of E){let Qe;if(Be instanceof kt)Qe=[Be];else{const We=Be.typeReference.type;if(!(We instanceof Ut))throw new qt(`A spread operator can't refer to something that is not a struct, in '${Be.typeReference.name}' at ${Be.location}.`);this.visit(We),Qe=We.fields}for(const We of Qe){const tt=Y.get(We.name);tt?w[tt]=We:(Y.set(We.name,w.length),w.push(We))}}}visit(w){if(w instanceof Ut){if(this.processed.has(w))return;this.processed.add(w)}super.visit(w),w instanceof Ut?(this.expandSpread(w.fields,w.fieldsAndSpreads),w.fieldsAndSpreads=[]):w instanceof $n&&(this.expandSpread(w.args,w.fieldsAndSpreads),w.fieldsAndSpreads=[])}}class Ze extends Ht{visit(w){if(super.visit(w),w instanceof Ct&&0===w.values.length)throw new qt(`Enum '${w.name}' at ${w.location} is empty`);if(w instanceof Ut&&0===w.fields.length)throw new qt(`Struct '${w.name}' at ${w.location} is empty`)}}class Ve extends Ht{visit(w){if(super.visit(w),w instanceof hn&&this.isRecursiveType(w,w.type)){if(!(w.type instanceof Ut||w.type instanceof Ct))throw new qt(`Type '${w.name}' at ${w.location} is recursive but is not an struct`);if(this.isInfinitelyRecursiveType(w,w.type))throw new qt(`Type '${w.name}' at ${w.location} is infinitely recursive`)}}isRecursiveType(w,E){return E instanceof yn?w.name===E.name:E instanceof Tt||E instanceof $t?this.isRecursiveType(w,E.base):E instanceof Ut?E.fields.some(Y=>this.isRecursiveType(w,Y.type)):E instanceof Ct&&E.values.some(Y=>Y.struct&&this.isRecursiveType(w,Y.struct))}isInfinitelyRecursiveType(w,E){return E instanceof yn?E.name===w.name:E instanceof Ut?E.fields.some(Y=>this.isInfinitelyRecursiveType(w,Y.type)):E instanceof Ct&&E.values.every(Y=>Y.struct&&this.isInfinitelyRecursiveType(w,Y.struct))}}class oe extends Ht{constructor(){super(...arguments),this.visited=new Set}visit(w){super.visit(w),!this.visited.has(w)&&(this.visited.add(w),w instanceof Ut?this.root.structTypes.push(w):w instanceof Ct&&this.root.enumTypes.push(w))}}function ye(be){return be instanceof yn?ye(be.type):be}class pe extends Ht{visit(w){if(w instanceof Lt){for(const E of w.annotations)if(!(E instanceof Ke))throw new qt(`Cannot have @${E.constructor.name.replace("Annotation","").toLowerCase()} at ${E.location}`)}else if(w instanceof hn){for(const E of w.annotations)if(!(E instanceof Ke))throw new qt(`Cannot have @${E.constructor.name.replace("Annotation","").toLowerCase()} at ${E.location}`)}else if(w instanceof kt){for(const E of w.annotations)if(!(E instanceof Ke))throw new qt(`Cannot have @${E.constructor.name.replace("Annotation","").toLowerCase()} at ${E.location}`)}else if(w instanceof $n){for(const E of w.annotations)if(!(E instanceof Ke))if(E instanceof ve){if(!this.root.errors.some(Y=>Y.name===E.error))throw new qt(`Unknown error type '${E.error}' at ${E.location}`)}else if(E instanceof Xe){const Y=[...E.pathVariables,...E.queryVariables,...E.headers.values()];if(Y.length!==new Set(Y).size)throw new qt(`Arguments must appear only once for rest annotation at ${E.location}`);for(const Be of Y){const Qe=w.args.find(tt=>tt.name===Be);if(!Qe)throw new qt(`Argument '${Be}' not found at ${E.location}`);if(E.pathVariables.includes(Be)&&Qe.type instanceof $t)throw new qt(`The path argument '${Be}' can't be nullable at ${E.location}`);if(!((be=ye(Qe.type instanceof $t?Qe.type.base:Qe.type))instanceof Ue||be instanceof R||be instanceof P||be instanceof Q||be instanceof L||be instanceof F||be instanceof q||be instanceof Ae||be instanceof dt||be instanceof lt||be instanceof ke||be instanceof he||be instanceof $e||be instanceof at||be instanceof Ot||be instanceof Ct))throw new qt(`Argument '${Be}' can't have type '${Qe.type.name}' for rest annotation at ${E.location}`)}for(const Be of w.args){if(!Y.includes(Be.name)&&E.bodyVariable!==Be.name)throw new qt(`Argument '${Be.name}' is missing from the rest annotation at ${E.location}`);const Qe=[...E.pathVariables,...E.queryVariables];if("GET"===E.method&&Qe.includes(Be.name)&&Be.secret)throw new qt(`Argument marked as secret cannot be used in the path or query parts of a GET endpoint at ${E.location}`)}if("GET"===E.method&&w.returnType instanceof it)throw new qt(`A GET rest endpoint must return something at ${E.location}`)}else if(!(E instanceof ze))throw new qt(`Cannot have @${E.constructor.name.replace("Annotation","").toLowerCase()} at ${E.location}`)}else if(w instanceof ct){for(const E of w.annotations){if(!(E instanceof V))throw new qt(`Cannot have @${E.constructor.name.replace("Annotation","").toLowerCase()} at ${E.location}`);if(E.statusCode<400||E.statusCode>599)throw new qt(`Error status code can only be 4xx or 5xx at ${E.location}`)}if(w.annotations.filter(E=>E instanceof V).length>1)throw new qt(`Can't provide more than one status code at ${w.location}`)}var be}}class O extends Ht{visit(w){if(super.visit(w),w instanceof Ct&&w.values.length!==new Set(w.values.map(E=>E.value)).size)throw new qt(`Enum '${w.name}' at ${w.location} has duplicated members`)}}const N=new Map;function _e(be){if(be instanceof Ke)return{type:"description",value:be.text};if(be instanceof ve)return{type:"throws",value:be.error};if(be instanceof Xe)return{type:"rest",value:{bodyVariable:be.bodyVariable,headers:[...be.headers.entries()].sort(([w],[E])=>w.localeCompare(E)),method:be.method,path:be.path,pathVariables:be.pathVariables,queryVariables:[...be.queryVariables].sort((w,E)=>w.localeCompare(E))}};if(be instanceof ze)return{type:"hidden",value:null};if(be instanceof V)return{type:"statusCode",value:be.statusCode};throw new Error(`BUG: annotationToJson with ${be.constructor.name}`)}function qe(be){switch(be.type){case"description":return new Ke(be.value);case"throws":return new ve(be.value);case"rest":{const{method:w,path:E,pathVariables:Y,queryVariables:Be,headers:Qe,bodyVariable:We}=be.value;return new Xe(w,E,Y,Be,new Map(Qe),We)}case"hidden":return new ze;case"statusCode":return new V(be.value);default:throw new Error(`BUG: annotationFromJson with ${be.type}`)}}function yt(be){const w={},E={};function Y(We){return We instanceof Tt?`${Y(We.base)}[]`:We instanceof $t?`${Y(We.base)}?`:We.name}for(const{name:We,fields:tt}of be.structTypes){if(We in E)throw new Error(`Duplicate struct type ${We}`);E[We]={};const wt=E[We];for(const mt of tt){wt[mt.name]=Y(mt.type);for(const Vt of mt.annotations)if(Vt instanceof Ke){const sn=`type.${We}.${mt.name}`;w[sn]??=[],w[sn].push(_e(Vt))}}}for(const{name:We,values:tt}of be.enumTypes){if(We in E)throw new Error(`Duplicate enum type ${We}`);E[We]=tt.map(wt=>wt.struct?[wt.value,wt.struct.name]:wt.value)}for(const{name:We,type:tt}of be.typeDefinitions)tt instanceof Ut||tt instanceof Ct||(E[We]=Y(tt));const Be={};for(const We of be.operations){const tt={};for(const wt of We.args){tt[wt.name]=Y(wt.type);for(const mt of wt.annotations)if(mt instanceof Ke){const Vt=`fn.${We.name}.${wt.name}`;w[Vt]??=[],w[Vt].push(_e(mt))}}Be[We.name]={args:tt,ret:Y(We.returnType)};for(const wt of We.annotations){const mt=`fn.${We.name}`;w[mt]??=[],w[mt].push(_e(wt))}}const Qe=be.errors.map(We=>We.dataType instanceof it?We.name:[We.name,We.dataType.name]);for(const We of be.errors)for(const tt of We.annotations){const wt=`error.${We.name}`;w[wt]??=[],w[wt].push(_e(tt))}return{annotations:w,errors:Qe,functionTable:Be,typeTable:E}}function xt(be){const w=[],E=[],Y=[];function Be(tt,wt){if("string"==typeof tt){const Vt=N.get(tt);return Vt?new Vt:tt.endsWith("?")?new $t(Be(tt.slice(0,tt.length-1))):tt.endsWith("[]")?new Tt(Be(tt.slice(0,tt.length-2))):new yn(tt)}if(Array.isArray(tt))return new Ct(tt.map(Vt=>{if(Array.isArray(Vt)){const[sn,nn]=Vt,dn=new Lt(sn);return Y.push([dn,nn]),dn}return new Lt(Vt)}));const mt=[];for(const Vt of Object.keys(tt)){const sn=new kt(Vt,Be(tt[Vt]));if(wt){const nn=`type.${wt}.${Vt}`;for(const dn of be.annotations[nn]??[])sn.annotations.push(qe(dn))}mt.push(sn)}return new Ut(mt)}for(const[tt,wt]of Object.entries(be.typeTable)){const mt=Be(wt,tt);E.push(new hn(tt,mt))}for(const[tt,wt]of Object.entries(be.functionTable)){const mt=Object.keys(wt.args).map(nn=>{const dn=new kt(nn,Be(wt.args[nn])),_i=`fn.${tt}.${nn}`;for(const zn of be.annotations[_i]??[])dn.annotations.push(qe(zn));return dn}),Vt=new $n(tt,mt,Be(wt.ret)),sn=`fn.${tt}`;for(const nn of be.annotations[sn]??[])Vt.annotations.push(qe(nn));w.push(Vt)}for(const[tt,wt]of Y){const mt=E.find(Vt=>Vt.name===wt)?.type;mt instanceof Ut&&(tt.struct=mt)}const Qe=be.errors.map(tt=>{let wt;if(Array.isArray(tt)){const[Vt,sn]=tt;wt=new ct(Vt,Be(sn))}else wt=new ct(tt,new it);const mt=`error.${wt.name}`;for(const Vt of be.annotations[mt]??[])wt.annotations.push(qe(Vt));return wt}),We=new tn(E,w,Qe);return function G(be){be.errors.some(w=>"Fatal"===w.name)||be.errors.push(new ct("Fatal",new it)),new ti(be).process(),new In(be).process(),new Dn(be).process(),new kn(be).process(),new gn(be).process(),new Ze(be).process(),new Ve(be).process(),new oe(be).process(),new pe(be).process(),new O(be).process()}(We),We}N.set("string",F),N.set("int",R),N.set("uint",P),N.set("date",q),N.set("datetime",Ae),N.set("float",L),N.set("bigint",Q),N.set("bool",Ue),N.set("bytes",ut),N.set("money",dt),N.set("decimal",lt),N.set("cpf",ke),N.set("cnpj",he),N.set("email",Ie),N.set("html",bt),N.set("url",ue),N.set("uuid",$e),N.set("hex",at),N.set("base64",Ot),N.set("xml",Gt),N.set("json",Rt),N.set("void",it);class Ye extends Error{}class ot{static#e=this.PRIMITIVES=new Set(["bool","int","uint","float","bigint","string","date","datetime","bytes","money","decimal","cpf","cnpj","email","html","url","uuid","hex","base64","xml","void","json"]);static#t=this.KEYWORDS=new Set([...ot.PRIMITIVES,"error","enum","type","import","get","function","fn","true","false"]);constructor(w,E="-"){this.source=w,this.filename=E,this.startPos=0,this.startLine=1,this.startColumn=1,this.pos=0,this.line=1,this.column=1}currentChar(){return this.source[this.pos]||"\0"}nextChar(){return this.column++,this.source[++this.pos]||"\0"}nextToken(){this.startPos=this.pos,this.startLine=this.line,this.startColumn=this.column;let w=null;switch(this.currentChar()){case"\0":return null;case" ":case"\r":case"\t":return this.nextChar(),this.nextToken();case"\n":return this.nextChar(),this.column=1,this.line++,this.nextToken();case"/":switch(this.nextChar()){case"/":for(;;)switch(this.nextChar()){case"\0":return null;case"\n":return this.nextChar(),this.column=1,this.line++,this.nextToken()}case"*":e:for(;;)switch(this.nextChar()){case"\0":break e;case"\n":this.column=0,this.line++;break;case"*":for(;"*"===this.nextChar(););switch(this.currentChar()){case"\0":break e;case"\n":this.column=0,this.line++;break;case"/":return this.nextChar(),this.nextToken()}}}break;case"{":this.nextChar(),w=new te;break;case"}":this.nextChar(),w=new de;break;case"(":this.nextChar(),w=new ce;break;case")":this.nextChar(),w=new z;break;case"?":this.nextChar(),w=new W;break;case":":this.nextChar(),w=new j;break;case"=":this.nextChar(),w=new ae;break;case"!":this.nextChar(),w=new se;break;case",":this.nextChar(),w=new le;break;case"[":"]"===this.nextChar()&&(this.nextChar(),w=new ne);break;case".":"."===this.nextChar()&&"."===this.nextChar()&&(this.nextChar(),w=new ie);break;case"@":{let E="\\",Y=this.startPos+1;for(;E.endsWith("\\");){for(E=E.slice(0,E.length-1).trim();!["\0","\n"].includes(this.nextChar()););E=`${E} ${this.source.substring(Y,this.pos).trim()}`.trim(),Y=this.pos+1}w=new ge(E.trim());break}case'"':{const E=[];e:for(;;)switch(this.nextChar()){case"\0":break e;case"\\":switch(this.nextChar()){case"\0":break e;case"n":E.push("\n");break;case"t":E.push("\t");break;default:E.push(this.currentChar())}break;case'"':this.nextChar(),w=new Ee(E.join(""));break e;default:E.push(this.currentChar())}break}default:if(/[a-zA-Z_]/u.test(this.currentChar())){for(;/[a-zA-Z0-9_]/u.test(this.nextChar()););const E=this.source.substring(this.startPos,this.pos);switch(E){case"error":w=new H;break;case"enum":w=new re;break;case"type":w=new Z;break;case"import":w=new B;break;case"fn":w=new J;break;case"true":w=new Se;break;case"false":w=new xe;break;default:w=ot.PRIMITIVES.has(E)?new He(E):new De(E)}}}if(null!==w)return w.location.filename=this.filename,w.location.line=this.startLine,w.location.column=this.startColumn,w;throw"\0"===this.currentChar()?new Ye(`Unexpected end of file at ${this.filename}`):new Ye(`Unexpected character ${JSON.stringify(this.currentChar())} at ${this.filename}:${this.line}:${this.column}`)}}class Fe extends Ht{constructor(w,E){super(w),this.type=E,this.found=!1}visit(w){w.constructor===this.type&&(this.found=!0),super.visit(w)}}function rt(be,w){const E=new Fe(be,w);return E.process(),E.found}},343:(et,Me,v)=>{"use strict";v.d(Me,{m:()=>le});var h=v(821),o=v(7786),De=v(9462),Ee=v(6086),ae=v(7950),se=v(2836);function te(ie,ge){1&ie&&(o.ynx(0),o._uU(1,"info_outline"),o.BQk())}function de(ie,ge){1&ie&&(o.ynx(0),o._uU(1,"error"),o.BQk())}function ce(ie,ge){1&ie&&(o.ynx(0),o._uU(1,"public"),o.BQk())}function z(ie,ge){1&ie&&(o.ynx(0),o._uU(1,"warning"),o.BQk())}function j(ie,ge){1&ie&&(o.ynx(0),o._uU(1,"bug_report"),o.BQk())}function W(ie,ge){if(1&ie&&o._UZ(0,"ngx-json-viewer",6),2&ie){const B=o.oxw().$implicit;o.Q6J("json",B.details)("expanded",!1)}}function ne(ie,ge){if(1&ie&&(o.TgZ(0,"li",2)(1,"mat-icon",3),o.YNc(2,te,2,0,"ng-container",4),o.YNc(3,de,2,0,"ng-container",4),o.YNc(4,ce,2,0,"ng-container",4),o.YNc(5,z,2,0,"ng-container",4),o.YNc(6,j,2,0,"ng-container",4),o.qZA(),o.TgZ(7,"span"),o._uU(8),o.qZA(),o.YNc(9,W,1,2,"ngx-json-viewer",5),o.qZA()),2&ie){const B=ge.$implicit,Z=o.oxw();o.Q6J("ngClass",B.type),o.xp6(1),o.Q6J("ngSwitch",B.type)("ngClass",B.type),o.xp6(1),o.Q6J("ngSwitchCase",Z.itemTypes.INFO),o.xp6(1),o.Q6J("ngSwitchCase",Z.itemTypes.ERROR),o.xp6(1),o.Q6J("ngSwitchCase",Z.itemTypes.NETWORK),o.xp6(1),o.Q6J("ngSwitchCase",Z.itemTypes.WARN),o.xp6(1),o.Q6J("ngSwitchCase",Z.itemTypes.DEBUG),o.xp6(2),o.Oqu(B.message),o.xp6(1),o.Q6J("ngIf",B.details)}}let le=(()=>{class ie{constructor(){this.itemTypes=h.p,this.items=[]}static#e=this.\u0275fac=function(Z){return new(Z||ie)};static#t=this.\u0275cmp=o.Xpm({type:ie,selectors:[["app-console"]],inputs:{items:"items"},decls:9,vars:1,consts:[["mat-icon-button","",3,"click"],["class","console-item",3,"ngClass",4,"ngFor","ngForOf"],[1,"console-item",3,"ngClass"],[3,"ngSwitch","ngClass"],[4,"ngSwitchCase"],[3,"json","expanded",4,"ngIf"],[3,"json","expanded"]],template:function(Z,re){1&Z&&(o.TgZ(0,"header")(1,"strong"),o._uU(2,"CONSOLE"),o.qZA(),o._UZ(3,"s"),o.TgZ(4,"button",0),o.NdJ("click",function(){return re.items.splice(0,re.items.length)}),o.TgZ(5,"mat-icon"),o._uU(6,"delete"),o.qZA()()(),o.TgZ(7,"ul"),o.YNc(8,ne,10,10,"li",1),o.qZA()),2&Z&&(o.xp6(8),o.Q6J("ngForOf",re.items))},dependencies:[De.mk,De.sg,De.O5,De.RF,De.n9,Ee.Y,ae.RK,se.Hw],styles:["[_nghost-%COMP%]{display:block;height:100%;text-align:left;overflow-y:scroll;box-sizing:border-box}header[_ngcontent-%COMP%]{display:flex;flex-direction:row;position:sticky;top:0;background:#1E1E1E;border-bottom:1px solid #444444;padding:5px 0;z-index:2}header[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{margin:0 10px;text-transform:uppercase;font-weight:200;color:#e7e7e7;border-bottom:1px solid rgb(231,231,231);line-height:27px;font-size:11pt;align-self:center}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:0 10px}ul[_ngcontent-%COMP%]{padding:0;margin:0;box-sizing:border-box}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{list-style:none;display:block;width:100%;height:auto;padding:5px 10px;font-size:1rem;border-bottom:1px solid #444444;background-color:#111;word-break:break-all;box-sizing:border-box;word-wrap:break-word;font-family:monospace}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline;vertical-align:text-bottom}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{height:1rem;width:1rem;font-size:1rem;vertical-align:sub;margin-right:7.5px;-webkit-user-select:none;user-select:none}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.info[_ngcontent-%COMP%]{color:#b9b9bb}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.error[_ngcontent-%COMP%]{color:#ff3b6b}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.network_recv[_ngcontent-%COMP%], ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] mat-icon.network_send[_ngcontent-%COMP%]{color:#939395}ul[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:hover{background-color:#0000004d}ul[_ngcontent-%COMP%] > li.error[_ngcontent-%COMP%]{color:#e69fa3;background-color:#4b2f36}"]})}return ie})()},821:(et,Me,v)=>{"use strict";v.d(Me,{p:()=>h});var h=function(o){return o.INFO="info",o.ERROR="error",o.WARN="warn",o.DEBUG="debug",o.NETWORK="network",o}(h||{})},6480:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{G:()=>SdkgenService});var _home_runner_work_sdkgen_sdkgen_packages_playground_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(5861),_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2973),_sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(1890),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(1625),_angular_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(7786);let SdkgenService=(()=>{class SdkgenService{constructor(){this.state$=new rxjs__WEBPACK_IMPORTED_MODULE_2__.X(null)}buildJsonObject(et,Me=new Set){const v=h=>{switch(h.constructor){case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Qs:return"";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.mN:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.kM:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__._P:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.zE:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Bn:return 0;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.KW:return"0.00";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.xW:return(new Date).toJSON().substring(0,10);case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Gf:return(new Date).toJSON().substring(0,23);case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Wi:return Math.random()>.5;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.RE:return null;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Xj:return"000.000.001-91";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Ro:return"00.000.001/0001-91";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Tp:return"joao@acme.com";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Oo:return"https://www.google.com/";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.ZU:return"00000000-0000-0000-0000-000000000000";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.iE:return new Array(32).fill(0).map(()=>"0123456789abcdef"[Math.floor(16*Math.random())]).join("");case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.dp:return"<h1>Hello world!</h1>";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.lw:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.OR:return"0a=";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.BD:return"<xml></xml>";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.cs:return{};case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.JQ:return Me.has(h.name)?{}:this.buildJsonObject(h.fields,new Set([...Me,h.name]));case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.H1:return null;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.d:return v(h.type);case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.ts:return[v(h.base),v(h.base),v(h.base)];case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.PK:return h.values[0].value;default:return null}};return et.reduce((h,o)=>(h[o.name]=v(o.type),h),{})}getTypeScriptCode(et,Me){return`await client.${et}(${JSON.stringify(Me,null,2)});\n`}buildKotlinString(et,Me=0){const v=h=>{switch(h.constructor){case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Qs:return'""';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.mN:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.kM:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__._P:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.zE:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Bn:return 0;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.KW:return'BigDecimal("0.00")';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.xW:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Gf:return"Calendar.getInstance()";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Wi:return Math.random()>.5?"true":"false";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.RE:return"null";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Xj:return'"000.000.001-91"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Ro:return'"00.000.001/0001-91"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Tp:return'"joao@acme.com"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.Oo:return'"https://www.google.com/"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.ZU:return'"00000000-0000-0000-0000-000000000000"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.iE:return`"${new Array(32).fill(0).map(()=>"0123456789abcdef"[Math.floor(16*Math.random())]).join("")}"`;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.dp:return'"<h1>Hello world!</h1>"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.lw:case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.OR:return'"0a="';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.BD:return'"<xml></xml>"';case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.cs:return"json {}";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.JQ:return`${h.name}(\n${this.buildKotlinString(h.fields,Me+1)}\n${" ".repeat(Me+1)})`;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.H1:return"null";case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.d:return v(h.type);case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.ts:Me++;const o=v(h.base);return Me--,`arrayOf(\n${" ".repeat(Me+2)}${o},\n${" ".repeat(Me+2)}${o}\n${" ".repeat(Me+1)})`;case _sdkgen_parser__WEBPACK_IMPORTED_MODULE_1__.PK:return`"${h.values[0].value}"`;default:return"<>()"}};return et.map(h=>`${" ".repeat(Me+1)}${v(h.type)}`).join(",\n")}getKotlinCode(et,Me){return 0===Me.length?`client.${et}().await();`:`client.${et}(\n${this.buildKotlinString(Me)}\n).await();`}getDartCode(et,Me){return'print("todo");'}getSwiftCode(et,Me){return'print("todo");'}getSdkgenClient(url,ast){const errorFns=ast.errors.reduce((acc,cur)=>{function errorClass(type,base){return eval(`(\n (sup) => class ${type} extends sup {\n type = "${type}";\n message = "";\n ${base===_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.zG?"data = null;":""}\n\n constructor(message${base===_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.zG?", data":""}) {\n super(message${base===_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.zG?", data":""});\n this.message = message;\n ${base===_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.zG?"this.data = data;":""}\n this.toString = () => this.type + ": " + this.message;\n }\n }\n )`)(base)}return"string"==typeof cur?acc[cur]=errorClass(cur,_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.Nn):acc[cur[0]]=errorClass(cur[0],_sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.zG),acc},{}),clientInstance=new _sdkgen_browser_runtime__WEBPACK_IMPORTED_MODULE_0__.RJ(url,ast,errorFns);return new Proxy(clientInstance,{get:(et,Me)=>["baseUrl","extra","successHook","errorHook","makeRequest"].includes(Me.toString())?clientInstance[Me.toString()]:function(){var v=(0,_home_runner_work_sdkgen_sdkgen_packages_playground_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_3__.Z)(function*(h){return clientInstance.makeRequest(Me.toString(),h)});return function(h){return v.apply(this,arguments)}}()})}static#_=this.\u0275fac=function et(Me){return new(Me||SdkgenService)};static#_2=this.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_4__.Yz7({token:SdkgenService,factory:SdkgenService.\u0275fac,providedIn:"root"})}return SdkgenService})()},8197:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Z:()=>SimpleCallComponent});var _home_runner_work_sdkgen_sdkgen_packages_playground_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(5861),_angular_forms__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(8832),_console_console_types__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(821),_utils_code_execution__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(5276),_angular_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7786),_sdkgen_service__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(6480),_materia_ui_ngx_monaco_editor__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(9309),ngx_json_viewer__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(6086),angular_split__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(534),_angular_material_button__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7950),_angular_material_icon__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2836),_angular_material_tabs__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(7361),_console_console_component__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(343);let SimpleCallComponent=(()=>{class SimpleCallComponent{constructor(et){this.sdkgen=et,this.editorOptions={theme:"vs-dark",language:"json"},this.code="",this.initialExtras='{\n "key": "value"\n}\n',this.extras=this.initialExtras,this.busy=!1,this.selected=new _angular_forms__WEBPACK_IMPORTED_MODULE_3__.NI(0),this.consoleItems=[]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(et=>{et&&(this.generateFunctionCode(et.astRoot,this.fn),this.client=this.sdkgen.getSdkgenClient(et.url,et.astJson))})}ngOnDestroy(){this.state$?.unsubscribe()}run(){var _this=this;return(0,_home_runner_work_sdkgen_sdkgen_packages_playground_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_4__.Z)(function*(){try{_this.busy=!0;{const events=_this.consoleItems;eval(_utils_code_execution__WEBPACK_IMPORTED_MODULE_5__.Y)}if(_this.extras&&_this.extras!==_this.initialExtras){const et=JSON.parse(_this.extras),Me=Object.keys(et);for(const v of Me)_this.client?.extra.set(v,et[v])}const exec=_this.client[_this.fn](JSON.parse(_this.code));_this.response={result:yield exec}}catch(et){_this.consoleItems.push({type:_console_console_types__WEBPACK_IMPORTED_MODULE_0__.p.ERROR,message:et.toString()}),delete et.toString,_this.response={error:{type:et.type,message:et.message,data:et.data}}}finally{eval(_utils_code_execution__WEBPACK_IMPORTED_MODULE_5__.W),_this.selected.setValue(2),_this.busy=!1}})()}generateFunctionCode(et,Me){const v=et.operations.find(h=>h.name===Me)?.args;v&&(this.code=JSON.stringify(this.sdkgen.buildJsonObject(v),null,2))}static#_=this.\u0275fac=function et(Me){return new(Me||SimpleCallComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__.Y36(_sdkgen_service__WEBPACK_IMPORTED_MODULE_1__.G))};static#_2=this.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_6__.Xpm({type:SimpleCallComponent,selectors:[["app-simple-call"]],inputs:{fn:"fn"},decls:14,vars:10,consts:[["direction","vertical"],["animationDuration","0ms","mat-stretch-tabs","false",3,"selectedIndex","selectedIndexChange"],["label","Requisi\xe7\xe3o"],["mat-fab","",1,"run-fab",3,"disabled","click"],[3,"options","ngModel","ngModelChange"],["label","Extras"],["label","Resposta",3,"disabled"],[3,"json"],[3,"size"],[3,"items"]],template:function et(Me,v){1&Me&&(_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(0,"as-split",0)(1,"as-split-area")(2,"mat-tab-group",1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.NdJ("selectedIndexChange",function(o){return v.selected.setValue(o)}),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(3,"mat-tab",2)(4,"button",3),_angular_core__WEBPACK_IMPORTED_MODULE_6__.NdJ("click",function(){return v.run()}),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(5,"mat-icon"),_angular_core__WEBPACK_IMPORTED_MODULE_6__._uU(6,"play_arrow"),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(7,"ngx-monaco-editor",4),_angular_core__WEBPACK_IMPORTED_MODULE_6__.NdJ("ngModelChange",function(o){return v.code=o}),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(8,"mat-tab",5)(9,"ngx-monaco-editor",4),_angular_core__WEBPACK_IMPORTED_MODULE_6__.NdJ("ngModelChange",function(o){return v.extras=o}),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(10,"mat-tab",6),_angular_core__WEBPACK_IMPORTED_MODULE_6__._UZ(11,"ngx-json-viewer",7),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()()(),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(12,"as-split-area",8),_angular_core__WEBPACK_IMPORTED_MODULE_6__._UZ(13,"app-console",9),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()()),2&Me&&(_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("selectedIndex",v.selected.value),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("disabled",v.busy),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(3),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("options",v.editorOptions)("ngModel",v.code),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(2),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("options",v.editorOptions)("ngModel",v.extras),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("disabled",!v.response),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("json",v.response),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("size",30),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("items",v.consoleItems))},dependencies:[_angular_forms__WEBPACK_IMPORTED_MODULE_3__.JJ,_angular_forms__WEBPACK_IMPORTED_MODULE_3__.On,_materia_ui_ngx_monaco_editor__WEBPACK_IMPORTED_MODULE_7__.T2,ngx_json_viewer__WEBPACK_IMPORTED_MODULE_8__.Y,angular_split__WEBPACK_IMPORTED_MODULE_9__.Mq,angular_split__WEBPACK_IMPORTED_MODULE_9__.zE,_angular_material_button__WEBPACK_IMPORTED_MODULE_10__.cs,_angular_material_icon__WEBPACK_IMPORTED_MODULE_11__.Hw,_angular_material_tabs__WEBPACK_IMPORTED_MODULE_12__.uX,_angular_material_tabs__WEBPACK_IMPORTED_MODULE_12__.SP,_console_console_component__WEBPACK_IMPORTED_MODULE_2__.m],styles:["[_nghost-%COMP%]{display:block;height:100%}mat-tab-group[_ngcontent-%COMP%]{height:100%}mat-tab-group[_ngcontent-%COMP%] .ngx-json-viewer{overflow:inherit!important}mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-wrapper{height:100%}mat-tab-group[_ngcontent-%COMP%] .mat-tab-body-content{overflow-y:hidden!important}mat-tab-group[_ngcontent-%COMP%] ngx-monaco-editor[_ngcontent-%COMP%]{display:block;height:100%}mat-tab-group[_ngcontent-%COMP%] ngx-json-viewer[_ngcontent-%COMP%]{display:block;height:100%;width:100%;overflow-y:auto;scrollbar-width:thin}"]})}return SimpleCallComponent})()},3538:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{I:()=>TabEditorComponent});var _home_runner_work_sdkgen_sdkgen_packages_playground_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(5861),_sdkgen_typescript_generator__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(3866),_console_console_types__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(821),_utils_code_execution__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(5276),_angular_core__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(7786),_sdkgen_service__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(6480),_angular_forms__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(8832),_materia_ui_ngx_monaco_editor__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(9309),angular_split__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(534),_angular_material_button__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(7950),_angular_material_icon__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(2836),_console_console_component__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(343);let TabEditorComponent=(()=>{class TabEditorComponent{constructor(et){this.sdkgen=et,this.code="",this.busy=!1,this.editorOptions={theme:"vs-dark",language:"typescript"},this.consoleItems=[{type:_console_console_types__WEBPACK_IMPORTED_MODULE_1__.p.INFO,message:"Bem-vindo! A sa\xedda dos seus testes aparecer\xe1 aqui :)"}]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(et=>{if(!et)return;const Me=`${this.patchBrowserClientSource((0,_sdkgen_typescript_generator__WEBPACK_IMPORTED_MODULE_0__.E2)(et.astRoot))}\n\ndeclare const client: sdkgen.ApiClient;\n\n`;this.client=this.sdkgen.getSdkgenClient(et.url,et.astJson),monaco.languages.typescript.typescriptDefaults.getCompilerOptions().target=monaco.languages.typescript.ScriptTarget.ESNext,monaco.languages.typescript.typescriptDefaults.getCompilerOptions().module=monaco.languages.typescript.ModuleKind.ESNext,monaco.languages.typescript.typescriptDefaults.getDiagnosticsOptions().diagnosticCodesToIgnore=[1375];const v=monaco.editor.getModels().find(o=>o.uri.toString().endsWith("client.d.ts"));v?v.setValue(Me):monaco.editor.createModel(Me,"typescript",monaco.Uri.parse("ts:filename/client.d.ts"));const[h]=et.astRoot.operations;this.code=this.sdkgen.getTypeScriptCode(h.name,this.sdkgen.buildJsonObject(h.args))})}ngOnDestroy(){this.state$?.unsubscribe()}patchBrowserClientSource(et){return`declare namespace sdkgen {\n${et.substring(95,et.indexOf("const errClasses")).replace(/ extends SdkgenError/g," extends Error").replace(/ extends SdkgenHttpClient/g,"").replace(/{ return this.makeRequest\(.*$/gm,"").replace(/ {\n {8}super\(baseUrl, astJson, errClasses\);\n {4}}/g,"").replace("constructor(","\n baseUrl: string;\n extra = new Map<string, any>();\n successHook: (result: any, name: string, args: any) => void = () => undefined;\n errorHook: (result: any, name: string, args: any) => void = () => undefined;\n async makeRequest(functionName: string, args: unknown): Promise<any>;\n \nconstructor(")}\n}\n`}run(){var _this=this;return(0,_home_runner_work_sdkgen_sdkgen_packages_playground_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_4__.Z)(function*(){try{_this.busy=!0,yield eval(`\n (async (client, events) => {\n ${_utils_code_execution__WEBPACK_IMPORTED_MODULE_5__.Y}\n ${_this.code}\n })\n `)(_this.client,_this.consoleItems).finally(()=>eval(_utils_code_execution__WEBPACK_IMPORTED_MODULE_5__.W))}catch(et){_this.consoleItems.push({type:_console_console_types__WEBPACK_IMPORTED_MODULE_1__.p.ERROR,message:et.toString()})}_this.busy=!1})()}static#_=this.\u0275fac=function et(Me){return new(Me||TabEditorComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__.Y36(_sdkgen_service__WEBPACK_IMPORTED_MODULE_2__.G))};static#_2=this.\u0275cmp=_angular_core__WEBPACK_IMPORTED_MODULE_6__.Xpm({type:TabEditorComponent,selectors:[["app-tab-editor"]],decls:8,vars:5,consts:[["mat-fab","",1,"run-fab",3,"disabled","click"],["direction","vertical"],[1,"o-hidden"],[3,"options","ngModel","ngModelChange"],[3,"size"],[3,"items"]],template:function et(Me,v){1&Me&&(_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(0,"button",0),_angular_core__WEBPACK_IMPORTED_MODULE_6__.NdJ("click",function(){return v.run()}),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(1,"mat-icon"),_angular_core__WEBPACK_IMPORTED_MODULE_6__._uU(2,"play_arrow"),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(3,"as-split",1)(4,"as-split-area",2)(5,"ngx-monaco-editor",3),_angular_core__WEBPACK_IMPORTED_MODULE_6__.NdJ("ngModelChange",function(o){return v.code=o}),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()(),_angular_core__WEBPACK_IMPORTED_MODULE_6__.TgZ(6,"as-split-area",4),_angular_core__WEBPACK_IMPORTED_MODULE_6__._UZ(7,"app-console",5),_angular_core__WEBPACK_IMPORTED_MODULE_6__.qZA()()),2&Me&&(_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("disabled",v.busy),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(5),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("options",v.editorOptions)("ngModel",v.code),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("size",30),_angular_core__WEBPACK_IMPORTED_MODULE_6__.xp6(1),_angular_core__WEBPACK_IMPORTED_MODULE_6__.Q6J("items",v.consoleItems))},dependencies:[_angular_forms__WEBPACK_IMPORTED_MODULE_7__.JJ,_angular_forms__WEBPACK_IMPORTED_MODULE_7__.On,_materia_ui_ngx_monaco_editor__WEBPACK_IMPORTED_MODULE_8__.T2,angular_split__WEBPACK_IMPORTED_MODULE_9__.Mq,angular_split__WEBPACK_IMPORTED_MODULE_9__.zE,_angular_material_button__WEBPACK_IMPORTED_MODULE_10__.cs,_angular_material_icon__WEBPACK_IMPORTED_MODULE_11__.Hw,_console_console_component__WEBPACK_IMPORTED_MODULE_3__.m],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:calc(100% - 4px);margin-top:4px} .scroll-decoration{display:none}.o-hidden[_ngcontent-%COMP%]{overflow:hidden!important}"]})}return TabEditorComponent})()},5276:(et,Me,v)=>{"use strict";v.d(Me,{W:()=>o,Y:()=>h});const h='\n window.___originalXmlHttpRequestOpen = XMLHttpRequest.prototype.open;\n XMLHttpRequest.prototype.open = function() {\n const event = { type: "network", message: `XHR: ${Array.prototype.join.call(arguments, " ")}` };\n events.push(event);\n\n const send = this.send;\n this.send = function() {\n try {\n event.details = { req: JSON.parse(arguments[0]) };\n } catch (e) {\n event.details = { req: arguments[0] };\n }\n\n const onreadystatechange = this.onreadystatechange;\n this.onreadystatechange = function() {\n const result = onreadystatechange.apply(this, arguments);\n\n if (this.readyState === 4) {\n try {\n event.details = { ...event.details, res: JSON.parse(this.responseText) };\n } catch (e) {\n event.details = { ...event.details, res: this.responseText };\n }\n }\n\n return result;\n };\n\n return send.apply(this, arguments);\n };\n\n return ___originalXmlHttpRequestOpen.apply(this, arguments);\n };\n\n window.__originalConsole = [console.log, console.error, console.warn, console.debug, console.info];\n\n for (const method of window.__originalConsole) {\n console[method.name] = function() {\n const event = { type: method.name === "log" ? "info" : method.name, message: Array.prototype.map.call(arguments, x => typeof x === "object" ? JSON.stringify(x) : x.toString()).join(" ") };\n events.push(event);\n return method.apply(this, arguments);\n }\n }\n',o="\n XMLHttpRequest.prototype.open = window.___originalXmlHttpRequestOpen;\n for (const method of window.__originalConsole) {\n console[method.name] = method;\n }\n"},7601:(et,Me,v)=>{"use strict";var h=v(4707),o=v(7786),De=v(9272),Ee=v(8832),ae=v(7950),se=v(5988),te=v(9462),de=v(9021),ce=v(8654),z=v(9453),j=v(4991),W=v(3581),ne=v(5779),le=v(19),ie=v(2835),ge=v(7605),B=v(4877),Z=v(6e3);function Dn(l,a){1&l&&(o.TgZ(0,"span",7),o.Hsn(1,1),o.qZA())}function kn(l,a){1&l&&(o.TgZ(0,"span",8),o.Hsn(1,2),o.qZA())}const gn=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Ze=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],Ye=["*"],U=new o.OlP("mat-chips-default-options"),we=new o.OlP("MatChipAvatar"),Fe=new o.OlP("MatChipTrailingIcon"),rt=new o.OlP("MatChipRemove"),be=new o.OlP("MatChip");class w{}const E=(0,de.sb)(w,-1);let Y=(()=>{class l extends E{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(i){this._disabled=(0,se.Ig)(i)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(i,s){super(),this._elementRef=i,this._parentChip=s,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===i.nativeElement.nodeName&&i.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(i){!this.disabled&&this.isInteractive&&this._isPrimary&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(i){(i.keyCode===ge.K5||i.keyCode===ge.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(be))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(s,d){1&s&&o.NdJ("click",function(b){return d._handleClick(b)})("keydown",function(b){return d._handleKeydown(b)}),2&s&&(o.uIk("tabindex",d._getTabindex())("disabled",d._getDisabledAttribute())("aria-disabled",d.disabled),o.ekj("mdc-evolution-chip__action--primary",d._isPrimary)("mdc-evolution-chip__action--presentational",!d.isInteractive)("mdc-evolution-chip__action--trailing",!d._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[o.qOj]})}return l})(),tt=0;const wt=(0,de.sb)((0,de.pj)((0,de.Kr)((0,de.Id)(class{constructor(l){this._elementRef=l}})),"primary"),-1);let mt=(()=>{class l extends wt{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(i){this._value=i}get removable(){return this._removable}set removable(i){this._removable=(0,se.Ig)(i)}get highlighted(){return this._highlighted}set highlighted(i){this._highlighted=(0,se.Ig)(i)}get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(i){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,i)}constructor(i,s,d,p,b,S,ee,Te){super(s),this._changeDetectorRef=i,this._ngZone=d,this._focusMonitor=p,this._globalRippleOptions=ee,this._onFocus=new z.x,this._onBlur=new z.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+tt++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new o.vpe,this.destroyed=new o.vpe,this.basicChipAttrName="mat-basic-chip",this._rippleLoader=(0,o.f3M)(de.Fq),this._document=b,this._animationsDisabled="NoopAnimations"===S,null!=Te&&(this.tabIndex=parseInt(Te)??this.defaultTabIndex),this._monitorFocus(),this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}ngOnInit(){const i=this._elementRef.nativeElement;this._isBasicChip=i.hasAttribute(this.basicChipAttrName)||i.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=(0,j.T)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(i){(i.keyCode===ge.ZH||i.keyCode===ge.yY)&&(i.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(i){return this._getActions().find(s=>{const d=s._elementRef.nativeElement;return d===i||d.contains(i)})}_getActions(){const i=[];return this.primaryAction&&i.push(this.primaryAction),this.removeIcon&&i.push(this.removeIcon),this.trailingIcon&&i.push(this.trailingIcon),i}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{const s=null!==i;s!==this._hasFocusInternal&&(this._hasFocusInternal=s,s?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,W.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(ce.tE),o.Y36(te.K0),o.Y36(o.QbO,8),o.Y36(de.Y2,8),o.$8M("tabindex"))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(s,d,p){if(1&s&&(o.Suo(p,we,5),o.Suo(p,Fe,5),o.Suo(p,rt,5),o.Suo(p,we,5),o.Suo(p,Fe,5),o.Suo(p,rt,5)),2&s){let b;o.iGM(b=o.CRH())&&(d.leadingIcon=b.first),o.iGM(b=o.CRH())&&(d.trailingIcon=b.first),o.iGM(b=o.CRH())&&(d.removeIcon=b.first),o.iGM(b=o.CRH())&&(d._allLeadingIcons=b),o.iGM(b=o.CRH())&&(d._allTrailingIcons=b),o.iGM(b=o.CRH())&&(d._allRemoveIcons=b)}},viewQuery:function(s,d){if(1&s&&o.Gf(Y,5),2&s){let p;o.iGM(p=o.CRH())&&(d.primaryAction=p.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(s,d){1&s&&o.NdJ("keydown",function(b){return d._handleKeydown(b)}),2&s&&(o.Ikx("id",d.id),o.uIk("role",d.role)("tabindex",d.role?d.tabIndex:null)("aria-label",d.ariaLabel),o.ekj("mdc-evolution-chip",!d._isBasicChip)("mdc-evolution-chip--disabled",d.disabled)("mdc-evolution-chip--with-trailing-action",d._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",d.leadingIcon)("mdc-evolution-chip--with-primary-icon",d.leadingIcon)("mdc-evolution-chip--with-avatar",d.leadingIcon)("mat-mdc-chip-with-avatar",d.leadingIcon)("mat-mdc-chip-highlighted",d.highlighted)("mat-mdc-chip-disabled",d.disabled)("mat-mdc-basic-chip",d._isBasicChip)("mat-mdc-standard-chip",!d._isBasicChip)("mat-mdc-chip-with-trailing-icon",d._hasTrailingIcon())("_mat-animation-noopable",d._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[o._Bn([{provide:be,useExisting:l}]),o.qOj],ngContentSelectors:Ze,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(s,d){1&s&&(o.F$t(gn),o._UZ(0,"span",0),o.TgZ(1,"span",1)(2,"span",2),o.YNc(3,Dn,2,0,"span",3),o.TgZ(4,"span",4),o.Hsn(5),o._UZ(6,"span",5),o.qZA()()(),o.YNc(7,kn,2,0,"span",6)),2&s&&(o.xp6(2),o.Q6J("isInteractive",!1),o.xp6(1),o.Q6J("ngIf",d.leadingIcon),o.xp6(4),o.Q6J("ngIf",d._hasTrailingIcon()))},dependencies:[te.O5,Y],styles:['.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}.mdc-evolution-chip__action--primary{overflow-x:hidden}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mdc-evolution-chip__action--primary:before{box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1}.mdc-evolution-chip--touch{margin-top:8px;margin-bottom:8px}.mdc-evolution-chip__action-touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-evolution-chip__text-label{white-space:nowrap;user-select:none;text-overflow:ellipsis;overflow:hidden}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mdc-evolution-chip__checkmark-background{opacity:0}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__graphic{transition:width 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark{transition:opacity 50ms 0ms linear,transform 100ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--deselecting .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selecting-with-primary-icon .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__icon--primary{transition:opacity 150ms 75ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-50%, -50%)}.mdc-evolution-chip--deselecting-with-primary-icon .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@keyframes mdc-evolution-chip-enter{from{transform:scale(0.8);opacity:.4}to{transform:scale(1);opacity:1}}.mdc-evolution-chip--enter{animation:mdc-evolution-chip-enter 100ms 0ms cubic-bezier(0, 0, 0.2, 1)}@keyframes mdc-evolution-chip-exit{from{opacity:1}to{opacity:0}}.mdc-evolution-chip--exit{animation:mdc-evolution-chip-exit 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-evolution-chip--hidden{opacity:0;pointer-events:none;transition:width 150ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius);height:var(--mdc-chip-container-height);--mdc-chip-container-shape-family:rounded;--mdc-chip-container-shape-radius:16px 16px 16px 16px;--mdc-chip-with-avatar-avatar-shape-family:rounded;--mdc-chip-with-avatar-avatar-shape-radius:14px 14px 14px 14px;--mdc-chip-with-avatar-avatar-size:28px;--mdc-chip-with-icon-icon-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius)}.mat-mdc-standard-chip.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size);width:var(--mdc-chip-with-avatar-avatar-size);font-size:var(--mdc-chip-with-avatar-avatar-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font);line-height:var(--mdc-chip-label-text-line-height);font-size:var(--mdc-chip-label-text-size);font-weight:var(--mdc-chip-label-text-weight);letter-spacing:var(--mdc-chip-label-text-tracking)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size);width:var(--mdc-chip-with-icon-icon-size);font-size:var(--mdc-chip-with-icon-icon-size)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary.mdc-ripple-upgraded--background-focused .mdc-evolution-chip__ripple::before,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:not(.mdc-ripple-upgraded):focus .mdc-evolution-chip__ripple::before{transition-duration:75ms;opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color);opacity:var(--mdc-chip-focus-state-layer-opacity)}.mat-mdc-standard-chip .mdc-evolution-chip__checkmark{height:20px;width:20px}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:6px;padding-right:6px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic[dir=rtl]{padding-left:8px;padding-right:4px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing[dir=rtl]{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing{left:8px;right:initial}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__ripple--trailing[dir=rtl]{left:initial;right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary,.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary[dir=rtl]{padding-left:0;padding-right:0}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.cdk-high-contrast-active .mat-mdc-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-mdc-standard-chip .mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:.4}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary{flex-basis:100%}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0})}return l})();class _i{constructor(a){}}const zn=(0,de.sb)(_i);let rn=(()=>{class l extends zn{get chipFocusChanges(){return this._getChipStream(i=>i._onFocus)}get chipDestroyedChanges(){return this._getChipStream(i=>i.destroyed)}get disabled(){return this._disabled}set disabled(i){this._disabled=(0,se.Ig)(i),this._syncChipsState()}get empty(){return!this._chips||0===this._chips.length}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(i){this._explicitRole=i}get focused(){return this._hasFocusedChip()}constructor(i,s,d){super(i),this._elementRef=i,this._changeDetectorRef=s,this._dir=d,this._lastDestroyedFocusedChipIndex=null,this._destroyed=new z.x,this._defaultRole="presentation",this._disabled=!1,this._explicitRole=null,this._chipActions=new o.n_E}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){this._keyManager?.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(i=>i._hasFocus())}_syncChipsState(){this._chips&&this._chips.forEach(i=>{i.disabled=this._disabled,i._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(i){this._originatesFromChip(i)&&this._keyManager.onKeydown(i)}_isValidIndex(i){return i>=0&&i<this._chips.length}_allowFocusEscape(){if(-1!==this.tabIndex){const i=this.tabIndex;this.tabIndex=-1,setTimeout(()=>this.tabIndex=i)}}_getChipStream(i){return this._chips.changes.pipe((0,le.O)(null),(0,ie.w)(()=>(0,j.T)(...this._chips.map(i))))}_originatesFromChip(i){let s=i.target;for(;s&&s!==this._elementRef.nativeElement;){if(s.classList.contains("mat-mdc-chip"))return!0;s=s.parentElement}return!1}_setUpFocusManagement(){this._chips.changes.pipe((0,le.O)(this._chips)).subscribe(i=>{const s=[];i.forEach(d=>d._getActions().forEach(p=>s.push(p))),this._chipActions.reset(s),this._chipActions.notifyOnChanges()}),this._keyManager=new ce.Em(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(i=>this._skipPredicate(i)),this.chipFocusChanges.pipe((0,ne.R)(this._destroyed)).subscribe(({chip:i})=>{const s=i._getSourceAction(document.activeElement);s&&this._keyManager.updateActiveItem(s)}),this._dir?.change.pipe((0,ne.R)(this._destroyed)).subscribe(i=>this._keyManager.withHorizontalOrientation(i))}_skipPredicate(i){return!i.isInteractive||i.disabled}_trackChipSetChanges(){this._chips.changes.pipe((0,le.O)(null),(0,ne.R)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe((0,ne.R)(this._destroyed)).subscribe(i=>{const d=this._chips.toArray().indexOf(i.chip);this._isValidIndex(d)&&i.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=d)})}_redirectDestroyedChipFocus(){if(null!=this._lastDestroyedFocusedChipIndex){if(this._chips.length){const i=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),s=this._chips.toArray()[i];s.disabled?1===this._chips.length?this.focus():this._keyManager.setPreviousItemActive():s.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(B.Is,8))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-chip-set"]],contentQueries:function(s,d,p){if(1&s&&o.Suo(p,mt,5),2&s){let b;o.iGM(b=o.CRH())&&(d._chips=b)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(s,d){1&s&&o.NdJ("keydown",function(b){return d._handleKeydown(b)}),2&s&&o.uIk("role",d.role)},inputs:{disabled:"disabled",role:"role"},features:[o.qOj],ngContentSelectors:Ye,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(s,d){1&s&&(o.F$t(),o.TgZ(0,"div",0),o.Hsn(1),o.qZA())},styles:[".mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}"],encapsulation:2,changeDetection:0})}return l})(),Kr=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:[de.rD,{provide:U,useValue:{separatorKeyCodes:[ge.K5]}}],imports:[de.BQ,te.ez,de.si,de.BQ]})}return l})();var Di=v(9467),ii=v(3844),$i=v(1497),oi=v(6512),qi=v(9592);const Ws=(0,ii.Mq)();class Ys{constructor(a,i){this._viewportRuler=a,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=i}attach(){}enable(){if(this._canBeEnabled()){const a=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=a.style.left||"",this._previousHTMLStyles.top=a.style.top||"",a.style.left=(0,se.HM)(-this._previousScrollPosition.left),a.style.top=(0,se.HM)(-this._previousScrollPosition.top),a.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const a=this._document.documentElement,s=a.style,d=this._document.body.style,p=s.scrollBehavior||"",b=d.scrollBehavior||"";this._isEnabled=!1,s.left=this._previousHTMLStyles.left,s.top=this._previousHTMLStyles.top,a.classList.remove("cdk-global-scrollblock"),Ws&&(s.scrollBehavior=d.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Ws&&(s.scrollBehavior=p,d.scrollBehavior=b)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const i=this._document.body,s=this._viewportRuler.getViewportSize();return i.scrollHeight>s.height||i.scrollWidth>s.width}}class vr{constructor(a,i,s,d){this._scrollDispatcher=a,this._ngZone=i,this._viewportRuler=s,this._config=d,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(a){this._overlayRef=a}enable(){if(this._scrollSubscription)return;const a=this._scrollDispatcher.scrolled(0).pipe((0,$i.h)(i=>!i||!this._overlayRef.overlayElement.contains(i.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=a.subscribe(()=>{const i=this._viewportRuler.getViewportScrollPosition().top;Math.abs(i-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=a.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class Zr{enable(){}disable(){}attach(){}}function tr(l,a){return a.some(i=>l.bottom<i.top||l.top>i.bottom||l.right<i.left||l.left>i.right)}function qr(l,a){return a.some(i=>l.top<i.top||l.bottom>i.bottom||l.left<i.left||l.right>i.right)}class yr{constructor(a,i,s,d){this._scrollDispatcher=a,this._viewportRuler=i,this._ngZone=s,this._config=d,this._scrollSubscription=null}attach(a){this._overlayRef=a}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const i=this._overlayRef.overlayElement.getBoundingClientRect(),{width:s,height:d}=this._viewportRuler.getViewportSize();tr(i,[{width:s,height:d,bottom:d,right:s,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let Jr=(()=>{class l{constructor(i,s,d,p){this._scrollDispatcher=i,this._viewportRuler=s,this._ngZone=d,this.noop=()=>new Zr,this.close=b=>new vr(this._scrollDispatcher,this._ngZone,this._viewportRuler,b),this.block=()=>new Ys(this._viewportRuler,this._document),this.reposition=b=>new yr(this._scrollDispatcher,this._viewportRuler,this._ngZone,b),this._document=p}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(Di.mF),o.LFG(Di.rL),o.LFG(o.R0b),o.LFG(te.K0))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();class nr{constructor(a){if(this.scrollStrategy=new Zr,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,a){const i=Object.keys(a);for(const s of i)void 0!==a[s]&&(this[s]=a[s])}}}class Xt{constructor(a,i){this.connectionPair=a,this.scrollableViewProperties=i}}let Ji=(()=>{class l{constructor(i){this._attachedOverlays=[],this._document=i}ngOnDestroy(){this.detach()}add(i){this.remove(i),this._attachedOverlays.push(i)}remove(i){const s=this._attachedOverlays.indexOf(i);s>-1&&this._attachedOverlays.splice(s,1),0===this._attachedOverlays.length&&this.detach()}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(te.K0))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),ri=(()=>{class l extends Ji{constructor(i,s){super(i),this._ngZone=s,this._keydownListener=d=>{const p=this._attachedOverlays;for(let b=p.length-1;b>-1;b--)if(p[b]._keydownEvents.observers.length>0){const S=p[b]._keydownEvents;this._ngZone?this._ngZone.run(()=>S.next(d)):S.next(d);break}}}add(i){super.add(i),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(te.K0),o.LFG(o.R0b,8))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),Bo=(()=>{class l extends Ji{constructor(i,s,d){super(i),this._platform=s,this._ngZone=d,this._cursorStyleIsSet=!1,this._pointerDownListener=p=>{this._pointerDownEventTarget=(0,ii.sA)(p)},this._clickListener=p=>{const b=(0,ii.sA)(p),S="click"===p.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:b;this._pointerDownEventTarget=null;const ee=this._attachedOverlays.slice();for(let Te=ee.length-1;Te>-1;Te--){const Le=ee[Te];if(Le._outsidePointerEvents.observers.length<1||!Le.hasAttached())continue;if(Le.overlayElement.contains(b)||Le.overlayElement.contains(S))break;const nt=Le._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>nt.next(p)):nt.next(p)}}}add(i){if(super.add(i),!this._isAttached){const s=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(s)):this._addEventListeners(s),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=s.style.cursor,s.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const i=this._document.body;i.removeEventListener("pointerdown",this._pointerDownListener,!0),i.removeEventListener("click",this._clickListener,!0),i.removeEventListener("auxclick",this._clickListener,!0),i.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(i.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(i){i.addEventListener("pointerdown",this._pointerDownListener,!0),i.addEventListener("click",this._clickListener,!0),i.addEventListener("auxclick",this._clickListener,!0),i.addEventListener("contextmenu",this._clickListener,!0)}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(te.K0),o.LFG(ii.t4),o.LFG(o.R0b,8))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),$o=(()=>{class l{constructor(i,s){this._platform=s,this._document=i}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const i="cdk-overlay-container";if(this._platform.isBrowser||(0,ii.Oy)()){const d=this._document.querySelectorAll(`.${i}[platform="server"], .${i}[platform="test"]`);for(let p=0;p<d.length;p++)d[p].remove()}const s=this._document.createElement("div");s.classList.add(i),(0,ii.Oy)()?s.setAttribute("platform","test"):this._platform.isBrowser||s.setAttribute("platform","server"),this._document.body.appendChild(s),this._containerElement=s}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(te.K0),o.LFG(ii.t4))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();class Ei{constructor(a,i,s,d,p,b,S,ee,Te,Le=!1){this._portalOutlet=a,this._host=i,this._pane=s,this._config=d,this._ngZone=p,this._keyboardDispatcher=b,this._document=S,this._location=ee,this._outsideClickDispatcher=Te,this._animationsDisabled=Le,this._backdropElement=null,this._backdropClick=new z.x,this._attachments=new z.x,this._detachments=new z.x,this._locationChanges=qi.w0.EMPTY,this._backdropClickHandler=nt=>this._backdropClick.next(nt),this._backdropTransitionendHandler=nt=>{this._disposeBackdrop(nt.target)},this._keydownEvents=new z.x,this._outsidePointerEvents=new z.x,d.scrollStrategy&&(this._scrollStrategy=d.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=d.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(a){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const i=this._portalOutlet.attach(a);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,W.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof i?.onDestroy&&i.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),i}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const a=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),a}dispose(){const a=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._previousHostParent=this._pane=this._host=null,a&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(a){a!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=a,this.hasAttached()&&(a.attach(this),this.updatePosition()))}updateSize(a){this._config={...this._config,...a},this._updateElementSize()}setDirection(a){this._config={...this._config,direction:a},this._updateElementDirection()}addPanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!0)}removePanelClass(a){this._pane&&this._toggleClasses(this._pane,a,!1)}getDirection(){const a=this._config.direction;return a?"string"==typeof a?a:a.value:"ltr"}updateScrollStrategy(a){a!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=a,this.hasAttached()&&(a.attach(this),a.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const a=this._pane.style;a.width=(0,se.HM)(this._config.width),a.height=(0,se.HM)(this._config.height),a.minWidth=(0,se.HM)(this._config.minWidth),a.minHeight=(0,se.HM)(this._config.minHeight),a.maxWidth=(0,se.HM)(this._config.maxWidth),a.maxHeight=(0,se.HM)(this._config.maxHeight)}_togglePointerEvents(a){this._pane.style.pointerEvents=a?"":"none"}_attachBackdrop(){const a="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._animationsDisabled&&this._backdropElement.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(a)})}):this._backdropElement.classList.add(a)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const a=this._backdropElement;if(a){if(this._animationsDisabled)return void this._disposeBackdrop(a);a.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{a.addEventListener("transitionend",this._backdropTransitionendHandler)}),a.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(a)},500))}}_toggleClasses(a,i,s){const d=(0,se.Eq)(i||[]).filter(p=>!!p);d.length&&(s?a.classList.add(...d):a.classList.remove(...d))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const a=this._ngZone.onStable.pipe((0,ne.R)((0,j.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),a.unsubscribe())})})}_disposeScrollStrategy(){const a=this._scrollStrategy;a&&(a.disable(),a.detach&&a.detach())}_disposeBackdrop(a){a&&(a.removeEventListener("click",this._backdropClickHandler),a.removeEventListener("transitionend",this._backdropTransitionendHandler),a.remove(),this._backdropElement===a&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const Xr="cdk-overlay-connected-position-bounding-box",xr=/([A-Za-z%]+)$/;class _n{get positions(){return this._preferredPositions}constructor(a,i,s,d,p){this._viewportRuler=i,this._document=s,this._platform=d,this._overlayContainer=p,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new z.x,this._resizeSubscription=qi.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(a)}attach(a){this._validatePositions(),a.hostElement.classList.add(Xr),this._overlayRef=a,this._boundingBox=a.hostElement,this._pane=a.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const a=this._originRect,i=this._overlayRect,s=this._viewportRect,d=this._containerRect,p=[];let b;for(let S of this._preferredPositions){let ee=this._getOriginPoint(a,d,S),Te=this._getOverlayPoint(ee,i,S),Le=this._getOverlayFit(Te,i,s,S);if(Le.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(S,ee);this._canFitWithFlexibleDimensions(Le,Te,s)?p.push({position:S,origin:ee,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(ee,S)}):(!b||b.overlayFit.visibleArea<Le.visibleArea)&&(b={overlayFit:Le,overlayPoint:Te,originPoint:ee,position:S,overlayRect:i})}if(p.length){let S=null,ee=-1;for(const Te of p){const Le=Te.boundingBoxRect.width*Te.boundingBoxRect.height*(Te.position.weight||1);Le>ee&&(ee=Le,S=Te)}return this._isPushed=!1,void this._applyPosition(S.position,S.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(b.position,b.originPoint);this._applyPosition(b.position,b.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&vt(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Xr),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const a=this._lastPosition;if(a){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const i=this._getOriginPoint(this._originRect,this._containerRect,a);this._applyPosition(a,i)}else this.apply()}withScrollableContainers(a){return this._scrollables=a,this}withPositions(a){return this._preferredPositions=a,-1===a.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(a){return this._viewportMargin=a,this}withFlexibleDimensions(a=!0){return this._hasFlexibleDimensions=a,this}withGrowAfterOpen(a=!0){return this._growAfterOpen=a,this}withPush(a=!0){return this._canPush=a,this}withLockedPosition(a=!0){return this._positionLocked=a,this}setOrigin(a){return this._origin=a,this}withDefaultOffsetX(a){return this._offsetX=a,this}withDefaultOffsetY(a){return this._offsetY=a,this}withTransformOriginOn(a){return this._transformOriginSelector=a,this}_getOriginPoint(a,i,s){let d,p;if("center"==s.originX)d=a.left+a.width/2;else{const b=this._isRtl()?a.right:a.left,S=this._isRtl()?a.left:a.right;d="start"==s.originX?b:S}return i.left<0&&(d-=i.left),p="center"==s.originY?a.top+a.height/2:"top"==s.originY?a.top:a.bottom,i.top<0&&(p-=i.top),{x:d,y:p}}_getOverlayPoint(a,i,s){let d,p;return d="center"==s.overlayX?-i.width/2:"start"===s.overlayX?this._isRtl()?-i.width:0:this._isRtl()?0:-i.width,p="center"==s.overlayY?-i.height/2:"top"==s.overlayY?0:-i.height,{x:a.x+d,y:a.y+p}}_getOverlayFit(a,i,s,d){const p=pn(i);let{x:b,y:S}=a,ee=this._getOffset(d,"x"),Te=this._getOffset(d,"y");ee&&(b+=ee),Te&&(S+=Te);let _t=0-S,Dt=S+p.height-s.height,Mt=this._subtractOverflows(p.width,0-b,b+p.width-s.width),At=this._subtractOverflows(p.height,_t,Dt),Yt=Mt*At;return{visibleArea:Yt,isCompletelyWithinViewport:p.width*p.height===Yt,fitsInViewportVertically:At===p.height,fitsInViewportHorizontally:Mt==p.width}}_canFitWithFlexibleDimensions(a,i,s){if(this._hasFlexibleDimensions){const d=s.bottom-i.y,p=s.right-i.x,b=zt(this._overlayRef.getConfig().minHeight),S=zt(this._overlayRef.getConfig().minWidth);return(a.fitsInViewportVertically||null!=b&&b<=d)&&(a.fitsInViewportHorizontally||null!=S&&S<=p)}return!1}_pushOverlayOnScreen(a,i,s){if(this._previousPushAmount&&this._positionLocked)return{x:a.x+this._previousPushAmount.x,y:a.y+this._previousPushAmount.y};const d=pn(i),p=this._viewportRect,b=Math.max(a.x+d.width-p.width,0),S=Math.max(a.y+d.height-p.height,0),ee=Math.max(p.top-s.top-a.y,0),Te=Math.max(p.left-s.left-a.x,0);let Le=0,nt=0;return Le=d.width<=p.width?Te||-b:a.x<this._viewportMargin?p.left-s.left-a.x:0,nt=d.height<=p.height?ee||-S:a.y<this._viewportMargin?p.top-s.top-a.y:0,this._previousPushAmount={x:Le,y:nt},{x:a.x+Le,y:a.y+nt}}_applyPosition(a,i){if(this._setTransformOrigin(a),this._setOverlayElementStyles(i,a),this._setBoundingBoxStyles(i,a),a.panelClass&&this._addPanelClasses(a.panelClass),this._lastPosition=a,this._positionChanges.observers.length){const s=this._getScrollVisibility(),d=new Xt(a,s);this._positionChanges.next(d)}this._isInitialRender=!1}_setTransformOrigin(a){if(!this._transformOriginSelector)return;const i=this._boundingBox.querySelectorAll(this._transformOriginSelector);let s,d=a.overlayY;s="center"===a.overlayX?"center":this._isRtl()?"start"===a.overlayX?"right":"left":"start"===a.overlayX?"left":"right";for(let p=0;p<i.length;p++)i[p].style.transformOrigin=`${s} ${d}`}_calculateBoundingBoxRect(a,i){const s=this._viewportRect,d=this._isRtl();let p,b,S,Le,nt,_t;if("top"===i.overlayY)b=a.y,p=s.height-b+this._viewportMargin;else if("bottom"===i.overlayY)S=s.height-a.y+2*this._viewportMargin,p=s.height-S+this._viewportMargin;else{const Dt=Math.min(s.bottom-a.y+s.top,a.y),Mt=this._lastBoundingBoxSize.height;p=2*Dt,b=a.y-Dt,p>Mt&&!this._isInitialRender&&!this._growAfterOpen&&(b=a.y-Mt/2)}if("end"===i.overlayX&&!d||"start"===i.overlayX&&d)_t=s.width-a.x+this._viewportMargin,Le=a.x-this._viewportMargin;else if("start"===i.overlayX&&!d||"end"===i.overlayX&&d)nt=a.x,Le=s.right-a.x;else{const Dt=Math.min(s.right-a.x+s.left,a.x),Mt=this._lastBoundingBoxSize.width;Le=2*Dt,nt=a.x-Dt,Le>Mt&&!this._isInitialRender&&!this._growAfterOpen&&(nt=a.x-Mt/2)}return{top:b,left:nt,bottom:S,right:_t,width:Le,height:p}}_setBoundingBoxStyles(a,i){const s=this._calculateBoundingBoxRect(a,i);!this._isInitialRender&&!this._growAfterOpen&&(s.height=Math.min(s.height,this._lastBoundingBoxSize.height),s.width=Math.min(s.width,this._lastBoundingBoxSize.width));const d={};if(this._hasExactPosition())d.top=d.left="0",d.bottom=d.right=d.maxHeight=d.maxWidth="",d.width=d.height="100%";else{const p=this._overlayRef.getConfig().maxHeight,b=this._overlayRef.getConfig().maxWidth;d.height=(0,se.HM)(s.height),d.top=(0,se.HM)(s.top),d.bottom=(0,se.HM)(s.bottom),d.width=(0,se.HM)(s.width),d.left=(0,se.HM)(s.left),d.right=(0,se.HM)(s.right),d.alignItems="center"===i.overlayX?"center":"end"===i.overlayX?"flex-end":"flex-start",d.justifyContent="center"===i.overlayY?"center":"bottom"===i.overlayY?"flex-end":"flex-start",p&&(d.maxHeight=(0,se.HM)(p)),b&&(d.maxWidth=(0,se.HM)(b))}this._lastBoundingBoxSize=s,vt(this._boundingBox.style,d)}_resetBoundingBoxStyles(){vt(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){vt(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(a,i){const s={},d=this._hasExactPosition(),p=this._hasFlexibleDimensions,b=this._overlayRef.getConfig();if(d){const Le=this._viewportRuler.getViewportScrollPosition();vt(s,this._getExactOverlayY(i,a,Le)),vt(s,this._getExactOverlayX(i,a,Le))}else s.position="static";let S="",ee=this._getOffset(i,"x"),Te=this._getOffset(i,"y");ee&&(S+=`translateX(${ee}px) `),Te&&(S+=`translateY(${Te}px)`),s.transform=S.trim(),b.maxHeight&&(d?s.maxHeight=(0,se.HM)(b.maxHeight):p&&(s.maxHeight="")),b.maxWidth&&(d?s.maxWidth=(0,se.HM)(b.maxWidth):p&&(s.maxWidth="")),vt(this._pane.style,s)}_getExactOverlayY(a,i,s){let d={top:"",bottom:""},p=this._getOverlayPoint(i,this._overlayRect,a);return this._isPushed&&(p=this._pushOverlayOnScreen(p,this._overlayRect,s)),"bottom"===a.overlayY?d.bottom=this._document.documentElement.clientHeight-(p.y+this._overlayRect.height)+"px":d.top=(0,se.HM)(p.y),d}_getExactOverlayX(a,i,s){let b,d={left:"",right:""},p=this._getOverlayPoint(i,this._overlayRect,a);return this._isPushed&&(p=this._pushOverlayOnScreen(p,this._overlayRect,s)),b=this._isRtl()?"end"===a.overlayX?"left":"right":"end"===a.overlayX?"right":"left","right"===b?d.right=this._document.documentElement.clientWidth-(p.x+this._overlayRect.width)+"px":d.left=(0,se.HM)(p.x),d}_getScrollVisibility(){const a=this._getOriginRect(),i=this._pane.getBoundingClientRect(),s=this._scrollables.map(d=>d.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:qr(a,s),isOriginOutsideView:tr(a,s),isOverlayClipped:qr(i,s),isOverlayOutsideView:tr(i,s)}}_subtractOverflows(a,...i){return i.reduce((s,d)=>s-Math.max(d,0),a)}_getNarrowedViewportRect(){const a=this._document.documentElement.clientWidth,i=this._document.documentElement.clientHeight,s=this._viewportRuler.getViewportScrollPosition();return{top:s.top+this._viewportMargin,left:s.left+this._viewportMargin,right:s.left+a-this._viewportMargin,bottom:s.top+i-this._viewportMargin,width:a-2*this._viewportMargin,height:i-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(a,i){return"x"===i?null==a.offsetX?this._offsetX:a.offsetX:null==a.offsetY?this._offsetY:a.offsetY}_validatePositions(){}_addPanelClasses(a){this._pane&&(0,se.Eq)(a).forEach(i=>{""!==i&&-1===this._appliedPanelClasses.indexOf(i)&&(this._appliedPanelClasses.push(i),this._pane.classList.add(i))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(a=>{this._pane.classList.remove(a)}),this._appliedPanelClasses=[])}_getOriginRect(){const a=this._origin;if(a instanceof o.SBq)return a.nativeElement.getBoundingClientRect();if(a instanceof Element)return a.getBoundingClientRect();const i=a.width||0,s=a.height||0;return{top:a.y,bottom:a.y+s,left:a.x,right:a.x+i,height:s,width:i}}}function vt(l,a){for(let i in a)a.hasOwnProperty(i)&&(l[i]=a[i]);return l}function zt(l){if("number"!=typeof l&&null!=l){const[a,i]=l.split(xr);return i&&"px"!==i?null:parseFloat(a)}return l||null}function pn(l){return{top:Math.floor(l.top),right:Math.floor(l.right),bottom:Math.floor(l.bottom),left:Math.floor(l.left),width:Math.floor(l.width),height:Math.floor(l.height)}}const Bn="cdk-global-overlay-wrapper";class Ho{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(a){const i=a.getConfig();this._overlayRef=a,this._width&&!i.width&&a.updateSize({width:this._width}),this._height&&!i.height&&a.updateSize({height:this._height}),a.hostElement.classList.add(Bn),this._isDisposed=!1}top(a=""){return this._bottomOffset="",this._topOffset=a,this._alignItems="flex-start",this}left(a=""){return this._xOffset=a,this._xPosition="left",this}bottom(a=""){return this._topOffset="",this._bottomOffset=a,this._alignItems="flex-end",this}right(a=""){return this._xOffset=a,this._xPosition="right",this}start(a=""){return this._xOffset=a,this._xPosition="start",this}end(a=""){return this._xOffset=a,this._xPosition="end",this}width(a=""){return this._overlayRef?this._overlayRef.updateSize({width:a}):this._width=a,this}height(a=""){return this._overlayRef?this._overlayRef.updateSize({height:a}):this._height=a,this}centerHorizontally(a=""){return this.left(a),this._xPosition="center",this}centerVertically(a=""){return this.top(a),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const a=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement.style,s=this._overlayRef.getConfig(),{width:d,height:p,maxWidth:b,maxHeight:S}=s,ee=!("100%"!==d&&"100vw"!==d||b&&"100%"!==b&&"100vw"!==b),Te=!("100%"!==p&&"100vh"!==p||S&&"100%"!==S&&"100vh"!==S),Le=this._xPosition,nt=this._xOffset,_t="rtl"===this._overlayRef.getConfig().direction;let Dt="",Mt="",At="";ee?At="flex-start":"center"===Le?(At="center",_t?Mt=nt:Dt=nt):_t?"left"===Le||"end"===Le?(At="flex-end",Dt=nt):("right"===Le||"start"===Le)&&(At="flex-start",Mt=nt):"left"===Le||"start"===Le?(At="flex-start",Dt=nt):("right"===Le||"end"===Le)&&(At="flex-end",Mt=nt),a.position=this._cssPosition,a.marginLeft=ee?"0":Dt,a.marginTop=Te?"0":this._topOffset,a.marginBottom=this._bottomOffset,a.marginRight=ee?"0":Mt,i.justifyContent=At,i.alignItems=Te?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const a=this._overlayRef.overlayElement.style,i=this._overlayRef.hostElement,s=i.style;i.classList.remove(Bn),s.justifyContent=s.alignItems=a.marginTop=a.marginBottom=a.marginLeft=a.marginRight=a.position="",this._overlayRef=null,this._isDisposed=!0}}let En=(()=>{class l{constructor(i,s,d,p){this._viewportRuler=i,this._document=s,this._platform=d,this._overlayContainer=p}global(){return new Ho}flexibleConnectedTo(i){return new _n(i,this._viewportRuler,this._document,this._platform,this._overlayContainer)}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(Di.rL),o.LFG(te.K0),o.LFG(ii.t4),o.LFG($o))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),Mi=0,Gn=(()=>{class l{constructor(i,s,d,p,b,S,ee,Te,Le,nt,_t,Dt){this.scrollStrategies=i,this._overlayContainer=s,this._componentFactoryResolver=d,this._positionBuilder=p,this._keyboardDispatcher=b,this._injector=S,this._ngZone=ee,this._document=Te,this._directionality=Le,this._location=nt,this._outsideClickDispatcher=_t,this._animationsModuleType=Dt}create(i){const s=this._createHostElement(),d=this._createPaneElement(s),p=this._createPortalOutlet(d),b=new nr(i);return b.direction=b.direction||this._directionality.value,new Ei(p,s,d,b,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(i){const s=this._document.createElement("div");return s.id="cdk-overlay-"+Mi++,s.classList.add("cdk-overlay-pane"),i.appendChild(s),s}_createHostElement(){const i=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(i),i}_createPortalOutlet(i){return this._appRef||(this._appRef=this._injector.get(o.z2F)),new oi.u0(i,this._componentFactoryResolver,this._appRef,this._injector,this._document)}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(Jr),o.LFG($o),o.LFG(o._Vd),o.LFG(En),o.LFG(ri),o.LFG(o.zs3),o.LFG(o.R0b),o.LFG(te.K0),o.LFG(B.Is),o.LFG(te.Ye),o.LFG(Bo),o.LFG(o.QbO,8))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();const Ti={provide:new o.OlP("cdk-connected-overlay-scroll-strategy"),deps:[Gn],useFactory:function Mn(l){return()=>l.scrollStrategies.reposition()}};let Qi=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:[Gn,Ti],imports:[B.vT,oi.eL,Di.Cl,Di.Cl]})}return l})();var vo=v(7371),ir=v(8299);function Xi(l){return new vo.y(a=>{(0,ir.Xf)(l()).subscribe(a)})}var ai=v(9627);function yo(l,a){}class bi{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let es=(()=>{class l extends oi.en{constructor(i,s,d,p,b,S,ee,Te){super(),this._elementRef=i,this._focusTrapFactory=s,this._config=p,this._interactivityChecker=b,this._ngZone=S,this._overlayRef=ee,this._focusMonitor=Te,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this.attachDomPortal=Le=>{this._portalOutlet.hasAttached();const nt=this._portalOutlet.attachDomPortal(Le);return this._contentAttached(),nt},this._document=d,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(i){this._portalOutlet.hasAttached();const s=this._portalOutlet.attachComponentPortal(i);return this._contentAttached(),s}attachTemplatePortal(i){this._portalOutlet.hasAttached();const s=this._portalOutlet.attachTemplatePortal(i);return this._contentAttached(),s}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(i,s){this._interactivityChecker.isFocusable(i)||(i.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const d=()=>{i.removeEventListener("blur",d),i.removeEventListener("mousedown",d),i.removeAttribute("tabindex")};i.addEventListener("blur",d),i.addEventListener("mousedown",d)})),i.focus(s)}_focusByCssSelector(i,s){let d=this._elementRef.nativeElement.querySelector(i);d&&this._forceFocus(d,s)}_trapFocus(){const i=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||i.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(s=>{s||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const i=this._config.restoreFocus;let s=null;if("string"==typeof i?s=this._document.querySelector(i):"boolean"==typeof i?s=i?this._elementFocusedBeforeDialogWasOpened:null:i&&(s=i),this._config.restoreFocus&&s&&"function"==typeof s.focus){const d=(0,ii.ht)(),p=this._elementRef.nativeElement;(!d||d===this._document.body||d===p||p.contains(d))&&(this._focusMonitor?(this._focusMonitor.focusVia(s,this._closeInteractionType),this._closeInteractionType=null):s.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const i=this._elementRef.nativeElement,s=(0,ii.ht)();return i===s||i.contains(s)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,ii.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(ce.qV),o.Y36(te.K0,8),o.Y36(bi),o.Y36(ce.ic),o.Y36(o.R0b),o.Y36(Ei),o.Y36(ce.tE))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["cdk-dialog-container"]],viewQuery:function(s,d){if(1&s&&o.Gf(oi.Pl,7),2&s){let p;o.iGM(p=o.CRH())&&(d._portalOutlet=p.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(s,d){2&s&&o.uIk("id",d._config.id||null)("role",d._config.role)("aria-modal",d._config.ariaModal)("aria-labelledby",d._config.ariaLabel?null:d._ariaLabelledByQueue[0])("aria-label",d._config.ariaLabel)("aria-describedby",d._config.ariaDescribedBy||null)},features:[o.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(s,d){1&s&&o.YNc(0,yo,0,0,"ng-template",0)},dependencies:[oi.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2})}return l})();class Vo{constructor(a,i){this.overlayRef=a,this.config=i,this.closed=new z.x,this.disableClose=i.disableClose,this.backdropClick=a.backdropClick(),this.keydownEvents=a.keydownEvents(),this.outsidePointerEvents=a.outsidePointerEvents(),this.id=i.id,this.keydownEvents.subscribe(s=>{s.keyCode===ge.hY&&!this.disableClose&&!(0,ge.Vb)(s)&&(s.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=a.detachments().subscribe(()=>{!1!==i.closeOnOverlayDetachments&&this.close()})}close(a,i){if(this.containerInstance){const s=this.closed;this.containerInstance._closeInteractionType=i?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),s.next(a),s.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(a="",i=""){return this.overlayRef.updateSize({width:a,height:i}),this}addPanelClass(a){return this.overlayRef.addPanelClass(a),this}removePanelClass(a){return this.overlayRef.removePanelClass(a),this}}const or=new o.OlP("DialogScrollStrategy"),ci=new o.OlP("DialogData"),jo=new o.OlP("DefaultDialogConfig"),xo={provide:or,deps:[Gn],useFactory:function Uo(l){return()=>l.scrollStrategies.block()}};let jn=0,wl=(()=>{class l{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(i,s,d,p,b,S){this._overlay=i,this._injector=s,this._defaultOptions=d,this._parentDialog=p,this._overlayContainer=b,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new z.x,this._afterOpenedAtThisLevel=new z.x,this._ariaHiddenElements=new Map,this.afterAllClosed=Xi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,le.O)(void 0))),this._scrollStrategy=S}open(i,s){(s={...this._defaultOptions||new bi,...s}).id=s.id||"cdk-dialog-"+jn++,s.id&&this.getDialogById(s.id);const p=this._getOverlayConfig(s),b=this._overlay.create(p),S=new Vo(b,s),ee=this._attachContainer(b,S,s);return S.containerInstance=ee,this._attachDialogContent(i,S,ee,s),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(S),S.closed.subscribe(()=>this._removeOpenDialog(S,!0)),this.afterOpened.next(S),S}closeAll(){Jn(this.openDialogs,i=>i.close())}getDialogById(i){return this.openDialogs.find(s=>s.id===i)}ngOnDestroy(){Jn(this._openDialogsAtThisLevel,i=>{!1===i.config.closeOnDestroy&&this._removeOpenDialog(i,!1)}),Jn(this._openDialogsAtThisLevel,i=>i.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(i){const s=new nr({positionStrategy:i.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:i.scrollStrategy||this._scrollStrategy(),panelClass:i.panelClass,hasBackdrop:i.hasBackdrop,direction:i.direction,minWidth:i.minWidth,minHeight:i.minHeight,maxWidth:i.maxWidth,maxHeight:i.maxHeight,width:i.width,height:i.height,disposeOnNavigation:i.closeOnNavigation});return i.backdropClass&&(s.backdropClass=i.backdropClass),s}_attachContainer(i,s,d){const p=d.injector||d.viewContainerRef?.injector,b=[{provide:bi,useValue:d},{provide:Vo,useValue:s},{provide:Ei,useValue:i}];let S;d.container?"function"==typeof d.container?S=d.container:(S=d.container.type,b.push(...d.container.providers(d))):S=es;const ee=new oi.C5(S,d.viewContainerRef,o.zs3.create({parent:p||this._injector,providers:b}),d.componentFactoryResolver);return i.attach(ee).instance}_attachDialogContent(i,s,d,p){if(i instanceof o.Rgc){const b=this._createInjector(p,s,d,void 0);let S={$implicit:p.data,dialogRef:s};p.templateContext&&(S={...S,..."function"==typeof p.templateContext?p.templateContext():p.templateContext}),d.attachTemplatePortal(new oi.UE(i,null,S,b))}else{const b=this._createInjector(p,s,d,this._injector),S=d.attachComponentPortal(new oi.C5(i,p.viewContainerRef,b,p.componentFactoryResolver));s.componentRef=S,s.componentInstance=S.instance}}_createInjector(i,s,d,p){const b=i.injector||i.viewContainerRef?.injector,S=[{provide:ci,useValue:i.data},{provide:Vo,useValue:s}];return i.providers&&("function"==typeof i.providers?S.push(...i.providers(s,i,d)):S.push(...i.providers)),i.direction&&(!b||!b.get(B.Is,null,{optional:!0}))&&S.push({provide:B.Is,useValue:{value:i.direction,change:(0,ai.of)()}}),o.zs3.create({parent:b||p,providers:S})}_removeOpenDialog(i,s){const d=this.openDialogs.indexOf(i);d>-1&&(this.openDialogs.splice(d,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((p,b)=>{p?b.setAttribute("aria-hidden",p):b.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),s&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const i=this._overlayContainer.getContainerElement();if(i.parentElement){const s=i.parentElement.children;for(let d=s.length-1;d>-1;d--){const p=s[d];p!==i&&"SCRIPT"!==p.nodeName&&"STYLE"!==p.nodeName&&!p.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(p,p.getAttribute("aria-hidden")),p.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const i=this._parentDialog;return i?i._getAfterAllClosed():this._afterAllClosedAtThisLevel}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(Gn),o.LFG(o.zs3),o.LFG(jo,8),o.LFG(l,12),o.LFG($o),o.LFG(or))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac})}return l})();function Jn(l,a){let i=l.length;for(;i--;)a(l[i])}let Un=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:[wl,xo],imports:[Qi,oi.eL,ce.rt,oi.eL]})}return l})();function wr(l,a){}class Vi{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const rr="mdc-dialog--open",Ai="mdc-dialog--opening",Cr="mdc-dialog--closing";let nu=(()=>{class l extends es{constructor(i,s,d,p,b,S,ee,Te){super(i,s,d,p,b,S,ee,Te),this._animationStateChanged=new o.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(i){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:i})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(ce.qV),o.Y36(te.K0,8),o.Y36(Vi),o.Y36(ce.ic),o.Y36(o.R0b),o.Y36(Ei),o.Y36(ce.tE))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["ng-component"]],features:[o.qOj],decls:0,vars:0,template:function(s,d){},encapsulation:2})}return l})();const qs="--mat-dialog-transition-duration";function ts(l){return null==l?null:"number"==typeof l?l:l.endsWith("ms")?(0,se.su)(l.substring(0,l.length-2)):l.endsWith("s")?1e3*(0,se.su)(l.substring(0,l.length-1)):"0"===l?0:null}let D=(()=>{class l extends nu{constructor(i,s,d,p,b,S,ee,Te,Le){super(i,s,d,p,b,S,ee,Le),this._animationMode=Te,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?ts(this._config.enterAnimationDuration)??150:0,this._exitAnimationDuration=this._animationsEnabled?ts(this._config.exitAnimationDuration)??75:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(qs,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Ai,rr)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(rr),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(rr),this._animationsEnabled?(this._hostElement.style.setProperty(qs,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(Cr)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(Ai,Cr)}_waitForAnimationToComplete(i,s){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(s,i)}_requestAnimationFrame(i){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(i):i()})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(ce.qV),o.Y36(te.K0,8),o.Y36(Vi),o.Y36(ce.ic),o.Y36(o.R0b),o.Y36(Ei),o.Y36(o.QbO,8),o.Y36(ce.tE))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(s,d){2&s&&(o.Ikx("id",d._config.id),o.uIk("aria-modal",d._config.ariaModal)("role",d._config.role)("aria-labelledby",d._config.ariaLabel?null:d._ariaLabelledByQueue[0])("aria-label",d._config.ariaLabel)("aria-describedby",d._config.ariaDescribedBy||null),o.ekj("_mat-animation-noopable",!d._animationsEnabled))},features:[o.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(s,d){1&s&&(o.TgZ(0,"div",0)(1,"div",1),o.YNc(2,wr,0,0,"ng-template",2),o.qZA()())},dependencies:[oi.Pl],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;transform:scale(0.8);opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{display:block;width:100%;height:100%}.mat-mdc-dialog-container{--mdc-dialog-container-elevation-shadow:0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12);--mdc-dialog-container-shadow-color:#000;--mdc-dialog-container-shape:4px;--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2})}return l})();class T{constructor(a,i,s){this._ref=a,this._containerInstance=s,this._afterOpened=new z.x,this._beforeClosed=new z.x,this._state=0,this.disableClose=i.disableClose,this.id=a.id,s._animationStateChanged.pipe((0,$i.h)(d=>"opened"===d.state),(0,W.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),s._animationStateChanged.pipe((0,$i.h)(d=>"closed"===d.state),(0,W.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),a.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,j.T)(this.backdropClick(),this.keydownEvents().pipe((0,$i.h)(d=>d.keyCode===ge.hY&&!this.disableClose&&!(0,ge.Vb)(d)))).subscribe(d=>{this.disableClose||(d.preventDefault(),y(this,"keydown"===d.type?"keyboard":"mouse"))})}close(a){this._result=a,this._containerInstance._animationStateChanged.pipe((0,$i.h)(i=>"closing"===i.state),(0,W.q)(1)).subscribe(i=>{this._beforeClosed.next(a),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),i.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(a){let i=this._ref.config.positionStrategy;return a&&(a.left||a.right)?a.left?i.left(a.left):i.right(a.right):i.centerHorizontally(),a&&(a.top||a.bottom)?a.top?i.top(a.top):i.bottom(a.bottom):i.centerVertically(),this._ref.updatePosition(),this}updateSize(a="",i=""){return this._ref.updateSize(a,i),this}addPanelClass(a){return this._ref.addPanelClass(a),this}removePanelClass(a){return this._ref.removePanelClass(a),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function y(l,a,i){return l._closeInteractionType=a,l.close(i)}const $=new o.OlP("MatMdcDialogData"),Ce=new o.OlP("mat-mdc-dialog-default-options"),Pt=new o.OlP("mat-mdc-dialog-scroll-strategy"),uo={provide:Pt,deps:[Gn],useFactory:function Qt(l){return()=>l.scrollStrategies.block()}};let Qs=0,Cf=(()=>{class l{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const i=this._parentDialog;return i?i._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(i,s,d,p,b,S,ee,Te,Le,nt){this._overlay=i,this._defaultOptions=d,this._parentDialog=p,this._dialogRefConstructor=ee,this._dialogContainerType=Te,this._dialogDataToken=Le,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new z.x,this._afterOpenedAtThisLevel=new z.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=Vi,this.afterAllClosed=Xi(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,le.O)(void 0))),this._scrollStrategy=S,this._dialog=s.get(wl)}open(i,s){let d;(s={...this._defaultOptions||new Vi,...s}).id=s.id||`${this._idPrefix}${Qs++}`,s.scrollStrategy=s.scrollStrategy||this._scrollStrategy();const p=this._dialog.open(i,{...s,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:s},{provide:bi,useValue:s}]},templateContext:()=>({dialogRef:d}),providers:(b,S,ee)=>(d=new this._dialogRefConstructor(b,s,ee),d.updatePosition(s?.position),[{provide:this._dialogContainerType,useValue:ee},{provide:this._dialogDataToken,useValue:S.data},{provide:this._dialogRefConstructor,useValue:d}])});return d.componentRef=p.componentRef,d.componentInstance=p.componentInstance,this.openDialogs.push(d),this.afterOpened.next(d),d.afterClosed().subscribe(()=>{const b=this.openDialogs.indexOf(d);b>-1&&(this.openDialogs.splice(b,1),this.openDialogs.length||this._getAfterAllClosed().next())}),d}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(i){return this.openDialogs.find(s=>s.id===i)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(i){let s=i.length;for(;s--;)i[s].close()}static#e=this.\u0275fac=function(s){o.$Z()};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac})}return l})(),ns=(()=>{class l extends Cf{constructor(i,s,d,p,b,S,ee,Te){super(i,s,p,S,ee,b,T,D,$,Te),this._idPrefix="mat-mdc-dialog-"}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(Gn),o.LFG(o.zs3),o.LFG(te.Ye,8),o.LFG(Ce,8),o.LFG(Pt),o.LFG(l,12),o.LFG($o),o.LFG(o.QbO,8))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac})}return l})(),Qa=0,Xa=(()=>{class l{constructor(i,s,d){this.dialogRef=i,this._elementRef=s,this._dialog=d,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=wo(this._elementRef,this._dialog.openDialogs))}ngOnChanges(i){const s=i._matDialogClose||i._matDialogCloseResult;s&&(this.dialogResult=s.currentValue)}_onButtonClick(i){y(this.dialogRef,0===i.screenX&&0===i.screenY?"keyboard":"mouse",this.dialogResult)}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(T,8),o.Y36(o.SBq),o.Y36(ns))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(s,d){1&s&&o.NdJ("click",function(b){return d._onButtonClick(b)}),2&s&&o.uIk("aria-label",d.ariaLabel||null)("type",d.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[o.TTD]})}return l})(),Df=(()=>{class l{constructor(i,s,d){this._dialogRef=i,this._elementRef=s,this._dialog=d,this.id="mat-mdc-dialog-title-"+Qa++}ngOnInit(){this._dialogRef||(this._dialogRef=wo(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._dialogRef._containerInstance?._ariaLabelledByQueue?.push(this.id)})}ngOnDestroy(){const i=this._dialogRef?._containerInstance?._ariaLabelledByQueue;i&&Promise.resolve().then(()=>{const s=i.indexOf(this.id);s>-1&&i.splice(s,1)})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(T,8),o.Y36(o.SBq),o.Y36(ns))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(s,d){2&s&&o.Ikx("id",d.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]})}return l})();function wo(l,a){let i=l.nativeElement.parentElement;for(;i&&!i.classList.contains("mat-mdc-dialog-container");)i=i.parentElement;return i?a.find(s=>s.id===i.id):null}let Co=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:[ns,uo],imports:[Un,Qi,oi.eL,de.BQ,de.BQ]})}return l})();var On=v(2836),is=v(4453),vi=v(6589),ta=v(9925),na=v(4049),ia=v(2829),ec=v(1952),Cl=v(8412),nc=v(5123);function ic(l,a){return a?i=>(0,ta.z)(a.pipe((0,W.q)(1),function os(){return(0,na.e)((l,a)=>{l.subscribe((0,ia.x)(a,ec.Z))})}()),i.pipe(ic(l))):(0,nc.z)((i,s)=>(0,ir.Xf)(l(i,s)).pipe((0,W.q)(1),function tc(l){return(0,Cl.U)(()=>l)}(i)))}var Dl=v(5117);function oc(l,a=vi.z){const i=(0,Dl.H)(l,a);return ic(()=>i)}const oa=["mat-menu-item",""];function rs(l,a){1&l&&(o.O4$(),o.TgZ(0,"svg",3),o._UZ(1,"polygon",4),o.qZA())}const sr=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],El=["mat-icon, [matMenuItemIcon]","*"];function ou(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"div",0),o.NdJ("keydown",function(d){o.CHM(i);const p=o.oxw();return o.KtG(p._handleKeydown(d))})("click",function(){o.CHM(i);const d=o.oxw();return o.KtG(d.closed.emit("click"))})("@transformMenu.start",function(d){o.CHM(i);const p=o.oxw();return o.KtG(p._onAnimationStart(d))})("@transformMenu.done",function(d){o.CHM(i);const p=o.oxw();return o.KtG(p._onAnimationDone(d))}),o.TgZ(1,"div",1),o.Hsn(2),o.qZA()()}if(2&l){const i=o.oxw();o.Q6J("id",i.panelId)("ngClass",i._classList)("@transformMenu",i._panelAnimationState),o.uIk("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}const ru=["*"],Ml=new o.OlP("MAT_MENU_PANEL"),su=(0,de.Kr)((0,de.Id)(class{}));let ra=(()=>{class l extends su{constructor(i,s,d,p,b){super(),this._elementRef=i,this._document=s,this._focusMonitor=d,this._parentMenu=p,this._changeDetectorRef=b,this.role="menuitem",this._hovered=new z.x,this._focused=new z.x,this._highlighted=!1,this._triggersSubmenu=!1,p?.addItem?.(this)}focus(i,s){this._focusMonitor&&i?this._focusMonitor.focusVia(this._getHostElement(),i,s):this._getHostElement().focus(s),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(i){this.disabled&&(i.preventDefault(),i.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const i=this._elementRef.nativeElement.cloneNode(!0),s=i.querySelectorAll("mat-icon, .material-icons");for(let d=0;d<s.length;d++)s[d].remove();return i.textContent?.trim()||""}_setHighlighted(i){this._highlighted=i,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(i){this._triggersSubmenu=i,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(te.K0),o.Y36(ce.tE),o.Y36(Ml,8),o.Y36(o.sBO))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator"],hostVars:8,hostBindings:function(s,d){1&s&&o.NdJ("click",function(b){return d._checkDisabled(b)})("mouseenter",function(){return d._handleMouseEnter()}),2&s&&(o.uIk("role",d.role)("tabindex",d._getTabIndex())("aria-disabled",d.disabled)("disabled",d.disabled||null),o.ekj("mat-mdc-menu-item-highlighted",d._highlighted)("mat-mdc-menu-item-submenu-trigger",d._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[o.qOj],attrs:oa,ngContentSelectors:El,decls:5,vars:3,consts:[[1,"mat-mdc-menu-item-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false","aria-hidden","true",4,"ngIf"],["viewBox","0 0 5 10","focusable","false","aria-hidden","true",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(s,d){1&s&&(o.F$t(sr),o.Hsn(0),o.TgZ(1,"span",0),o.Hsn(2,1),o.qZA(),o._UZ(3,"div",1),o.YNc(4,rs,2,0,"svg",2)),2&s&&(o.xp6(3),o.Q6J("matRippleDisabled",d.disableRipple||d.disabled)("matRippleTrigger",d._getHostElement()),o.xp6(1),o.Q6J("ngIf",d._triggersSubmenu))},dependencies:[te.O5,de.wG],encapsulation:2,changeDetection:0})}return l})();const cu=new o.OlP("MatMenuContent"),rc={transformMenu:(0,Z.X$)("transformMenu",[(0,Z.SB)("void",(0,Z.oB)({opacity:0,transform:"scale(0.8)"})),(0,Z.eR)("void => enter",(0,Z.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,Z.oB)({opacity:1,transform:"scale(1)"}))),(0,Z.eR)("* => void",(0,Z.jt)("100ms 25ms linear",(0,Z.oB)({opacity:0})))]),fadeInItems:(0,Z.X$)("fadeInItems",[(0,Z.SB)("showing",(0,Z.oB)({opacity:1})),(0,Z.eR)("void => *",[(0,Z.oB)({opacity:0}),(0,Z.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let g=0;const I=new o.OlP("mat-menu-default-options",{providedIn:"root",factory:function x(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let A=(()=>{class l{get xPosition(){return this._xPosition}set xPosition(i){this._xPosition=i,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(i){this._yPosition=i,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(i){this._overlapTrigger=(0,se.Ig)(i)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(i){this._hasBackdrop=(0,se.Ig)(i)}set panelClass(i){const s=this._previousPanelClass;s&&s.length&&s.split(" ").forEach(d=>{this._classList[d]=!1}),this._previousPanelClass=i,i&&i.length&&(i.split(" ").forEach(d=>{this._classList[d]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(i){this.panelClass=i}constructor(i,s,d,p){this._elementRef=i,this._ngZone=s,this._changeDetectorRef=p,this._directDescendantItems=new o.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new z.x,this.closed=new o.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+g++,this.overlayPanelClass=d.overlayPanelClass||"",this._xPosition=d.xPosition,this._yPosition=d.yPosition,this.backdropClass=d.backdropClass,this._overlapTrigger=d.overlapTrigger,this._hasBackdrop=d.hasBackdrop}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new ce.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,le.O)(this._directDescendantItems),(0,ie.w)(i=>(0,j.T)(...i.map(s=>s._focused)))).subscribe(i=>this._keyManager.updateActiveItem(i)),this._directDescendantItems.changes.subscribe(i=>{const s=this._keyManager;if("enter"===this._panelAnimationState&&s.activeItem?._hasFocus()){const d=i.toArray(),p=Math.max(0,Math.min(d.length-1,s.activeItemIndex||0));d[p]&&!d[p].disabled?s.setActiveItem(p):s.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,le.O)(this._directDescendantItems),(0,ie.w)(s=>(0,j.T)(...s.map(d=>d._hovered))))}addItem(i){}removeItem(i){}_handleKeydown(i){const s=i.keyCode,d=this._keyManager;switch(s){case ge.hY:(0,ge.Vb)(i)||(i.preventDefault(),this.closed.emit("keydown"));break;case ge.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case ge.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(s===ge.LH||s===ge.JH)&&d.setFocusOrigin("keyboard"),void d.onKeydown(i)}i.stopPropagation()}focusFirstItem(i="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,W.q)(1)).subscribe(()=>{let s=null;if(this._directDescendantItems.length&&(s=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!s||!s.contains(document.activeElement)){const d=this._keyManager;d.setFocusOrigin(i).setFirstItemActive(),!d.activeItem&&s&&s.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(i){const s=Math.min(this._baseElevation+i,24),d=`${this._elevationPrefix}${s}`,p=Object.keys(this._classList).find(b=>b.startsWith(this._elevationPrefix));(!p||p===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[d]=!0,this._previousElevation=d)}setPositionClasses(i=this.xPosition,s=this.yPosition){const d=this._classList;d["mat-menu-before"]="before"===i,d["mat-menu-after"]="after"===i,d["mat-menu-above"]="above"===s,d["mat-menu-below"]="below"===s,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(i){this._animationDone.next(i),this._isAnimating=!1}_onAnimationStart(i){this._isAnimating=!0,"enter"===i.toState&&0===this._keyManager.activeItemIndex&&(i.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,le.O)(this._allItems)).subscribe(i=>{this._directDescendantItems.reset(i.filter(s=>s._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(I),o.Y36(o.sBO))};static#t=this.\u0275dir=o.lG2({type:l,contentQueries:function(s,d,p){if(1&s&&(o.Suo(p,cu,5),o.Suo(p,ra,5),o.Suo(p,ra,4)),2&s){let b;o.iGM(b=o.CRH())&&(d.lazyContent=b.first),o.iGM(b=o.CRH())&&(d._allItems=b),o.iGM(b=o.CRH())&&(d.items=b)}},viewQuery:function(s,d){if(1&s&&o.Gf(o.Rgc,5),2&s){let p;o.iGM(p=o.CRH())&&(d.templateRef=p.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}})}return l})(),fe=(()=>{class l extends A{constructor(i,s,d,p){super(i,s,d,p),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.SBq),o.Y36(o.R0b),o.Y36(I),o.Y36(o.sBO))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-menu"]],hostAttrs:["ngSkipHydration",""],hostVars:3,hostBindings:function(s,d){2&s&&o.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[o._Bn([{provide:Ml,useExisting:l}]),o.qOj],ngContentSelectors:ru,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content"]],template:function(s,d){1&s&&(o.F$t(),o.YNc(0,ou,3,6,"ng-template"))},dependencies:[te.mk],styles:['mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.mat-mdc-menu-content,.mat-mdc-menu-content .mat-mdc-menu-item .mat-mdc-menu-item-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;white-space:normal;font-family:var(--mat-menu-item-label-text-font);line-height:var(--mat-menu-item-label-text-line-height);font-size:var(--mat-menu-item-label-text-size);letter-spacing:var(--mat-menu-item-label-text-tracking);font-weight:var(--mat-menu-item-label-text-weight)}.mat-mdc-menu-panel{--mat-menu-container-shape:4px;min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;box-sizing:border-box;outline:0;border-radius:var(--mat-menu-container-shape);background-color:var(--mat-menu-container-color);will-change:transform,opacity}.mat-mdc-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);cursor:pointer;width:100%;text-align:left;box-sizing:border-box;color:inherit;font-size:inherit;background:none;text-decoration:none;margin:0;align-items:center;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item,.mat-mdc-menu-item:visited,.mat-mdc-menu-item:link{color:var(--mat-menu-item-label-text-color)}.mat-mdc-menu-item .mat-icon-no-color,.mat-mdc-menu-item .mat-mdc-menu-submenu-icon{color:var(--mat-menu-item-icon-color)}.mat-mdc-menu-item[disabled]{cursor:default;opacity:.38}.mat-mdc-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.mat-mdc-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-mdc-menu-item:not([disabled]):hover{background-color:var(--mat-menu-item-hover-state-layer-color)}.mat-mdc-menu-item:not([disabled]).cdk-program-focused,.mat-mdc-menu-item:not([disabled]).cdk-keyboard-focused,.mat-mdc-menu-item:not([disabled]).mat-mdc-menu-item-highlighted{background-color:var(--mat-menu-item-focus-state-layer-color)}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-mdc-menu-submenu-icon{fill:CanvasText}.mat-mdc-menu-item .mat-mdc-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[rc.transformMenu,rc.fadeInItems]},changeDetection:0})}return l})();const Je=new o.OlP("mat-menu-scroll-strategy"),It={provide:Je,deps:[Gn],useFactory:function ht(l){return()=>l.scrollStrategies.reposition()}},mn=(0,ii.i$)({passive:!0});let an=(()=>{class l{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(i){this.menu=i}get menu(){return this._menu}set menu(i){i!==this._menu&&(this._menu=i,this._menuCloseSubscription.unsubscribe(),i&&(this._menuCloseSubscription=i.close.subscribe(s=>{this._destroyMenu(s),("click"===s||"tab"===s)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(s)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(i,s,d,p,b,S,ee,Te,Le){this._overlay=i,this._element=s,this._viewContainerRef=d,this._menuItemInstance=S,this._dir=ee,this._focusMonitor=Te,this._ngZone=Le,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=qi.w0.EMPTY,this._hoverSubscription=qi.w0.EMPTY,this._menuCloseSubscription=qi.w0.EMPTY,this._changeDetectorRef=(0,o.f3M)(o.sBO),this._handleTouchStart=nt=>{(0,ce.yG)(nt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new o.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new o.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=p,this._parentMaterialMenu=b instanceof A?b:void 0,s.nativeElement.addEventListener("touchstart",this._handleTouchStart,mn)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,mn),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const i=this.menu;if(this._menuOpen||!i)return;const s=this._createOverlay(i),d=s.getConfig(),p=d.positionStrategy;this._setPosition(i,p),d.hasBackdrop=null==i.hasBackdrop?!this.triggersSubmenu():i.hasBackdrop,s.attach(this._getPortal(i)),i.lazyContent&&i.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(i),i instanceof A&&(i._startAnimation(),i._directDescendantItems.changes.pipe((0,ne.R)(i.close)).subscribe(()=>{p.withLockedPosition(!1).reapplyLastPosition(),p.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(i,s){this._focusMonitor&&i?this._focusMonitor.focusVia(this._element,i,s):this._element.nativeElement.focus(s)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(i){if(!this._overlayRef||!this.menuOpen)return;const s=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===i||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,s instanceof A?(s._resetAnimation(),s.lazyContent?s._animationDone.pipe((0,$i.h)(d=>"void"===d.toState),(0,W.q)(1),(0,ne.R)(s.lazyContent._attached)).subscribe({next:()=>s.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),s?.lazyContent?.detach())}_initMenu(i){i.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,i.direction=this.dir,this._setMenuElevation(i),i.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(i){if(i.setElevation){let s=0,d=i.parentMenu;for(;d;)s++,d=d.parentMenu;i.setElevation(s)}}_setIsMenuOpen(i){i!==this._menuOpen&&(this._menuOpen=i,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(i),this._changeDetectorRef.markForCheck())}_createOverlay(i){if(!this._overlayRef){const s=this._getOverlayConfig(i);this._subscribeToPositions(i,s.positionStrategy),this._overlayRef=this._overlay.create(s),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(i){return new nr({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:i.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:i.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(i,s){i.setPositionClasses&&s.positionChanges.subscribe(d=>{const p="start"===d.connectionPair.overlayX?"after":"before",b="top"===d.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>i.setPositionClasses(p,b)):i.setPositionClasses(p,b)})}_setPosition(i,s){let[d,p]="before"===i.xPosition?["end","start"]:["start","end"],[b,S]="above"===i.yPosition?["bottom","top"]:["top","bottom"],[ee,Te]=[b,S],[Le,nt]=[d,p],_t=0;if(this.triggersSubmenu()){if(nt=d="before"===i.xPosition?"start":"end",p=Le="end"===d?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Dt=this._parentMaterialMenu.items.first;this._parentInnerPadding=Dt?Dt._getHostElement().offsetTop:0}_t="bottom"===b?this._parentInnerPadding:-this._parentInnerPadding}}else i.overlapTrigger||(ee="top"===b?"bottom":"top",Te="top"===S?"bottom":"top");s.withPositions([{originX:d,originY:ee,overlayX:Le,overlayY:b,offsetY:_t},{originX:p,originY:ee,overlayX:nt,overlayY:b,offsetY:_t},{originX:d,originY:Te,overlayX:Le,overlayY:S,offsetY:-_t},{originX:p,originY:Te,overlayX:nt,overlayY:S,offsetY:-_t}])}_menuClosingActions(){const i=this._overlayRef.backdropClick(),s=this._overlayRef.detachments(),d=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,ai.of)(),p=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,$i.h)(b=>b!==this._menuItemInstance),(0,$i.h)(()=>this._menuOpen)):(0,ai.of)();return(0,j.T)(i,d,p,s)}_handleMousedown(i){(0,ce.X6)(i)||(this._openedBy=0===i.button?"mouse":void 0,this.triggersSubmenu()&&i.preventDefault())}_handleKeydown(i){const s=i.keyCode;(s===ge.K5||s===ge.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(s===ge.SV&&"ltr"===this.dir||s===ge.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(i){this.triggersSubmenu()?(i.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,$i.h)(i=>i===this._menuItemInstance&&!i.disabled),oc(0,is.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof A&&this.menu._isAnimating?this.menu._animationDone.pipe((0,W.q)(1),oc(0,is.E),(0,ne.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(i){return(!this._portal||this._portal.templateRef!==i.templateRef)&&(this._portal=new oi.UE(i.templateRef,this._viewContainerRef)),this._portal}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(Gn),o.Y36(o.SBq),o.Y36(o.s_b),o.Y36(Je),o.Y36(Ml,8),o.Y36(ra,10),o.Y36(B.Is,8),o.Y36(ce.tE),o.Y36(o.R0b))};static#t=this.\u0275dir=o.lG2({type:l,hostVars:3,hostBindings:function(s,d){1&s&&o.NdJ("click",function(b){return d._handleClick(b)})("mousedown",function(b){return d._handleMousedown(b)})("keydown",function(b){return d._handleKeydown(b)}),2&s&&o.uIk("aria-haspopup",d.menu?"menu":null)("aria-expanded",d.menuOpen)("aria-controls",d.menuOpen?d.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}})}return l})(),Jt=(()=>{class l extends an{static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[o.qOj]})}return l})(),Rn=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:[It],imports:[te.ez,de.si,de.BQ,Qi,Di.ZD,de.BQ]})}return l})();class Hn extends vo.y{constructor(a,i){super(),this.source=a,this.subjectFactory=i,this._subject=null,this._refCount=0,this._connection=null,(0,na.A)(a)&&(this.lift=a.lift)}_subscribe(a){return this.getSubject().subscribe(a)}getSubject(){const a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:a}=this;this._subject=this._connection=null,a?.unsubscribe()}connect(){let a=this._connection;if(!a){a=this._connection=new qi.w0;const i=this.getSubject();a.add(this.source.subscribe((0,ia.x)(i,void 0,()=>{this._teardown(),i.complete()},s=>{this._teardown(),i.error(s)},()=>this._teardown()))),a.closed&&(this._connection=null,a=qi.w0.EMPTY)}return a}refCount(){return function vn(){return(0,na.e)((l,a)=>{let i=null;l._refCount++;const s=(0,ia.x)(a,void 0,void 0,void 0,()=>{if(!l||l._refCount<=0||0<--l._refCount)return void(i=null);const d=l._connection,p=i;i=null,d&&(!p||d===p)&&d.unsubscribe(),a.unsubscribe()});l.subscribe(s),s.closed||(i=l.connect())})}()(this)}}function ji(l){return l&&"function"==typeof l.connect&&!(l instanceof Hn)}class Si{applyChanges(a,i,s,d,p){a.forEachOperation((b,S,ee)=>{let Te,Le;if(null==b.previousIndex){const nt=s(b,S,ee);Te=i.createEmbeddedView(nt.templateRef,nt.context,nt.index),Le=1}else null==ee?(i.remove(S),Le=3):(Te=i.get(S),i.move(Te,ee),Le=2);p&&p({context:Te?.context,operation:Le,record:b})})}detach(){}}const Dr=new o.OlP("_ViewRepeater");var sc=v(107),Ii=v(1625),du=v(3276);const ss=[[["caption"]],[["colgroup"],["col"]]],Ui=["caption","colgroup, col"];function Sl(l){return class extends l{get sticky(){return this._sticky}set sticky(a){const i=this._sticky;this._sticky=(0,se.Ig)(a),this._hasStickyChanged=i!==this._sticky}hasStickyChanged(){const a=this._hasStickyChanged;return this._hasStickyChanged=!1,a}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...a){super(...a),this._sticky=!1,this._hasStickyChanged=!1}}}const zi=new o.OlP("CDK_TABLE");let as=(()=>{class l{constructor(i){this.template=i}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkCellDef",""]]})}return l})(),Er=(()=>{class l{constructor(i){this.template=i}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkHeaderCellDef",""]]})}return l})(),aa=(()=>{class l{constructor(i){this.template=i}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkFooterCellDef",""]]})}return l})();class fu{}const Tf=Sl(fu);let Bt=(()=>{class l extends Tf{get name(){return this._name}set name(i){this._setNameInput(i)}get stickyEnd(){return this._stickyEnd}set stickyEnd(i){const s=this._stickyEnd;this._stickyEnd=(0,se.Ig)(i),this._hasStickyChanged=s!==this._stickyEnd}constructor(i){super(),this._table=i,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(i){i&&(this._name=i,this.cssClassFriendlyName=i.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(zi,8))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkColumnDef",""]],contentQueries:function(s,d,p){if(1&s&&(o.Suo(p,as,5),o.Suo(p,Er,5),o.Suo(p,aa,5)),2&s){let b;o.iGM(b=o.CRH())&&(d.cell=b.first),o.iGM(b=o.CRH())&&(d.headerCell=b.first),o.iGM(b=o.CRH())&&(d.footerCell=b.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[o._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:l}]),o.qOj]})}return l})();class ac{constructor(a,i){i.nativeElement.classList.add(...a._columnCssClassName)}}let pu=(()=>{class l extends ac{constructor(i,s){super(i,s)}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(Bt),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[o.qOj]})}return l})(),Il=(()=>{class l extends ac{constructor(i,s){if(super(i,s),1===i._table?._elementRef.nativeElement.nodeType){const d=i._table._elementRef.nativeElement.getAttribute("role");s.nativeElement.setAttribute("role","grid"===d||"treegrid"===d?"gridcell":"cell")}}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(Bt),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[o.qOj]})}return l})();class gu{constructor(){this.tasks=[],this.endTasks=[]}}const cc=new o.OlP("_COALESCED_STYLE_SCHEDULER");let Mr=(()=>{class l{constructor(i){this._ngZone=i,this._currentSchedule=null,this._destroyed=new z.x}schedule(i){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(i)}scheduleEnd(i){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(i)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new gu,this._getScheduleObservable().pipe((0,ne.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const i=this._currentSchedule;this._currentSchedule=new gu;for(const s of i.tasks)s();for(const s of i.endTasks)s()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,sc.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,W.q)(1))}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(o.R0b))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac})}return l})(),Ol=(()=>{class l{constructor(i,s){this.template=i,this._differs=s}ngOnChanges(i){if(!this._columnsDiffer){const s=i.columns&&i.columns.currentValue||[];this._columnsDiffer=this._differs.find(s).create(),this._columnsDiffer.diff(s)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(i){return this instanceof ca?i.headerCell.template:this instanceof cs?i.footerCell.template:i.cell.template}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc),o.Y36(o.ZZ4))};static#t=this.\u0275dir=o.lG2({type:l,features:[o.TTD]})}return l})();class Af extends Ol{}const Sf=Sl(Af);let ca=(()=>{class l extends Sf{constructor(i,s,d){super(i,s),this._table=d}ngOnChanges(i){super.ngOnChanges(i)}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc),o.Y36(o.ZZ4),o.Y36(zi,8))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[o.qOj,o.TTD]})}return l})();class ft extends Ol{}const cn=Sl(ft);let cs=(()=>{class l extends cn{constructor(i,s,d){super(i,s),this._table=d}ngOnChanges(i){super.ngOnChanges(i)}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc),o.Y36(o.ZZ4),o.Y36(zi,8))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[o.qOj,o.TTD]})}return l})(),la=(()=>{class l extends Ol{constructor(i,s,d){super(i,s),this._table=d}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc),o.Y36(o.ZZ4),o.Y36(zi,8))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[o.qOj]})}return l})(),An=(()=>{class l{static#e=this.mostRecentCellOutlet=null;constructor(i){this._viewContainer=i,l.mostRecentCellOutlet=this}ngOnDestroy(){l.mostRecentCellOutlet===this&&(l.mostRecentCellOutlet=null)}static#t=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.s_b))};static#n=this.\u0275dir=o.lG2({type:l,selectors:[["","cdkCellOutlet",""]]})}return l})(),lc=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(s,d){1&s&&o.GkF(0,0)},dependencies:[An],encapsulation:2})}return l})(),eo=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(s,d){1&s&&o.GkF(0,0)},dependencies:[An],encapsulation:2})}return l})(),ls=(()=>{class l{constructor(i){this.templateRef=i,this._contentClassName="cdk-no-data-row"}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.Rgc))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["ng-template","cdkNoDataRow",""]]})}return l})();const dc=["top","bottom","left","right"];class If{constructor(a,i,s,d,p=!0,b=!0,S){this._isNativeHtmlTable=a,this._stickCellCss=i,this.direction=s,this._coalescedStyleScheduler=d,this._isBrowser=p,this._needsPositionStickyOnElement=b,this._positionListener=S,this._cachedCellWidths=[],this._borderCellCss={top:`${i}-border-elem-top`,bottom:`${i}-border-elem-bottom`,left:`${i}-border-elem-left`,right:`${i}-border-elem-right`}}clearStickyPositioning(a,i){const s=[];for(const d of a)if(d.nodeType===d.ELEMENT_NODE){s.push(d);for(let p=0;p<d.children.length;p++)s.push(d.children[p])}this._coalescedStyleScheduler.schedule(()=>{for(const d of s)this._removeStickyStyle(d,i)})}updateStickyColumns(a,i,s,d=!0){if(!a.length||!this._isBrowser||!i.some(_t=>_t)&&!s.some(_t=>_t))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const p=a[0],b=p.children.length,S=this._getCellWidths(p,d),ee=this._getStickyStartColumnPositions(S,i),Te=this._getStickyEndColumnPositions(S,s),Le=i.lastIndexOf(!0),nt=s.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const _t="rtl"===this.direction,Dt=_t?"right":"left",Mt=_t?"left":"right";for(const At of a)for(let Yt=0;Yt<b;Yt++){const Pn=At.children[Yt];i[Yt]&&this._addStickyStyle(Pn,Dt,ee[Yt],Yt===Le),s[Yt]&&this._addStickyStyle(Pn,Mt,Te[Yt],Yt===nt)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===Le?[]:S.slice(0,Le+1).map((At,Yt)=>i[Yt]?At:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===nt?[]:S.slice(nt).map((At,Yt)=>s[Yt+nt]?At:null).reverse()}))})}stickRows(a,i,s){if(!this._isBrowser)return;const d="bottom"===s?a.slice().reverse():a,p="bottom"===s?i.slice().reverse():i,b=[],S=[],ee=[];for(let Le=0,nt=0;Le<d.length;Le++){if(!p[Le])continue;b[Le]=nt;const _t=d[Le];ee[Le]=this._isNativeHtmlTable?Array.from(_t.children):[_t];const Dt=_t.getBoundingClientRect().height;nt+=Dt,S[Le]=Dt}const Te=p.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let Le=0;Le<d.length;Le++){if(!p[Le])continue;const nt=b[Le],_t=Le===Te;for(const Dt of ee[Le])this._addStickyStyle(Dt,s,nt,_t)}"top"===s?this._positionListener?.stickyHeaderRowsUpdated({sizes:S,offsets:b,elements:ee}):this._positionListener?.stickyFooterRowsUpdated({sizes:S,offsets:b,elements:ee})})}updateStickyFooterContainer(a,i){if(!this._isNativeHtmlTable)return;const s=a.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{i.some(d=>!d)?this._removeStickyStyle(s,["bottom"]):this._addStickyStyle(s,"bottom",0,!1)})}_removeStickyStyle(a,i){for(const d of i)a.style[d]="",a.classList.remove(this._borderCellCss[d]);dc.some(d=>-1===i.indexOf(d)&&a.style[d])?a.style.zIndex=this._getCalculatedZIndex(a):(a.style.zIndex="",this._needsPositionStickyOnElement&&(a.style.position=""),a.classList.remove(this._stickCellCss))}_addStickyStyle(a,i,s,d){a.classList.add(this._stickCellCss),d&&a.classList.add(this._borderCellCss[i]),a.style[i]=`${s}px`,a.style.zIndex=this._getCalculatedZIndex(a),this._needsPositionStickyOnElement&&(a.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(a){const i={top:100,bottom:10,left:1,right:1};let s=0;for(const d of dc)a.style[d]&&(s+=i[d]);return s?`${s}`:""}_getCellWidths(a,i=!0){if(!i&&this._cachedCellWidths.length)return this._cachedCellWidths;const s=[],d=a.children;for(let p=0;p<d.length;p++)s.push(d[p].getBoundingClientRect().width);return this._cachedCellWidths=s,s}_getStickyStartColumnPositions(a,i){const s=[];let d=0;for(let p=0;p<a.length;p++)i[p]&&(s[p]=d,d+=a[p]);return s}_getStickyEndColumnPositions(a,i){const s=[];let d=0;for(let p=a.length;p>0;p--)i[p]&&(s[p]=d,d+=a[p]);return s}}const uc=new o.OlP("CDK_SPL");let hc=(()=>{class l{constructor(i,s){this.viewContainer=i,this.elementRef=s}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.s_b),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","rowOutlet",""]]})}return l})(),ds=(()=>{class l{constructor(i,s){this.viewContainer=i,this.elementRef=s}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.s_b),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","headerRowOutlet",""]]})}return l})(),us=(()=>{class l{constructor(i,s){this.viewContainer=i,this.elementRef=s}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.s_b),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","footerRowOutlet",""]]})}return l})(),ua=(()=>{class l{constructor(i,s){this.viewContainer=i,this.elementRef=s}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.s_b),o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","noDataRowOutlet",""]]})}return l})(),ha=(()=>{class l{get trackBy(){return this._trackByFn}set trackBy(i){this._trackByFn=i}get dataSource(){return this._dataSource}set dataSource(i){this._dataSource!==i&&this._switchDataSource(i)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(i){this._multiTemplateDataRows=(0,se.Ig)(i),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(i){this._fixedLayout=(0,se.Ig)(i),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(i,s,d,p,b,S,ee,Te,Le,nt,_t,Dt){this._differs=i,this._changeDetectorRef=s,this._elementRef=d,this._dir=b,this._platform=ee,this._viewRepeater=Te,this._coalescedStyleScheduler=Le,this._viewportRuler=nt,this._stickyPositioningListener=_t,this._ngZone=Dt,this._onDestroy=new z.x,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new o.vpe,this.viewChange=new Ii.X({start:0,end:Number.MAX_VALUE}),p||this._elementRef.nativeElement.setAttribute("role","table"),this._document=S,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((i,s)=>this.trackBy?this.trackBy(s.dataIndex,s.data):s),this._viewportRuler.change().pipe((0,ne.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const s=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||s,this._forceRecalculateCellWidths=s,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(i=>{i.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),ji(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const i=this._dataDiffer.diff(this._renderRows);if(!i)return this._updateNoDataRow(),void this.contentChanged.next();const s=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(i,s,(d,p,b)=>this._getEmbeddedViewArgs(d.item,b),d=>d.item.data,d=>{1===d.operation&&d.context&&this._renderCellTemplateForItem(d.record.item.rowDef,d.context)}),this._updateRowIndexContext(),i.forEachIdentityChange(d=>{s.get(d.currentIndex).context.$implicit=d.item.data}),this._updateNoDataRow(),this._ngZone&&o.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,W.q)(1),(0,ne.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(i){this._customColumnDefs.add(i)}removeColumnDef(i){this._customColumnDefs.delete(i)}addRowDef(i){this._customRowDefs.add(i)}removeRowDef(i){this._customRowDefs.delete(i)}addHeaderRowDef(i){this._customHeaderRowDefs.add(i),this._headerRowDefChanged=!0}removeHeaderRowDef(i){this._customHeaderRowDefs.delete(i),this._headerRowDefChanged=!0}addFooterRowDef(i){this._customFooterRowDefs.add(i),this._footerRowDefChanged=!0}removeFooterRowDef(i){this._customFooterRowDefs.delete(i),this._footerRowDefChanged=!0}setNoDataRow(i){this._customNoDataRow=i}updateStickyHeaderRowStyles(){const i=this._getRenderedRows(this._headerRowOutlet),d=this._elementRef.nativeElement.querySelector("thead");d&&(d.style.display=i.length?"":"none");const p=this._headerRowDefs.map(b=>b.sticky);this._stickyStyler.clearStickyPositioning(i,["top"]),this._stickyStyler.stickRows(i,p,"top"),this._headerRowDefs.forEach(b=>b.resetStickyChanged())}updateStickyFooterRowStyles(){const i=this._getRenderedRows(this._footerRowOutlet),d=this._elementRef.nativeElement.querySelector("tfoot");d&&(d.style.display=i.length?"":"none");const p=this._footerRowDefs.map(b=>b.sticky);this._stickyStyler.clearStickyPositioning(i,["bottom"]),this._stickyStyler.stickRows(i,p,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,p),this._footerRowDefs.forEach(b=>b.resetStickyChanged())}updateStickyColumnStyles(){const i=this._getRenderedRows(this._headerRowOutlet),s=this._getRenderedRows(this._rowOutlet),d=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...i,...s,...d],["left","right"]),this._stickyColumnStylesNeedReset=!1),i.forEach((p,b)=>{this._addStickyColumnStyles([p],this._headerRowDefs[b])}),this._rowDefs.forEach(p=>{const b=[];for(let S=0;S<s.length;S++)this._renderRows[S].rowDef===p&&b.push(s[S]);this._addStickyColumnStyles(b,p)}),d.forEach((p,b)=>{this._addStickyColumnStyles([p],this._footerRowDefs[b])}),Array.from(this._columnDefsByName.values()).forEach(p=>p.resetStickyChanged())}_getAllRenderRows(){const i=[],s=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let d=0;d<this._data.length;d++){let p=this._data[d];const b=this._getRenderRowsForData(p,d,s.get(p));this._cachedRenderRowsMap.has(p)||this._cachedRenderRowsMap.set(p,new WeakMap);for(let S=0;S<b.length;S++){let ee=b[S];const Te=this._cachedRenderRowsMap.get(ee.data);Te.has(ee.rowDef)?Te.get(ee.rowDef).push(ee):Te.set(ee.rowDef,[ee]),i.push(ee)}}return i}_getRenderRowsForData(i,s,d){return this._getRowDefs(i,s).map(b=>{const S=d&&d.has(b)?d.get(b):[];if(S.length){const ee=S.shift();return ee.dataIndex=s,ee}return{data:i,rowDef:b,dataIndex:s}})}_cacheColumnDefs(){this._columnDefsByName.clear(),hs(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(s=>{this._columnDefsByName.has(s.name),this._columnDefsByName.set(s.name,s)})}_cacheRowDefs(){this._headerRowDefs=hs(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=hs(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=hs(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const i=this._rowDefs.filter(s=>!s.when);this._defaultRowDef=i[0]}_renderUpdatedColumns(){const i=(b,S)=>b||!!S.getColumnsDiff(),s=this._rowDefs.reduce(i,!1);s&&this._forceRenderDataRows();const d=this._headerRowDefs.reduce(i,!1);d&&this._forceRenderHeaderRows();const p=this._footerRowDefs.reduce(i,!1);return p&&this._forceRenderFooterRows(),s||d||p}_switchDataSource(i){this._data=[],ji(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),i||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=i}_observeRenderChanges(){if(!this.dataSource)return;let i;ji(this.dataSource)?i=this.dataSource.connect(this):function uu(l){return!!l&&(l instanceof vo.y||(0,du.m)(l.lift)&&(0,du.m)(l.subscribe))}(this.dataSource)?i=this.dataSource:Array.isArray(this.dataSource)&&(i=(0,ai.of)(this.dataSource)),this._renderChangeSubscription=i.pipe((0,ne.R)(this._onDestroy)).subscribe(s=>{this._data=s||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((i,s)=>this._renderRow(this._headerRowOutlet,i,s)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((i,s)=>this._renderRow(this._footerRowOutlet,i,s)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(i,s){const d=Array.from(s.columns||[]).map(S=>this._columnDefsByName.get(S)),p=d.map(S=>S.sticky),b=d.map(S=>S.stickyEnd);this._stickyStyler.updateStickyColumns(i,p,b,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(i){const s=[];for(let d=0;d<i.viewContainer.length;d++){const p=i.viewContainer.get(d);s.push(p.rootNodes[0])}return s}_getRowDefs(i,s){if(1==this._rowDefs.length)return[this._rowDefs[0]];let d=[];if(this.multiTemplateDataRows)d=this._rowDefs.filter(p=>!p.when||p.when(s,i));else{let p=this._rowDefs.find(b=>b.when&&b.when(s,i))||this._defaultRowDef;p&&d.push(p)}return d}_getEmbeddedViewArgs(i,s){return{templateRef:i.rowDef.template,context:{$implicit:i.data},index:s}}_renderRow(i,s,d,p={}){const b=i.viewContainer.createEmbeddedView(s.template,p,d);return this._renderCellTemplateForItem(s,p),b}_renderCellTemplateForItem(i,s){for(let d of this._getCellTemplates(i))An.mostRecentCellOutlet&&An.mostRecentCellOutlet._viewContainer.createEmbeddedView(d,s);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const i=this._rowOutlet.viewContainer;for(let s=0,d=i.length;s<d;s++){const b=i.get(s).context;b.count=d,b.first=0===s,b.last=s===d-1,b.even=s%2==0,b.odd=!b.even,this.multiTemplateDataRows?(b.dataIndex=this._renderRows[s].dataIndex,b.renderIndex=s):b.index=this._renderRows[s].dataIndex}}_getCellTemplates(i){return i&&i.columns?Array.from(i.columns,s=>{const d=this._columnDefsByName.get(s);return i.extractCellTemplate(d)}):[]}_applyNativeTableSections(){const i=this._document.createDocumentFragment(),s=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const d of s){const p=this._document.createElement(d.tag);p.setAttribute("role","rowgroup");for(const b of d.outlets)p.appendChild(b.elementRef.nativeElement);i.appendChild(p)}this._elementRef.nativeElement.appendChild(i)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const i=(s,d)=>s||d.hasStickyChanged();this._headerRowDefs.reduce(i,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(i,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(i,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new If(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,ai.of)()).pipe((0,ne.R)(this._onDestroy)).subscribe(s=>{this._stickyStyler.direction=s,this.updateStickyColumnStyles()})}_getOwnDefs(i){return i.filter(s=>!s._table||s._table===this)}_updateNoDataRow(){const i=this._customNoDataRow||this._noDataRow;if(!i)return;const s=0===this._rowOutlet.viewContainer.length;if(s===this._isShowingNoDataRow)return;const d=this._noDataRowOutlet.viewContainer;if(s){const p=d.createEmbeddedView(i.templateRef),b=p.rootNodes[0];1===p.rootNodes.length&&b?.nodeType===this._document.ELEMENT_NODE&&(b.setAttribute("role","row"),b.classList.add(i._contentClassName))}else d.clear();this._isShowingNoDataRow=s,this._changeDetectorRef.markForCheck()}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.ZZ4),o.Y36(o.sBO),o.Y36(o.SBq),o.$8M("role"),o.Y36(B.Is,8),o.Y36(te.K0),o.Y36(ii.t4),o.Y36(Dr),o.Y36(cc),o.Y36(Di.rL),o.Y36(uc,12),o.Y36(o.R0b,8))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(s,d,p){if(1&s&&(o.Suo(p,ls,5),o.Suo(p,Bt,5),o.Suo(p,la,5),o.Suo(p,ca,5),o.Suo(p,cs,5)),2&s){let b;o.iGM(b=o.CRH())&&(d._noDataRow=b.first),o.iGM(b=o.CRH())&&(d._contentColumnDefs=b),o.iGM(b=o.CRH())&&(d._contentRowDefs=b),o.iGM(b=o.CRH())&&(d._contentHeaderRowDefs=b),o.iGM(b=o.CRH())&&(d._contentFooterRowDefs=b)}},viewQuery:function(s,d){if(1&s&&(o.Gf(hc,7),o.Gf(ds,7),o.Gf(us,7),o.Gf(ua,7)),2&s){let p;o.iGM(p=o.CRH())&&(d._rowOutlet=p.first),o.iGM(p=o.CRH())&&(d._headerRowOutlet=p.first),o.iGM(p=o.CRH())&&(d._footerRowOutlet=p.first),o.iGM(p=o.CRH())&&(d._noDataRowOutlet=p.first)}},hostAttrs:["ngSkipHydration","",1,"cdk-table"],hostVars:2,hostBindings:function(s,d){2&s&&o.ekj("cdk-table-fixed-layout",d.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[o._Bn([{provide:zi,useExisting:l},{provide:Dr,useClass:Si},{provide:cc,useClass:Mr},{provide:uc,useValue:null}])],ngContentSelectors:Ui,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(s,d){1&s&&(o.F$t(ss),o.Hsn(0),o.Hsn(1,1),o.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[hc,ds,us,ua],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}return l})();function hs(l,a){return l.concat(Array.from(a))}let bu=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({imports:[Di.Cl]})}return l})();const vu=[[["caption"]],[["colgroup"],["col"]]],Rl=["caption","colgroup, col"];let Wo=(()=>{class l extends ha{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:["ngSkipHydration","",1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(s,d){2&s&&o.ekj("mdc-table-fixed-layout",d.fixedLayout)},exportAs:["matTable"],features:[o._Bn([{provide:ha,useExisting:l},{provide:zi,useExisting:l},{provide:cc,useClass:Mr},{provide:Dr,useClass:Si},{provide:uc,useValue:null}]),o.qOj],ngContentSelectors:Rl,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(s,d){1&s&&(o.F$t(vu),o.Hsn(0),o.Hsn(1,1),o.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[hc,ds,us,ua],styles:[".mat-mdc-table-sticky{position:sticky !important}.mdc-data-table{-webkit-overflow-scrolling:touch;display:inline-flex;flex-direction:column;box-sizing:border-box;position:relative}.mdc-data-table__table-container{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}.mdc-data-table__table{min-width:100%;border:0;white-space:nowrap;border-spacing:0;table-layout:fixed}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell,.mdc-data-table__cell[dir=rtl]{text-align:right}.mdc-data-table__cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__cell--numeric,.mdc-data-table__cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell{box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mdc-data-table__header-cell,.mdc-data-table__header-cell[dir=rtl]{text-align:right}.mdc-data-table__header-cell--numeric{text-align:right}[dir=rtl] .mdc-data-table__header-cell--numeric,.mdc-data-table__header-cell--numeric[dir=rtl]{text-align:left}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px 0 16px}.mdc-data-table__header-cell--checkbox,.mdc-data-table__cell--checkbox{padding-left:4px;padding-right:0}[dir=rtl] .mdc-data-table__header-cell--checkbox,[dir=rtl] .mdc-data-table__cell--checkbox,.mdc-data-table__header-cell--checkbox[dir=rtl],.mdc-data-table__cell--checkbox[dir=rtl]{padding-left:0;padding-right:4px}mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}.mat-mdc-table{--mat-table-row-item-outline-width:1px;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color)}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-weight)}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking);font-weight:inherit;line-height:inherit}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, rgba(0, 0, 0, 0.12));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking);line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking)}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}return l})(),Cn=(()=>{class l extends as{static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matCellDef",""]],features:[o._Bn([{provide:as,useExisting:l}]),o.qOj]})}return l})(),fa=(()=>{class l extends Er{static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matHeaderCellDef",""]],features:[o._Bn([{provide:Er,useExisting:l}]),o.qOj]})}return l})(),fc=(()=>{class l extends Bt{get name(){return this._name}set name(i){this._setNameInput(i)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[o._Bn([{provide:Bt,useExisting:l},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:l}]),o.qOj]})}return l})(),pc=(()=>{class l extends pu{static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[o.qOj]})}return l})(),pa=(()=>{class l extends Il{static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[o.qOj]})}return l})(),Eo=(()=>{class l extends ca{static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[o._Bn([{provide:ca,useExisting:l}]),o.qOj]})}return l})(),fs=(()=>{class l extends la{static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[o._Bn([{provide:la,useExisting:l}]),o.qOj]})}return l})(),ps=(()=>{class l extends lc{static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[o._Bn([{provide:lc,useExisting:l}]),o.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(s,d){1&s&&o.GkF(0,0)},dependencies:[An],encapsulation:2})}return l})(),ma=(()=>{class l extends eo{static#e=this.\u0275fac=function(){let i;return function(d){return(i||(i=o.n5z(l)))(d||l)}}();static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[o._Bn([{provide:eo,useExisting:l}]),o.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(s,d){1&s&&o.GkF(0,0)},dependencies:[An],encapsulation:2})}return l})(),ms=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({imports:[de.BQ,bu,de.BQ]})}return l})();var Yo=v(7361);const Bg=["tooltip"],jf=new o.OlP("mat-tooltip-scroll-strategy"),Fl={provide:jf,deps:[Gn],useFactory:function Hg(l){return()=>l.scrollStrategies.reposition({scrollThrottle:20})}},Uf=new o.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function _a(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),_c="tooltip-panel",ba=(0,ii.i$)({passive:!0});let Gf=(()=>{class l{get position(){return this._position}set position(i){i!==this._position&&(this._position=i,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(i){this._positionAtOrigin=(0,se.Ig)(i),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(i){this._disabled=(0,se.Ig)(i),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(i){this._showDelay=(0,se.su)(i)}get hideDelay(){return this._hideDelay}set hideDelay(i){this._hideDelay=(0,se.su)(i),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(i){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=i?String(i).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(i){this._tooltipClass=i,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(i,s,d,p,b,S,ee,Te,Le,nt,_t,Dt){this._overlay=i,this._elementRef=s,this._scrollDispatcher=d,this._viewContainerRef=p,this._ngZone=b,this._platform=S,this._ariaDescriber=ee,this._focusMonitor=Te,this._dir=nt,this._defaultOptions=_t,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new z.x,this._scrollStrategy=Le,this._document=Dt,_t&&(this._showDelay=_t.showDelay,this._hideDelay=_t.hideDelay,_t.position&&(this.position=_t.position),_t.positionAtOrigin&&(this.positionAtOrigin=_t.positionAtOrigin),_t.touchGestures&&(this.touchGestures=_t.touchGestures)),nt.change.pipe((0,ne.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,ne.R)(this._destroyed)).subscribe(i=>{i?"keyboard"===i&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const i=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([s,d])=>{i.removeEventListener(s,d,ba)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(i,this.message,"tooltip"),this._focusMonitor.stopMonitoring(i)}show(i=this.showDelay,s){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const d=this._createOverlay(s);this._detach(),this._portal=this._portal||new oi.C5(this._tooltipComponent,this._viewContainerRef);const p=this._tooltipInstance=d.attach(this._portal).instance;p._triggerElement=this._elementRef.nativeElement,p._mouseLeaveHideDelay=this._hideDelay,p.afterHidden().pipe((0,ne.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),p.show(i)}hide(i=this.hideDelay){const s=this._tooltipInstance;s&&(s.isVisible()?s.hide(i):(s._cancelPendingAnimations(),this._detach()))}toggle(i){this._isTooltipVisible()?this.hide():this.show(void 0,i)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(i){if(this._overlayRef){const p=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!i)&&p._origin instanceof o.SBq)return this._overlayRef;this._detach()}const s=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),d=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&i||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(s);return d.positionChanges.pipe((0,ne.R)(this._destroyed)).subscribe(p=>{this._updateCurrentPositionClass(p.connectionPair),this._tooltipInstance&&p.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:d,panelClass:`${this._cssClassPrefix}-${_c}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,ne.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,ne.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,ne.R)(this._destroyed)).subscribe(p=>{this._isTooltipVisible()&&p.keyCode===ge.hY&&!(0,ge.Vb)(p)&&(p.preventDefault(),p.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),this._defaultOptions?.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(i){const s=i.getConfig().positionStrategy,d=this._getOrigin(),p=this._getOverlayPosition();s.withPositions([this._addOffset({...d.main,...p.main}),this._addOffset({...d.fallback,...p.fallback})])}_addOffset(i){return i}_getOrigin(){const i=!this._dir||"ltr"==this._dir.value,s=this.position;let d;"above"==s||"below"==s?d={originX:"center",originY:"above"==s?"top":"bottom"}:"before"==s||"left"==s&&i||"right"==s&&!i?d={originX:"start",originY:"center"}:("after"==s||"right"==s&&i||"left"==s&&!i)&&(d={originX:"end",originY:"center"});const{x:p,y:b}=this._invertPosition(d.originX,d.originY);return{main:d,fallback:{originX:p,originY:b}}}_getOverlayPosition(){const i=!this._dir||"ltr"==this._dir.value,s=this.position;let d;"above"==s?d={overlayX:"center",overlayY:"bottom"}:"below"==s?d={overlayX:"center",overlayY:"top"}:"before"==s||"left"==s&&i||"right"==s&&!i?d={overlayX:"end",overlayY:"center"}:("after"==s||"right"==s&&i||"left"==s&&!i)&&(d={overlayX:"start",overlayY:"center"});const{x:p,y:b}=this._invertPosition(d.overlayX,d.overlayY);return{main:d,fallback:{overlayX:p,overlayY:b}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,W.q)(1),(0,ne.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(i){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=i,this._tooltipInstance._markForCheck())}_invertPosition(i,s){return"above"===this.position||"below"===this.position?"top"===s?s="bottom":"bottom"===s&&(s="top"):"end"===i?i="start":"start"===i&&(i="end"),{x:i,y:s}}_updateCurrentPositionClass(i){const{overlayY:s,originX:d,originY:p}=i;let b;if(b="center"===s?this._dir&&"rtl"===this._dir.value?"end"===d?"left":"right":"start"===d?"left":"right":"bottom"===s&&"top"===p?"above":"below",b!==this._currentPosition){const S=this._overlayRef;if(S){const ee=`${this._cssClassPrefix}-${_c}-`;S.removePanelClass(ee+this._currentPosition),S.addPanelClass(ee+b)}this._currentPosition=b}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",i=>{let s;this._setupPointerExitEventsIfNeeded(),void 0!==i.x&&void 0!==i.y&&(s=i),this.show(void 0,s)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",i=>{const s=i.targetTouches?.[0],d=s?{x:s.clientX,y:s.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,d),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const i=[];if(this._platformSupportsMouseEvents())i.push(["mouseleave",s=>{const d=s.relatedTarget;(!d||!this._overlayRef?.overlayElement.contains(d))&&this.hide()}],["wheel",s=>this._wheelListener(s)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const s=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};i.push(["touchend",s],["touchcancel",s])}this._addListeners(i),this._passiveListeners.push(...i)}_addListeners(i){i.forEach(([s,d])=>{this._elementRef.nativeElement.addEventListener(s,d,ba)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(i){if(this._isTooltipVisible()){const s=this._document.elementFromPoint(i.clientX,i.clientY),d=this._elementRef.nativeElement;s!==d&&!d.contains(s)&&this.hide()}}_disableNativeGesturesIfNecessary(){const i=this.touchGestures;if("off"!==i){const s=this._elementRef.nativeElement,d=s.style;("on"===i||"INPUT"!==s.nodeName&&"TEXTAREA"!==s.nodeName)&&(d.userSelect=d.msUserSelect=d.webkitUserSelect=d.MozUserSelect="none"),("on"===i||!s.draggable)&&(d.webkitUserDrag="none"),d.touchAction="none",d.webkitTapHighlightColor="transparent"}}static#e=this.\u0275fac=function(s){o.$Z()};static#t=this.\u0275dir=o.lG2({type:l,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}})}return l})(),gs=(()=>{class l extends Gf{constructor(i,s,d,p,b,S,ee,Te,Le,nt,_t,Dt){super(i,s,d,p,b,S,ee,Te,Le,nt,_t,Dt),this._tooltipComponent=Cu,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(i){const d=!this._dir||"ltr"==this._dir.value;return"top"===i.originY?i.offsetY=-8:"bottom"===i.originY?i.offsetY=8:"start"===i.originX?i.offsetX=d?-8:8:"end"===i.originX&&(i.offsetX=d?8:-8),i}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(Gn),o.Y36(o.SBq),o.Y36(Di.mF),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(ii.t4),o.Y36(ce.$s),o.Y36(ce.tE),o.Y36(jf),o.Y36(B.Is,8),o.Y36(Uf,8),o.Y36(te.K0))};static#t=this.\u0275dir=o.lG2({type:l,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(s,d){2&s&&o.ekj("mat-mdc-tooltip-disabled",d.disabled)},exportAs:["matTooltip"],features:[o.qOj]})}return l})(),Nl=(()=>{class l{constructor(i,s){this._changeDetectorRef=i,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new z.x,this._animationsDisabled="NoopAnimations"===s}show(i){null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},i)}hide(i){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},i)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:i}){(!i||!this._triggerElement.contains(i))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:i}){(i===this._showAnimation||i===this._hideAnimation)&&this._finalizeAnimation(i===this._showAnimation)}_cancelPendingAnimations(){null!=this._showTimeoutId&&clearTimeout(this._showTimeoutId),null!=this._hideTimeoutId&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(i){i?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(i){const s=this._tooltip.nativeElement,d=this._showAnimation,p=this._hideAnimation;if(s.classList.remove(i?p:d),s.classList.add(i?d:p),this._isVisible=i,i&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const b=getComputedStyle(s);("0s"===b.getPropertyValue("animation-duration")||"none"===b.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}i&&this._onShow(),this._animationsDisabled&&(s.classList.add("_mat-animation-noopable"),this._finalizeAnimation(i))}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.sBO),o.Y36(o.QbO,8))};static#t=this.\u0275dir=o.lG2({type:l})}return l})(),Cu=(()=>{class l extends Nl{constructor(i,s,d){super(i,d),this._elementRef=s,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const i=this._elementRef.nativeElement.getBoundingClientRect();return i.height>24&&i.width>=200}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.QbO,8))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["mat-tooltip-component"]],viewQuery:function(s,d){if(1&s&&o.Gf(Bg,7),2&s){let p;o.iGM(p=o.CRH())&&(d._tooltip=p.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(s,d){1&s&&o.NdJ("mouseleave",function(b){return d._handleMouseLeave(b)}),2&s&&o.Udp("zoom",d.isVisible()?1:null)},features:[o.qOj],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(s,d){1&s&&(o.TgZ(0,"div",0,1),o.NdJ("animationend",function(b){return d._handleAnimationEnd(b)}),o.TgZ(2,"div",2),o._uU(3),o.qZA()()),2&s&&(o.ekj("mdc-tooltip--multiline",d._isMultiline),o.Q6J("ngClass",d.tooltipClass),o.xp6(3),o.Oqu(d.message))},dependencies:[te.mk],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip{--mdc-plain-tooltip-container-shape:4px;--mdc-plain-tooltip-supporting-text-line-height:16px}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0})}return l})(),Bl=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:[Fl],imports:[ce.rt,te.ez,Qi,de.BQ,de.BQ,Di.ZD]})}return l})();function $l(l){return new o.vHH(3e3,!1)}function dr(l){switch(l.length){case 0:return new Z.ZN;case 1:return l[0];default:return new Z.ZE(l)}}function ws(l,a,i=new Map,s=new Map){const d=[],p=[];let b=-1,S=null;if(a.forEach(ee=>{const Te=ee.get("offset"),Le=Te==b,nt=Le&&S||new Map;ee.forEach((_t,Dt)=>{let Mt=Dt,At=_t;if("offset"!==Dt)switch(Mt=l.normalizePropertyName(Mt,d),At){case Z.k1:At=i.get(Dt);break;case Z.l3:At=s.get(Dt);break;default:At=l.normalizeStyleValue(Dt,Mt,At,d)}nt.set(Mt,At)}),Le||p.push(nt),S=nt,b=Te}),d.length)throw function ys(l){return new o.vHH(3502,!1)}();return p}function Ul(l,a,i,s){switch(a){case"start":l.onStart(()=>s(i&&ki(i,"start",l)));break;case"done":l.onDone(()=>s(i&&ki(i,"done",l)));break;case"destroy":l.onDestroy(()=>s(i&&ki(i,"destroy",l)))}}function ki(l,a,i){const p=ur(l.element,l.triggerName,l.fromState,l.toState,a||l.phaseName,i.totalTime??l.totalTime,!!i.disabled),b=l._data;return null!=b&&(p._data=b),p}function ur(l,a,i,s,d="",p=0,b){return{element:l,triggerName:a,fromState:i,toState:s,phaseName:d,totalTime:p,disabled:!!b}}function Ri(l,a,i){let s=l.get(a);return s||l.set(a,s=i),s}function ya(l){const a=l.indexOf(":");return[l.substring(1,a),l.slice(a+1)]}const xa=(()=>typeof document>"u"?null:document.documentElement)();function zl(l){const a=l.parentNode||l.host||null;return a===xa?null:a}let Sr=null,Qf=!1;function Xf(l,a){for(;a;){if(a===l)return!0;a=zl(a)}return!1}function Gl(l,a,i){if(i)return Array.from(l.querySelectorAll(a));const s=l.querySelector(a);return s?[s]:[]}let Ru=(()=>{class l{validateStyleProperty(i){return function Gi(l){Sr||(Sr=function Cs(){return typeof document<"u"?document.body:null}()||{},Qf=!!Sr.style&&"WebkitAppearance"in Sr.style);let a=!0;return Sr.style&&!function Qg(l){return"ebkit"==l.substring(1,6)}(l)&&(a=l in Sr.style,!a&&Qf&&(a="Webkit"+l.charAt(0).toUpperCase()+l.slice(1)in Sr.style)),a}(i)}matchesElement(i,s){return!1}containsElement(i,s){return Xf(i,s)}getParentElement(i){return zl(i)}query(i,s,d){return Gl(i,s,d)}computeStyle(i,s,d){return d||""}animate(i,s,d,p,b,S=[],ee){return new Z.ZN(d,p)}static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac})}return l})(),Wl=(()=>{class l{static#e=this.NOOP=new Ru}return l})();const ep=1e3,wa="ng-enter",Ir="ng-leave",vc="ng-trigger",Or=".ng-trigger",Fu="ng-animating",Ds=".ng-animating";function Ko(l){if("number"==typeof l)return l;const a=l.match(/^(-?[\.\d]+)(m?s)/);return!a||a.length<2?0:yc(parseFloat(a[1]),a[2])}function yc(l,a){return"s"===a?l*ep:l}function Es(l,a,i){return l.hasOwnProperty("duration")?l:function xc(l,a,i){let d,p=0,b="";if("string"==typeof l){const S=l.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===S)return a.push($l()),{duration:0,delay:0,easing:""};d=yc(parseFloat(S[1]),S[2]);const ee=S[3];null!=ee&&(p=yc(parseFloat(ee),S[4]));const Te=S[5];Te&&(b=Te)}else d=l;if(!i){let S=!1,ee=a.length;d<0&&(a.push(function Du(){return new o.vHH(3100,!1)}()),S=!0),p<0&&(a.push(function Eu(){return new o.vHH(3101,!1)}()),S=!0),S&&a.splice(ee,0,$l())}return{duration:d,delay:p,easing:b}}(l,a,i)}function Ms(l,a={}){return Object.keys(l).forEach(i=>{a[i]=l[i]}),a}function Nu(l){const a=new Map;return Object.keys(l).forEach(i=>{a.set(i,l[i])}),a}function to(l,a=new Map,i){if(i)for(let[s,d]of i)a.set(s,d);for(let[s,d]of l)a.set(s,d);return a}function To(l,a,i){a.forEach((s,d)=>{const p=Dc(d);i&&!i.has(d)&&i.set(d,l.style[p]),l.style[p]=s})}function Ts(l,a){a.forEach((i,s)=>{const d=Dc(s);l.style[d]=""})}function As(l){return Array.isArray(l)?1==l.length?l[0]:(0,Z.vP)(l):l}const Lu=new RegExp("{{\\s*(.+?)\\s*}}","g");function Bu(l){let a=[];if("string"==typeof l){let i;for(;i=Lu.exec(l);)a.push(i[1]);Lu.lastIndex=0}return a}function Ca(l,a,i){const s=l.toString(),d=s.replace(Lu,(p,b)=>{let S=a[b];return null==S&&(i.push(function Wf(l){return new o.vHH(3003,!1)}()),S=""),S.toString()});return d==s?l:d}function wc(l){const a=[];let i=l.next();for(;!i.done;)a.push(i.value),i=l.next();return a}const Cc=/-+([a-z0-9])/g;function Dc(l){return l.replace(Cc,(...a)=>a[1].toUpperCase())}function Pi(l,a,i){switch(a.type){case 7:return l.visitTrigger(a,i);case 0:return l.visitState(a,i);case 1:return l.visitTransition(a,i);case 2:return l.visitSequence(a,i);case 3:return l.visitGroup(a,i);case 4:return l.visitAnimate(a,i);case 5:return l.visitKeyframes(a,i);case 6:return l.visitStyle(a,i);case 8:return l.visitReference(a,i);case 9:return l.visitAnimateChild(a,i);case 10:return l.visitAnimateRef(a,i);case 11:return l.visitQuery(a,i);case 12:return l.visitStagger(a,i);default:throw function bc(l){return new o.vHH(3004,!1)}()}}function op(l,a){return window.getComputedStyle(l)[a]}const Yl="*";function o_(l,a){const i=[];return"string"==typeof l?l.split(/\s*,\s*/).forEach(s=>function r_(l,a,i){if(":"==l[0]){const ee=function s_(l,a){switch(l){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(i,s)=>parseFloat(s)>parseFloat(i);case":decrement":return(i,s)=>parseFloat(s)<parseFloat(i);default:return a.push(function bs(l){return new o.vHH(3016,!1)}()),"* => *"}}(l,i);if("function"==typeof ee)return void a.push(ee);l=ee}const s=l.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==s||s.length<4)return i.push(function _s(l){return new o.vHH(3015,!1)}()),a;const d=s[1],p=s[2],b=s[3];a.push(Da(d,b));"<"==p[0]&&!(d==Yl&&b==Yl)&&a.push(Da(b,d))}(s,i,a)):i.push(l),i}const Kl=new Set(["true","1"]),Ec=new Set(["false","0"]);function Da(l,a){const i=Kl.has(l)||Ec.has(l),s=Kl.has(a)||Ec.has(a);return(d,p)=>{let b=l==Yl||l==d,S=a==Yl||a==p;return!b&&i&&"boolean"==typeof d&&(b=d?Kl.has(l):Ec.has(l)),!S&&s&&"boolean"==typeof p&&(S=p?Kl.has(a):Ec.has(a)),b&&S}}const ju=new RegExp("s*:selfs*,?","g");function Mc(l,a,i,s){return new Ss(l).build(a,i,s)}class Ss{constructor(a){this._driver=a}build(a,i,s){const d=new Tc(i);return this._resetContextStyleTimingState(d),Pi(this,As(a),d)}_resetContextStyleTimingState(a){a.currentQuerySelector="",a.collectedStyles=new Map,a.collectedStyles.set("",new Map),a.currentTime=0}visitTrigger(a,i){let s=i.queryCount=0,d=i.depCount=0;const p=[],b=[];return"@"==a.name.charAt(0)&&i.errors.push(function Yf(){return new o.vHH(3006,!1)}()),a.definitions.forEach(S=>{if(this._resetContextStyleTimingState(i),0==S.type){const ee=S,Te=ee.name;Te.toString().split(/\s*,\s*/).forEach(Le=>{ee.name=Le,p.push(this.visitState(ee,i))}),ee.name=Te}else if(1==S.type){const ee=this.visitTransition(S,i);s+=ee.queryCount,d+=ee.depCount,b.push(ee)}else i.errors.push(function Tu(){return new o.vHH(3007,!1)}())}),{type:7,name:a.name,states:p,transitions:b,queryCount:s,depCount:d,options:null}}visitState(a,i){const s=this.visitStyle(a.styles,i),d=a.options&&a.options.params||null;if(s.containsDynamicStyles){const p=new Set,b=d||{};s.styles.forEach(S=>{S instanceof Map&&S.forEach(ee=>{Bu(ee).forEach(Te=>{b.hasOwnProperty(Te)||p.add(Te)})})}),p.size&&(wc(p.values()),i.errors.push(function Au(l,a){return new o.vHH(3008,!1)}()))}return{type:0,name:a.name,style:s,options:d?{params:d}:null}}visitTransition(a,i){i.queryCount=0,i.depCount=0;const s=Pi(this,As(a.animation),i);return{type:1,matchers:o_(a.expr,i.errors),animation:s,queryCount:i.queryCount,depCount:i.depCount,options:Rr(a.options)}}visitSequence(a,i){return{type:2,steps:a.steps.map(s=>Pi(this,s,i)),options:Rr(a.options)}}visitGroup(a,i){const s=i.currentTime;let d=0;const p=a.steps.map(b=>{i.currentTime=s;const S=Pi(this,b,i);return d=Math.max(d,i.currentTime),S});return i.currentTime=d,{type:3,steps:p,options:Rr(a.options)}}visitAnimate(a,i){const s=function Sc(l,a){if(l.hasOwnProperty("duration"))return l;if("number"==typeof l)return ql(Es(l,a).duration,0,"");const i=l;if(i.split(/\s+/).some(p=>"{"==p.charAt(0)&&"{"==p.charAt(1))){const p=ql(0,0,"");return p.dynamic=!0,p.strValue=i,p}const d=Es(i,a);return ql(d.duration,d.delay,d.easing)}(a.timings,i.errors);i.currentAnimateTimings=s;let d,p=a.styles?a.styles:(0,Z.oB)({});if(5==p.type)d=this.visitKeyframes(p,i);else{let b=a.styles,S=!1;if(!b){S=!0;const Te={};s.easing&&(Te.easing=s.easing),b=(0,Z.oB)(Te)}i.currentTime+=s.duration+s.delay;const ee=this.visitStyle(b,i);ee.isEmptyStep=S,d=ee}return i.currentAnimateTimings=null,{type:4,timings:s,style:d,options:null}}visitStyle(a,i){const s=this._makeStyleAst(a,i);return this._validateStyleAst(s,i),s}_makeStyleAst(a,i){const s=[],d=Array.isArray(a.styles)?a.styles:[a.styles];for(let S of d)"string"==typeof S?S===Z.l3?s.push(S):i.errors.push(new o.vHH(3002,!1)):s.push(Nu(S));let p=!1,b=null;return s.forEach(S=>{if(S instanceof Map&&(S.has("easing")&&(b=S.get("easing"),S.delete("easing")),!p))for(let ee of S.values())if(ee.toString().indexOf("{{")>=0){p=!0;break}}),{type:6,styles:s,easing:b,offset:a.offset,containsDynamicStyles:p,options:null}}_validateStyleAst(a,i){const s=i.currentAnimateTimings;let d=i.currentTime,p=i.currentTime;s&&p>0&&(p-=s.duration+s.delay),a.styles.forEach(b=>{"string"!=typeof b&&b.forEach((S,ee)=>{const Te=i.collectedStyles.get(i.currentQuerySelector),Le=Te.get(ee);let nt=!0;Le&&(p!=d&&p>=Le.startTime&&d<=Le.endTime&&(i.errors.push(function xi(l,a,i,s,d){return new o.vHH(3010,!1)}()),nt=!1),p=Le.startTime),nt&&Te.set(ee,{startTime:p,endTime:d}),i.options&&function ip(l,a,i){const s=a.params||{},d=Bu(l);d.length&&d.forEach(p=>{s.hasOwnProperty(p)||i.push(function Mu(l){return new o.vHH(3001,!1)}())})}(S,i.options,i.errors)})})}visitKeyframes(a,i){const s={type:5,styles:[],options:null};if(!i.currentAnimateTimings)return i.errors.push(function Kf(){return new o.vHH(3011,!1)}()),s;let p=0;const b=[];let S=!1,ee=!1,Te=0;const Le=a.steps.map(Pn=>{const Qn=this._makeStyleAst(Pn,i);let mi=null!=Qn.offset?Qn.offset:function Ac(l){if("string"==typeof l)return null;let a=null;if(Array.isArray(l))l.forEach(i=>{if(i instanceof Map&&i.has("offset")){const s=i;a=parseFloat(s.get("offset")),s.delete("offset")}});else if(l instanceof Map&&l.has("offset")){const i=l;a=parseFloat(i.get("offset")),i.delete("offset")}return a}(Qn.styles),Xn=0;return null!=mi&&(p++,Xn=Qn.offset=mi),ee=ee||Xn<0||Xn>1,S=S||Xn<Te,Te=Xn,b.push(Xn),Qn});ee&&i.errors.push(function Su(){return new o.vHH(3012,!1)}()),S&&i.errors.push(function Hl(){return new o.vHH(3200,!1)}());const nt=a.steps.length;let _t=0;p>0&&p<nt?i.errors.push(function Zf(){return new o.vHH(3202,!1)}()):0==p&&(_t=1/(nt-1));const Dt=nt-1,Mt=i.currentTime,At=i.currentAnimateTimings,Yt=At.duration;return Le.forEach((Pn,Qn)=>{const mi=_t>0?Qn==Dt?1:_t*Qn:b[Qn],Xn=mi*Yt;i.currentTime=Mt+At.delay+Xn,At.duration=Xn,this._validateStyleAst(Pn,i),Pn.offset=mi,s.styles.push(Pn)}),s}visitReference(a,i){return{type:8,animation:Pi(this,As(a.animation),i),options:Rr(a.options)}}visitAnimateChild(a,i){return i.depCount++,{type:9,options:Rr(a.options)}}visitAnimateRef(a,i){return{type:10,animation:this.visitReference(a.animation,i),options:Rr(a.options)}}visitQuery(a,i){const s=i.currentQuerySelector,d=a.options||{};i.queryCount++,i.currentQuery=a;const[p,b]=function Uu(l){const a=!!l.split(/\s*,\s*/).find(i=>":self"==i);return a&&(l=l.replace(ju,"")),l=l.replace(/@\*/g,Or).replace(/@\w+/g,i=>Or+"-"+i.slice(1)).replace(/:animating/g,Ds),[l,a]}(a.selector);i.currentQuerySelector=s.length?s+" "+p:p,Ri(i.collectedStyles,i.currentQuerySelector,new Map);const S=Pi(this,As(a.animation),i);return i.currentQuery=null,i.currentQuerySelector=s,{type:11,selector:p,limit:d.limit||0,optional:!!d.optional,includeSelf:b,animation:S,originalSelector:a.selector,options:Rr(a.options)}}visitStagger(a,i){i.currentQuery||i.errors.push(function Iu(){return new o.vHH(3013,!1)}());const s="full"===a.timings?{duration:0,delay:0,easing:"full"}:Es(a.timings,i.errors,!0);return{type:12,animation:Pi(this,As(a.animation),i),timings:s,options:null}}}class Tc{constructor(a){this.errors=a,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Rr(l){return l?(l=Ms(l)).params&&(l.params=function zu(l){return l?Ms(l):null}(l.params)):l={},l}function ql(l,a,i){return{duration:l,delay:a,easing:i}}function Jl(l,a,i,s,d,p,b=null,S=!1){return{type:1,element:l,keyframes:a,preStyleProps:i,postStyleProps:s,duration:d,delay:p,totalTime:d+p,easing:b,subTimeline:S}}class Ma{constructor(){this._map=new Map}get(a){return this._map.get(a)||[]}append(a,i){let s=this._map.get(a);s||this._map.set(a,s=[]),s.push(...i)}has(a){return this._map.has(a)}clear(){this._map.clear()}}const sp=new RegExp(":enter","g"),Gu=new RegExp(":leave","g");function Xl(l,a,i,s,d,p=new Map,b=new Map,S,ee,Te=[]){return(new cp).buildKeyframes(l,a,i,s,d,p,b,S,ee,Te)}class cp{buildKeyframes(a,i,s,d,p,b,S,ee,Te,Le=[]){Te=Te||new Ma;const nt=new Ta(a,i,Te,d,p,Le,[]);nt.options=ee;const _t=ee.delay?Ko(ee.delay):0;nt.currentTimeline.delayNextStep(_t),nt.currentTimeline.setStyles([b],null,nt.errors,ee),Pi(this,s,nt);const Dt=nt.timelines.filter(Mt=>Mt.containsAnimation());if(Dt.length&&S.size){let Mt;for(let At=Dt.length-1;At>=0;At--){const Yt=Dt[At];if(Yt.element===i){Mt=Yt;break}}Mt&&!Mt.allowOnlyTimelineStyles()&&Mt.setStyles([S],null,nt.errors,ee)}return Dt.length?Dt.map(Mt=>Mt.buildKeyframes()):[Jl(i,[],[],[],0,_t,"",!1)]}visitTrigger(a,i){}visitState(a,i){}visitTransition(a,i){}visitAnimateChild(a,i){const s=i.subInstructions.get(i.element);if(s){const d=i.createSubContext(a.options),p=i.currentTimeline.currentTime,b=this._visitSubInstructions(s,d,d.options);p!=b&&i.transformIntoNewTimeline(b)}i.previousNode=a}visitAnimateRef(a,i){const s=i.createSubContext(a.options);s.transformIntoNewTimeline(),this._applyAnimationRefDelays([a.options,a.animation.options],i,s),this.visitReference(a.animation,s),i.transformIntoNewTimeline(s.currentTimeline.currentTime),i.previousNode=a}_applyAnimationRefDelays(a,i,s){for(const d of a){const p=d?.delay;if(p){const b="number"==typeof p?p:Ko(Ca(p,d?.params??{},i.errors));s.delayNextStep(b)}}}_visitSubInstructions(a,i,s){let p=i.currentTimeline.currentTime;const b=null!=s.duration?Ko(s.duration):null,S=null!=s.delay?Ko(s.delay):null;return 0!==b&&a.forEach(ee=>{const Te=i.appendInstructionToTimeline(ee,b,S);p=Math.max(p,Te.duration+Te.delay)}),p}visitReference(a,i){i.updateOptions(a.options,!0),Pi(this,a.animation,i),i.previousNode=a}visitSequence(a,i){const s=i.subContextCount;let d=i;const p=a.options;if(p&&(p.params||p.delay)&&(d=i.createSubContext(p),d.transformIntoNewTimeline(),null!=p.delay)){6==d.previousNode.type&&(d.currentTimeline.snapshotCurrentStyles(),d.previousNode=li);const b=Ko(p.delay);d.delayNextStep(b)}a.steps.length&&(a.steps.forEach(b=>Pi(this,b,d)),d.currentTimeline.applyStylesToKeyframe(),d.subContextCount>s&&d.transformIntoNewTimeline()),i.previousNode=a}visitGroup(a,i){const s=[];let d=i.currentTimeline.currentTime;const p=a.options&&a.options.delay?Ko(a.options.delay):0;a.steps.forEach(b=>{const S=i.createSubContext(a.options);p&&S.delayNextStep(p),Pi(this,b,S),d=Math.max(d,S.currentTimeline.currentTime),s.push(S.currentTimeline)}),s.forEach(b=>i.currentTimeline.mergeTimelineCollectedStyles(b)),i.transformIntoNewTimeline(d),i.previousNode=a}_visitTiming(a,i){if(a.dynamic){const s=a.strValue;return Es(i.params?Ca(s,i.params,i.errors):s,i.errors)}return{duration:a.duration,delay:a.delay,easing:a.easing}}visitAnimate(a,i){const s=i.currentAnimateTimings=this._visitTiming(a.timings,i),d=i.currentTimeline;s.delay&&(i.incrementTime(s.delay),d.snapshotCurrentStyles());const p=a.style;5==p.type?this.visitKeyframes(p,i):(i.incrementTime(s.duration),this.visitStyle(p,i),d.applyStylesToKeyframe()),i.currentAnimateTimings=null,i.previousNode=a}visitStyle(a,i){const s=i.currentTimeline,d=i.currentAnimateTimings;!d&&s.hasCurrentStyleProperties()&&s.forwardFrame();const p=d&&d.easing||a.easing;a.isEmptyStep?s.applyEmptyStep(p):s.setStyles(a.styles,p,i.errors,i.options),i.previousNode=a}visitKeyframes(a,i){const s=i.currentAnimateTimings,d=i.currentTimeline.duration,p=s.duration,S=i.createSubContext().currentTimeline;S.easing=s.easing,a.styles.forEach(ee=>{S.forwardTime((ee.offset||0)*p),S.setStyles(ee.styles,ee.easing,i.errors,i.options),S.applyStylesToKeyframe()}),i.currentTimeline.mergeTimelineCollectedStyles(S),i.transformIntoNewTimeline(d+p),i.previousNode=a}visitQuery(a,i){const s=i.currentTimeline.currentTime,d=a.options||{},p=d.delay?Ko(d.delay):0;p&&(6===i.previousNode.type||0==s&&i.currentTimeline.hasCurrentStyleProperties())&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=li);let b=s;const S=i.invokeQuery(a.selector,a.originalSelector,a.limit,a.includeSelf,!!d.optional,i.errors);i.currentQueryTotal=S.length;let ee=null;S.forEach((Te,Le)=>{i.currentQueryIndex=Le;const nt=i.createSubContext(a.options,Te);p&&nt.delayNextStep(p),Te===i.element&&(ee=nt.currentTimeline),Pi(this,a.animation,nt),nt.currentTimeline.applyStylesToKeyframe(),b=Math.max(b,nt.currentTimeline.currentTime)}),i.currentQueryIndex=0,i.currentQueryTotal=0,i.transformIntoNewTimeline(b),ee&&(i.currentTimeline.mergeTimelineCollectedStyles(ee),i.currentTimeline.snapshotCurrentStyles()),i.previousNode=a}visitStagger(a,i){const s=i.parentContext,d=i.currentTimeline,p=a.timings,b=Math.abs(p.duration),S=b*(i.currentQueryTotal-1);let ee=b*i.currentQueryIndex;switch(p.duration<0?"reverse":p.easing){case"reverse":ee=S-ee;break;case"full":ee=s.currentStaggerTime}const Le=i.currentTimeline;ee&&Le.delayNextStep(ee);const nt=Le.currentTime;Pi(this,a.animation,i),i.previousNode=a,s.currentStaggerTime=d.currentTime-nt+(d.startTime-s.currentTimeline.startTime)}}const li={};class Ta{constructor(a,i,s,d,p,b,S,ee){this._driver=a,this.element=i,this.subInstructions=s,this._enterClassName=d,this._leaveClassName=p,this.errors=b,this.timelines=S,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=li,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ee||new Aa(this._driver,i,0),S.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(a,i){if(!a)return;const s=a;let d=this.options;null!=s.duration&&(d.duration=Ko(s.duration)),null!=s.delay&&(d.delay=Ko(s.delay));const p=s.params;if(p){let b=d.params;b||(b=this.options.params={}),Object.keys(p).forEach(S=>{(!i||!b.hasOwnProperty(S))&&(b[S]=Ca(p[S],b,this.errors))})}}_copyOptions(){const a={};if(this.options){const i=this.options.params;if(i){const s=a.params={};Object.keys(i).forEach(d=>{s[d]=i[d]})}}return a}createSubContext(a=null,i,s){const d=i||this.element,p=new Ta(this._driver,d,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(d,s||0));return p.previousNode=this.previousNode,p.currentAnimateTimings=this.currentAnimateTimings,p.options=this._copyOptions(),p.updateOptions(a),p.currentQueryIndex=this.currentQueryIndex,p.currentQueryTotal=this.currentQueryTotal,p.parentContext=this,this.subContextCount++,p}transformIntoNewTimeline(a){return this.previousNode=li,this.currentTimeline=this.currentTimeline.fork(this.element,a),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(a,i,s){const d={duration:i??a.duration,delay:this.currentTimeline.currentTime+(s??0)+a.delay,easing:""},p=new ed(this._driver,a.element,a.keyframes,a.preStyleProps,a.postStyleProps,d,a.stretchStartingKeyframe);return this.timelines.push(p),d}incrementTime(a){this.currentTimeline.forwardTime(this.currentTimeline.duration+a)}delayNextStep(a){a>0&&this.currentTimeline.delayNextStep(a)}invokeQuery(a,i,s,d,p,b){let S=[];if(d&&S.push(this.element),a.length>0){a=(a=a.replace(sp,"."+this._enterClassName)).replace(Gu,"."+this._leaveClassName);let Te=this._driver.query(this.element,a,1!=s);0!==s&&(Te=s<0?Te.slice(Te.length+s,Te.length):Te.slice(0,s)),S.push(...Te)}return!p&&0==S.length&&b.push(function Vl(l){return new o.vHH(3014,!1)}()),S}}class Aa{constructor(a,i,s,d){this._driver=a,this.element=i,this.startTime=s,this._elementTimelineStylesLookup=d,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(i),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(i,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(a){const i=1===this._keyframes.size&&this._pendingStyles.size;this.duration||i?(this.forwardTime(this.currentTime+a),i&&this.snapshotCurrentStyles()):this.startTime+=a}fork(a,i){return this.applyStylesToKeyframe(),new Aa(this._driver,a,i||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(a){this.applyStylesToKeyframe(),this.duration=a,this._loadKeyframe()}_updateStyle(a,i){this._localTimelineStyles.set(a,i),this._globalTimelineStyles.set(a,i),this._styleSummary.set(a,{time:this.currentTime,value:i})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(a){a&&this._previousKeyframe.set("easing",a);for(let[i,s]of this._globalTimelineStyles)this._backFill.set(i,s||Z.l3),this._currentKeyframe.set(i,Z.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(a,i,s,d){i&&this._previousKeyframe.set("easing",i);const p=d&&d.params||{},b=function Sa(l,a){const i=new Map;let s;return l.forEach(d=>{if("*"===d){s=s||a.keys();for(let p of s)i.set(p,Z.l3)}else to(d,i)}),i}(a,this._globalTimelineStyles);for(let[S,ee]of b){const Te=Ca(ee,p,s);this._pendingStyles.set(S,Te),this._localTimelineStyles.has(S)||this._backFill.set(S,this._globalTimelineStyles.get(S)??Z.l3),this._updateStyle(S,Te)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((a,i)=>{this._currentKeyframe.set(i,a)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((a,i)=>{this._currentKeyframe.has(i)||this._currentKeyframe.set(i,a)}))}snapshotCurrentStyles(){for(let[a,i]of this._localTimelineStyles)this._pendingStyles.set(a,i),this._updateStyle(a,i)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const a=[];for(let i in this._currentKeyframe)a.push(i);return a}mergeTimelineCollectedStyles(a){a._styleSummary.forEach((i,s)=>{const d=this._styleSummary.get(s);(!d||i.time>d.time)&&this._updateStyle(s,i.value)})}buildKeyframes(){this.applyStylesToKeyframe();const a=new Set,i=new Set,s=1===this._keyframes.size&&0===this.duration;let d=[];this._keyframes.forEach((S,ee)=>{const Te=to(S,new Map,this._backFill);Te.forEach((Le,nt)=>{Le===Z.k1?a.add(nt):Le===Z.l3&&i.add(nt)}),s||Te.set("offset",ee/this.duration),d.push(Te)});const p=a.size?wc(a.values()):[],b=i.size?wc(i.values()):[];if(s){const S=d[0],ee=new Map(S);S.set("offset",0),ee.set("offset",1),d=[S,ee]}return Jl(this.element,d,p,b,this.duration,this.startTime,this.easing,!1)}}class ed extends Aa{constructor(a,i,s,d,p,b,S=!1){super(a,i,b.delay),this.keyframes=s,this.preStyleProps=d,this.postStyleProps=p,this._stretchStartingKeyframe=S,this.timings={duration:b.duration,delay:b.delay,easing:b.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let a=this.keyframes,{delay:i,duration:s,easing:d}=this.timings;if(this._stretchStartingKeyframe&&i){const p=[],b=s+i,S=i/b,ee=to(a[0]);ee.set("offset",0),p.push(ee);const Te=to(a[0]);Te.set("offset",di(S)),p.push(Te);const Le=a.length-1;for(let nt=1;nt<=Le;nt++){let _t=to(a[nt]);const Dt=_t.get("offset");_t.set("offset",di((i+Dt*s)/b)),p.push(_t)}s=b,i=0,d="",a=p}return Jl(this.element,a,this.preStyleProps,this.postStyleProps,s,i,d,!0)}}function di(l,a=3){const i=Math.pow(10,a-1);return Math.round(l*i)/i}class Ic{}const Wu=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]);class dp extends Ic{normalizePropertyName(a,i){return Dc(a)}normalizeStyleValue(a,i,s,d){let p="";const b=s.toString().trim();if(Wu.has(i)&&0!==s&&"0"!==s)if("number"==typeof s)p="px";else{const S=s.match(/^[+-]?[\d\.]+([a-z]*)$/);S&&0==S[1].length&&d.push(function Ar(l,a){return new o.vHH(3005,!1)}())}return b+p}}function td(l,a,i,s,d,p,b,S,ee,Te,Le,nt,_t){return{type:0,element:l,triggerName:a,isRemovalTransition:d,fromState:i,fromStyles:p,toState:s,toStyles:b,timelines:S,queriedElements:ee,preStyleProps:Te,postStyleProps:Le,totalTime:nt,errors:_t}}const nd={};class id{constructor(a,i,s){this._triggerName=a,this.ast=i,this._stateStyles=s}match(a,i,s,d){return function up(l,a,i,s,d){return l.some(p=>p(a,i,s,d))}(this.ast.matchers,a,i,s,d)}buildStyles(a,i,s){let d=this._stateStyles.get("*");return void 0!==a&&(d=this._stateStyles.get(a?.toString())||d),d?d.buildStyles(i,s):new Map}build(a,i,s,d,p,b,S,ee,Te,Le){const nt=[],_t=this.ast.options&&this.ast.options.params||nd,Mt=this.buildStyles(s,S&&S.params||nd,nt),At=ee&&ee.params||nd,Yt=this.buildStyles(d,At,nt),Pn=new Set,Qn=new Map,mi=new Map,Xn="void"===d,js={params:od(At,_t),delay:this.ast.options?.delay},Po=Le?[]:Xl(a,i,this.ast.animation,p,b,Mt,Yt,js,Te,nt);let Ci=0;if(Po.forEach(Fi=>{Ci=Math.max(Fi.duration+Fi.delay,Ci)}),nt.length)return td(i,this._triggerName,s,d,Xn,Mt,Yt,[],[],Qn,mi,Ci,nt);Po.forEach(Fi=>{const ui=Fi.element,zr=Ri(Qn,ui,new Set);Fi.preStyleProps.forEach(Gr=>zr.add(Gr));const Ua=Ri(mi,ui,new Set);Fi.postStyleProps.forEach(Gr=>Ua.add(Gr)),ui!==i&&Pn.add(ui)});const Fo=wc(Pn.values());return td(i,this._triggerName,s,d,Xn,Mt,Yt,Po,Fo,Qn,mi,Ci)}}function od(l,a){const i=Ms(a);for(const s in l)l.hasOwnProperty(s)&&null!=l[s]&&(i[s]=l[s]);return i}class rd{constructor(a,i,s){this.styles=a,this.defaultParams=i,this.normalizer=s}buildStyles(a,i){const s=new Map,d=Ms(this.defaultParams);return Object.keys(a).forEach(p=>{const b=a[p];null!==b&&(d[p]=b)}),this.styles.styles.forEach(p=>{"string"!=typeof p&&p.forEach((b,S)=>{b&&(b=Ca(b,d,i));const ee=this.normalizer.normalizePropertyName(S,i);b=this.normalizer.normalizeStyleValue(S,ee,b,i),s.set(S,b)})}),s}}class Ia{constructor(a,i,s){this.name=a,this.ast=i,this._normalizer=s,this.transitionFactories=[],this.states=new Map,i.states.forEach(d=>{this.states.set(d.name,new rd(d.style,d.options&&d.options.params||{},s))}),Yu(this.states,"true","1"),Yu(this.states,"false","0"),i.transitions.forEach(d=>{this.transitionFactories.push(new id(a,d,this.states))}),this.fallbackTransition=function fp(l,a,i){return new id(l,{type:1,animation:{type:2,steps:[],options:null},matchers:[(b,S)=>!0],options:null,queryCount:0,depCount:0},a)}(a,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(a,i,s,d){return this.transitionFactories.find(b=>b.match(a,i,s,d))||null}matchStyles(a,i,s){return this.fallbackTransition.buildStyles(a,i,s)}}function Yu(l,a,i){l.has(a)?l.has(i)||l.set(i,l.get(a)):l.has(i)&&l.set(a,l.get(i))}const Ku=new Ma;class Zu{constructor(a,i,s){this.bodyNode=a,this._driver=i,this._normalizer=s,this._animations=new Map,this._playersById=new Map,this.players=[]}register(a,i){const s=[],p=Mc(this._driver,i,s,[]);if(s.length)throw function zg(l){return new o.vHH(3503,!1)}();this._animations.set(a,p)}_buildPlayer(a,i,s){const d=a.element,p=ws(this._normalizer,a.keyframes,i,s);return this._driver.animate(d,p,a.duration,a.delay,a.easing,[],!0)}create(a,i,s={}){const d=[],p=this._animations.get(a);let b;const S=new Map;if(p?(b=Xl(this._driver,i,p,wa,Ir,new Map,new Map,s,Ku,d),b.forEach(Le=>{const nt=Ri(S,Le.element,new Map);Le.postStyleProps.forEach(_t=>nt.set(_t,null))})):(d.push(function qf(){return new o.vHH(3300,!1)}()),b=[]),d.length)throw function Gg(l){return new o.vHH(3504,!1)}();S.forEach((Le,nt)=>{Le.forEach((_t,Dt)=>{Le.set(Dt,this._driver.computeStyle(nt,Dt,Z.l3))})});const Te=dr(b.map(Le=>{const nt=S.get(Le.element);return this._buildPlayer(Le,new Map,nt)}));return this._playersById.set(a,Te),Te.onDestroy(()=>this.destroy(a)),this.players.push(Te),Te}destroy(a){const i=this._getPlayer(a);i.destroy(),this._playersById.delete(a);const s=this.players.indexOf(i);s>=0&&this.players.splice(s,1)}_getPlayer(a){const i=this._playersById.get(a);if(!i)throw function Wg(l){return new o.vHH(3301,!1)}();return i}listen(a,i,s,d){const p=ur(i,"","","");return Ul(this._getPlayer(a),s,p,d),()=>{}}command(a,i,s,d){if("register"==s)return void this.register(a,d[0]);if("create"==s)return void this.create(a,i,d[0]||{});const p=this._getPlayer(a);switch(s){case"play":p.play();break;case"pause":p.pause();break;case"reset":p.reset();break;case"restart":p.restart();break;case"finish":p.finish();break;case"init":p.init();break;case"setPosition":p.setPosition(parseFloat(d[0]));break;case"destroy":this.destroy(a)}}}const sd="ng-animate-queued",Os="ng-animate-disabled",pp=[],Ju={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},mp={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ho="__ng_removed";class cd{get params(){return this.options.params}constructor(a,i=""){this.namespaceId=i;const s=a&&a.hasOwnProperty("value");if(this.value=function _p(l){return l??null}(s?a.value:a),s){const p=Ms(a);delete p.value,this.options=p}else this.options={};this.options.params||(this.options.params={})}absorbOptions(a){const i=a.params;if(i){const s=this.options.params;Object.keys(i).forEach(d=>{null==s[d]&&(s[d]=i[d])})}}}const Oa="void",kc=new cd(Oa);class Rc{constructor(a,i,s){this.id=a,this.hostElement=i,this._engine=s,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+a,no(i,this._hostClassName)}listen(a,i,s,d){if(!this._triggers.has(i))throw function Yg(l,a){return new o.vHH(3302,!1)}();if(null==s||0==s.length)throw function Kg(l){return new o.vHH(3303,!1)}();if(!function Qu(l){return"start"==l||"done"==l}(s))throw function Zg(l,a){return new o.vHH(3400,!1)}();const p=Ri(this._elementListeners,a,[]),b={name:i,phase:s,callback:d};p.push(b);const S=Ri(this._engine.statesByElement,a,new Map);return S.has(i)||(no(a,vc),no(a,vc+"-"+i),S.set(i,kc)),()=>{this._engine.afterFlush(()=>{const ee=p.indexOf(b);ee>=0&&p.splice(ee,1),this._triggers.has(i)||S.delete(i)})}}register(a,i){return!this._triggers.has(a)&&(this._triggers.set(a,i),!0)}_getTrigger(a){const i=this._triggers.get(a);if(!i)throw function qg(l){return new o.vHH(3401,!1)}();return i}trigger(a,i,s,d=!0){const p=this._getTrigger(i),b=new ka(this.id,i,a);let S=this._engine.statesByElement.get(a);S||(no(a,vc),no(a,vc+"-"+i),this._engine.statesByElement.set(a,S=new Map));let ee=S.get(i);const Te=new cd(s,this.id);if(!(s&&s.hasOwnProperty("value"))&&ee&&Te.absorbOptions(ee.options),S.set(i,Te),ee||(ee=kc),Te.value!==Oa&&ee.value===Te.value){if(!function Xu(l,a){const i=Object.keys(l),s=Object.keys(a);if(i.length!=s.length)return!1;for(let d=0;d<i.length;d++){const p=i[d];if(!a.hasOwnProperty(p)||l[p]!==a[p])return!1}return!0}(ee.params,Te.params)){const At=[],Yt=p.matchStyles(ee.value,ee.params,At),Pn=p.matchStyles(Te.value,Te.params,At);At.length?this._engine.reportError(At):this._engine.afterFlush(()=>{Ts(a,Yt),To(a,Pn)})}return}const _t=Ri(this._engine.playersByElement,a,[]);_t.forEach(At=>{At.namespaceId==this.id&&At.triggerName==i&&At.queued&&At.destroy()});let Dt=p.matchTransition(ee.value,Te.value,a,Te.params),Mt=!1;if(!Dt){if(!d)return;Dt=p.fallbackTransition,Mt=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:i,transition:Dt,fromState:ee,toState:Te,player:b,isFallbackTransition:Mt}),Mt||(no(a,sd),b.onStart(()=>{Ra(a,sd)})),b.onDone(()=>{let At=this.players.indexOf(b);At>=0&&this.players.splice(At,1);const Yt=this._engine.playersByElement.get(a);if(Yt){let Pn=Yt.indexOf(b);Pn>=0&&Yt.splice(Pn,1)}}),this.players.push(b),_t.push(b),b}deregister(a){this._triggers.delete(a),this._engine.statesByElement.forEach(i=>i.delete(a)),this._elementListeners.forEach((i,s)=>{this._elementListeners.set(s,i.filter(d=>d.name!=a))})}clearElementCache(a){this._engine.statesByElement.delete(a),this._elementListeners.delete(a);const i=this._engine.playersByElement.get(a);i&&(i.forEach(s=>s.destroy()),this._engine.playersByElement.delete(a))}_signalRemovalForInnerTriggers(a,i){const s=this._engine.driver.query(a,Or,!0);s.forEach(d=>{if(d[ho])return;const p=this._engine.fetchNamespacesByElement(d);p.size?p.forEach(b=>b.triggerLeaveAnimation(d,i,!1,!0)):this.clearElementCache(d)}),this._engine.afterFlushAnimationsDone(()=>s.forEach(d=>this.clearElementCache(d)))}triggerLeaveAnimation(a,i,s,d){const p=this._engine.statesByElement.get(a),b=new Map;if(p){const S=[];if(p.forEach((ee,Te)=>{if(b.set(Te,ee.value),this._triggers.has(Te)){const Le=this.trigger(a,Te,Oa,d);Le&&S.push(Le)}}),S.length)return this._engine.markElementAsRemoved(this.id,a,!0,i,b),s&&dr(S).onDone(()=>this._engine.processLeaveNode(a)),!0}return!1}prepareLeaveAnimationListeners(a){const i=this._elementListeners.get(a),s=this._engine.statesByElement.get(a);if(i&&s){const d=new Set;i.forEach(p=>{const b=p.name;if(d.has(b))return;d.add(b);const ee=this._triggers.get(b).fallbackTransition,Te=s.get(b)||kc,Le=new cd(Oa),nt=new ka(this.id,b,a);this._engine.totalQueuedPlayers++,this._queue.push({element:a,triggerName:b,transition:ee,fromState:Te,toState:Le,player:nt,isFallbackTransition:!0})})}}removeNode(a,i){const s=this._engine;if(a.childElementCount&&this._signalRemovalForInnerTriggers(a,i),this.triggerLeaveAnimation(a,i,!0))return;let d=!1;if(s.totalAnimations){const p=s.players.length?s.playersByQueriedElement.get(a):[];if(p&&p.length)d=!0;else{let b=a;for(;b=b.parentNode;)if(s.statesByElement.get(b)){d=!0;break}}}if(this.prepareLeaveAnimationListeners(a),d)s.markElementAsRemoved(this.id,a,!1,i);else{const p=a[ho];(!p||p===Ju)&&(s.afterFlush(()=>this.clearElementCache(a)),s.destroyInnerAnimations(a),s._onRemovalComplete(a,i))}}insertNode(a,i){no(a,this._hostClassName)}drainQueuedTransitions(a){const i=[];return this._queue.forEach(s=>{const d=s.player;if(d.destroyed)return;const p=s.element,b=this._elementListeners.get(p);b&&b.forEach(S=>{if(S.name==s.triggerName){const ee=ur(p,s.triggerName,s.fromState.value,s.toState.value);ee._data=a,Ul(s.player,S.phase,ee,S.callback)}}),d.markedForDestroy?this._engine.afterFlush(()=>{d.destroy()}):i.push(s)}),this._queue=[],i.sort((s,d)=>{const p=s.transition.ast.depCount,b=d.transition.ast.depCount;return 0==p||0==b?p-b:this._engine.driver.containsElement(s.element,d.element)?1:-1})}destroy(a){this.players.forEach(i=>i.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,a)}}class ld{_onRemovalComplete(a,i){this.onRemovalComplete(a,i)}constructor(a,i,s){this.bodyNode=a,this.driver=i,this._normalizer=s,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(d,p)=>{}}get queuedPlayers(){const a=[];return this._namespaceList.forEach(i=>{i.players.forEach(s=>{s.queued&&a.push(s)})}),a}createNamespace(a,i){const s=new Rc(a,i,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,i)?this._balanceNamespaceList(s,i):(this.newHostElements.set(i,s),this.collectEnterElement(i)),this._namespaceLookup[a]=s}_balanceNamespaceList(a,i){const s=this._namespaceList,d=this.namespacesByHostElement;if(s.length-1>=0){let b=!1,S=this.driver.getParentElement(i);for(;S;){const ee=d.get(S);if(ee){const Te=s.indexOf(ee);s.splice(Te+1,0,a),b=!0;break}S=this.driver.getParentElement(S)}b||s.unshift(a)}else s.push(a);return d.set(i,a),a}register(a,i){let s=this._namespaceLookup[a];return s||(s=this.createNamespace(a,i)),s}registerTrigger(a,i,s){let d=this._namespaceLookup[a];d&&d.register(i,s)&&this.totalAnimations++}destroy(a,i){a&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const s=this._fetchNamespace(a);this.namespacesByHostElement.delete(s.hostElement);const d=this._namespaceList.indexOf(s);d>=0&&this._namespaceList.splice(d,1),s.destroy(i),delete this._namespaceLookup[a]}))}_fetchNamespace(a){return this._namespaceLookup[a]}fetchNamespacesByElement(a){const i=new Set,s=this.statesByElement.get(a);if(s)for(let d of s.values())if(d.namespaceId){const p=this._fetchNamespace(d.namespaceId);p&&i.add(p)}return i}trigger(a,i,s,d){if(ks(i)){const p=this._fetchNamespace(a);if(p)return p.trigger(i,s,d),!0}return!1}insertNode(a,i,s,d){if(!ks(i))return;const p=i[ho];if(p&&p.setForRemoval){p.setForRemoval=!1,p.setForMove=!0;const b=this.collectedLeaveElements.indexOf(i);b>=0&&this.collectedLeaveElements.splice(b,1)}if(a){const b=this._fetchNamespace(a);b&&b.insertNode(i,s)}d&&this.collectEnterElement(i)}collectEnterElement(a){this.collectedEnterElements.push(a)}markElementAsDisabled(a,i){i?this.disabledNodes.has(a)||(this.disabledNodes.add(a),no(a,Os)):this.disabledNodes.has(a)&&(this.disabledNodes.delete(a),Ra(a,Os))}removeNode(a,i,s){if(ks(i)){const d=a?this._fetchNamespace(a):null;d?d.removeNode(i,s):this.markElementAsRemoved(a,i,!1,s);const p=this.namespacesByHostElement.get(i);p&&p.id!==a&&p.removeNode(i,s)}else this._onRemovalComplete(i,s)}markElementAsRemoved(a,i,s,d,p){this.collectedLeaveElements.push(i),i[ho]={namespaceId:a,setForRemoval:d,hasAnimation:s,removedBeforeQueried:!1,previousTriggersValues:p}}listen(a,i,s,d,p){return ks(i)?this._fetchNamespace(a).listen(i,s,d,p):()=>{}}_buildInstruction(a,i,s,d,p){return a.transition.build(this.driver,a.element,a.fromState.value,a.toState.value,s,d,a.fromState.options,a.toState.options,i,p)}destroyInnerAnimations(a){let i=this.driver.query(a,Or,!0);i.forEach(s=>this.destroyActiveAnimationsForElement(s)),0!=this.playersByQueriedElement.size&&(i=this.driver.query(a,Ds,!0),i.forEach(s=>this.finishActiveQueriedAnimationOnElement(s)))}destroyActiveAnimationsForElement(a){const i=this.playersByElement.get(a);i&&i.forEach(s=>{s.queued?s.markedForDestroy=!0:s.destroy()})}finishActiveQueriedAnimationOnElement(a){const i=this.playersByQueriedElement.get(a);i&&i.forEach(s=>s.finish())}whenRenderingDone(){return new Promise(a=>{if(this.players.length)return dr(this.players).onDone(()=>a());a()})}processLeaveNode(a){const i=a[ho];if(i&&i.setForRemoval){if(a[ho]=Ju,i.namespaceId){this.destroyInnerAnimations(a);const s=this._fetchNamespace(i.namespaceId);s&&s.clearElementCache(a)}this._onRemovalComplete(a,i.setForRemoval)}a.classList?.contains(Os)&&this.markElementAsDisabled(a,!1),this.driver.query(a,".ng-animate-disabled",!0).forEach(s=>{this.markElementAsDisabled(s,!1)})}flush(a=-1){let i=[];if(this.newHostElements.size&&(this.newHostElements.forEach((s,d)=>this._balanceNamespaceList(s,d)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let s=0;s<this.collectedEnterElements.length;s++)no(this.collectedEnterElements[s],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const s=[];try{i=this._flushAnimations(s,a)}finally{for(let d=0;d<s.length;d++)s[d]()}}else for(let s=0;s<this.collectedLeaveElements.length;s++)this.processLeaveNode(this.collectedLeaveElements[s]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(s=>s()),this._flushFns=[],this._whenQuietFns.length){const s=this._whenQuietFns;this._whenQuietFns=[],i.length?dr(i).onDone(()=>{s.forEach(d=>d())}):s.forEach(d=>d())}}reportError(a){throw function xs(l){return new o.vHH(3402,!1)}()}_flushAnimations(a,i){const s=new Ma,d=[],p=new Map,b=[],S=new Map,ee=new Map,Te=new Map,Le=new Set;this.disabledNodes.forEach(St=>{Le.add(St);const Ft=this.driver.query(St,".ng-animate-queued",!0);for(let jt=0;jt<Ft.length;jt++)Le.add(Ft[jt])});const nt=this.bodyNode,_t=Array.from(this.statesByElement.keys()),Dt=ud(_t,this.collectedEnterElements),Mt=new Map;let At=0;Dt.forEach((St,Ft)=>{const jt=wa+At++;Mt.set(Ft,jt),St.forEach(ln=>no(ln,jt))});const Yt=[],Pn=new Set,Qn=new Set;for(let St=0;St<this.collectedLeaveElements.length;St++){const Ft=this.collectedLeaveElements[St],jt=Ft[ho];jt&&jt.setForRemoval&&(Yt.push(Ft),Pn.add(Ft),jt.hasAnimation?this.driver.query(Ft,".ng-star-inserted",!0).forEach(ln=>Pn.add(ln)):Qn.add(Ft))}const mi=new Map,Xn=ud(_t,Array.from(Pn));Xn.forEach((St,Ft)=>{const jt=Ir+At++;mi.set(Ft,jt),St.forEach(ln=>no(ln,jt))}),a.push(()=>{Dt.forEach((St,Ft)=>{const jt=Mt.get(Ft);St.forEach(ln=>Ra(ln,jt))}),Xn.forEach((St,Ft)=>{const jt=mi.get(Ft);St.forEach(ln=>Ra(ln,jt))}),Yt.forEach(St=>{this.processLeaveNode(St)})});const js=[],Po=[];for(let St=this._namespaceList.length-1;St>=0;St--)this._namespaceList[St].drainQueuedTransitions(i).forEach(jt=>{const ln=jt.player,Kn=jt.element;if(js.push(ln),this.collectedEnterElements.length){const gi=Kn[ho];if(gi&&gi.setForMove){if(gi.previousTriggersValues&&gi.previousTriggersValues.has(jt.triggerName)){const Us=gi.previousTriggersValues.get(jt.triggerName),po=this.statesByElement.get(jt.element);if(po&&po.has(jt.triggerName)){const za=po.get(jt.triggerName);za.value=Us,po.set(jt.triggerName,za)}}return void ln.destroy()}}const No=!nt||!this.driver.containsElement(nt,Kn),Yi=mi.get(Kn),pr=Mt.get(Kn),Fn=this._buildInstruction(jt,s,pr,Yi,No);if(Fn.errors&&Fn.errors.length)return void Po.push(Fn);if(No)return ln.onStart(()=>Ts(Kn,Fn.fromStyles)),ln.onDestroy(()=>To(Kn,Fn.toStyles)),void d.push(ln);if(jt.isFallbackTransition)return ln.onStart(()=>Ts(Kn,Fn.fromStyles)),ln.onDestroy(()=>To(Kn,Fn.toStyles)),void d.push(ln);const Nd=[];Fn.timelines.forEach(gi=>{gi.stretchStartingKeyframe=!0,this.disabledNodes.has(gi.element)||Nd.push(gi)}),Fn.timelines=Nd,s.append(Kn,Fn.timelines),b.push({instruction:Fn,player:ln,element:Kn}),Fn.queriedElements.forEach(gi=>Ri(S,gi,[]).push(ln)),Fn.preStyleProps.forEach((gi,Us)=>{if(gi.size){let po=ee.get(Us);po||ee.set(Us,po=new Set),gi.forEach((za,nl)=>po.add(nl))}}),Fn.postStyleProps.forEach((gi,Us)=>{let po=Te.get(Us);po||Te.set(Us,po=new Set),gi.forEach((za,nl)=>po.add(nl))})});if(Po.length){const St=[];Po.forEach(Ft=>{St.push(function Jf(l,a){return new o.vHH(3505,!1)}())}),js.forEach(Ft=>Ft.destroy()),this.reportError(St)}const Ci=new Map,Fo=new Map;b.forEach(St=>{const Ft=St.element;s.has(Ft)&&(Fo.set(Ft,Ft),this._beforeAnimationBuild(St.player.namespaceId,St.instruction,Ci))}),d.forEach(St=>{const Ft=St.element;this._getPreviousPlayers(Ft,!1,St.namespaceId,St.triggerName,null).forEach(ln=>{Ri(Ci,Ft,[]).push(ln),ln.destroy()})});const Fi=Yt.filter(St=>fd(St,ee,Te)),ui=new Map;dd(ui,this.driver,Qn,Te,Z.l3).forEach(St=>{fd(St,ee,Te)&&Fi.push(St)});const Ua=new Map;Dt.forEach((St,Ft)=>{dd(Ua,this.driver,new Set(St),ee,Z.k1)}),Fi.forEach(St=>{const Ft=ui.get(St),jt=Ua.get(St);ui.set(St,new Map([...Ft?.entries()??[],...jt?.entries()??[]]))});const Gr=[],Pd=[],Fd={};b.forEach(St=>{const{element:Ft,player:jt,instruction:ln}=St;if(s.has(Ft)){if(Le.has(Ft))return jt.onDestroy(()=>To(Ft,ln.toStyles)),jt.disabled=!0,jt.overrideTotalTime(ln.totalTime),void d.push(jt);let Kn=Fd;if(Fo.size>1){let Yi=Ft;const pr=[];for(;Yi=Yi.parentNode;){const Fn=Fo.get(Yi);if(Fn){Kn=Fn;break}pr.push(Yi)}pr.forEach(Fn=>Fo.set(Fn,Kn))}const No=this._buildAnimation(jt.namespaceId,ln,Ci,p,Ua,ui);if(jt.setRealPlayer(No),Kn===Fd)Gr.push(jt);else{const Yi=this.playersByElement.get(Kn);Yi&&Yi.length&&(jt.parentPlayer=dr(Yi)),d.push(jt)}}else Ts(Ft,ln.fromStyles),jt.onDestroy(()=>To(Ft,ln.toStyles)),Pd.push(jt),Le.has(Ft)&&d.push(jt)}),Pd.forEach(St=>{const Ft=p.get(St.element);if(Ft&&Ft.length){const jt=dr(Ft);St.setRealPlayer(jt)}}),d.forEach(St=>{St.parentPlayer?St.syncPlayerEvents(St.parentPlayer):St.destroy()});for(let St=0;St<Yt.length;St++){const Ft=Yt[St],jt=Ft[ho];if(Ra(Ft,Ir),jt&&jt.hasAnimation)continue;let ln=[];if(S.size){let No=S.get(Ft);No&&No.length&&ln.push(...No);let Yi=this.driver.query(Ft,Ds,!0);for(let pr=0;pr<Yi.length;pr++){let Fn=S.get(Yi[pr]);Fn&&Fn.length&&ln.push(...Fn)}}const Kn=ln.filter(No=>!No.destroyed);Kn.length?Pc(this,Ft,Kn):this.processLeaveNode(Ft)}return Yt.length=0,Gr.forEach(St=>{this.players.push(St),St.onDone(()=>{St.destroy();const Ft=this.players.indexOf(St);this.players.splice(Ft,1)}),St.play()}),Gr}afterFlush(a){this._flushFns.push(a)}afterFlushAnimationsDone(a){this._whenQuietFns.push(a)}_getPreviousPlayers(a,i,s,d,p){let b=[];if(i){const S=this.playersByQueriedElement.get(a);S&&(b=S)}else{const S=this.playersByElement.get(a);if(S){const ee=!p||p==Oa;S.forEach(Te=>{Te.queued||!ee&&Te.triggerName!=d||b.push(Te)})}}return(s||d)&&(b=b.filter(S=>!(s&&s!=S.namespaceId||d&&d!=S.triggerName))),b}_beforeAnimationBuild(a,i,s){const p=i.element,b=i.isRemovalTransition?void 0:a,S=i.isRemovalTransition?void 0:i.triggerName;for(const ee of i.timelines){const Te=ee.element,Le=Te!==p,nt=Ri(s,Te,[]);this._getPreviousPlayers(Te,Le,b,S,i.toState).forEach(Dt=>{const Mt=Dt.getRealPlayer();Mt.beforeDestroy&&Mt.beforeDestroy(),Dt.destroy(),nt.push(Dt)})}Ts(p,i.fromStyles)}_buildAnimation(a,i,s,d,p,b){const S=i.triggerName,ee=i.element,Te=[],Le=new Set,nt=new Set,_t=i.timelines.map(Mt=>{const At=Mt.element;Le.add(At);const Yt=At[ho];if(Yt&&Yt.removedBeforeQueried)return new Z.ZN(Mt.duration,Mt.delay);const Pn=At!==ee,Qn=function bp(l){const a=[];return hd(l,a),a}((s.get(At)||pp).map(Ci=>Ci.getRealPlayer())).filter(Ci=>!!Ci.element&&Ci.element===At),mi=p.get(At),Xn=b.get(At),js=ws(this._normalizer,Mt.keyframes,mi,Xn),Po=this._buildPlayer(Mt,js,Qn);if(Mt.subTimeline&&d&&nt.add(At),Pn){const Ci=new ka(a,S,At);Ci.setRealPlayer(Po),Te.push(Ci)}return Po});Te.forEach(Mt=>{Ri(this.playersByQueriedElement,Mt.element,[]).push(Mt),Mt.onDone(()=>function gp(l,a,i){let s=l.get(a);if(s){if(s.length){const d=s.indexOf(i);s.splice(d,1)}0==s.length&&l.delete(a)}return s}(this.playersByQueriedElement,Mt.element,Mt))}),Le.forEach(Mt=>no(Mt,Fu));const Dt=dr(_t);return Dt.onDestroy(()=>{Le.forEach(Mt=>Ra(Mt,Fu)),To(ee,i.toStyles)}),nt.forEach(Mt=>{Ri(d,Mt,[]).push(Dt)}),Dt}_buildPlayer(a,i,s){return i.length>0?this.driver.animate(a.element,i,a.duration,a.delay,a.easing,s):new Z.ZN(a.duration,a.delay)}}class ka{constructor(a,i,s){this.namespaceId=a,this.triggerName=i,this.element=s,this._player=new Z.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(a){this._containsRealPlayer||(this._player=a,this._queuedCallbacks.forEach((i,s)=>{i.forEach(d=>Ul(a,s,void 0,d))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(a.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(a){this.totalTime=a}syncPlayerEvents(a){const i=this._player;i.triggerCallback&&a.onStart(()=>i.triggerCallback("start")),a.onDone(()=>this.finish()),a.onDestroy(()=>this.destroy())}_queueEvent(a,i){Ri(this._queuedCallbacks,a,[]).push(i)}onDone(a){this.queued&&this._queueEvent("done",a),this._player.onDone(a)}onStart(a){this.queued&&this._queueEvent("start",a),this._player.onStart(a)}onDestroy(a){this.queued&&this._queueEvent("destroy",a),this._player.onDestroy(a)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(a){this.queued||this._player.setPosition(a)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(a){const i=this._player;i.triggerCallback&&i.triggerCallback(a)}}function ks(l){return l&&1===l.nodeType}function hr(l,a){const i=l.style.display;return l.style.display=a??"none",i}function dd(l,a,i,s,d){const p=[];i.forEach(ee=>p.push(hr(ee)));const b=[];s.forEach((ee,Te)=>{const Le=new Map;ee.forEach(nt=>{const _t=a.computeStyle(Te,nt,d);Le.set(nt,_t),(!_t||0==_t.length)&&(Te[ho]=mp,b.push(Te))}),l.set(Te,Le)});let S=0;return i.forEach(ee=>hr(ee,p[S++])),b}function ud(l,a){const i=new Map;if(l.forEach(S=>i.set(S,[])),0==a.length)return i;const d=new Set(a),p=new Map;function b(S){if(!S)return 1;let ee=p.get(S);if(ee)return ee;const Te=S.parentNode;return ee=i.has(Te)?Te:d.has(Te)?1:b(Te),p.set(S,ee),ee}return a.forEach(S=>{const ee=b(S);1!==ee&&i.get(ee).push(S)}),i}function no(l,a){l.classList?.add(a)}function Ra(l,a){l.classList?.remove(a)}function Pc(l,a,i){dr(i).onDone(()=>l.processLeaveNode(a))}function hd(l,a){for(let i=0;i<l.length;i++){const s=l[i];s instanceof Z.ZE?hd(s.players,a):a.push(s)}}function fd(l,a,i){const s=i.get(l);if(!s)return!1;let d=a.get(l);return d?s.forEach(p=>d.add(p)):a.set(l,s),i.delete(l),!0}class Rs{constructor(a,i,s){this.bodyNode=a,this._driver=i,this._normalizer=s,this._triggerCache={},this.onRemovalComplete=(d,p)=>{},this._transitionEngine=new ld(a,i,s),this._timelineEngine=new Zu(a,i,s),this._transitionEngine.onRemovalComplete=(d,p)=>this.onRemovalComplete(d,p)}registerTrigger(a,i,s,d,p){const b=a+"-"+d;let S=this._triggerCache[b];if(!S){const ee=[],Le=Mc(this._driver,p,ee,[]);if(ee.length)throw function jl(l,a){return new o.vHH(3404,!1)}();S=function hp(l,a,i){return new Ia(l,a,i)}(d,Le,this._normalizer),this._triggerCache[b]=S}this._transitionEngine.registerTrigger(i,d,S)}register(a,i){this._transitionEngine.register(a,i)}destroy(a,i){this._transitionEngine.destroy(a,i)}onInsert(a,i,s,d){this._transitionEngine.insertNode(a,i,s,d)}onRemove(a,i,s){this._transitionEngine.removeNode(a,i,s)}disableAnimations(a,i){this._transitionEngine.markElementAsDisabled(a,i)}process(a,i,s,d){if("@"==s.charAt(0)){const[p,b]=ya(s);this._timelineEngine.command(p,i,b,d)}else this._transitionEngine.trigger(a,i,s,d)}listen(a,i,s,d,p){if("@"==s.charAt(0)){const[b,S]=ya(s);return this._timelineEngine.listen(b,i,S,p)}return this._transitionEngine.listen(a,i,s,d,p)}flush(a=-1){this._transitionEngine.flush(a)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(a){this._transitionEngine.afterFlushAnimationsDone(a)}}let Fc=(()=>{class l{static#e=this.initialStylesByElement=new WeakMap;constructor(i,s,d){this._element=i,this._startStyles=s,this._endStyles=d,this._state=0;let p=l.initialStylesByElement.get(i);p||l.initialStylesByElement.set(i,p=new Map),this._initialStyles=p}start(){this._state<1&&(this._startStyles&&To(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(To(this._element,this._initialStyles),this._endStyles&&(To(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(l.initialStylesByElement.delete(this._element),this._startStyles&&(Ts(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Ts(this._element,this._endStyles),this._endStyles=null),To(this._element,this._initialStyles),this._state=3)}}return l})();function Pr(l){let a=null;return l.forEach((i,s)=>{(function th(l){return"display"===l||"position"===l})(s)&&(a=a||new Map,a.set(s,i))}),a}class Nc{constructor(a,i,s,d){this.element=a,this.keyframes=i,this.options=s,this._specialStyles=d,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=s.duration,this._delay=s.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const a=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,a,this.options),this._finalKeyframe=a.length?a[a.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(a){const i=[];return a.forEach(s=>{i.push(Object.fromEntries(s))}),i}_triggerWebAnimation(a,i,s){return a.animate(this._convertKeyframesToObject(i),s)}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(a=>a()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}setPosition(a){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=a*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const a=new Map;this.hasStarted()&&this._finalKeyframe.forEach((s,d)=>{"offset"!==d&&a.set(d,this._finished?s:op(this.element,d))}),this.currentSnapshot=a}triggerCallback(a){const i="start"===a?this._onStartFns:this._onDoneFns;i.forEach(s=>s()),i.length=0}}class Lc{validateStyleProperty(a){return!0}validateAnimatableStyleProperty(a){return!0}matchesElement(a,i){return!1}containsElement(a,i){return Xf(a,i)}getParentElement(a){return zl(a)}query(a,i,s){return Gl(a,i,s)}computeStyle(a,i,s){return window.getComputedStyle(a)[i]}animate(a,i,s,d,p,b=[]){const ee={duration:s,delay:d,fill:0==d?"both":"forwards"};p&&(ee.easing=p);const Te=new Map,Le=b.filter(Dt=>Dt instanceof Nc);(function $u(l,a){return 0===l||0===a})(s,d)&&Le.forEach(Dt=>{Dt.currentSnapshot.forEach((Mt,At)=>Te.set(At,Mt))});let nt=function np(l){return l.length?l[0]instanceof Map?l:l.map(a=>Nu(a)):[]}(i).map(Dt=>to(Dt));nt=function t_(l,a,i){if(i.size&&a.length){let s=a[0],d=[];if(i.forEach((p,b)=>{s.has(b)||d.push(b),s.set(b,p)}),d.length)for(let p=1;p<a.length;p++){let b=a[p];d.forEach(S=>b.set(S,op(l,S)))}}return a}(a,nt,Te);const _t=function eh(l,a){let i=null,s=null;return Array.isArray(a)&&a.length?(i=Pr(a[0]),a.length>1&&(s=Pr(a[a.length-1]))):a instanceof Map&&(i=Pr(a)),i||s?new Fc(l,i,s):null}(a,nt);return new Nc(a,nt,ee,_t)}}let nh=(()=>{class l extends Z._j{constructor(i,s){super(),this._nextAnimationId=0,this._renderer=i.createRenderer(s.body,{id:"0",encapsulation:o.ifc.None,styles:[],data:{animation:[]}})}build(i){const s=this._nextAnimationId.toString();this._nextAnimationId++;const d=Array.isArray(i)?(0,Z.vP)(i):i;return ih(this._renderer,null,s,"register",[d]),new pd(s,this._renderer)}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(o.FYo),o.LFG(te.K0))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac})}return l})();class pd extends Z.LC{constructor(a,i){super(),this._id=a,this._renderer=i}create(a,i){return new Pa(this._id,a,i||{},this._renderer)}}class Pa{constructor(a,i,s,d){this.id=a,this.element=i,this._renderer=d,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",s)}_listen(a,i){return this._renderer.listen(this.element,`@@${this.id}:${a}`,i)}_command(a,...i){return ih(this._renderer,this.element,this.id,a,i)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function ih(l,a,i,s,d){return l.setProperty(a,`@@${i}:${s}`,d)}const oh="@.disabled";let vp=(()=>{class l{constructor(i,s,d){this.delegate=i,this.engine=s,this._zone=d,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,s.onRemovalComplete=(p,b)=>{const S=b?.parentNode(p);S&&b.removeChild(S,p)}}createRenderer(i,s){const p=this.delegate.createRenderer(i,s);if(!(i&&s&&s.data&&s.data.animation)){let Le=this._rendererCache.get(p);return Le||(Le=new rh("",p,this.engine,()=>this._rendererCache.delete(p)),this._rendererCache.set(p,Le)),Le}const b=s.id,S=s.id+"-"+this._currentId;this._currentId++,this.engine.register(S,i);const ee=Le=>{Array.isArray(Le)?Le.forEach(ee):this.engine.registerTrigger(b,S,i,Le.name,Le)};return s.data.animation.forEach(ee),new sh(this,S,p,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(i,s,d){i>=0&&i<this._microtaskId?this._zone.run(()=>s(d)):(0==this._animationCallbacksBuffer.length&&queueMicrotask(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(p=>{const[b,S]=p;b(S)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([s,d]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(o.FYo),o.LFG(Rs),o.LFG(o.R0b))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac})}return l})();class rh{constructor(a,i,s,d){this.namespaceId=a,this.delegate=i,this.engine=s,this._onDestroy=d}get data(){return this.delegate.data}destroyNode(a){this.delegate.destroyNode?.(a)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(a,i){return this.delegate.createElement(a,i)}createComment(a){return this.delegate.createComment(a)}createText(a){return this.delegate.createText(a)}appendChild(a,i){this.delegate.appendChild(a,i),this.engine.onInsert(this.namespaceId,i,a,!1)}insertBefore(a,i,s,d=!0){this.delegate.insertBefore(a,i,s),this.engine.onInsert(this.namespaceId,i,a,d)}removeChild(a,i,s){this.engine.onRemove(this.namespaceId,i,this.delegate)}selectRootElement(a,i){return this.delegate.selectRootElement(a,i)}parentNode(a){return this.delegate.parentNode(a)}nextSibling(a){return this.delegate.nextSibling(a)}setAttribute(a,i,s,d){this.delegate.setAttribute(a,i,s,d)}removeAttribute(a,i,s){this.delegate.removeAttribute(a,i,s)}addClass(a,i){this.delegate.addClass(a,i)}removeClass(a,i){this.delegate.removeClass(a,i)}setStyle(a,i,s,d){this.delegate.setStyle(a,i,s,d)}removeStyle(a,i,s){this.delegate.removeStyle(a,i,s)}setProperty(a,i,s){"@"==i.charAt(0)&&i==oh?this.disableAnimations(a,!!s):this.delegate.setProperty(a,i,s)}setValue(a,i){this.delegate.setValue(a,i)}listen(a,i,s){return this.delegate.listen(a,i,s)}disableAnimations(a,i){this.engine.disableAnimations(a,i)}}class sh extends rh{constructor(a,i,s,d,p){super(i,s,d,p),this.factory=a,this.namespaceId=i}setProperty(a,i,s){"@"==i.charAt(0)?"."==i.charAt(1)&&i==oh?this.disableAnimations(a,s=void 0===s||!!s):this.engine.process(this.namespaceId,a,i.slice(1),s):this.delegate.setProperty(a,i,s)}listen(a,i,s){if("@"==i.charAt(0)){const d=function ah(l){switch(l){case"body":return document.body;case"document":return document;case"window":return window;default:return l}}(a);let p=i.slice(1),b="";return"@"!=p.charAt(0)&&([p,b]=function Bc(l){const a=l.indexOf(".");return[l.substring(0,a),l.slice(a+1)]}(p)),this.engine.listen(this.namespaceId,d,p,b,S=>{this.factory.scheduleListenerCallback(S._data||-1,s,S)})}return this.delegate.listen(a,i,s)}}const ch=[{provide:Z._j,useClass:nh},{provide:Ic,useFactory:function Ps(){return new dp}},{provide:Rs,useClass:(()=>{class l extends Rs{constructor(i,s,d,p){super(i.body,s,d)}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(te.K0),o.LFG(Wl),o.LFG(Ic),o.LFG(o.z2F))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac})}return l})()},{provide:o.FYo,useFactory:function yp(l,a,i){return new vp(l,a,i)},deps:[h.se,Rs,o.R0b]}],lh=[{provide:Wl,useFactory:()=>new Lc},{provide:o.QbO,useValue:"BrowserAnimations"},...ch],dh=[{provide:Wl,useClass:Ru},{provide:o.QbO,useValue:"NoopAnimations"},...ch];let gd=(()=>{class l{static withConfig(i){return{ngModule:l,providers:i.disableAnimations?dh:lh}}static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l});static#n=this.\u0275inj=o.cJS({providers:lh,imports:[h.b2]})}return l})();var Fs=v(9309),$c=v(534),uh=v(6086);const bd=["toast-component",""];function Fr(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"button",5),o.NdJ("click",function(){o.CHM(i);const d=o.oxw();return o.KtG(d.remove())}),o.TgZ(1,"span",6),o._uU(2,"\xd7"),o.qZA()()}}function xp(l,a){if(1&l&&(o.ynx(0),o._uU(1),o.BQk()),2&l){const i=o.oxw(2);o.xp6(1),o.hij("[",i.duplicatesCount+1,"]")}}function wp(l,a){if(1&l&&(o.TgZ(0,"div"),o._uU(1),o.YNc(2,xp,2,1,"ng-container",4),o.qZA()),2&l){const i=o.oxw();o.Tol(i.options.titleClass),o.uIk("aria-label",i.title),o.xp6(1),o.hij(" ",i.title," "),o.xp6(1),o.Q6J("ngIf",i.duplicatesCount)}}function Cp(l,a){if(1&l&&o._UZ(0,"div",7),2&l){const i=o.oxw();o.Tol(i.options.messageClass),o.Q6J("innerHTML",i.message,o.oJD)}}function Dp(l,a){if(1&l&&(o.TgZ(0,"div",8),o._uU(1),o.qZA()),2&l){const i=o.oxw();o.Tol(i.options.messageClass),o.uIk("aria-label",i.message),o.xp6(1),o.hij(" ",i.message," ")}}function Ep(l,a){if(1&l&&(o.TgZ(0,"div"),o._UZ(1,"div",9),o.qZA()),2&l){const i=o.oxw();o.xp6(1),o.Udp("width",i.width+"%")}}class Ip{_attachedHost;component;viewContainerRef;injector;constructor(a,i){this.component=a,this.injector=i}attach(a,i){return this._attachedHost=a,a.attach(this,i)}detach(){const a=this._attachedHost;if(a)return this._attachedHost=void 0,a.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(a){this._attachedHost=a}}class hh{_attachedPortal;_disposeFn;attach(a,i){return this._attachedPortal=a,this.attachComponentPortal(a,i)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(a){this._disposeFn=a}}class Op{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new z.x;_activate=new z.x;_manualClose=new z.x;_resetTimeout=new z.x;_countDuplicate=new z.x;constructor(a){this._overlayRef=a}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(a,i){a&&this._resetTimeout.next(),i&&this._countDuplicate.next(++this.duplicatesCount)}}class Hc{toastId;config;message;title;toastType;toastRef;_onTap=new z.x;_onAction=new z.x;constructor(a,i,s,d,p,b){this.toastId=a,this.config=i,this.message=s,this.title=d,this.toastType=p,this.toastRef=b,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(a){this._onAction.next(a)}onAction(){return this._onAction.asObservable()}}const ph=new o.OlP("ToastConfig");class Vc extends hh{_hostDomElement;_componentFactoryResolver;_appRef;constructor(a,i,s){super(),this._hostDomElement=a,this._componentFactoryResolver=i,this._appRef=s}attachComponentPortal(a,i){const s=this._componentFactoryResolver.resolveComponentFactory(a.component);let d;return d=s.create(a.injector),this._appRef.attachView(d.hostView),this.setDisposeFn(()=>{this._appRef.detachView(d.hostView),d.destroy()}),i?this._hostDomElement.insertBefore(this._getComponentRootNode(d),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(d)),d}_getComponentRootNode(a){return a.hostView.rootNodes[0]}}let qo=(()=>{class l{_document=(0,o.f3M)(te.K0);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const i=this._document.createElement("div");i.classList.add("overlay-container"),i.setAttribute("aria-live","polite"),this._document.body.appendChild(i),this._containerElement=i}static \u0275fac=function(s){return new(s||l)};static \u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();class La{_portalHost;constructor(a){this._portalHost=a}attach(a,i=!0){return this._portalHost.attach(a,i)}detach(){return this._portalHost.detach()}}let mh=(()=>{class l{_overlayContainer=(0,o.f3M)(qo);_componentFactoryResolver=(0,o.f3M)(o._Vd);_appRef=(0,o.f3M)(o.z2F);_document=(0,o.f3M)(te.K0);_paneElements=new Map;create(i,s){return this._createOverlayRef(this.getPaneElement(i,s))}getPaneElement(i="",s){return this._paneElements.get(s)||this._paneElements.set(s,{}),this._paneElements.get(s)[i]||(this._paneElements.get(s)[i]=this._createPaneElement(i,s)),this._paneElements.get(s)[i]}_createPaneElement(i,s){const d=this._document.createElement("div");return d.id="toast-container",d.classList.add(i),d.classList.add("toast-container"),s?s.getContainerElement().appendChild(d):this._overlayContainer.getContainerElement().appendChild(d),d}_createPortalHost(i){return new Vc(i,this._componentFactoryResolver,this._appRef)}_createOverlayRef(i){return new La(this._createPortalHost(i))}static \u0275fac=function(s){return new(s||l)};static \u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),jc=(()=>{class l{overlay;_injector;sanitizer;ngZone;toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(i,s,d,p,b){this.overlay=s,this._injector=d,this.sanitizer=p,this.ngZone=b,this.toastrConfig={...i.default,...i.config},i.config.iconClasses&&(this.toastrConfig.iconClasses={...i.default.iconClasses,...i.config.iconClasses})}show(i,s,d={},p=""){return this._preBuildNotification(p,i,s,this.applyConfig(d))}success(i,s,d={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",i,s,this.applyConfig(d))}error(i,s,d={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",i,s,this.applyConfig(d))}info(i,s,d={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",i,s,this.applyConfig(d))}warning(i,s,d={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",i,s,this.applyConfig(d))}clear(i){for(const s of this.toasts)if(void 0!==i){if(s.toastId===i)return void s.toastRef.manualClose()}else s.toastRef.manualClose()}remove(i){const s=this._findToast(i);if(!s||(s.activeToast.toastRef.close(),this.toasts.splice(s.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){const d=this.toasts[this.currentlyActive].toastRef;d.isInactive()||(this.currentlyActive=this.currentlyActive+1,d.activate())}return!0}findDuplicate(i="",s="",d,p){const{includeTitleDuplicates:b}=this.toastrConfig;for(const S of this.toasts)if((!b||b&&S.title===i)&&S.message===s)return S.toastRef.onDuplicate(d,p),S;return null}applyConfig(i={}){return{...this.toastrConfig,...i}}_findToast(i){for(let s=0;s<this.toasts.length;s++)if(this.toasts[s].toastId===i)return{index:s,activeToast:this.toasts[s]};return null}_preBuildNotification(i,s,d,p){return p.onActivateTick?this.ngZone.run(()=>this._buildNotification(i,s,d,p)):this._buildNotification(i,s,d,p)}_buildNotification(i,s,d,p){if(!p.toastComponent)throw new Error("toastComponent required");const b=this.findDuplicate(d,s,this.toastrConfig.resetTimeoutOnDuplicate&&p.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&d||s)&&this.toastrConfig.preventDuplicates&&null!==b)return b;this.previousToastMessage=s;let S=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(S=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const ee=this.overlay.create(p.positionClass,this.overlayContainer);this.index=this.index+1;let Te=s;s&&p.enableHtml&&(Te=this.sanitizer.sanitize(o.q3G.HTML,s));const Le=new Op(ee),nt=new Hc(this.index,p,Te,d,i,Le),Dt=o.zs3.create({providers:[{provide:Hc,useValue:nt}],parent:this._injector}),Mt=new Ip(p.toastComponent,Dt),At=ee.attach(Mt,p.newestOnTop);Le.componentInstance=At.instance;const Yt={toastId:this.index,title:d||"",message:s||"",toastRef:Le,onShown:Le.afterActivate(),onHidden:Le.afterClosed(),onTap:nt.onTap(),onAction:nt.onAction(),portal:At};return S||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Yt.toastRef.activate()})),this.toasts.push(Yt),Yt}static \u0275fac=function(s){return new(s||l)(o.LFG(ph),o.LFG(mh),o.LFG(o.zs3),o.LFG(h.H7),o.LFG(o.R0b))};static \u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})();const u_={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",toastComponent:(()=>{class l{toastrService;toastPackage;ngZone;message;title;options;duplicatesCount;originalTimeout;width=-1;toastClasses="";state;get displayStyle(){if("inactive"===this.state.value)return"none"}timeout;intervalId;hideTime;sub;sub1;sub2;sub3;constructor(i,s,d){this.toastrService=i,this.toastPackage=s,this.ngZone=d,this.message=s.message,this.title=s.title,this.options=s.config,this.originalTimeout=s.config.timeOut,this.toastClasses=`${s.toastType} ${s.config.toastClass}`,this.sub=s.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=s.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=s.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=s.toastRef.countDuplicate().subscribe(p=>{this.duplicatesCount=p}),this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}}}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state={...this.state,value:"active"},!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const i=(new Date).getTime();this.width=(this.hideTime-i)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state={...this.state,value:"active"},this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state={...this.state,value:"removed"},this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&"extendedTimeOut"!==this.options.disableTimeOut&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(i,s){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(i),s)):this.timeout=setTimeout(()=>i(),s)}outsideInterval(i,s){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(i),s)):this.intervalId=setInterval(()=>i(),s)}runInsideAngular(i){this.ngZone?this.ngZone.run(()=>i()):i()}static \u0275fac=function(s){return new(s||l)(o.Y36(jc),o.Y36(Hc),o.Y36(o.R0b))};static \u0275cmp=o.Xpm({type:l,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(s,d){1&s&&o.NdJ("click",function(){return d.tapToast()})("mouseenter",function(){return d.stickAround()})("mouseleave",function(){return d.delayedHideToast()}),2&s&&(o.d8E("@flyInOut",d.state),o.Tol(d.toastClasses),o.Udp("display",d.displayStyle))},standalone:!0,features:[o.jDz],attrs:bd,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(s,d){1&s&&(o.YNc(0,Fr,3,0,"button",0),o.YNc(1,wp,3,5,"div",1),o.YNc(2,Cp,1,3,"div",2),o.YNc(3,Dp,2,4,"div",3),o.YNc(4,Ep,2,2,"div",4)),2&s&&(o.Q6J("ngIf",d.options.closeButton),o.xp6(1),o.Q6J("ngIf",d.title),o.xp6(1),o.Q6J("ngIf",d.message&&d.options.enableHtml),o.xp6(1),o.Q6J("ngIf",d.message&&!d.options.enableHtml),o.xp6(1),o.Q6J("ngIf",d.options.progressBar))},dependencies:[te.O5],encapsulation:2,data:{animation:[(0,Z.X$)("flyInOut",[(0,Z.SB)("inactive",(0,Z.oB)({opacity:0})),(0,Z.SB)("active",(0,Z.oB)({opacity:1})),(0,Z.SB)("removed",(0,Z.oB)({opacity:0})),(0,Z.eR)("inactive => active",(0,Z.jt)("{{ easeTime }}ms {{ easing }}")),(0,Z.eR)("active => removed",(0,Z.jt)("{{ easeTime }}ms {{ easing }}"))])]}})}return l})()},h_=(l={})=>(0,o.MR2)([{provide:ph,useValue:{default:u_,config:l}}]);let f_=(()=>{class l{static forRoot(i={}){return{ngModule:l,providers:[h_(i)]}}static \u0275fac=function(s){return new(s||l)};static \u0275mod=o.oAB({type:l});static \u0275inj=o.cJS({})}return l})();var M=v(1890);const Rp=["abstract","as","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","else","enum","event","explicit","extern","false","finally","fixed","float","for","foreach","goto","if","implicit","in","int","interface","internal","is","lock","long","namespace","new","null","object","operator","out","override","params","private","protected","public","readonly","ref","return","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","using","static","virtual","void","volatile","while"],Pp=[M.Qs,M.dp,M.Xj,M.Ro,M.lw,M.Tp,M.Oo,M.ZU,M.iE,M.OR,M.BD,M.JQ,M.ts],Fp=[M.zE,M.xW,M.Gf,M._P,M.mN,M.Bn,M.KW,M.kM];function Ao(l){return Rp.includes(l)?`@${l}`:l}function So(l){return l[0].toUpperCase()+l.slice(1)}function wi(l){switch(l.constructor){case M.Qs:return"string";case M.mN:return"int";case M.kM:return"uint";case M._P:return"double";case M.zE:return"BigInteger";case M.xW:case M.Gf:return"DateTime";case M.Wi:return"bool";case M.lw:return"byte[]";case M.Bn:case M.KW:return"decimal";case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.iE:case M.OR:case M.BD:return"string";case M.RE:return"void";case M.cs:return"JsonElement";case M.H1:return`${wi(l.base)}?`;case M.ts:return`List<${wi(l.base)}>`;case M.JQ:case M.PK:return l.name;case M.d:return wi(l.type);default:throw new Error(`BUG: generateTypeName with ${l.constructor.name}`)}}function Nr(l,a,i,s,d=1,p=!0){switch(l.constructor){case M.mN:return`\n if (${a}.ValueKind != JsonValueKind.Number || !${a}.TryGetInt32(out ${s}))\n {\n throw new FatalException($"'{${i}}' must be an integer");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.kM:return`\n if (${a}.ValueKind != JsonValueKind.Number || !${a}.TryGetUInt32(out ${s}))\n {\n throw new FatalException($"'{${i}}' must be an unsigned integer.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.KW:case M.Bn:return`\n if (${a}.ValueKind != JsonValueKind.Number || !${a}.TryGetDecimal(out ${s}) || ${s} % 1 != 0)\n {\n throw new FatalException($"'{${i}}' must be an integer amount of cents.");\n }\n ${s} /= 100;\n `.replace(/\n {16}/gu,"\n").trim();case M._P:return`\n if (${a}.ValueKind != JsonValueKind.Number || !${a}.TryGetDouble(out ${s}))\n {\n throw new FatalException($"'{${i}}' must be a floating-point number.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.zE:return`\n if (${a}.ValueKind != JsonValueKind.String || !BigInteger.TryParse(${a}.GetString(), out ${s}))\n {\n throw new FatalException($"'{${i}}' must be an arbitrarily large integer in a string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.Qs:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.dp:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid HTML string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.Xj:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid CPF string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.Ro:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid CNPJ string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.Tp:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid email.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.Oo:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid URL string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.ZU:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid UUID.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.iE:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a valid hex string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.OR:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a base64 string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.BD:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a XML string.");\n }\n ${s} = ${a}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case M.Wi:return`\n if (${a}.ValueKind != JsonValueKind.True && ${a}.ValueKind != JsonValueKind.False)\n {\n throw new FatalException($"'{${i}}' must be either true or false.");\n }\n ${s} = ${a}.GetBoolean();\n `.replace(/\n {16}/gu,"\n").trim();case M.lw:return`\n if (${a}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${i}}' must be a string.");\n }\n try\n {\n ${s} = Convert.FromBase64String(${a}.GetString());\n }\n catch (FormatException)\n {\n throw new FatalException($"'{${i}}' must be a base64 string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.d:return Nr(l.type,a,i,s,d);case M.H1:if(Fp.includes(l.base.constructor)){const b=`${s.replace(/[^0-9a-zA-Z]/gu,"")}Tmp`;return`\n if (${a}.ValueKind == JsonValueKind.Null || ${a}.ValueKind == JsonValueKind.Undefined)\n {\n ${s} = null;\n }\n else\n {\n ${wi(l.base)} ${b};\n ${Nr(l.base,a,i,b,d,!1).replace(/\n/gu,"\n ")}\n ${s} = ${b};\n }\n `.replace(/\n {20}/gu,"\n").trim()}return`\n if (${a}.ValueKind == JsonValueKind.Null || ${a}.ValueKind == JsonValueKind.Undefined)\n {\n ${s} = null;\n }\n else\n {\n ${Nr(l.base,a,i,s,d,!1).replace(/\n/gu,"\n ")}\n }\n `.replace(/\n {20}/gu,"\n").trim();case M.PK:case M.JQ:return`${s} = Decode${l.name}(${a}, ${i});`;case M.cs:return p?`\n if (${a}.ValueKind == JsonValueKind.Null || ${a}.ValueKind == JsonValueKind.Undefined)\n {\n throw new FatalException($"'{${i}}' can't be null.");\n }\n ${s} = ${a};\n `.replace(/\n {16}/gu,"\n").trim():`${s} = ${a};`;case M.Gf:return`\n if (${a}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${a}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${s}) || DateTime.TryParseExact(${a}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF'Z'", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${s})))\n {\n throw new FatalException($"'{${i}}' must be a datetime.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.xW:return`\n if (${a}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${a}.GetString(), "yyyy-MM-dd", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${s})))\n {\n throw new FatalException($"'{${i}}' must be a date.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case M.ts:return`\n if (${a}.ValueKind != JsonValueKind.Array)\n {\n throw new FatalException($"'{${i}}' must be a date.");\n }\n ${s} = new ${wi(l)}();\n for (var i${d} = 0; i${d} < ${a}.GetArrayLength(); ++i${d})\n {\n ${wi(l.base)} element${d};\n ${Nr(l.base,`${a}[i${d}]`,`$"{${i}}[{i${d}}]"`,`element${d}`,d+1).replace(/\n/gu,"\n ")}\n ${s}.Add(element${d});\n }\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${l.constructor.name}`)}}function Lr(l,a,i,s=1){switch(l.constructor){case M.Qs:return`resultWriter_.WriteStringValue(${a});`;case M._P:case M.kM:case M.mN:return`resultWriter_.WriteNumberValue(${a});`;case M.KW:case M.Bn:return`resultWriter_.WriteNumberValue(Math.Round(${a} * 100));`;case M.zE:return`resultWriter_.WriteStringValue(${a}.ToString());`;case M.Wi:return`resultWriter_.WriteBooleanValue(${a});`;case M.lw:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${a}));`;case M.Gf:return`resultWriter_.WriteStringValue(${a}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"));`;case M.xW:return`resultWriter_.WriteStringValue(${a}.ToString("yyyy-MM-dd"));`;case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.OR:case M.iE:case M.BD:return`resultWriter_.WriteStringValue(${a});`;case M.H1:{let d=l.base;for(;d instanceof M.d;)d=d.type;return`\n if (${a} == null)\n {\n resultWriter_.WriteNullValue();\n }\n else\n {\n ${Lr(d,Pp.includes(d.constructor)?a:`${a}.Value`,i,s).replace(/\n/gu,"\n ")}\n }`.replace(/\n {16}/gu,"\n").trim()}case M.d:return Lr(l.type,a,i,s);case M.PK:case M.JQ:return`Encode${l.name}(${a}, resultWriter_, ${i});`;case M.cs:return`${a}.WriteTo(resultWriter_);`;case M.ts:return`\n resultWriter_.WriteStartArray();\n for (var i${s} = 0; i${s} < ${a}.Count; ++i${s})\n {\n ${Lr(l.base,`${a}[i${s}]`,`$"{${i}}[{i${s}}]"`,s+1).replace(/\n/gu,"\n ")}\n }\n resultWriter_.WriteEndArray();\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: encodeType with ${l.constructor.name}`)}}function Np(l){return`\n public class ${l.name}\n {${l.fields.map(a=>`\n public ${wi(a.type)} ${So(a.name)};`).join("")}\n public ${l.name}(${l.fields.map(a=>`${wi(a.type)} ${Ao(a.name)}`).join(", ")})\n {${l.fields.map(a=>`\n ${So(a.name)} = ${Ao(a.name)};`).join("")}\n }\n }\n\n ${l.name} Decode${l.name}(JsonElement json_, string path_)\n {\n if (json_.ValueKind != JsonValueKind.Object)\n {\n throw new FatalException($"'{path_}' must be an object.");\n }\n${l.fields.map(a=>` JsonElement ${a.name}Json_;\n if (!json_.TryGetProperty(${JSON.stringify(a.name)}, out ${a.name}Json_))\n {\n ${a.type instanceof M.H1?`${a.name}Json_ = new JsonElement();`:`throw new FatalException($"'{path_}.${a.name}' must be set to a value of type ${a.type.name}.");`}\n }\n ${wi(a.type)} ${Ao(a.name)};\n ${Nr(a.type,`${a.name}Json_`,`$"{path_}.${a.name}"`,Ao(a.name)).replace(/\n/gu,"\n ")}`).join("\n")}\n return new ${l.name}(${l.fields.map(a=>Ao(a.name)).join(", ")});\n }\n\n void Encode${l.name}(${l.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {\n resultWriter_.WriteStartObject();\n ${l.fields.map(a=>`resultWriter_.WritePropertyName(${JSON.stringify(a.name)});\n ${Lr(a.type,`obj_.${So(a.name)}`,`$"{path_}.${a.name}"`).replace(/\n/gu,"\n ")}`).join("\n ")}\n resultWriter_.WriteEndObject();\n }\n`}function Br(l){return`\n public enum ${l.name}\n {${l.values.map(({value:a})=>`\n ${So(a)}`).join(",\n ")}\n }\n\n ${l.name} Decode${l.name}(JsonElement json_, string path_)\n {\n if (json_.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{path_}' must be a string.");\n }\n var value = json_.GetString();${l.values.map(({value:a})=>`\n if (value == "${a}")\n {\n return ${l.name}.${So(a)};\n }`).join("")}\n throw new FatalException($"'{path_}' must be one of: (${l.values.map(({value:a})=>`'${a}'`).join(", ")}).");\n }\n\n void Encode${l.name}(${l.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {${l.values.map(({value:a})=>`\n if (obj_ == ${l.name}.${So(a)})\n {\n resultWriter_.WriteStringValue("${a}");\n }`).join("")}\n }\n`}function io(l){return["abstract","as","assert","async","await","bool","break","case","catch","class","const","continue","covariant","default","deferred","do","double","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","int","interface","is","library","mixin","new","null","on","operator","part","rethrow","return","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","while","with","yield"].includes(l)?`$${l}`:l}function vh(l){return`enum ${l.name} {\n ${l.values.map(a=>a.value).join(",\n ")}\n}\n`}function Jo(l){switch(l.constructor){case M.Qs:return"String";case M.mN:case M.kM:return"int";case M._P:return"double";case M.zE:return"BigInt";case M.xW:case M.Gf:return"DateTime";case M.Wi:return"bool";case M.lw:return"Uint8List";case M.Bn:return"int";case M.KW:return"Decimal";case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.iE:case M.OR:case M.BD:return"String";case M.RE:return"void";case M.cs:return"dynamic";case M.H1:return`${Jo(l.base)}?`;case M.ts:return`List<${Jo(l.base)}>`;case M.JQ:case M.PK:return l.name;case M.d:return Jo(l.type);default:throw new Error(`BUG: generateTypeName with ${l.constructor.name}`)}}function Lp(l){if(l.dataType instanceof M.RE)return`class ${l.name} extends SdkgenError {\n ${l.name}(super.msg, super.request);\n}\n`;const a=Jo(l.dataType);return`class ${l.name} extends SdkgenErrorWithData<${a}> {\n ${l.name}(super.msg, super.request, super.data);\n}\n`}function Uc(l,a){return a instanceof M.H1?`${l} == null ? null : ${Uc(l,a.base)}`:a instanceof M.ts?`(${l} as List).map((e) => ${Uc("e",a.base)}).toList()`:a instanceof M.RE?l:a instanceof M._P?`(${l} as num).toDouble()`:a instanceof M.Bn?`${l} as int`:`${l} as ${Jo(a)}`}function m_(l){return`class ${l.name} {\n ${l.fields.map(a=>`final ${Jo(a.type)} ${io(a.name)};`).join("\n ")}\n\n${function Bp(l){let a=` ${l.name}({\n`;for(const i of l.fields)a+=i.type instanceof M.H1?" ":" required ",a+=`this.${io(i.name)},\n`;return a+=" });\n",a}(l)}\n${function $p(l){let a=" @override\n bool operator ==(other){\n";return a+=" if (identical(this, other)) return true;\n",a+=` return ${[`other is ${l.name}`,...l.fields.map(i=>`${io(i.name)} == other.${io(i.name)}`)].join(" && ")};\n`,a+=" }\n",a}(l)}\n${function Hp(l){return` @override\n int get hashCode => Object.hashAllUnordered([${l.fields.map(a=>io(a.name)).join(", ")}]);\n`}(l)}\n${function p_(l){return` @override\n String toString() {\n return '${l.name} { ${l.fields.map(a=>`${a.name}: $${io(a.name).startsWith("$")?`{${io(a.name)}}`:io(a.name)}`).join(", ")} }';\n }\n`}(l)}}\n`}const un=["abstract","as","base","bool","break","byte","case","catch","char","checked","class","const","continue","decimal","default","delegate","do","double","else","enum","event","explicit","extern","false","finally","fixed","float","for","foreach","goto","if","implicit","in","int","interface","internal","is","lock","long","namespace","new","null","object","operator","out","override","params","private","protected","public","readonly","ref","return","sbyte","sealed","short","sizeof","stackalloc","static","string","struct","switch","this","throw","true","try","typeof","uint","ulong","unchecked","unsafe","ushort","using","using","static","virtual","void","volatile","while","type","end","id"],yh=[M.zE,M.xW,M.Gf,M._P,M.mN,M.Bn,M.kM,M.ts];function Io(l){return un.includes(l)?`${l}'`:l}function oo(l){return l[0].toUpperCase()+l.slice(1)}function Qo(l){switch(l.constructor){case M.Qs:return"string";case M.mN:return"int";case M.kM:return"uint";case M._P:return"double";case M.zE:return"bigint";case M.xW:case M.Gf:return"DateTime";case M.Wi:return"bool";case M.lw:return"byte[]";case M.Bn:return"decimal";case M.ZU:return"Guid";case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.iE:case M.OR:case M.BD:return"string";case M.RE:return"void";case M.cs:return"JsonElement";case M.H1:return`${Qo(l.base)} option`;case M.ts:return`${Qo(l.base)} list`;case M.JQ:case M.PK:return l.name;case M.d:return Qo(l.type);default:throw new Error(`BUG: generateTypeName with ${l.constructor.name}`)}}function $r(l,a,i,s,d=1,p=!0){switch(l.constructor){case M.mN:return`\n decodeInt32 ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.kM:return`\n decodeUInt32 ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Bn:return`\n (decodeMoney ${a} ${i}) / 100m\n `.replace(/\n {16}/gu,"\n").trim();case M._P:return`\n decodeFloat ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.zE:return`\n decodeBigInt ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Qs:return`\n decodeString ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.dp:return`\n decodeHtml ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Xj:return`\n decodeCpf ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Ro:return`\n decodeCnpj ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Tp:return`\n decodeEmail ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Oo:return`\n decodeUrl ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.ZU:return`\n decodeUuid ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.iE:return`\n decodeHex ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.OR:return`\n decodeBase64 ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.BD:return`\n decodeXml ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.Wi:return`\n decodeBool ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.lw:return`\n decodeBytes ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.d:return $r(l.type,a,i,s,d);case M.H1:return yh.includes(l.base.constructor)?`match ${a}.ValueKind with\n | JsonValueKind.Null | JsonValueKind.Undefined -> None\n | _ ->\n (${$r(l.base,a,i,s,d,!1).replace(/\n/gu,"\n ")}) |> Some\n `.replace(/\n {16}/gu,"\n").trim():l.base instanceof M.H1||l.base instanceof M.ts?`\n (>.>) decodeOptional ${$r(l.base,a,i,s,d,!1)}\n `.replace(/\n {16}/gu,"\n").trim():`\n decodeOptional ${$r(l.base,a,i,s,d,!1)}\n `.replace(/\n {16}/gu,"\n").trim();case M.PK:case M.JQ:return`Decode${l.name} ${a} ${i}`;case M.cs:return p?`\n ${a}\n `.replace(/\n {16}/gu,"\n").trim():`${s} <- ${a}`;case M.Gf:return`\n decodeDateTime ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.xW:return`\n decodeDate ${a} ${i}\n `.replace(/\n {16}/gu,"\n").trim();case M.ts:return`\n match ${a}.ValueKind with\n | JsonValueKind.Array ->\n let mutable list_ = List.empty\n for i1 in 0 .. (${a}.GetArrayLength() - 1) do\n let item = ${a}.[i1]\n let partialResult =\n ${$r(l.base,`${a}.[i1]`,`${i.slice(0,-1)}.{i1}"`,s,d,!1).replace(/\n/gu,"\n ")}\n list_ <- list_ |> List.append [ partialResult ]\n list_\n | _ -> raise (FatalException(${i.slice(0,-1)} must be an array."))\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${l.constructor.name}`)}}function Ls(l,a,i,s=1,d=!0){switch(l.constructor){case M.Qs:return`resultWriter_.WriteStringValue(${a})`;case M._P:case M.kM:case M.mN:return`resultWriter_.WriteNumberValue(${a})`;case M.Bn:return`resultWriter_.WriteNumberValue(int (Math.Round(${a} * 100m)))`;case M.zE:return`resultWriter_.WriteStringValue(${a}.ToString())`;case M.Wi:return`resultWriter_.WriteBooleanValue(${a})`;case M.lw:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${a}))`;case M.Gf:return`resultWriter_.WriteStringValue(${a}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"))`;case M.xW:return`resultWriter_.WriteStringValue(${a}.ToString("yyyy-MM-dd"))`;case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.OR:case M.iE:case M.BD:return`resultWriter_.WriteStringValue(${a})`;case M.H1:{let p=l.base;for(;p instanceof M.d;)p=p.type;return`\n if (${a}.IsNone) then\n resultWriter_.WriteNullValue()\n else\n ${Ls(p,`${a}.Value`,i,s,d)}\n `.replace(/\n {14}/gu,"\n").trim()}case M.d:return Ls(l.type,a,i,s,d);case M.PK:case M.JQ:return`Encode${l.name} ${a} resultWriter_ ${i}`;case M.cs:return`${a}.WriteTo(resultWriter_)`;case M.ts:return`\n resultWriter_.WriteStartArray()\n for i${s} in 0..${a}.Length - 1 do\n ${Ls(l.base,`${a}.[i${s}]`,`${i}`,s+1).replace(/\n/gu,"\n ")}\n resultWriter_.WriteEndArray()\n `.replace(/\n {14}/gu,"\n").trim();default:throw new Error(`BUG: encodeType with ${l.constructor.name}`)}}function xh(l){return`\ntype ${l.name} = {\n ${l.fields.map(a=>`${oo(a.name)}: ${Qo(a.type)}`).join(";\n ")}\n} with\n static member Create (${l.fields.map(a=>`${Io(a.name)}: ${Qo(a.type)}`).join(", ")}): ${l.name} =\n { ${l.fields.map(a=>`${oo(a.name)} = ${Io(a.name)}`).join("; ")} }\n\nlet Decode${l.name} (json_: JsonElement) (path_: string): ${l.name} =\n if (json_.ValueKind <> JsonValueKind.Object) then raise (FatalException($"'{path_}' must be an object."))\n ${l.fields.map(a=>`\n let ${a.name}Json_ = decodeJsonElementStrict ${JSON.stringify(a.name)} json_ $"{path_}.${a.name}"\n let ${Io(a.name)} =\n ${$r(a.type,`${a.name}Json_`,`$"{path_}.${a.name}"`,Io(a.name)).replace(/\n/gu,"\n ")}\n `).join("")}\n { ${l.fields.map(a=>`${oo(a.name)} = ${Io(a.name)}`).join("; ")} }\n\nlet Encode${l.name} (obj_: ${l.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n resultWriter_.WriteStartObject()\n ${l.fields.map(a=>`\n resultWriter_.WritePropertyName(${JSON.stringify(a.name)})\n ${Ls(a.type,`obj_.${oo(a.name)}`,`$"{path_}.${a.name}"`).replace(/\n/gu,"\n ")}`).join("\n")}\n resultWriter_.WriteEndObject()`}function zc(l){return`\ntype ${l.name} =\n ${l.values.map(({value:a})=>`| ${oo(a)}`).join("\n ")}\n\nlet Decode${l.name} (json_: JsonElement) (path_: string): ${l.name} =\n if (json_.ValueKind <> JsonValueKind.String) then raise (FatalException($"'{path_}' must be a string."))\n match json_.GetString() with\n ${l.values.map(({value:a})=>`| "${a}" -> ${l.name}.${oo(a)}`).join("\n ")}\n | _ -> raise (FatalException($"'{path_}' must be one of: (${l.values.map(({value:a})=>`'${a}'`).join(", ")})."))\n\nlet Encode${l.name} (obj_: ${l.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n match obj_ with\n ${l.values.map(({value:a})=>`| ${l.name}.${oo(a)} -> resultWriter_.WriteStringValue("${a}")`).join("\n ")}\n\n`}function Oo(l){switch(l.constructor){case M.mN:case M.kM:case M.Bn:return"Int";case M._P:return"Double";case M.zE:return"BigInt";case M.xW:case M.Gf:return"Calendar";case M.Wi:return"Boolean";case M.lw:return"ByteArray";case M.Qs:case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.iE:case M.OR:case M.BD:return"String";case M.RE:return"Unit";case M.cs:return"@RawValue JsonElement";case M.H1:return`${Oo(l.base)}?`;case M.ts:return`ArrayList<${Oo(l.base)}>`;case M.JQ:case M.PK:return l.name;case M.d:return Oo(l.type);default:throw new Error(`BUG: generateKotlinTypeName with ${l.constructor.name}`)}}function ko(l){return["in","out","as","break","class","continue","do","else","false","for","fun","if","in","interface","is","null","object","package","return","super","this","throw","true","try","typealias","val","var","when","while","by","catch","constructor","delegate","dynamic","field","file","finally","get","import","init","param","property","receiver","set","setparam","where","actual","abstract","annotation","companion","const","crossinline","data","enum","expect","external","final","infix","inline","inner","internal","lateinit","noinline","open","operator","out","override","private","protected","public","reified","sealed","suspend","tailrec","vararg","Double","Float","Long","Int","Short","Byte"].includes(l)?`_${l}`:l}function Gc(l,a){switch(l.constructor){case M.Qs:case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.iE:case M.OR:case M.BD:case M.mN:case M.kM:case M.Bn:case M._P:case M.Wi:return`addProperty("${a}", ${ko(a)})`;case M.H1:return Gc(l.base,a);case M.xW:return`addProperty("${a}", ${ko(a)}?.let { DateAdapter.sdf.format(it.time)}) `;case M.Gf:return`addProperty("${a}", ${ko(a)}?.let { DateTimeAdapter.sdf.format(it.time)})`;case M.ts:case M.JQ:case M.PK:case M.d:case M.cs:return`add("${a}", gson.toJsonTree(${ko(a)}))`;case M.RE:return"";case M.lw:return`addProperty("${a}", Base64.encodeToString(${ko(a)}, Base64.NO_WRAP))`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${l.constructor.name}`)}}function wh(l){let a="@Parcelize \n";return a+=` enum class ${l.name} : Parcelable { ${l.values.map(i=>ko(i.value)).join(", ")} }\n`,a}function Wc(l,a){let i="";switch(a&&a!==ko(a)&&(i+=` @SerializedName("${a}")\n`),l.constructor){case M.xW:i+=" @JsonAdapter(DateAdapter::class)\n";break;case M.Gf:i+=" @JsonAdapter(DateTimeAdapter::class)\n";break;case M.ts:case M.H1:i+=Wc(l.base)}return i}function Hr(l){let a="@Parcelize\n";return a+=` data class ${l.name}(\n${l.fields.map(i=>{let s=Wc(i.type,i.name);return s+=` var ${ko(i.name)}: ${Oo(i.type)}${i.type.constructor===M.H1?" = null":""}`,s}).join(",\n")}\n ) : Parcelable\n`,a}function Ch(l){return`class ${l.name}(message: String) : Error(message)\n`}function Yc(l,a){let i='@file:Suppress("UNNECESSARY_SAFE_CALL")\n\nimport android.os.Parcelable\nimport kotlinx.parcelize.Parcelize\nimport android.content.Context\nimport android.util.Base64\nimport com.google.gson.*\nimport com.google.gson.reflect.TypeToken\nimport com.google.gson.annotations.JsonAdapter\nimport com.google.gson.annotations.SerializedName\nimport io.sdkgen.runtime.SdkgenHttpClient\nimport kotlinx.coroutines.*\nimport kotlinx.coroutines.Dispatchers.IO\nimport kotlinx.parcelize.RawValue\nimport java.util.*\nimport okhttp3.Interceptor\n\ninline fun <reified T> Gson.fromJson(json: String) =\n fromJson<T>(json, object : TypeToken<T>() {}.type)\n\ninline fun <reified T> Gson.fromJson(json: JsonElement) =\n fromJson<T>(json, object : TypeToken<T>() {}.type)\n\n@Suppress("DeferredIsResult", "unused")\nclass ApiClient(\n baseUrl: String,\n val applicationContext: Context,\n defaultTimeoutMillis: Long = 10000L,\n fingerprint: String? = null,\n httpInterceptor: Interceptor? = null,\n httpNetworkInterceptor: Interceptor? = null\n) : SdkgenHttpClient(baseUrl, applicationContext, defaultTimeoutMillis, fingerprint, httpInterceptor, httpNetworkInterceptor) {\n\n private val gson = GsonBuilder()\n .registerTypeAdapter(object : TypeToken<ByteArray>() {}.type, ByteArrayDeserializer())\n .create()\n\n';for(const p of l.enumTypes)i+=` ${wh(p)}`,i+="\n";i+=" open class Error(val message: String? = null)\n",i+=" data class Response<T>(val error: Error?, val data: T?, val stats: CallStats?)\n\n";for(const p of l.structTypes)i+=` ${Hr(p)}\n`;const s=[],d=new M.IE("Connection",new M.RE);s.push(d.name),i+=` ${Ch(d)}`;for(const p of l.errors)i+=` ${Ch(p)}`,s.push(p.name);return s.length>0&&(i+=`\n enum class ErrorType {\n ${s.join(",\n ")};\n\n fun type(): Class<out ApiClient.Error> {\n return when (this) {\n ${s.map(p=>`${p} -> ApiClient.${p}::class.java`).join("\n ")}\n else -> ApiClient.Error::class.java\n }\n }\n }\n\n`),i+=" private val sdkgenIOScope = CoroutineScope(IO + SupervisorJob())\n\n",i+=l.operations.filter(p=>p.annotations.every(b=>!(b instanceof M.e1))).map(p=>{let b="";const S=[];S.push("timeoutMillis: Long? = null"),a&&S.push(`callback: ((response: Response<${Oo(p.returnType)}>) -> Unit)? = null`);const ee=p.args.map(Te=>`${ko(Te.name)}: ${Oo(Te.type)}`).concat(S);return b+=` fun ${ko(p.name)}(\n ${ee.join(",\n ")}\n ): Deferred<Response<out ${Oo(p.returnType)}>> = sdkgenIOScope.async {\n`,p.args.length>0?(b+=" val bodyArgs = JsonObject().apply {\n",b+=p.args.map(Te=>` ${Gc(Te.type,Te.name)}`).join("\n"),b+="\n }\n"):b+=" val bodyArgs: JsonObject? = null",b+="\n",b+=` val call = makeRequest("${p.name}", bodyArgs, timeoutMillis)\n`,b+=` val response: Response<${Oo(p.returnType)}> = handleCallResponse(call)\n`,a&&(b+=" withContext(Dispatchers.Main) { callback?.invoke(response) } \n"),b+=" return@async response\n",b+=" }\n",b}).join("\n"),i+='\n private inline fun <reified T> handleCallResponse(callResponse: InternalResponse): Response<T> {\n try {\n val data = if (callResponse.result?.get("result") != null)\n gson.fromJson<T>(callResponse.result?.get("result")!!)\n else null\n\n val error = if (callResponse.error != null) {\n val errorType = try {\n ErrorType.valueOf(callResponse.error?.get("type")?.asString ?: "")\n } catch (e: Exception) {\n ErrorType.Fatal\n }\n\n gson.fromJson(callResponse.error, errorType.type())\n } else null\n\n return Response(error, data, callResponse.stats)\n } catch(e: Exception) {\n return Response(Fatal(applicationContext.getString(io.sdkgen.runtime.R.string.sdkgen_error_serialization)), null, callResponse.stats)\n }\n }\n',i+="}\n",i}function Wi(l){switch(l.constructor){case M.mN:return"Int";case M.kM:return"UInt";case M.Bn:return"Int64";case M._P:return"Double";case M.zE:return"Decimal";case M.xW:case M.Gf:return"Date";case M.Wi:return"Bool";case M.lw:return"Data";case M.Qs:case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.ZU:case M.iE:case M.Oo:case M.OR:case M.BD:return"String";case M.RE:return"Void";case M.cs:return"AnyCodable";case M.H1:return`${Wi(l.base)}?`;case M.ts:return`[${Wi(l.base)}]`;case M.JQ:case M.PK:return`API.${l.name}`;case M.d:return Wi(l.type);default:throw new Error(`BUG: generateSwiftTypeName with ${l.constructor.name}`)}}function pi(l){return["associatedtype","deinit","extension","inout","let","in","as","break","class","continue","protocol","Protocol","rethrows","throws","static","do","else","false","for","guard","func","if","internal","struct","subscript","repeat","is","nil","Any","associativity","convenience","import","return","super","self","Self","throw","true","try","typealias","switch","case","default","defer","fallthrough","optional","var","while","catch","dynamic","didSet","Set","fileprivate","lazy","get","init","required","right","param","property","receiver","set","left","where","final","infix","indirect","open","operator","override","private","postfix","public","mutating","none","nonmutating","precedence","prefix","Type","unowned","weak","willSet"].includes(l)?`_${l}`:l}function Vr(l,a){switch(l.constructor){case M.Qs:case M.Xj:case M.Ro:case M.Tp:case M.dp:case M.Oo:case M.ZU:case M.iE:case M.OR:case M.BD:case M.mN:case M.kM:case M.Bn:case M._P:case M.Wi:return`${a}`;case M.H1:return`${a} == nil ? nil : ${Vr(l.base,`${a}!`)}`;case M.xW:return`SdkgenHelper.encodeDate(date: ${a})`;case M.Gf:return`SdkgenHelper.encodeDateTime(date: ${a})`;case M.PK:return`${a}.rawValue`;case M.d:return`${Vr(l.type,`${a}`)}`;case M.JQ:return`${a}.toJSON()`;case M.ts:return`${a}.map({ return ${Vr(l.base,"$0")} })`;case M.cs:return`try? ${a}.toJson()`;case M.RE:return"nil";case M.lw:return`${a}.base64EncodedString()`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${l.constructor.name}`)}}function Kc(l){let a=` public enum ${l.name}: String, Codable {\n`;return a+=l.values.map(i=>` case ${pi(i.value)} = "${i.value}"`).join("\n"),a+="\n }\n",a}function Vp(l){return` public struct ${l.name}: Codable {\n${l.fields.map(a=>` var ${pi(a.name)}: ${Wi(a.type)}`).join("\n")}\n\n${function Zc(l){let a=" init(";return a+=l.fields.map(i=>`${pi(i.name)}: ${Wi(i.type)}`).join(", "),a+=") {\n",a+=l.fields.map(i=>` self.${pi(i.name)} = ${pi(i.name)}`).join("\n"),a+="\n }\n",a}(l)}\n${function yd(l){let a=" func toJSON() -> [String: Any] {\n";return a+=" var json = [String: Any]()\n",a+=l.fields.map(i=>` json["${pi(i.name)}"] = ${Vr(i.type,i.name)}`).join("\n"),a+="\n return json",a+="\n }\n",a}(l)}\n }\n`}function xd(l){const a=l.args.map(i=>`${pi(i.name)}: ${Wi(i.type)}`).concat(["timeoutSeconds: Double?",`callback: ((_ result: ${l.returnType instanceof M.RE?"API.Result<API.NoReply>":`API.Result<${Wi(l.returnType)}>`}) -> Void)?`]);return` func ${pi(l.name)}(${a.join(", ")})`}function Dh(l,a){let i="import Foundation\nimport SdkgenRuntime\n";i+=a?"import RxSwift\nimport RxCocoa\n\n":"\n",i+="protocol APICallsProtocol {\n",i+=l.operations.filter(p=>p.annotations.every(b=>!(b instanceof M.e1))).map(p=>`${xd(p)}`).join("\n"),i+="\n}\n\n",i+='class API: SdkgenResponse {\n\n static var calls = Calls(baseUrl: "")\n static var baseUrl: String? {\n didSet {\n self.calls = Calls(baseUrl: baseUrl ?? "")\n }\n }\n \n override init() {\n super.init()\n }\n\n';for(const p of l.enumTypes)i+=Kc(p),i+="\n";for(const p of l.structTypes)i+=Vp(p),i+="\n";const s=[],d=new M.IE("Connection",new M.RE);s.push(d.name);for(const p of l.errors)s.push(p.name);return s.length>0&&(i+=function Ro(l){let a=" public enum ErrorType: String, Codable {\n";return a+=l.map(i=>` case ${pi(i)} = "${i}"`).join("\n"),a+="\n }\n",a}(s),i+="\n"),i+=" public class Failure: Error {\n var message: String?\n var code: Int?\n var type: ErrorType?\n \n init(message: String?, code: Int?, type: String?) {\n self.message = message\n self.code = code\n if let typeString = type {\n self.type = ErrorType(rawValue: typeString) ?? nil\n }\n }\n }\n",i+="\n",i+=" public enum Result<T> {\n case success(T)\n case failure(Failure)\n }\n\n",i+=" public class Calls: SdkgenHttpClient, APICallsProtocol {\n\n override init(baseUrl: String) {\n super.init(baseUrl: baseUrl)\n }\n\n",i+=l.operations.filter(p=>p.annotations.every(b=>!(b instanceof M.e1))).map(p=>{let b="";return b+=` ${xd(p)} {\n`,p.args.length>0?(b+=" var jsonArgs = [String: Any]()\n",b+=p.args.map(S=>` jsonArgs["${pi(S.name)}"] = ${Vr(S.type,pi(S.name))}`).join("\n")):b+=" let jsonArgs = [String: Any]()",b+="\n\n",b+=` makeRequest("${p.name}", jsonArgs, timeoutSeconds, completion: { (value: ${p.returnType instanceof M.RE?"API.NoReply":Wi(p.returnType)}) in\n`,b+=" callback?(API.Result.success(value))\n",b+=" }, onError: { error in\n",b+=" callback?(API.Result.failure(API.Failure(message: error.message, code: error.code, type: error.type)))\n",b+=" })",b+="\n }\n",b}).join("\n"),i+=" }\n",i+="}\n",a&&(i+="\n",i+="extension API: ReactiveCompatible {}\n\n",i+="extension Reactive where Base: API {\n",i+=l.operations.filter(p=>p.annotations.every(b=>!(b instanceof M.e1))).map(p=>`${function Bs(l){const a=l.args.map(s=>`${pi(s.name)}: ${Wi(s.type)}`).concat(["timeoutSeconds: Double? = nil"]);let i=` static func ${pi(l.name)}(${a.join(", ")}) -> ${l.returnType instanceof M.RE?"Observable<API.Result<API.NoReply>>":`Observable<API.Result<${Wi(l.returnType)}>>`} {\n`;return i+=" return Observable.create { observer -> Disposable in\n",i+=` API.calls.${pi(l.name)}(${l.args.map(s=>`${pi(s.name)}: ${pi(s.name)}`).concat(["timeoutSeconds: timeoutSeconds"]).join(", ")}) { result in \n`,i+=" observer.on(.next(result))\n",i+=" observer.on(.completed)\n",i+=" }\n",i+=" return Disposables.create()\n",i+=" }\n",i+=" }\n",i}(p)}`).join("\n"),i+="}\n"),i}var qc=v(3866),Up=v(5046),jr=v(6480),Eh=v(8197),Mh=v(5861);let wd=(()=>{class l{constructor(){this.version="0.0.0"}static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["app-dialog-about"]],decls:20,vars:2,consts:[["mat-dialog-title",""],["role","list"],[3,"disableRipple"],["mat-icon-button","","mat-dialog-close","","tabindex","-1"],["href","https://sdkgen.github.io/","rel","external noreferer","target","_blank","mat-stroked-button",""],["href","https://github.com/sdkgen/sdkgen","rel","external noreferer","target","_blank","mat-stroked-button",""],["href","https://github.com/sdkgen/sdkgen/issues/new","rel","external noreferer","target","_blank","mat-stroked-button",""]],template:function(s,d){1&s&&(o.TgZ(0,"header")(1,"h1",0),o._uU(2,"sdkgen Playground"),o.qZA(),o.TgZ(3,"mat-chip-set",1)(4,"mat-chip",2),o._uU(5),o.qZA()(),o._UZ(6,"s"),o.TgZ(7,"button",3)(8,"mat-icon"),o._uU(9,"close"),o.qZA()()(),o.TgZ(10,"p"),o._uU(11,"Ferramenta para explorar e invocar APIs feitas com sdkgen."),o.qZA(),o.TgZ(12,"p"),o._uU(13,"Feito com \u2764\ufe0f no Brasil \u{1f1e7}\u{1f1f7}"),o.qZA(),o.TgZ(14,"a",4),o._uU(15,"Documenta\xe7\xe3o"),o.qZA(),o.TgZ(16,"a",5),o._uU(17,"C\xf3digo-fonte"),o.qZA(),o.TgZ(18,"a",6),o._uU(19," Reportar um problema\n"),o.qZA()),2&s&&(o.xp6(4),o.Q6J("disableRipple",!0),o.xp6(1),o.Oqu(d.version))},dependencies:[ae.zs,ae.RK,mt,rn,Xa,Df,On.Hw],styles:["header[_ngcontent-%COMP%]{display:flex;border-bottom:1px solid rgba(255,255,255,.2)}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], header[_ngcontent-%COMP%] button[_ngcontent-%COMP%], header[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%]{display:inline;align-self:center}header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:flex;margin:0 10px 0 0;padding:0}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:20px}a[_ngcontent-%COMP%]:not(:last-child){margin-right:12px}"]})}return l})();function __(l,a){1&l&&(o.ynx(0),o.TgZ(1,"mat-icon",6),o._uU(2,"loop"),o.qZA(),o.BQk())}function zp(l,a){1&l&&(o.ynx(0),o.TgZ(1,"mat-icon"),o._uU(2,"arrow_forward"),o.qZA(),o.BQk())}let Gp=(()=>{class l{constructor(i,s,d){this.sdkgen=i,this.toastr=s,this.dialog=d,this.loading=!1,this.url=new Ee.NI("")}ngOnInit(){fetch("/ast.json").then(i=>{i.ok&&(this.url.setValue(`${window.location.protocol}//${window.location.host}`),this.loadUrl())}).catch(()=>{})}loadUrl(i){var s=this;return(0,Mh.Z)(function*(){i?.preventDefault();try{s.loading=!0,/^https?:\/\//.test(s.url.value)||s.url.setValue(`https://${s.url.value}`);const d=new URL(s.url.value);d.pathname+=(d.pathname.endsWith("/")?"":"/")+"ast.json";const p=d.toString();console.debug("astUrl",p);const b=yield fetch(p).then(function(){var S=(0,Mh.Z)(function*(ee){return ee.ok?ee.json():ee});return function(ee){return S.apply(this,arguments)}}());if(b instanceof Response)throw b instanceof Error?b:new Error(b.statusText);if(!b.errors||!b.functionTable||!b.typeTable)throw new Error("Invalid AST");for(;typeof monaco>"u";)console.log("monaco"),yield new Promise(S=>setTimeout(S,250));console.debug("astJson",b),s.sdkgen.state$.next({astJson:b,astRoot:(0,M.Bp)(b),url:s.url.value})}catch(d){s.toastr.error(d instanceof Error?d.message:JSON.stringify(d),"Erro ao carregar AST",{positionClass:"toast-bottom-right"})}finally{s.loading=!1}})()}openAbout(){this.dialog.open(wd)}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(jr.G),o.Y36(jc),o.Y36(ns))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["app-tab-nav"]],decls:9,vars:6,consts:[["src","assets/polvinho.png"],[3,"submit"],["placeholder","Digite uma URL aqui para conectar",3,"formControl","readonly"],["mat-ripple","","type","submit",3,"disabled","ngSwitch"],[4,"ngSwitchCase"],["mat-ripple","",1,"about-button",3,"click"],[1,"loader"]],template:function(s,d){1&s&&(o._UZ(0,"img",0),o.TgZ(1,"form",1),o.NdJ("submit",function(b){return d.loadUrl(b)}),o._UZ(2,"input",2),o.TgZ(3,"button",3),o.YNc(4,__,3,0,"ng-container",4),o.YNc(5,zp,3,0,"ng-container",4),o.qZA()(),o.TgZ(6,"button",5),o.NdJ("click",function(){return d.openAbout()}),o.TgZ(7,"mat-icon"),o._uU(8,"info"),o.qZA()()),2&s&&(o.xp6(2),o.Q6J("formControl",d.url)("readonly",d.loading),o.xp6(1),o.Q6J("disabled",d.loading)("ngSwitch",d.loading),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(1),o.Q6J("ngSwitchCase",!1))},dependencies:[te.RF,te.n9,Ee._Y,Ee.Fj,Ee.JJ,Ee.JL,Ee.F,Ee.oH,On.Hw,de.wG],styles:["[_nghost-%COMP%]{display:flex;height:42px;background-color:#2b2b2b;box-shadow:0 0 3px #00000080}img[_ngcontent-%COMP%]{padding:5px}form[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-grow:1;box-shadow:0 0 1px #00000080;background:#383838;border:0 none;border-radius:5px;margin:5px 10vw 5px calc(10vw - 42px);overflow:hidden}form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex-grow:1;padding:10px 5px;background:transparent;border:0 none;text-align:center;color:#ccc}form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none}form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:transparent;color:#bfbfbf;border:0 none;cursor:pointer;line-height:10px}form[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin 2s linear infinite}button.about-button[_ngcontent-%COMP%]{width:42px;height:42px;border:0;border-radius:0;padding:0;background:transparent;cursor:pointer;color:inherit;line-height:0;text-align:center}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]})}return l})();var Wp=v(3538);const Yp={StringPrimitiveType:"Um texto livre, potencialmente de m\xfaltiplas linhas, codificado como UTF-8.",IntPrimitiveType:"Um n\xfamero inteiro de 32 bits, no intervalo de -2147483648 at\xe9 2147483647.",UIntPrimitiveType:"Um n\xfamero inteiro n\xe3o negativo, no intervalo de 0 at\xe9 4294967295.",FloatPrimitiveType:"Um n\xfamero de ponto flutuante de 64 bits, similar ao double do C.",BigIntPrimitiveType:"Um n\xfamero inteiro sem limite de precis\xe3o. Na maioria das plataformas este tipo \xe9 mais custoso.",MoneyPrimitiveType:"Um n\xfamero inteiro com precis\xe3o estendida, mas perform\xe1tico. Est\xe1 no intervalo de -9007199254740991 a 9007199254740991. \xdatil para opera\xe7\xf5es financeiras.",DecimalPrimitiveType:"Um n\xfamero inteiro ou fracionado representado por d\xedgitos decimais e com precis\xe3o din\xe2mica. \xdatil para opera\xe7\xf5es financeiras.",DatePrimitiveType:"Representa conceitualmente uma data do calend\xe1rio Gregoriano. Essa mesma data pode representar diferentes momento no tempo a depender da timezone. Para especificar um ponto no tempo utilize datetime.",DateTimePrimitiveType:"Representa um instante no tempo com precis\xe3o de milissegundos. Este instante ser\xe1 sempre traduzido para o fuso hor\xe1rio local do recebedor da mensagem.",BoolPrimitiveType:"Ou true ou false.",VoidPrimitiveType:"Tipo vazio, sem conte\xfado.",CpfPrimitiveType:"Similar a uma string, mas contendo um CPF v\xe1lido.",CnpjPrimitiveType:"Similar a uma string, mas contendo um CNPJ v\xe1lido.",EmailPrimitiveType:"Similar a uma string, mas contendo um e-mail v\xe1lido.",UrlPrimitiveType:"Similar a uma string, mas contendo uma URL v\xe1lida.",UuidPrimitiveType:"Similar a uma string, mas contendo um UUID v\xe1lido.",HexPrimitiveType:"Similar a uma string, mas contendo uma quantidade par de caracteres hexadecimais, \xfatil para representar bytes.",HtmlPrimitiveType:"Similar a uma string, mas contendo um HTML v\xe1lido.",BytesPrimitiveType:"Uma sequ\xeancia arbitr\xe1ria de bytes de qualquer comprimento. Pode ser utilizado para tr\xe1fego de dados bin\xe1rios.",Base64PrimitiveType:"Similar a uma string, mas necessariamente com uma codifica\xe7\xe3o Base 64 v\xe1lida.",XmlPrimitiveType:"Similar a uma string, mas contendo um XML v\xe1lido.",JsonPrimitiveType:"Um valor JSON qualquer, incluindo objetos, arrays, strings, n\xfameros e boleanos, em qualquer profundidade. Note que embora null possa aparecer dentro de um objeto ou array, o valor deste campo n\xe3o pode ser null diretamente. Para isso utilize json?."},b_={StringPrimitiveType:["","lorem ipsum","strings podem conter caracteres especiais \u{1f609}"],IntPrimitiveType:["0","6725082065","-3096576054"],UIntPrimitiveType:["0","1","340953460"],FloatPrimitiveType:["0.0","1.050654","-3454.6396854"],BigIntPrimitiveType:["87175082235506108544888893172310","0","1"],MoneyPrimitiveType:["100","-450954636342","121611633162977184630315"],DecimalPrimitiveType:["100","-10.35","0.00498375617834","3864958512342567"],DatePrimitiveType:["2020-01-01","1950-04-15","2194-12-31"],DateTimePrimitiveType:["2020-01-01T00:00:00.000","1950-04-15T02:11:58.892","2194-12-31T23:31:58.491"],BoolPrimitiveType:["true","false"],CpfPrimitiveType:["000.000.001-91","00000000191","000.000.002-72"],CnpjPrimitiveType:["00.000.000/0001-91","00000000000191","00.000.000/0002-72"],EmailPrimitiveType:["sample@example.com","root@localhost","test+label@10.0.0.5"],UrlPrimitiveType:["https://sdkgen.github.io/","https://goo.gl/maps/gUaKGTqR8BHXfX7b7","http://jobs.cubos.io"],UuidPrimitiveType:["c12c3329-c558-4c76-9a16-0efeb2b01605","00000000-0000-0000-0000-000000000000","1d5f2ef6-0def-11ec-82a8-0242ac130003"],HexPrimitiveType:["00","6375626f73","73646b67656e20706c617967726f756e64"],HtmlPrimitiveType:["<html><body><p>sdkgen</p></body></html>","<html><h1>Sdkgen","<script> alert('Hello world!'); <\/script>"],BytesPrimitiveType:[],Base64PrimitiveType:["Y3Vib3M=","c2RrZ2Vu","c2RrZ2VuIHBsYXlncm91bmQ="],XmlPrimitiveType:["<items><item>something</item></items>","<list />",'<?xml version="1.0" encoding="UTF-8"?><resposta><![CDATA[ol\xe1 <xml>]]></resposta>'],JsonPrimitiveType:["{}",'{"sdkgen":"playground"}','{"type":"json","items":[1,2,3],"some":null}']};function Ur(l){switch(l.constructor){case M.Qs:return"StringPrimitiveType";case M.mN:return"IntPrimitiveType";case M.kM:return"UIntPrimitiveType";case M._P:return"FloatPrimitiveType";case M.zE:return"BigIntPrimitiveType";case M.Bn:return"MoneyPrimitiveType";case M.KW:return"DecimalPrimitiveType";case M.xW:return"DatePrimitiveType";case M.Gf:return"DateTimePrimitiveType";case M.Wi:return"BoolPrimitiveType";case M.RE:return"VoidPrimitiveType";case M.Xj:return"CpfPrimitiveType";case M.Ro:return"CnpjPrimitiveType";case M.Tp:return"EmailPrimitiveType";case M.Oo:return"UrlPrimitiveType";case M.ZU:return"UuidPrimitiveType";case M.iE:return"HexPrimitiveType";case M.dp:return"HtmlPrimitiveType";case M.lw:return"BytesPrimitiveType";case M.OR:return"Base64PrimitiveType";case M.BD:return"XmlPrimitiveType";case M.cs:return"JsonPrimitiveType";case M.H1:return"OptionalType";case M.PK:return"EnumType";case M.ts:return"ArrayType";case M.JQ:return"StructType";default:return l.constructor.name}}function Jc(l){const a=[];switch(l.constructor){case M.Qs:case M.mN:case M.kM:case M._P:case M.zE:case M.Bn:case M.KW:case M.xW:case M.Gf:case M.Wi:case M.RE:case M.Xj:case M.Ro:case M.Tp:case M.Oo:case M.ZU:case M.iE:case M.dp:case M.lw:case M.OR:case M.BD:case M.cs:a.push("Primitivo");break;case M.H1:a.push("Opcional"),a.push(...Jc(l.base));break;case M.d:a.push(...Jc(l.type));break;case M.ts:a.push("Array"),a.push(...Jc(l.base));break;case M.PK:a.push("Enum");break;default:console.error("No labels for",Ur(l))}return a}function fr(l){switch(l.constructor){case M.Qs:case M.mN:case M.kM:case M._P:case M.zE:case M.Bn:case M.KW:case M.xW:case M.Gf:case M.Wi:case M.RE:case M.Xj:case M.Ro:case M.Tp:case M.Oo:case M.ZU:case M.iE:case M.dp:case M.lw:case M.OR:case M.BD:case M.cs:return{longDescription:Yp[Ur(l)],shortDescription:Yp[Ur(l)],examples:b_[Ur(l)]};case M.H1:{const d=fr(l.base);return{...d,longDescription:d.longDescription,shortDescription:`(opcional) ${d.shortDescription}`,examples:["null",...d.examples??[]]}}case M.d:return fr(l.type);case M.ts:{const d=fr(l.base);return{...d,longDescription:d.longDescription,shortDescription:`(array) ${d.shortDescription}`,examples:["[]",...d.examples?.map(p=>`[${p}]`)??[]]}}case M.PK:const a=l,i=a.values.slice(0,3),s=i.map(d=>d.struct?`${d.value}: ${JSON.stringify((new jr.G).buildJsonObject(d.struct.fields),null,2)}`:d.value);return{longDescription:"enum representa um conjunto limitado de possibilidades de valores, similar as enumera\xe7\xf5es em outras linguagens.",shortDescription:`(enum) ${i.map(d=>`${d.value}${d.struct?"(\u2026)":""}`).join(", ")}${i.length>3?"\u2026":""}`,examples:s,isEnum:!0,isStruct:!0,structFields:a.values.map(d=>({name:d.value,type:d.struct,description:d.annotations.find(p=>p instanceof M.x3)?.text,secret:!1}))};case M.JQ:return{longDescription:"",shortDescription:`(objeto complexo) ${l.fields.slice(0,3).map(d=>d.name).join(", ")}\u2026`,isStruct:!0,structFields:l.fields.map(d=>({name:d.name,description:d.annotations.find(p=>p instanceof M.x3)?.text,type:d.type,secret:d.secret})),examples:[JSON.stringify((new jr.G).buildJsonObject(l.fields),null,2)]};default:return{longDescription:"BUG: Unknown Type",shortDescription:"BUG: Unknown Type",examples:[]}}}function Cd(l,a){1&l&&(o.TgZ(0,"button",6)(1,"mat-icon"),o._uU(2,"arrow_back"),o.qZA()())}function $s(l,a){if(1&l&&(o.TgZ(0,"mat-chip",7),o._uU(1),o.qZA()),2&l){const i=a.$implicit;o.Q6J("disableRipple",!0),o.xp6(1),o.Oqu(i)}}function Dd(l,a){1&l&&(o.TgZ(0,"button",8)(1,"mat-icon"),o._uU(2,"close"),o.qZA()())}function Ed(l,a){1&l&&(o.TgZ(0,"th",20),o._uU(1,"Nome"),o.qZA())}function $a(l,a){if(1&l&&(o.TgZ(0,"td",21),o._uU(1),o.qZA()),2&l){const i=a.$implicit;o.xp6(1),o.Oqu(i.name)}}function Qc(l,a){1&l&&(o.TgZ(0,"th",20),o._uU(1,"Tipo"),o.qZA())}function Hs(l,a){1&l&&(o.TgZ(0,"span"),o._uU(1,"-"),o.qZA())}function Md(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"u",25),o.NdJ("click",function(){o.CHM(i);const d=o.oxw().$implicit,p=o.oxw(2);return o.KtG(p.showDocumentation(d.type))}),o._uU(1),o.qZA()}if(2&l){const i=o.oxw().$implicit,s=o.oxw(2);o.Q6J("matTooltip",s.getTooltip(i.type)),o.xp6(1),o.Oqu(i.type.name)}}function Td(l,a){1&l&&(o.TgZ(0,"td",22),o.YNc(1,Hs,2,0,"span",23),o.YNc(2,Md,2,2,"u",24),o.qZA()),2&l&&(o.Q6J("ngSwitch",a.$implicit.type),o.xp6(1),o.Q6J("ngSwitchCase",null))}function Xc(l,a){1&l&&(o.TgZ(0,"th",20),o._uU(1,"Descri\xe7\xe3o"),o.qZA())}function v_(l,a){if(1&l&&(o.TgZ(0,"td",26),o._uU(1),o.qZA()),2&l){const i=a.$implicit;o.xp6(1),o.Oqu(i.description||"-")}}function Ad(l,a){1&l&&o._UZ(0,"tr",27)}function Ha(l,a){1&l&&o._UZ(0,"tr",28)}const Kp=function(){return[]};function Ah(l,a){if(1&l&&(o.TgZ(0,"section")(1,"div",9)(2,"table",10),o.ynx(3,11),o.YNc(4,Ed,2,0,"th",12),o.YNc(5,$a,2,1,"td",13),o.BQk(),o.ynx(6,14),o.YNc(7,Qc,2,0,"th",12),o.YNc(8,Td,3,2,"td",15),o.BQk(),o.ynx(9,16),o.YNc(10,Xc,2,0,"th",12),o.YNc(11,v_,2,1,"td",17),o.BQk(),o.YNc(12,Ad,1,0,"tr",18),o.YNc(13,Ha,1,0,"tr",19),o.qZA()()()),2&l){const i=o.oxw();let s;o.xp6(2),o.Q6J("dataSource",null!==(s=null==i.typeDoc?null:i.typeDoc.structFields)&&void 0!==s?s:o.DdM(3,Kp)),o.xp6(10),o.Q6J("matHeaderRowDef",i.argumentsTableColumns),o.xp6(1),o.Q6J("matRowDefColumns",i.argumentsTableColumns)}}function Zp(l,a){if(1&l&&(o.TgZ(0,"li")(1,"code",1),o._uU(2),o.qZA()()),2&l){const i=a.$implicit;o.xp6(2),o.Oqu(i)}}function qp(l,a){if(1&l&&(o.TgZ(0,"section")(1,"h3"),o._uU(2,"Exemplos"),o.qZA(),o.TgZ(3,"ul"),o.YNc(4,Zp,3,1,"li",29),o.qZA()()),2&l){const i=o.oxw();o.xp6(4),o.Q6J("ngForOf",null==i.typeDoc?null:i.typeDoc.examples)}}let Sd=(()=>{class l{constructor(i,s,d){this.dialogRef=i,this.data=s,this.dialog=d,this.labels=[],this.argumentsTableColumns=["name","type","description"]}ngOnInit(){this.labels=Jc(this.data.type),this.typeDoc=fr(this.data.type)}getTooltip(i){return fr(i).shortDescription}showDocumentation(i){this.dialog.open(l,{position:{right:"0"},data:{type:i,subdialog:!0},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(T),o.Y36($),o.Y36(ns))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["app-type-details"]],decls:11,vars:7,consts:[["class","back-button","mat-icon-button","","mat-dialog-close","","tabindex","-1",4,"ngIf"],[1,"mono"],["role","list"],["color","primary",3,"disableRipple",4,"ngFor","ngForOf"],["class","close-button","mat-icon-button","","mat-dialog-close","","tabindex","-1",4,"ngIf"],[4,"ngIf"],["mat-icon-button","","mat-dialog-close","","tabindex","-1",1,"back-button"],["color","primary",3,"disableRipple"],["mat-icon-button","","mat-dialog-close","","tabindex","-1",1,"close-button"],[1,"table-responsive","mat-elevation-z8"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","mono","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["class","mono","mat-cell","",3,"ngSwitch",4,"matCellDef"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"mono"],["mat-cell","",1,"mono",3,"ngSwitch"],[4,"ngSwitchCase"],[3,"matTooltip","click",4,"ngSwitchDefault"],[3,"matTooltip","click"],["mat-cell",""],["mat-header-row",""],["mat-row",""],[4,"ngFor","ngForOf"]],template:function(s,d){1&s&&(o.TgZ(0,"h1"),o.YNc(1,Cd,3,0,"button",0),o.TgZ(2,"span",1),o._uU(3),o.qZA(),o.TgZ(4,"mat-chip-set",2),o.YNc(5,$s,2,2,"mat-chip",3),o.qZA(),o.YNc(6,Dd,3,0,"button",4),o.qZA(),o.TgZ(7,"p"),o._uU(8),o.qZA(),o.YNc(9,Ah,14,4,"section",5),o.YNc(10,qp,5,1,"section",5)),2&s&&(o.xp6(1),o.Q6J("ngIf",d.data.subdialog),o.xp6(2),o.Oqu(d.data.type.name),o.xp6(2),o.Q6J("ngForOf",d.labels),o.xp6(1),o.Q6J("ngIf",!d.data.subdialog),o.xp6(2),o.Oqu(null==d.typeDoc?null:d.typeDoc.longDescription),o.xp6(1),o.Q6J("ngIf",(null==d.typeDoc?null:d.typeDoc.isStruct)&&(null==d.typeDoc?null:d.typeDoc.structFields)),o.xp6(1),o.Q6J("ngIf",null==d.typeDoc||null==d.typeDoc.examples?null:d.typeDoc.examples.length))},dependencies:[te.sg,te.O5,te.RF,te.n9,te.ED,ae.RK,mt,rn,Xa,On.Hw,Wo,fa,Eo,fc,Cn,fs,pc,pa,ps,ma,gs],styles:["h1[_ngcontent-%COMP%]{font-weight:200;word-break:break-all;word-wrap:break-word;color:#fff}h1[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%]{display:inline-block;margin-left:10px;-webkit-user-select:none;user-select:none}h1[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{text-transform:uppercase}h1[_ngcontent-%COMP%] mat-chip-set[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:focus{outline:none}h1[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{vertical-align:middle}h1[_ngcontent-%COMP%] button.back-button[_ngcontent-%COMP%]{margin-right:10px}h1[_ngcontent-%COMP%] button.close-button[_ngcontent-%COMP%]{float:right}p[_ngcontent-%COMP%]{line-height:1.5rem}section[_ngcontent-%COMP%]{margin-top:2rem}h3[_ngcontent-%COMP%]{font-weight:200;text-transform:uppercase}ul[_ngcontent-%COMP%]{padding-left:2rem}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{line-height:2rem;list-style:square}code[_ngcontent-%COMP%]{padding:.2rem .4rem;font-size:.875em;color:#fff;background-color:#212529;border-radius:.2rem;white-space:pre-wrap;word-break:break-all;word-wrap:break-word}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] u[_ngcontent-%COMP%]{text-decoration-style:dotted;cursor:pointer}"]})}return l})();var Sh=v(4515);let Jp=(()=>{class l{constructor(i){this.observer=i}isBelowSm(){return this.observer.observe(["(max-width: 575px)"])}isBelowMd(){return this.observer.observe(["(max-width: 767px)"])}isBelowLg(){return this.observer.observe(["(max-width: 991px)"])}isBelowXl(){return this.observer.observe(["(max-width: 1199px)"])}static#e=this.\u0275fac=function(s){return new(s||l)(o.LFG(Sh.Yg))};static#t=this.\u0275prov=o.Yz7({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})(),Qp=(()=>{class l{transform(i,s){if(!i)return[];if(!s)return i;const d=s.toLocaleLowerCase();return i.filter(p=>JSON.stringify(p).toLocaleLowerCase().includes(d))}static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275pipe=o.Yjl({name:"appFilter",type:l,pure:!0})}return l})();function y_(l,a){if(1&l&&(o.TgZ(0,"span",8),o._uU(1),o.qZA()),2&l){const i=o.oxw().$implicit;o.xp6(1),o.Oqu(i.description)}}const Xp=function(l){return{active:l}};function el(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"li",5),o.NdJ("click",function(){const p=o.CHM(i).$implicit,b=o.oxw();return o.KtG(b.selectedFunction=p)}),o.TgZ(1,"span",6),o._uU(2),o.qZA(),o.YNc(3,y_,2,1,"span",7),o.qZA()}if(2&l){const i=a.$implicit,s=o.oxw();o.Q6J("ngClass",o.VKq(3,Xp,(null==s.selectedFunction?null:s.selectedFunction.name)===i.name)),o.xp6(2),o.Oqu(i.name),o.xp6(1),o.Q6J("ngIf",i.description)}}function Id(l,a){1&l&&o._UZ(0,"span")}function em(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"span"),o._UZ(1,"br"),o._uU(2,"\xa0\xa0"),o.TgZ(3,"span",37),o._uU(4),o.qZA(),o.TgZ(5,"span",14),o._uU(6,":"),o.qZA(),o._uU(7,"\xa0"),o.TgZ(8,"u",15),o.NdJ("click",function(){const p=o.CHM(i).$implicit,b=o.oxw(2);return o.KtG(b.showDocumentation(p.rawType))}),o._uU(9),o.qZA(),o.YNc(10,Id,1,0,"span",38),o.qZA()}if(2&l){const i=a.$implicit,s=a.index;o.oxw();const d=o.MAs(18),p=o.MAs(20),b=o.oxw();o.xp6(4),o.Oqu(i.name),o.xp6(4),o.Q6J("matTooltip",b.getTooltip(i.rawType)),o.xp6(1),o.Oqu(i.type),o.xp6(1),o.Q6J("ngIf",s!=b.selectedFunction.args.length-1)("ngIfThen",d)("ngIfElse",p)}}function Ih(l,a){1&l&&o._uU(0,",")}function Od(l,a){1&l&&o._UZ(0,"br")}function tl(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"u",29),o.NdJ("click",function(){o.CHM(i);const d=o.oxw().$implicit,p=o.oxw(3);return o.KtG(p.showDocumentation(d.dataType))}),o._uU(1),o.qZA()}if(2&l){const i=o.oxw().$implicit,s=o.oxw(3);o.Q6J("matTooltip",s.getTooltip(i.dataType)),o.xp6(1),o.hij("(",i.dataType.name,")")}}function tm(l,a){if(1&l&&(o.TgZ(0,"mat-chip",42)(1,"span",28),o._uU(2),o.qZA(),o._UZ(3,"i"),o.TgZ(4,"span",28),o._uU(5),o.YNc(6,tl,2,2,"u",43),o.qZA()()),2&l){const i=a.$implicit;o.Q6J("disableRipple",!0),o.xp6(2),o.Oqu(i.name),o.xp6(3),o.hij("",i.type," "),o.xp6(1),o.Q6J("ngIf",i.dataType&&"void"!==i.dataType.name)}}function Oh(l,a){if(1&l&&(o.TgZ(0,"section",39)(1,"mat-chip-set",40),o.YNc(2,tm,7,4,"mat-chip",41),o.qZA()()),2&l){const i=o.oxw(2);o.xp6(2),o.Q6J("ngForOf",i.selectedFunction.labels)}}function nm(l,a){if(1&l&&(o.TgZ(0,"p"),o._uU(1),o.qZA()),2&l){const i=o.oxw(2);o.xp6(1),o.Oqu(i.selectedFunction.description)}}function kh(l,a){1&l&&(o.TgZ(0,"p",44),o._uU(1,"N\xe3o h\xe1 descri\xe7\xe3o para esta fun\xe7\xe3o."),o.qZA())}function x_(l,a){1&l&&(o.TgZ(0,"p",44),o._uU(1,"Esta fun\xe7\xe3o n\xe3o possui argumentos."),o.qZA())}function im(l,a){1&l&&(o.TgZ(0,"th",54),o._uU(1,"Nome"),o.qZA())}function Va(l,a){if(1&l&&(o.TgZ(0,"td",55),o._uU(1),o.qZA()),2&l){const i=a.$implicit;o.xp6(1),o.Oqu(i.name)}}function om(l,a){1&l&&(o.TgZ(0,"th",54),o._uU(1,"Tipo"),o.qZA())}function Vs(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"td",55)(1,"u",29),o.NdJ("click",function(){const p=o.CHM(i).$implicit,b=o.oxw(3);return o.KtG(b.showDocumentation(p.rawType))}),o._uU(2),o.qZA()()}if(2&l){const i=a.$implicit,s=o.oxw(3);o.xp6(1),o.Q6J("matTooltip",s.getTooltip(i.rawType)),o.xp6(1),o.Oqu(i.type)}}function ja(l,a){1&l&&(o.TgZ(0,"th",54),o._uU(1,"Descri\xe7\xe3o"),o.qZA())}function rm(l,a){if(1&l&&(o.TgZ(0,"td",56),o._uU(1),o.qZA()),2&l){const i=a.$implicit;o.xp6(1),o.Oqu(i.description||"-")}}function Rh(l,a){1&l&&o._UZ(0,"tr",57)}function sm(l,a){1&l&&o._UZ(0,"tr",58)}function am(l,a){if(1&l&&(o.TgZ(0,"table",45),o.ynx(1,46),o.YNc(2,im,2,0,"th",47),o.YNc(3,Va,2,1,"td",48),o.BQk(),o.ynx(4,49),o.YNc(5,om,2,0,"th",47),o.YNc(6,Vs,3,2,"td",48),o.BQk(),o.ynx(7,50),o.YNc(8,ja,2,0,"th",47),o.YNc(9,rm,2,1,"td",51),o.BQk(),o.YNc(10,Rh,1,0,"tr",52),o.YNc(11,sm,1,0,"tr",53),o.qZA()),2&l){const i=o.oxw(2);o.Q6J("dataSource",i.selectedFunction.args),o.xp6(10),o.Q6J("matHeaderRowDef",i.argumentsTableColumns),o.xp6(1),o.Q6J("matRowDefColumns",i.argumentsTableColumns)}}function cm(l,a){1&l&&(o.TgZ(0,"span",59),o._uU(1,"Dart"),o.qZA())}function Ph(l,a){1&l&&(o.TgZ(0,"span",59),o._uU(1,"Swift"),o.qZA())}const lm=function(){return{theme:"vs-dark",language:"javascript"}},kd=function(){return{theme:"vs-dark",language:"kotlin"}},w_=function(){return{theme:"vs-dark",language:"dart"}},Rd=function(){return{theme:"vs-dark",language:"swift"}};function Fh(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"article")(1,"header")(2,"h1",9)(3,"span",10)(4,"span",11),o._uU(5,"fn"),o.qZA(),o._uU(6,"\xa0"),o.TgZ(7,"span",12),o._uU(8),o.qZA(),o._uU(9,"("),o.YNc(10,em,11,6,"span",13),o._uU(11,")"),o.TgZ(12,"span",14),o._uU(13,":"),o.qZA(),o._uU(14,"\xa0"),o.TgZ(15,"u",15),o.NdJ("click",function(){o.CHM(i);const d=o.oxw();return o.KtG(d.showDocumentation(d.selectedFunction.returns.rawType))}),o._uU(16),o.qZA()(),o.YNc(17,Ih,1,0,"ng-template",null,16,o.W1O),o.YNc(19,Od,1,0,"ng-template",null,17,o.W1O),o._UZ(21,"s"),o.TgZ(22,"button",18),o.NdJ("click",function(){o.CHM(i);const d=o.oxw();return o.KtG(d.addSimpleCallTab())}),o.TgZ(23,"mat-icon"),o._uU(24,"play_arrow"),o.qZA(),o._uU(25,"\xa0EXECUTAR "),o.qZA()()(),o.YNc(26,Oh,3,1,"section",19),o.TgZ(27,"section",9)(28,"h2",20),o._uU(29,"Descri\xe7\xe3o"),o.qZA(),o.TgZ(30,"div",21),o.YNc(31,nm,2,1,"p",22),o.YNc(32,kh,2,0,"p",23),o.qZA(),o.TgZ(33,"h2",24),o._uU(34,"Par\xe2metros"),o.qZA(),o.TgZ(35,"div",21),o.YNc(36,x_,2,0,"p",23),o.TgZ(37,"div",25),o.YNc(38,am,12,3,"table",26),o.qZA()(),o.TgZ(39,"h2",27),o._uU(40,"Retorno"),o.qZA(),o.TgZ(41,"div")(42,"p",28)(43,"u",29),o.NdJ("click",function(){o.CHM(i);const d=o.oxw();return o.KtG(d.showDocumentation(d.selectedFunction.returns.rawType))}),o._uU(44),o.qZA()()(),o.TgZ(45,"h2",30),o._uU(46,"Exemplo de Requisi\xe7\xe3o"),o.qZA(),o.TgZ(47,"mat-tab-group",31)(48,"mat-tab",32),o._UZ(49,"ngx-monaco-editor",33),o.qZA(),o.TgZ(50,"mat-tab",34),o._UZ(51,"ngx-monaco-editor",33),o.qZA(),o.TgZ(52,"mat-tab",35),o.YNc(53,cm,2,0,"ng-template",36),o._UZ(54,"ngx-monaco-editor",33),o.qZA(),o.TgZ(55,"mat-tab",35),o.YNc(56,Ph,2,0,"ng-template",36),o._UZ(57,"ngx-monaco-editor",33),o.qZA()()()()}if(2&l){const i=o.oxw();o.xp6(8),o.Oqu(i.selectedFunction.name),o.xp6(2),o.Q6J("ngForOf",i.selectedFunction.args),o.xp6(5),o.Q6J("matTooltip",i.getTooltip(i.selectedFunction.returns.rawType)),o.xp6(1),o.Oqu(i.selectedFunction.returns.type),o.xp6(10),o.Q6J("ngIf",i.selectedFunction.labels.length>0),o.xp6(4),o.Q6J("ngSwitch",!!i.selectedFunction.description),o.xp6(1),o.Q6J("ngSwitchCase",!0),o.xp6(1),o.Q6J("ngSwitchCase",!1),o.xp6(3),o.Q6J("ngSwitch",i.selectedFunction.args.length),o.xp6(1),o.Q6J("ngSwitchCase",0),o.xp6(7),o.Q6J("matTooltip",i.getTooltip(i.selectedFunction.returns.rawType)),o.xp6(1),o.Oqu(i.selectedFunction.returns.type),o.xp6(5),o.Q6J("options",o.DdM(20,lm))("ngModel",i.selectedFunction.examples.typeScript),o.xp6(2),o.Q6J("options",o.DdM(21,kd))("ngModel",i.selectedFunction.examples.kotlin),o.xp6(3),o.Q6J("options",o.DdM(22,w_))("ngModel",i.selectedFunction.examples.dart),o.xp6(3),o.Q6J("options",o.DdM(23,Rd))("ngModel",i.selectedFunction.examples.swift)}}const dm=function(){return{standalone:!0}};let um=(()=>{class l{constructor(i,s,d){this.sdkgen=i,this.dialog=s,this.responsive=d,this.isBelowMd=!1,this.runFunction=new o.vpe,this.searchText="",this.argumentsTableColumns=["name","type","description"],this.editorOptions={theme:"vs-dark",language:"javascript"}}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(i=>{i&&(this.selectedFunction=void 0,this.fnTable=i.astRoot.operations.sort((s,d)=>s.name.localeCompare(d.name)).map(s=>{const d=i.astJson.annotations[`fn.${s.name}`],p=this.sdkgen.buildJsonObject(s.args);return d?.find(b=>"hidden"===b.type)?null:{name:s.name,description:d?.find(b=>"description"===b.type)?.value,args:s.args.map(({name:b,type:S})=>{const ee=[...i.astJson.annotations[`type.${S.name}.${b}`]??[],...i.astJson.annotations[`fn.${s.name}.${b}`]??[]];return{name:b,description:ee.find(Te=>"description"===Te.type)?.value,type:S.name,rawType:S}}),argsStr:s.args.map(b=>`${b.name}: ${b.type.name}`).join(", "),argsFields:s.args,returns:{type:s.returnType.name,rawType:s.returnType},labels:d?.filter(b=>["rest","throws"].includes(b.type)).map(b=>"rest"===b.type?{name:"REST",type:`${b.value.method} ${b.value.path}`}:"throws"===b.type?{name:"THROWS",type:b.value,dataType:i.astRoot.errors.find(S=>S.name===b.value)?.dataType}:{name:"?",type:"?"})??[],throws:d?.find(b=>"throws"===b.type)?.value,examples:{typeScript:this.sdkgen.getTypeScriptCode(s.name,p),kotlin:this.sdkgen.getKotlinCode(s.name,s.args),dart:this.sdkgen.getDartCode(s.name,p),swift:this.sdkgen.getSwiftCode(s.name,p)}}}).filter(s=>!!s))})}ngOnDestroy(){this.state$?.unsubscribe(),this.responsive$?.unsubscribe()}ngAfterViewInit(){this.responsive$=this.responsive.isBelowMd().subscribe(i=>{this.isBelowMd=i.matches})}addSimpleCallTab(){this.runFunction.emit(this.selectedFunction?.name)}getTooltip(i){return fr(i).shortDescription}showDocumentation(i){this.dialog.open(Sd,{position:{right:"0",top:"0",bottom:"0"},data:{type:i},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(jr.G),o.Y36(ns),o.Y36(Jp))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["app-tab-home"]],outputs:{runFunction:"runFunction"},decls:11,vars:10,consts:[["unit","pixel",3,"direction"],[3,"size"],["type","search","placeholder","Buscar\u2026",3,"ngModel","ngModelOptions","ngModelChange"],["mat-ripple","",3,"ngClass","click",4,"ngFor","ngForOf"],[4,"ngIf"],["mat-ripple","",3,"ngClass","click"],[1,"fn-call"],["class","fn-description",4,"ngIf"],[1,"fn-description"],[1,"container"],[1,"mono","hide-overflow"],[1,"k-fn"],[1,"k-name"],[4,"ngFor","ngForOf"],[1,"k-sym"],[1,"k-type",3,"matTooltip","click"],["comma",""],["lineBreak",""],["mat-raised-button","","color","primary",3,"click"],["class","container","id","labels",4,"ngIf"],["id","description"],[3,"ngSwitch"],[4,"ngSwitchCase"],["class","no-content",4,"ngSwitchCase"],["id","parameters"],[1,"table-responsive","mat-elevation-z8"],["mat-table","",3,"dataSource",4,"ngSwitchDefault"],["id","returns"],[1,"mono"],[3,"matTooltip","click"],["id","sample-calls"],["animationDuration","0ms"],["label","TypeScript"],[3,"options","ngModel"],["label","Kotlin"],["disabled",""],["mat-tab-label",""],[1,"k-arg-name"],[4,"ngIf","ngIfThen","ngIfElse"],["id","labels",1,"container"],["role","list"],["color","primary",3,"disableRipple",4,"ngFor","ngForOf"],["color","primary",3,"disableRipple"],[3,"matTooltip","click",4,"ngIf"],[1,"no-content"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["class","mono","mat-cell","",4,"matCellDef"],["matColumnDef","type"],["matColumnDef","description"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell","",1,"mono"],["mat-cell",""],["mat-header-row",""],["mat-row",""],["matTooltip","Em breve!"]],template:function(s,d){1&s&&(o.TgZ(0,"as-split",0)(1,"as-split-area",1)(2,"aside")(3,"nav")(4,"form")(5,"input",2),o.NdJ("ngModelChange",function(b){return d.searchText=b}),o.qZA()(),o.TgZ(6,"ul"),o.YNc(7,el,4,5,"li",3),o.ALo(8,"appFilter"),o.qZA()()()(),o.TgZ(9,"as-split-area"),o.YNc(10,Fh,58,24,"article",4),o.qZA()()),2&s&&(o.Q6J("direction",d.isBelowMd?"vertical":"horizontal"),o.xp6(1),o.Q6J("size",d.isBelowMd?130:350),o.xp6(4),o.Q6J("ngModel",d.searchText)("ngModelOptions",o.DdM(9,dm)),o.xp6(2),o.Q6J("ngForOf",o.xi3(8,6,d.fnTable,d.searchText)),o.xp6(3),o.Q6J("ngIf",d.selectedFunction))},dependencies:[te.mk,te.sg,te.O5,te.RF,te.n9,te.ED,Ee._Y,Ee.Fj,Ee.JJ,Ee.JL,Ee.On,Ee.F,Fs.T2,$c.Mq,$c.zE,ae.lW,mt,rn,On.Hw,de.wG,Wo,fa,Eo,fc,Cn,fs,pc,pa,ps,ma,Yo.uD,Yo.uX,Yo.SP,gs,Qp],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%;overflow:hidden!important}aside[_ngcontent-%COMP%]{display:block;background:#2b2b2b;height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}nav[_ngcontent-%COMP%]{display:block;width:100%}nav[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{display:block;width:100%;padding:10px;background:#2b2b2b;border-bottom:1px solid #444444;position:sticky;top:0;left:0;right:0;z-index:2}nav[_ngcontent-%COMP%] form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{display:block;background:#444444;border:0 none;color:#fff;width:100%;padding:5px}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:100%;padding:15px 10px;border-bottom:1px solid #444444;cursor:pointer;-webkit-user-select:none;user-select:none}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background-color:#0003}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background-color:#0000004d}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;word-break:break-all}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span.fn-call[_ngcontent-%COMP%]{font-family:Roboto Mono,monospace}nav[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span.fn-description[_ngcontent-%COMP%]{color:#777;font-size:.9rem;margin-top:5px}u[_ngcontent-%COMP%]{text-decoration-style:dotted;cursor:pointer;font-family:Roboto Mono,monospace}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%]{background-color:#2b2b2b;padding:25px 20px;width:100%;position:sticky;top:0;left:0;right:0;z-index:3}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:flex;margin:0 auto;font-weight:300;line-height:36px;white-space:pre}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] span.hide-overflow[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-fn[_ngcontent-%COMP%]{color:#c586c0}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-name[_ngcontent-%COMP%]{color:#dcdcaa}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-arg-name[_ngcontent-%COMP%]{color:#9cdcfe}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-sym[_ngcontent-%COMP%]{color:#d4d4d4}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] .k-type[_ngcontent-%COMP%]{color:#569cd6}article[_ngcontent-%COMP%] header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{min-width:130px;align-self:center}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%]{display:block;padding:0 20px 15px}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%]{padding:20px 20px 0}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{overflow:hidden}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]:focus{outline:none}article[_ngcontent-%COMP%] section#labels[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:block;width:1.3px;background:#fff;margin:0 7.5px;border-radius:5px;height:calc(100% + 14px)}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:300;margin-top:40px;text-transform:uppercase}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .no-content[_ngcontent-%COMP%]{background-color:#383838;color:#fafafa;display:inline-block;padding:15px;border-radius:5px;margin-top:0}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] table[_ngcontent-%COMP%], article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .table-responsive[_ngcontent-%COMP%], article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] mat-tab-group[_ngcontent-%COMP%]{width:100%;max-width:720px}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] .mat-tab-body-content{overflow-y:hidden}article[_ngcontent-%COMP%] section[_ngcontent-%COMP%] ngx-monaco-editor[_ngcontent-%COMP%]{display:block;height:100%;min-height:300px}"]})}return l})();function Nh(l,a){1&l&&(o.ynx(0),o._uU(1,"Editor Avan\xe7ado"),o.BQk())}function hm(l,a){if(1&l&&(o.ynx(0),o.TgZ(1,"span",21),o._uU(2),o.qZA(),o.BQk()),2&l){const i=o.oxw(2).$implicit;o.xp6(2),o.hij("\u25b6\xa0",i.function,"")}}function Lh(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"span",18),o.YNc(1,Nh,2,0,"ng-container",19),o.YNc(2,hm,3,1,"ng-container",19),o.qZA(),o.TgZ(3,"button",20),o.NdJ("click",function(){o.CHM(i);const d=o.oxw().$implicit,p=o.oxw(2);return o.KtG(p.closeTab(d))}),o.TgZ(4,"mat-icon"),o._uU(5,"close"),o.qZA()()}if(2&l){const i=o.oxw().$implicit;o.Q6J("ngSwitch",i.type),o.xp6(1),o.Q6J("ngSwitchCase","advanced"),o.xp6(1),o.Q6J("ngSwitchCase","simple")}}function fm(l,a){1&l&&(o.ynx(0),o._UZ(1,"app-tab-editor"),o.BQk())}function pm(l,a){if(1&l&&(o.ynx(0),o._UZ(1,"app-simple-call",22),o.BQk()),2&l){const i=o.oxw().$implicit;o.xp6(1),o.Q6J("fn",i.function)}}function C_(l,a){if(1&l&&(o.TgZ(0,"mat-tab"),o.YNc(1,Lh,6,3,"ng-template",16),o.ynx(2,18),o.YNc(3,fm,2,0,"ng-container",19),o.YNc(4,pm,2,1,"ng-container",19),o.BQk(),o.qZA()),2&l){const i=a.$implicit;o.xp6(2),o.Q6J("ngSwitch",i.type),o.xp6(1),o.Q6J("ngSwitchCase","advanced"),o.xp6(1),o.Q6J("ngSwitchCase","simple")}}function Bh(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"button",23),o.NdJ("click",function(){o.CHM(i);const d=o.oxw(2);return o.KtG(d.addAdvancedTab())}),o.TgZ(1,"mat-icon"),o._uU(2,"add_circle"),o.qZA()()}}function $h(l,a){if(1&l&&(o.TgZ(0,"button",24)(1,"mat-icon"),o._uU(2,"download"),o.qZA()()),2&l){o.oxw(2);const i=o.MAs(5);o.Q6J("matMenuTriggerFor",i)}}function fo(l,a){if(1&l){const i=o.EpF();o.TgZ(0,"mat-tab-group",11),o.NdJ("selectedIndexChange",function(d){o.CHM(i);const p=o.oxw();return o.KtG(p.selected.setValue(d))}),o.TgZ(1,"mat-tab",12)(2,"app-tab-home",13),o.NdJ("runFunction",function(d){o.CHM(i);const p=o.oxw();return o.KtG(p.addSimpleTab(d))}),o.qZA()(),o.YNc(3,C_,5,3,"mat-tab",14),o.TgZ(4,"mat-tab",15),o.YNc(5,Bh,3,0,"ng-template",16),o.qZA(),o.TgZ(6,"mat-tab",17),o.YNc(7,$h,3,1,"ng-template",16),o.qZA()()}if(2&l){const i=o.oxw();o.Q6J("selectedIndex",i.selected.value),o.xp6(3),o.Q6J("ngForOf",i.tabs)}}let Hh=(()=>{class l{constructor(i,s,d){this.sdkgen=i,this.domSanitizer=s,this.matIconRegistry=d,this.selected=new Ee.NI(0),this.tabs=[{id:0,type:"advanced"}],this.tabIndex=1;for(const p of["typescript","dot-net","kotlin","swift","dart"])this.matIconRegistry.addSvgIcon(p,this.domSanitizer.bypassSecurityTrustResourceUrl(`assets/${p}.svg`))}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(i=>{this.state=i??void 0})}ngOnDestroy(){this.state$?.unsubscribe()}addSimpleTab(i){this.tabs.push({id:this.tabIndex++,function:i,type:"simple"}),this.selected.setValue(this.tabs.length)}addAdvancedTab(){this.tabs.push({id:this.tabIndex++,type:"advanced"}),this.selected.setValue(this.tabs.length)}closeTab(i){this.tabs.splice(this.tabs.indexOf(i),1),this.selected.setValue(0)}downloadTarget(i){if(!this.state)return;let s,d;switch(i){case"typescript_nodeserver":s=(0,qc.gd)(this.state.astRoot),d="node-server.ts";break;case"typescript_nodeclient":s=(0,qc.iD)(this.state.astRoot),d="node-client.ts";break;case"typescript_web":s=(0,qc.E2)(this.state.astRoot),d="web-client.ts";break;case"typescript_interfaces":s=(0,qc.PI)(this.state.astRoot),d="interfaces.ts";break;case"flutter":s=function Ba(l){let a="";a+="// ignore_for_file: constant_identifier_names\n",(0,M.nd)(l,M.lw)&&(a+="import 'dart:typed_data';\n"),(0,M.nd)(l,M.KW)&&(a+="import 'package:decimal/decimal.dart';\n"),a+="import 'package:http/http.dart' as http;\nimport 'package:sdkgen_runtime/types.dart';\nimport 'package:sdkgen_runtime/http_client.dart';\n";for(const i of l.enumTypes)a+=vh(i),a+="\n";for(const i of l.structTypes)a+=m_(i),a+="\n";for(const i of l.errors)a+=Lp(i),a+="\n";a+=`class ApiClient extends SdkgenHttpClient {\n ApiClient(String baseUrl, [http.Client? client]) : super(baseUrl, client, _typeTable, _fnTable, _errTable);\n${l.operations.filter(i=>i.annotations.every(s=>!(s instanceof M.e1))).map(i=>`\n ${i.returnType instanceof M.RE?"Future<void> ":`Future<${Jo(i.returnType)}> `}${i.name}(${0===i.args.length?"":`{${i.args.map(s=>`${s.type instanceof M.H1?"":"required "}${Jo(s.type)} ${io(s.name)}`).join(", ")}}`}) async { ${i.returnType instanceof M.RE?"":"final result = "}await makeRequest('${i.name}', {${i.args.map(s=>`'${s.name}': ${io(s.name)}`).join(", ")}});${i.returnType instanceof M.RE?"":` return ${Uc("result",i.returnType)};`}}`).join("")}\n}\n\n`,a+="var _typeTable = {\n";for(const i of l.structTypes){a+=` '${i.name}': StructTypeDescription(\n`,a+=` ${i.name},\n`,a+=" {\n";for(const s of i.fields)a+=` '${s.name}': '${s.type.name}',\n`;a+=" },\n",a+=` (Map fields) => ${i.name}(\n`;for(const s of i.fields)a+=` ${io(s.name)}: ${Uc(`fields['${s.name}']`,s.type)},\n`;a+=" ),\n",a+=` (${i.name} obj) => ({\n`;for(const s of i.fields)a+=` '${s.name}': obj.${io(s.name)},\n`;a+=" }),\n",a+=" ),\n"}for(const i of l.enumTypes)a+=` '${i.name}': EnumTypeDescription(${i.name}, ${i.name}.values, [\n ${i.values.map(s=>`'${s.value}'`).join(",\n ")}\n ]),\n`;a+="};\n\n",a+="var _fnTable = {\n";for(const i of l.operations){a+=` '${i.name}': FunctionDescription('${i.returnType.name}', {\n`;for(const s of i.args)a+=` '${s.name}': '${s.type.name}',\n`;a+=" }),\n"}a+="};\n\n",a+="var _errTable = {\n";for(const i of l.errors)a+=` '${i.name}': SdkgenErrorDescription('${i.dataType.name}', (msg, req, data) => ${i.name}(msg, req${i.dataType instanceof M.RE?"":", data"})),\n`;return a+="};\n",a}(this.state.astRoot),d="flutter-client.dart";break;case"csharp_server":s=function bh(l){let a="using System;\nusing System.Collections.Generic;\nusing System.Globalization;\nusing System.Numerics;\nusing System.Text.Json;\nusing System.Threading.Tasks;\nusing static Sdkgen.Runtime;\nusing static Sdkgen.Context;\nusing static Sdkgen.Helpers;\n\nnamespace SdkgenGenerated\n{\n public abstract class Api : BaseApi\n {";for(const i of l.operations){const s=i.returnType instanceof M.RE?"":`<${wi(i.returnType)}>`;a+=`\n public virtual Task${s} ${So(i.name)}(${["Context ctx",...i.args.map(d=>`${wi(d.type)} ${Ao(d.name)}`)].join(", ")})\n {\n return Task.FromException${s}(new FatalException("Function '${i.name}' not implemented."));\n }\n`}a+="\n public async Task ExecuteFunction(Context context_, Utf8JsonWriter resultWriter_)\n {\n switch (context_.Name)\n {";for(const i of l.operations){a+=`\n case ${JSON.stringify(i.name)}:\n {`;for(const s of i.args)a+=`\n JsonElement ${s.name}Json_;\n if (!context_.Args.TryGetValue(${JSON.stringify(s.name)}, out ${s.name}Json_))\n {\n ${s.type instanceof M.H1?`${s.name}Json_ = new JsonElement();`:`throw new FatalException("'${i.name}().args.${s.name}' must be set to a value of type ${s.type.name}.");`}\n }\n ${wi(s.type)} ${Ao(s.name)};\n ${Nr(s.type,`${s.name}Json_`,`"${i.name}().args.${s.name}"`,Ao(s.name)).replace(/\n/gu,"\n ")}`;a+=i.returnType instanceof M.RE?`\n await ${So(i.name)}(${["context_",...i.args.map(s=>Ao(s.name))].join(", ")});\n resultWriter_.WriteNullValue();`:`\n var result_ = await ${So(i.name)}(${["context_",...i.args.map(s=>Ao(s.name))].join(", ")});\n ${Lr(i.returnType,"result_",`"${i.name}().ret"`).replace(/\n/gu,"\n ")}`,a+="\n return;\n }"}a+="\n default:\n {\n throw new FatalException($\"Unknown function '{context_.Name}'.\");\n }\n }\n }\n";for(const i of l.structTypes)a+=Np(i);for(const i of l.enumTypes)a+=Br(i);a+=`\n public string GetAstJson() => @"${JSON.stringify((0,M.w2)(l),null,4).replace(/"/gu,'""').replace(/\n/gu,"\n ")}";\n }\n`;for(const i of l.errors)a+=`\n public class ${i.name}Exception : SdkgenException\n {\n public ${i.name}Exception(string message, Exception? inner = null) : base("${i.name}", message, inner) { }\n }\n`;return a+="\n}\n",a}(this.state.astRoot),d="csharp-server.cs";break;case"fsharp_server":s=function g_(l){let a="module rec SdkgenGenerated\nopen Sdkgen.Runtime\nopen Sdkgen.Helpers\nopen Sdkgen.Context\nopen System.Threading.Tasks\nopen System.Text.Json\nopen System\nopen System.Globalization\n#if NET5_0\n// To use tasks as computation expression in .NET 5 install https://www.nuget.org/packages/TaskBuilder.fs/\nopen FSharp.Control.Tasks.V2.ContextInsensitive\n#endif\n";for(const i of l.errors)a+=`\ntype ${i.name}Exception =\n inherit SdkgenException\n\n new(message: string) = {\n inherit SdkgenException("${i.name}", message, null)\n }\n\n new(message: string, inner: Exception) = {\n inherit SdkgenException("${i.name}", message, inner)\n }\n`;for(const i of l.enumTypes)a+=`\n${zc(i)}\n`;for(const i of l.structTypes)a+=`\n${xh(i)}\n`;a+="\ntype Api() =";for(const i of l.operations){const s=i.returnType instanceof M.RE?"":`<${Qo(i.returnType)}>`,d=i.args.length>0?`{| ${i.args.map(p=>`${p.name}: ${Qo(p.type)};`).join("")} |} ->`:"";a+=`\n member val ${oo(i.name)}: Context -> ${d} Task${s} =\n fun _ -> (raise (FatalException("Function '${i.name}' not implemented.")))\n with get, set\n `}a+="\n interface BaseApi with\n member __.ExecuteFunction(context_: Context, resultWriter_: Utf8JsonWriter) : Task =\n task {\n match context_.Name with";for(const i of l.operations){a+=`\n | ${JSON.stringify(i.name)} ->`;for(const s of i.args)a+=`\n let ${s.name}Json_ =\n match context_.Args.TryGetValue(${JSON.stringify(s.name)}) with\n | true, v -> v\n | _ -> raise (FatalException("'${i.name}().args.${s.name}' must be set to a value of type ${s.type.name}."))\n\n let ${Io(s.name)} =\n ${$r(s.type,`${s.name}Json_`,`"${i.name}().args.${s.name}"`,Io(s.name)).replace(/\n/gu,"\n ")}`;a+=i.returnType instanceof M.RE?`\n\n do! (__.${oo(i.name)} context_ ${i.args.length>0?"{|":""} ${i.args.map(s=>`${s.name} = ${Io(s.name)}`).join("; ")} ${i.args.length>0?"|}":""})\n `:`\n\n let! result_ = (__.${oo(i.name)} context_ ${i.args.length>0?"{|":""} ${i.args.map(s=>`${s.name} = ${Io(s.name)}`).join("; ")} ${i.args.length>0?"|}":""})\n ${Ls(i.returnType,"result_",`"${i.name}().ret"`,1,!1).replace(/\n/gu,"\n ")}`}return a+="\n\n | _ -> raise (FatalException($\"Unknown function '{context_.Name}'.\"))\n } :> Task",a+=`\n member __.GetAstJson() = """${JSON.stringify((0,M.w2)(l),null,4).replace(/\n/gu,"\n ")}""";`,a}(this.state.astRoot),d="fsharp-server.fs";break;case"kotlin_android":s=Yc(this.state.astRoot,!0),d="android-client.kt";break;case"kotlin_android_without_callbacks":s=Yc(this.state.astRoot,!1),d="android-client-no-callbacks.kt";break;case"swift_ios":s=Dh(this.state.astRoot,!1),d="ios-client.swift";break;case"rxswift_ios":s=Dh(this.state.astRoot,!0),d="ios-client-rx.swift"}(0,Up.saveAs)(new Blob([s],{type:"application/octet-stream"}),d)}static#e=this.\u0275fac=function(s){return new(s||l)(o.Y36(jr.G),o.Y36(h.H7),o.Y36(On.jv))};static#t=this.\u0275cmp=o.Xpm({type:l,selectors:[["app-root"]],decls:46,vars:3,consts:[[2,"width","0","height","0","opacity","0","display","block"],["id","main-tabs","animationDuration","150ms","mat-stretch-tabs","false",3,"selectedIndex","selectedIndexChange",4,"ngIf"],["downloadMenu","matMenu"],["id","download-menu-size-flow"],["mat-menu-item","","disabled",""],["mat-menu-item","",3,"click"],["svgIcon","typescript"],["svgIcon","dart"],["svgIcon","kotlin"],["svgIcon","swift"],["svgIcon","dot-net"],["id","main-tabs","animationDuration","150ms","mat-stretch-tabs","false",3,"selectedIndex","selectedIndexChange"],["label","Documenta\xe7\xe3o"],[3,"runFunction"],[4,"ngFor","ngForOf"],["disabled","","labelClass","action-button"],["mat-tab-label",""],["disabled","","labelClass","right action-button"],[3,"ngSwitch"],[4,"ngSwitchCase"],["mat-icon-button","","matTooltip","Fechar aba",3,"click"],[1,"mono","tt-none"],[3,"fn"],["mat-icon-button","","matTooltip","Nova aba de editor avan\xe7ado",3,"click"],["mat-icon-button","",3,"matMenuTriggerFor"]],template:function(s,d){1&s&&(o._UZ(0,"ngx-monaco-editor",0)(1,"app-tab-nav"),o.YNc(2,fo,8,2,"mat-tab-group",1),o.ALo(3,"async"),o.TgZ(4,"mat-menu",null,2),o._UZ(6,"div",3),o.TgZ(7,"button",4),o._uU(8,"Cliente"),o.qZA(),o.TgZ(9,"button",5),o.NdJ("click",function(){return d.downloadTarget("typescript_nodeclient")}),o._UZ(10,"mat-icon",6),o._uU(11,"Node.js"),o.qZA(),o.TgZ(12,"button",5),o.NdJ("click",function(){return d.downloadTarget("typescript_web")}),o._UZ(13,"mat-icon",6),o._uU(14,"Web"),o.qZA(),o.TgZ(15,"button",5),o.NdJ("click",function(){return d.downloadTarget("flutter")}),o._UZ(16,"mat-icon",7),o._uU(17,"Flutter"),o.qZA(),o.TgZ(18,"button",5),o.NdJ("click",function(){return d.downloadTarget("kotlin_android")}),o._UZ(19,"mat-icon",8),o._uU(20,"Android"),o.qZA(),o.TgZ(21,"button",5),o.NdJ("click",function(){return d.downloadTarget("kotlin_android_without_callbacks")}),o._UZ(22,"mat-icon",8),o._uU(23,"Android (sem callbacks)"),o.qZA(),o.TgZ(24,"button",5),o.NdJ("click",function(){return d.downloadTarget("swift_ios")}),o._UZ(25,"mat-icon",9),o._uU(26,"iOS"),o.qZA(),o.TgZ(27,"button",5),o.NdJ("click",function(){return d.downloadTarget("rxswift_ios")}),o._UZ(28,"mat-icon",9),o._uU(29,"iOS (Rx)"),o.qZA(),o.TgZ(30,"button",4),o._uU(31,"Servidor"),o.qZA(),o.TgZ(32,"button",5),o.NdJ("click",function(){return d.downloadTarget("typescript_nodeserver")}),o._UZ(33,"mat-icon",6),o._uU(34,"Node.js"),o.qZA(),o.TgZ(35,"button",5),o.NdJ("click",function(){return d.downloadTarget("csharp_server")}),o._UZ(36,"mat-icon",10),o._uU(37,"C#"),o.qZA(),o.TgZ(38,"button",5),o.NdJ("click",function(){return d.downloadTarget("fsharp_server")}),o._UZ(39,"mat-icon",10),o._uU(40,"F#"),o.qZA(),o.TgZ(41,"button",4),o._uU(42,"Outros"),o.qZA(),o.TgZ(43,"button",5),o.NdJ("click",function(){return d.downloadTarget("typescript_interfaces")}),o._UZ(44,"mat-icon",6),o._uU(45,"Interfaces"),o.qZA()()),2&s&&(o.xp6(2),o.Q6J("ngIf",o.lcZ(3,1,d.sdkgen.state$)))},dependencies:[te.sg,te.O5,te.RF,te.n9,Fs.T2,ae.RK,On.Hw,fe,ra,Jt,Yo.uD,Yo.uX,Yo.SP,gs,Eh.Z,Gp,Wp.I,um,te.Ov],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%} app-root mat-tab-group#main-tabs>mat-tab-header{border-bottom:1px solid rgba(255,255,255,.1215686275)} app-root mat-tab-group#main-tabs .mat-mdc-tab{--mat-tab-header-active-label-text-color: #fff;--mat-tab-header-active-focus-label-text-color: #fff;--mat-tab-header-active-hover-label-text-color: #fff;text-decoration:none;transition:all .2s ease;min-width:0;text-transform:uppercase;-webkit-user-select:none;user-select:none;letter-spacing:normal} app-root mat-tab-group#main-tabs .mat-mdc-tab.right{margin-left:auto} app-root mat-tab-group#main-tabs .mat-mdc-tab .mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:0} app-root mat-tab-group#main-tabs .mat-mdc-tab:hover .mdc-tab__ripple:before{opacity:0} app-root mat-tab-group#main-tabs .mat-mdc-tab:not(#mat-tab-label-0-0){padding-right:16px} app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button{padding:0;padding-right:0!important;opacity:1;pointer-events:auto} app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button .mdc-tab__content, app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button .mat-mdc-tab-ripple, app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button .mdc-tab__ripple:before{pointer-events:all} app-root mat-tab-group#main-tabs .mat-mdc-tab.action-button button{border-radius:0} app-root mat-tab-group#main-tabs .mat-mdc-tab:not(.mat-mdc-tab-disabled) button{border-radius:0;display:inline-block;margin-left:10px;padding:0;width:30px;height:30px;line-height:30px} app-root mat-tab-group#main-tabs .mat-mdc-tab:not(.mat-mdc-tab-disabled) button .mat-icon{width:20px;height:20px;font-size:20px;line-height:20px} app-root mat-tab-group#main-tabs .mat-mdc-tab .tab-icon svg, app-root mat-tab-group#main-tabs .mat-mdc-tab .tab-icon img, app-root mat-tab-group#main-tabs .mat-mdc-tab .tab-add-icon{display:flex;align-items:center;justify-content:center;width:1rem;margin-right:.5rem} app-root mat-tab-group#main-tabs .mat-mdc-tab-body-wrapper{flex-grow:1} app-root mat-tab-group#main-tabs .mat-mdc-tab-body-wrapper mat-tab-body mat-tab-body{flex-grow:1;overflow:hidden} #download-menu-size-flow{width:185px;display:block;max-width:90vw}"]})}return l})(),D_=(()=>{class l{static#e=this.\u0275fac=function(s){return new(s||l)};static#t=this.\u0275mod=o.oAB({type:l,bootstrap:[Hh]});static#n=this.\u0275inj=o.cJS({providers:[{provide:Fs.F_,useValue:"assets/vs"}],imports:[h.b2,Ee.u5,Ee.UX,Fs.nm,gd,uh.s,f_.forRoot(),$c.fX,De.JF,ae.ot,Kr,Co,On.Ps,Rn,de.si,ms,Yo.Nh,Bl]})}return l})();(0,o.G48)(),h.q6().bootstrapModule(D_).catch(l=>console.error(l))},3866:(et,Me,v)=>{"use strict";v.d(Me,{E2:()=>te,iD:()=>ce,gd:()=>z,PI:()=>de});var h=v(1890);function o(j,W){switch(j.constructor){case h.mN:case h.kM:case h.Bn:case h._P:return"number";case h.zE:return"bigint";case h.KW:return"Decimal";case h.xW:case h.Gf:return"Date";case h.Wi:return"boolean";case h.lw:return W?"ArrayBuffer":"Buffer";case h.Qs:case h.Xj:case h.Ro:case h.Tp:case h.dp:case h.Oo:case h.ZU:case h.iE:case h.OR:case h.BD:return"string";case h.RE:return"void";case h.cs:return"any";case h.H1:return`${o(j.base,W)} | null`;case h.ts:{const{base:ne}=j,le=o(ne,W);return ne instanceof h.H1?`(${le})[]`:`${le}[]`}case h.JQ:case h.PK:return j.name;case h.d:return o(j.type,W);default:throw new Error(`BUG: generateTypescriptTypeName with ${j.constructor.name}`)}}function De(j,W){return`export interface ${j.name} {\n${j.fields.map(ne=>` ${ne.name}: ${o(ne.type,W)}`).join("\n")}\n}\n`}function Ee(j){return j.hasStructValues?`export type ${j.name} = ${j.values.map(W=>W.struct?`({tag: "${W.value}"} & ${W.struct.name})`:`{tag: "${W.value}"}`).join(" | ")};\n`:`export type ${j.name} = ${j.values.map(W=>`"${W.value}"`).join(" | ")};\n`}function ae(j,W){return`export class ${j.name} extends ${j.dataType instanceof h.RE?"SdkgenError":`SdkgenErrorWithData<${o(j.dataType,W)}>`} {}\n`}function te(j){let W="";W+=`/* eslint-disable */\nimport { SdkgenError${j.errors.some(le=>!(le.dataType instanceof h.RE))?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/browser-runtime";\n`,(0,h.nd)(j,h.KW)&&(W+='import { Decimal } from "decimal.js-light";\n'),W+="\n";for(const le of j.enumTypes)W+=Ee(le),W+="\n";for(const le of j.structTypes)W+=De(le,!0),W+="\n";for(const le of j.errors)W+=ae(le,!0),W+="\n";return W+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${j.operations.filter(le=>le.annotations.every(ie=>!(ie instanceof h.e1))).map(le=>`\n ${le.name}(args${0===le.args.length?"?":""}: {${le.args.map(ie=>`${ie.name}${ie.type.name.endsWith("?")?"?":""}: ${o(ie.type,!0)}`).join(", ")}}): Promise<${o(le.returnType,!0)}> { return this.makeRequest("${le.name}", args || {}); }`).join("")}\n}\n\n`,W+=`const errClasses = {\n${j.errors.map(le=>` ${le.name}`).join(",\n")}\n};\n\n`,W+=`const astJson = ${JSON.stringify((0,h.w2)(j),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,W}function de(j){let W="";for(const ne of j.enumTypes)W+=Ee(ne);W+="\n";for(const ne of j.structTypes)W+=De(ne,!1),W+="\n";return W}function ce(j){let W="";const ne=j.errors.some(ie=>!(ie.dataType instanceof h.RE));W+=`/* eslint-disable */\nimport { Context, Fatal${j.errors.filter(ie=>"Fatal"!==ie.name).some(ie=>ie.dataType instanceof h.RE)?", SdkgenError":""}${ne?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/node-runtime";\nimport { PartialDeep } from "type-fest";\nexport { Fatal } from "@sdkgen/node-runtime";\n`,(0,h.nd)(j,h.KW)&&(W+='import { Decimal } from "decimal.js";\n'),W+="\n";for(const ie of j.enumTypes)W+=Ee(ie),W+="\n";for(const ie of j.structTypes)W+=De(ie,!1),W+="\n";for(const ie of j.errors)"Fatal"!==ie.name&&(W+=ae(ie,!1),W+="\n");return W+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${j.operations.filter(ie=>ie.annotations.every(ge=>!(ge instanceof h.e1))).map(ie=>`\n ${ie.name}(ctx: PartialDeep<Context> | null, args: {${ie.args.map(ge=>`${ge.name}${ge.type.name.endsWith("?")?"?":""}: ${o(ge.type,!1)}`).join(", ")}}): Promise<${o(ie.returnType,!1)}> { return this.makeRequest(ctx, "${ie.name}", args); }`).join("")}\n}\n\n`,W+=`const errClasses = {\n${j.errors.map(ie=>` ${ie.name}`).join(",\n")}\n};\n\n`,W+=`const astJson = ${JSON.stringify((0,h.w2)(j),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:")} as const;\n`,W}function z(j){let W="";const ne=j.errors.some(ie=>!(ie.dataType instanceof h.RE));W+=`/* eslint-disable */\nimport { BaseApiConfig, Context, Fatal${j.errors.filter(ie=>"Fatal"!==ie.name).some(ie=>ie.dataType instanceof h.RE)?", SdkgenError":""}${ne?", SdkgenErrorWithData":""} } from "@sdkgen/node-runtime";\nexport { Fatal } from "@sdkgen/node-runtime";\n`,(0,h.nd)(j,h.KW)&&(W+='import { Decimal } from "decimal.js";\n'),W+="\n";for(const ie of j.enumTypes)W+=Ee(ie),W+="\n";for(const ie of j.structTypes)W+=De(ie,!1),W+="\n";for(const ie of j.errors)"Fatal"!==ie.name&&(W+=ae(ie,!1),W+="\n");return W+=`export class ApiConfig<ExtraContextT> extends BaseApiConfig<ExtraContextT> {\n declare fn: {${j.operations.map(ie=>`\n ${ie.name}: (ctx: Context & ExtraContextT, args: {${ie.args.map(ge=>`${ge.name}: ${o(ge.type,!1)}`).join(", ")}}) => Promise<${o(ie.returnType,!1)}>`).join("")}\n }\n\n astJson = ${JSON.stringify((0,h.w2)(j),null,4).replace(/"(?<key>\w+)":/gu,"$<key>:").replace(/\n/gu,"\n ")} as const\n}\n\nexport const api = new ApiConfig<{}>();\n`,W}},2970:(et,Me,v)=>{"use strict";function W(F,R,P,L){return new(P||(P=Promise))(function(q,Ae){function Ue(dt){try{it(L.next(dt))}catch(lt){Ae(lt)}}function ut(dt){try{it(L.throw(dt))}catch(lt){Ae(lt)}}function it(dt){dt.done?q(dt.value):function Q(q){return q instanceof P?q:new P(function(Ae){Ae(q)})}(dt.value).then(Ue,ut)}it((L=L.apply(F,R||[])).next())})}function H(F){return this instanceof H?(this.v=F,this):new H(F)}function Se(F,R,P){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Q,L=P.apply(F,R||[]),q=[];return Q={},Ae("next"),Ae("throw"),Ae("return"),Q[Symbol.asyncIterator]=function(){return this},Q;function Ae(ke){L[ke]&&(Q[ke]=function(he){return new Promise(function(Ie,ue){q.push([ke,he,Ie,ue])>1||Ue(ke,he)})})}function Ue(ke,he){try{!function ut(ke){ke.value instanceof H?Promise.resolve(ke.value.v).then(it,dt):lt(q[0][2],ke)}(L[ke](he))}catch(Ie){lt(q[0][3],Ie)}}function it(ke){Ue("next",ke)}function dt(ke){Ue("throw",ke)}function lt(ke,he){ke(he),q.shift(),q.length&&Ue(q[0][0],q[0][1])}}function He(F){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var P,R=F[Symbol.asyncIterator];return R?R.call(F):(F=function ge(F){var R="function"==typeof Symbol&&Symbol.iterator,P=R&&F[R],L=0;if(P)return P.call(F);if(F&&"number"==typeof F.length)return{next:function(){return F&&L>=F.length&&(F=void 0),{value:F&&F[L++],done:!F}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")}(F),P={},L("next"),L("throw"),L("return"),P[Symbol.asyncIterator]=function(){return this},P);function L(q){P[q]=F[q]&&function(Ae){return new Promise(function(Ue,ut){!function Q(q,Ae,Ue,ut){Promise.resolve(ut).then(function(it){q({value:it,done:Ue})},Ae)}(Ue,ut,(Ae=F[q](Ae)).done,Ae.value)})}}}v.d(Me,{FC:()=>Se,KL:()=>He,mG:()=>W,qq:()=>H}),"function"==typeof SuppressedError&&SuppressedError},6e3:(et,Me,v)=>{"use strict";v.d(Me,{IO:()=>ie,LC:()=>o,SB:()=>ce,X$:()=>Ee,ZE:()=>Z,ZN:()=>B,_j:()=>h,eR:()=>j,jt:()=>ae,k1:()=>re,l3:()=>De,oB:()=>de,pV:()=>ne,ru:()=>se,vP:()=>te});class h{}class o{}const De="*";function Ee(J,H){return{type:7,name:J,definitions:H,options:{}}}function ae(J,H=null){return{type:4,styles:H,timings:J}}function se(J,H=null){return{type:3,steps:J,options:H}}function te(J,H=null){return{type:2,steps:J,options:H}}function de(J){return{type:6,styles:J,offset:null}}function ce(J,H,Se){return{type:0,name:J,styles:H,options:Se}}function j(J,H,Se=null){return{type:1,expr:J,animation:H,options:Se}}function ne(J=null){return{type:9,options:J}}function ie(J,H,Se=null){return{type:11,selector:J,animation:H,options:Se}}class B{constructor(H=0,Se=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=H+Se}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}onStart(H){this._originalOnStartFns.push(H),this._onStartFns.push(H)}onDone(H){this._originalOnDoneFns.push(H),this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(H=>H()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(H){this._position=this.totalTime?H*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(H){const Se="start"==H?this._onStartFns:this._onDoneFns;Se.forEach(xe=>xe()),Se.length=0}}class Z{constructor(H){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=H;let Se=0,xe=0,He=0;const Ne=this.players.length;0==Ne?queueMicrotask(()=>this._onFinish()):this.players.forEach(Pe=>{Pe.onDone(()=>{++Se==Ne&&this._onFinish()}),Pe.onDestroy(()=>{++xe==Ne&&this._onDestroy()}),Pe.onStart(()=>{++He==Ne&&this._onStart()})}),this.totalTime=this.players.reduce((Pe,ct)=>Math.max(Pe,ct.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(H=>H()),this._onDoneFns=[])}init(){this.players.forEach(H=>H.init())}onStart(H){this._onStartFns.push(H)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(H=>H()),this._onStartFns=[])}onDone(H){this._onDoneFns.push(H)}onDestroy(H){this._onDestroyFns.push(H)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(H=>H.play())}pause(){this.players.forEach(H=>H.pause())}restart(){this.players.forEach(H=>H.restart())}finish(){this._onFinish(),this.players.forEach(H=>H.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(H=>H.destroy()),this._onDestroyFns.forEach(H=>H()),this._onDestroyFns=[])}reset(){this.players.forEach(H=>H.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(H){const Se=H*this.totalTime;this.players.forEach(xe=>{const He=xe.totalTime?Math.min(1,Se/xe.totalTime):1;xe.setPosition(He)})}getPosition(){const H=this.players.reduce((Se,xe)=>null===Se||xe.totalTime>Se.totalTime?xe:Se,null);return null!=H?H.getPosition():0}beforeDestroy(){this.players.forEach(H=>{H.beforeDestroy&&H.beforeDestroy()})}triggerCallback(H){const Se="start"==H?this._onStartFns:this._onDoneFns;Se.forEach(xe=>xe()),Se.length=0}}const re="!"},8654:(et,Me,v)=>{"use strict";v.d(Me,{$s:()=>me,Em:()=>ze,X6:()=>Gt,ic:()=>K,kH:()=>Nn,qV:()=>he,qm:()=>kn,rt:()=>gn,tE:()=>ti,yG:()=>Rt});var h=v(9462),o=v(7786),De=v(3844),Ee=v(9453),ae=v(9592),se=v(1625),te=v(9627),de=v(7605),ce=v(4104),z=v(2067),j=v(1497),W=v(8412),ne=v(3581),le=v(1800),ie=v(4263),ge=v(5779),B=v(5988),Z=v(8267),re=v(4515);function xe(Ze,Ve){return(Ze.getAttribute(Ve)||"").match(/\S+/g)||[]}const Ne="cdk-describedby-message",Pe="cdk-describedby-host";let ct=0,me=(()=>{class Ze{constructor(oe,Oe){this._platform=Oe,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+ct++,this._document=oe,this._id=(0,o.f3M)(o.AFp)+"-"+ct++}describe(oe,Oe,ye){if(!this._canBeDescribed(oe,Oe))return;const pe=Ke(Oe,ye);"string"!=typeof Oe?(ve(Oe,this._id),this._messageRegistry.set(pe,{messageElement:Oe,referenceCount:0})):this._messageRegistry.has(pe)||this._createMessageElement(Oe,ye),this._isElementDescribedByMessage(oe,pe)||this._addMessageReference(oe,pe)}removeDescription(oe,Oe,ye){if(!Oe||!this._isElementNode(oe))return;const pe=Ke(Oe,ye);if(this._isElementDescribedByMessage(oe,pe)&&this._removeMessageReference(oe,pe),"string"==typeof Oe){const O=this._messageRegistry.get(pe);O&&0===O.referenceCount&&this._deleteMessageElement(pe)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const oe=this._document.querySelectorAll(`[${Pe}="${this._id}"]`);for(let Oe=0;Oe<oe.length;Oe++)this._removeCdkDescribedByReferenceIds(oe[Oe]),oe[Oe].removeAttribute(Pe);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(oe,Oe){const ye=this._document.createElement("div");ve(ye,this._id),ye.textContent=oe,Oe&&ye.setAttribute("role",Oe),this._createMessagesContainer(),this._messagesContainer.appendChild(ye),this._messageRegistry.set(Ke(oe,Oe),{messageElement:ye,referenceCount:0})}_deleteMessageElement(oe){this._messageRegistry.get(oe)?.messageElement?.remove(),this._messageRegistry.delete(oe)}_createMessagesContainer(){if(this._messagesContainer)return;const oe="cdk-describedby-message-container",Oe=this._document.querySelectorAll(`.${oe}[platform="server"]`);for(let pe=0;pe<Oe.length;pe++)Oe[pe].remove();const ye=this._document.createElement("div");ye.style.visibility="hidden",ye.classList.add(oe),ye.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&ye.setAttribute("platform","server"),this._document.body.appendChild(ye),this._messagesContainer=ye}_removeCdkDescribedByReferenceIds(oe){const Oe=xe(oe,"aria-describedby").filter(ye=>0!=ye.indexOf(Ne));oe.setAttribute("aria-describedby",Oe.join(" "))}_addMessageReference(oe,Oe){const ye=this._messageRegistry.get(Oe);(function H(Ze,Ve,oe){const Oe=xe(Ze,Ve);Oe.some(ye=>ye.trim()==oe.trim())||(Oe.push(oe.trim()),Ze.setAttribute(Ve,Oe.join(" ")))})(oe,"aria-describedby",ye.messageElement.id),oe.setAttribute(Pe,this._id),ye.referenceCount++}_removeMessageReference(oe,Oe){const ye=this._messageRegistry.get(Oe);ye.referenceCount--,function Se(Ze,Ve,oe){const ye=xe(Ze,Ve).filter(pe=>pe!=oe.trim());ye.length?Ze.setAttribute(Ve,ye.join(" ")):Ze.removeAttribute(Ve)}(oe,"aria-describedby",ye.messageElement.id),oe.removeAttribute(Pe)}_isElementDescribedByMessage(oe,Oe){const ye=xe(oe,"aria-describedby"),pe=this._messageRegistry.get(Oe),O=pe&&pe.messageElement.id;return!!O&&-1!=ye.indexOf(O)}_canBeDescribed(oe,Oe){if(!this._isElementNode(oe))return!1;if(Oe&&"object"==typeof Oe)return!0;const ye=null==Oe?"":`${Oe}`.trim(),pe=oe.getAttribute("aria-label");return!(!ye||pe&&pe.trim()===ye)}_isElementNode(oe){return oe.nodeType===this._document.ELEMENT_NODE}static#e=this.\u0275fac=function(Oe){return new(Oe||Ze)(o.LFG(h.K0),o.LFG(De.t4))};static#t=this.\u0275prov=o.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}return Ze})();function Ke(Ze,Ve){return"string"==typeof Ze?`${Ve||""}/${Ze}`:Ze}function ve(Ze,Ve){Ze.id||(Ze.id=`${Ne}-${Ve}-${ct++}`)}class je{constructor(Ve){this._items=Ve,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new Ee.x,this._typeaheadSubscription=ae.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=oe=>oe.disabled,this._pressedLetters=[],this.tabOut=new Ee.x,this.change=new Ee.x,Ve instanceof o.n_E&&(this._itemChangesSubscription=Ve.changes.subscribe(oe=>{if(this._activeItem){const ye=oe.toArray().indexOf(this._activeItem);ye>-1&&ye!==this._activeItemIndex&&(this._activeItemIndex=ye)}}))}skipPredicate(Ve){return this._skipPredicateFn=Ve,this}withWrap(Ve=!0){return this._wrap=Ve,this}withVerticalOrientation(Ve=!0){return this._vertical=Ve,this}withHorizontalOrientation(Ve){return this._horizontal=Ve,this}withAllowedModifierKeys(Ve){return this._allowedModifierKeys=Ve,this}withTypeAhead(Ve=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,ce.b)(oe=>this._pressedLetters.push(oe)),(0,z.b)(Ve),(0,j.h)(()=>this._pressedLetters.length>0),(0,W.U)(()=>this._pressedLetters.join(""))).subscribe(oe=>{const Oe=this._getItemsArray();for(let ye=1;ye<Oe.length+1;ye++){const pe=(this._activeItemIndex+ye)%Oe.length,O=Oe[pe];if(!this._skipPredicateFn(O)&&0===O.getLabel().toUpperCase().trim().indexOf(oe)){this.setActiveItem(pe);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(Ve=!0){return this._homeAndEnd=Ve,this}withPageUpDown(Ve=!0,oe=10){return this._pageUpAndDown={enabled:Ve,delta:oe},this}setActiveItem(Ve){const oe=this._activeItem;this.updateActiveItem(Ve),this._activeItem!==oe&&this.change.next(this._activeItemIndex)}onKeydown(Ve){const oe=Ve.keyCode,ye=["altKey","ctrlKey","metaKey","shiftKey"].every(pe=>!Ve[pe]||this._allowedModifierKeys.indexOf(pe)>-1);switch(oe){case de.Mf:return void this.tabOut.next();case de.JH:if(this._vertical&&ye){this.setNextItemActive();break}return;case de.LH:if(this._vertical&&ye){this.setPreviousItemActive();break}return;case de.SV:if(this._horizontal&&ye){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case de.oh:if(this._horizontal&&ye){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case de.Sd:if(this._homeAndEnd&&ye){this.setFirstItemActive();break}return;case de.uR:if(this._homeAndEnd&&ye){this.setLastItemActive();break}return;case de.Ku:if(this._pageUpAndDown.enabled&&ye){const pe=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(pe>0?pe:0,1);break}return;case de.VM:if(this._pageUpAndDown.enabled&&ye){const pe=this._activeItemIndex+this._pageUpAndDown.delta,O=this._getItemsArray().length;this._setActiveItemByIndex(pe<O?pe:O-1,-1);break}return;default:return void((ye||(0,de.Vb)(Ve,"shiftKey"))&&(Ve.key&&1===Ve.key.length?this._letterKeyStream.next(Ve.key.toLocaleUpperCase()):(oe>=de.A&&oe<=de.Z||oe>=de.xE&&oe<=de.aO)&&this._letterKeyStream.next(String.fromCharCode(oe))))}this._pressedLetters=[],Ve.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(Ve){const oe=this._getItemsArray(),Oe="number"==typeof Ve?Ve:oe.indexOf(Ve);this._activeItem=oe[Oe]??null,this._activeItemIndex=Oe}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(Ve){this._wrap?this._setActiveInWrapMode(Ve):this._setActiveInDefaultMode(Ve)}_setActiveInWrapMode(Ve){const oe=this._getItemsArray();for(let Oe=1;Oe<=oe.length;Oe++){const ye=(this._activeItemIndex+Ve*Oe+oe.length)%oe.length;if(!this._skipPredicateFn(oe[ye]))return void this.setActiveItem(ye)}}_setActiveInDefaultMode(Ve){this._setActiveItemByIndex(this._activeItemIndex+Ve,Ve)}_setActiveItemByIndex(Ve,oe){const Oe=this._getItemsArray();if(Oe[Ve]){for(;this._skipPredicateFn(Oe[Ve]);)if(!Oe[Ve+=oe])return;this.setActiveItem(Ve)}}_getItemsArray(){return this._items instanceof o.n_E?this._items.toArray():this._items}}class ze extends je{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(Ve){return this._origin=Ve,this}setActiveItem(Ve){super.setActiveItem(Ve),this.activeItem&&this.activeItem.focus(this._origin)}}let K=(()=>{class Ze{constructor(oe){this._platform=oe}isDisabled(oe){return oe.hasAttribute("disabled")}isVisible(oe){return function R(Ze){return!!(Ze.offsetWidth||Ze.offsetHeight||"function"==typeof Ze.getClientRects&&Ze.getClientRects().length)}(oe)&&"visible"===getComputedStyle(oe).visibility}isTabbable(oe){if(!this._platform.isBrowser)return!1;const Oe=function F(Ze){try{return Ze.frameElement}catch{return null}}(function lt(Ze){return Ze.ownerDocument&&Ze.ownerDocument.defaultView||window}(oe));if(Oe&&(-1===ut(Oe)||!this.isVisible(Oe)))return!1;let ye=oe.nodeName.toLowerCase(),pe=ut(oe);return oe.hasAttribute("contenteditable")?-1!==pe:!("iframe"===ye||"object"===ye||this._platform.WEBKIT&&this._platform.IOS&&!function it(Ze){let Ve=Ze.nodeName.toLowerCase(),oe="input"===Ve&&Ze.type;return"text"===oe||"password"===oe||"select"===Ve||"textarea"===Ve}(oe))&&("audio"===ye?!!oe.hasAttribute("controls")&&-1!==pe:"video"===ye?-1!==pe&&(null!==pe||this._platform.FIREFOX||oe.hasAttribute("controls")):oe.tabIndex>=0)}isFocusable(oe,Oe){return function dt(Ze){return!function L(Ze){return function q(Ze){return"input"==Ze.nodeName.toLowerCase()}(Ze)&&"hidden"==Ze.type}(Ze)&&(function P(Ze){let Ve=Ze.nodeName.toLowerCase();return"input"===Ve||"select"===Ve||"button"===Ve||"textarea"===Ve}(Ze)||function Q(Ze){return function Ae(Ze){return"a"==Ze.nodeName.toLowerCase()}(Ze)&&Ze.hasAttribute("href")}(Ze)||Ze.hasAttribute("contenteditable")||Ue(Ze))}(oe)&&!this.isDisabled(oe)&&(Oe?.ignoreVisibility||this.isVisible(oe))}static#e=this.\u0275fac=function(Oe){return new(Oe||Ze)(o.LFG(De.t4))};static#t=this.\u0275prov=o.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}return Ze})();function Ue(Ze){if(!Ze.hasAttribute("tabindex")||void 0===Ze.tabIndex)return!1;let Ve=Ze.getAttribute("tabindex");return!(!Ve||isNaN(parseInt(Ve,10)))}function ut(Ze){if(!Ue(Ze))return null;const Ve=parseInt(Ze.getAttribute("tabindex")||"",10);return isNaN(Ve)?-1:Ve}class ke{get enabled(){return this._enabled}set enabled(Ve){this._enabled=Ve,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ve,this._startAnchor),this._toggleAnchorTabIndex(Ve,this._endAnchor))}constructor(Ve,oe,Oe,ye,pe=!1){this._element=Ve,this._checker=oe,this._ngZone=Oe,this._document=ye,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,pe||this.attachAnchors()}destroy(){const Ve=this._startAnchor,oe=this._endAnchor;Ve&&(Ve.removeEventListener("focus",this.startAnchorListener),Ve.remove()),oe&&(oe.removeEventListener("focus",this.endAnchorListener),oe.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(Ve){return new Promise(oe=>{this._executeOnStable(()=>oe(this.focusInitialElement(Ve)))})}focusFirstTabbableElementWhenReady(Ve){return new Promise(oe=>{this._executeOnStable(()=>oe(this.focusFirstTabbableElement(Ve)))})}focusLastTabbableElementWhenReady(Ve){return new Promise(oe=>{this._executeOnStable(()=>oe(this.focusLastTabbableElement(Ve)))})}_getRegionBoundary(Ve){const oe=this._element.querySelectorAll(`[cdk-focus-region-${Ve}], [cdkFocusRegion${Ve}], [cdk-focus-${Ve}]`);return"start"==Ve?oe.length?oe[0]:this._getFirstTabbableElement(this._element):oe.length?oe[oe.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(Ve){const oe=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(oe){if(!this._checker.isFocusable(oe)){const Oe=this._getFirstTabbableElement(oe);return Oe?.focus(Ve),!!Oe}return oe.focus(Ve),!0}return this.focusFirstTabbableElement(Ve)}focusFirstTabbableElement(Ve){const oe=this._getRegionBoundary("start");return oe&&oe.focus(Ve),!!oe}focusLastTabbableElement(Ve){const oe=this._getRegionBoundary("end");return oe&&oe.focus(Ve),!!oe}hasAttached(){return this._hasAttached}_getFirstTabbableElement(Ve){if(this._checker.isFocusable(Ve)&&this._checker.isTabbable(Ve))return Ve;const oe=Ve.children;for(let Oe=0;Oe<oe.length;Oe++){const ye=oe[Oe].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(oe[Oe]):null;if(ye)return ye}return null}_getLastTabbableElement(Ve){if(this._checker.isFocusable(Ve)&&this._checker.isTabbable(Ve))return Ve;const oe=Ve.children;for(let Oe=oe.length-1;Oe>=0;Oe--){const ye=oe[Oe].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(oe[Oe]):null;if(ye)return ye}return null}_createAnchor(){const Ve=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,Ve),Ve.classList.add("cdk-visually-hidden"),Ve.classList.add("cdk-focus-trap-anchor"),Ve.setAttribute("aria-hidden","true"),Ve}_toggleAnchorTabIndex(Ve,oe){Ve?oe.setAttribute("tabindex","0"):oe.removeAttribute("tabindex")}toggleAnchors(Ve){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(Ve,this._startAnchor),this._toggleAnchorTabIndex(Ve,this._endAnchor))}_executeOnStable(Ve){this._ngZone.isStable?Ve():this._ngZone.onStable.pipe((0,ne.q)(1)).subscribe(Ve)}}let he=(()=>{class Ze{constructor(oe,Oe,ye){this._checker=oe,this._ngZone=Oe,this._document=ye}create(oe,Oe=!1){return new ke(oe,this._checker,this._ngZone,this._document,Oe)}static#e=this.\u0275fac=function(Oe){return new(Oe||Ze)(o.LFG(K),o.LFG(o.R0b),o.LFG(h.K0))};static#t=this.\u0275prov=o.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}return Ze})();function Gt(Ze){return 0===Ze.buttons||0===Ze.offsetX&&0===Ze.offsetY}function Rt(Ze){const Ve=Ze.touches&&Ze.touches[0]||Ze.changedTouches&&Ze.changedTouches[0];return!(!Ve||-1!==Ve.identifier||null!=Ve.radiusX&&1!==Ve.radiusX||null!=Ve.radiusY&&1!==Ve.radiusY)}const $t=new o.OlP("cdk-input-modality-detector-options"),Tt={ignoreKeys:[de.zL,de.jx,de.b2,de.MW,de.JU]},Ct=(0,De.i$)({passive:!0,capture:!0});let kt=(()=>{class Ze{get mostRecentModality(){return this._modality.value}constructor(oe,Oe,ye,pe){this._platform=oe,this._mostRecentTarget=null,this._modality=new se.X(null),this._lastTouchMs=0,this._onKeydown=O=>{this._options?.ignoreKeys?.some(G=>G===O.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,De.sA)(O))},this._onMousedown=O=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Gt(O)?"keyboard":"mouse"),this._mostRecentTarget=(0,De.sA)(O))},this._onTouchstart=O=>{Rt(O)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,De.sA)(O))},this._options={...Tt,...pe},this.modalityDetected=this._modality.pipe((0,le.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,ie.x)()),oe.isBrowser&&Oe.runOutsideAngular(()=>{ye.addEventListener("keydown",this._onKeydown,Ct),ye.addEventListener("mousedown",this._onMousedown,Ct),ye.addEventListener("touchstart",this._onTouchstart,Ct)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ct),document.removeEventListener("mousedown",this._onMousedown,Ct),document.removeEventListener("touchstart",this._onTouchstart,Ct))}static#e=this.\u0275fac=function(Oe){return new(Oe||Ze)(o.LFG(De.t4),o.LFG(o.R0b),o.LFG(h.K0),o.LFG($t,8))};static#t=this.\u0275prov=o.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}return Ze})();const qt=new o.OlP("cdk-focus-monitor-default-options"),Ht=(0,De.i$)({passive:!0,capture:!0});let ti=(()=>{class Ze{constructor(oe,Oe,ye,pe,O){this._ngZone=oe,this._platform=Oe,this._inputModalityDetector=ye,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new Ee.x,this._rootNodeFocusAndBlurListener=G=>{for(let _e=(0,De.sA)(G);_e;_e=_e.parentElement)"focus"===G.type?this._onFocus(G,_e):this._onBlur(G,_e)},this._document=pe,this._detectionMode=O?.detectionMode||0}monitor(oe,Oe=!1){const ye=(0,B.fI)(oe);if(!this._platform.isBrowser||1!==ye.nodeType)return(0,te.of)();const pe=(0,De.kV)(ye)||this._getDocument(),O=this._elementInfo.get(ye);if(O)return Oe&&(O.checkChildren=!0),O.subject;const G={checkChildren:Oe,subject:new Ee.x,rootNode:pe};return this._elementInfo.set(ye,G),this._registerGlobalListeners(G),G.subject}stopMonitoring(oe){const Oe=(0,B.fI)(oe),ye=this._elementInfo.get(Oe);ye&&(ye.subject.complete(),this._setClasses(Oe),this._elementInfo.delete(Oe),this._removeGlobalListeners(ye))}focusVia(oe,Oe,ye){const pe=(0,B.fI)(oe);pe===this._getDocument().activeElement?this._getClosestElementsInfo(pe).forEach(([G,N])=>this._originChanged(G,Oe,N)):(this._setOrigin(Oe),"function"==typeof pe.focus&&pe.focus(ye))}ngOnDestroy(){this._elementInfo.forEach((oe,Oe)=>this.stopMonitoring(Oe))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(oe){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(oe)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:oe&&this._isLastInteractionFromInputLabel(oe)?"mouse":"program"}_shouldBeAttributedToTouch(oe){return 1===this._detectionMode||!!oe?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(oe,Oe){oe.classList.toggle("cdk-focused",!!Oe),oe.classList.toggle("cdk-touch-focused","touch"===Oe),oe.classList.toggle("cdk-keyboard-focused","keyboard"===Oe),oe.classList.toggle("cdk-mouse-focused","mouse"===Oe),oe.classList.toggle("cdk-program-focused","program"===Oe)}_setOrigin(oe,Oe=!1){this._ngZone.runOutsideAngular(()=>{this._origin=oe,this._originFromTouchInteraction="touch"===oe&&Oe,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(oe,Oe){const ye=this._elementInfo.get(Oe),pe=(0,De.sA)(oe);!ye||!ye.checkChildren&&Oe!==pe||this._originChanged(Oe,this._getFocusOrigin(pe),ye)}_onBlur(oe,Oe){const ye=this._elementInfo.get(Oe);!ye||ye.checkChildren&&oe.relatedTarget instanceof Node&&Oe.contains(oe.relatedTarget)||(this._setClasses(Oe),this._emitOrigin(ye,null))}_emitOrigin(oe,Oe){oe.subject.observers.length&&this._ngZone.run(()=>oe.subject.next(Oe))}_registerGlobalListeners(oe){if(!this._platform.isBrowser)return;const Oe=oe.rootNode,ye=this._rootNodeFocusListenerCount.get(Oe)||0;ye||this._ngZone.runOutsideAngular(()=>{Oe.addEventListener("focus",this._rootNodeFocusAndBlurListener,Ht),Oe.addEventListener("blur",this._rootNodeFocusAndBlurListener,Ht)}),this._rootNodeFocusListenerCount.set(Oe,ye+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,ge.R)(this._stopInputModalityDetector)).subscribe(pe=>{this._setOrigin(pe,!0)}))}_removeGlobalListeners(oe){const Oe=oe.rootNode;if(this._rootNodeFocusListenerCount.has(Oe)){const ye=this._rootNodeFocusListenerCount.get(Oe);ye>1?this._rootNodeFocusListenerCount.set(Oe,ye-1):(Oe.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ht),Oe.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ht),this._rootNodeFocusListenerCount.delete(Oe))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(oe,Oe,ye){this._setClasses(oe,Oe),this._emitOrigin(ye,Oe),this._lastFocusOrigin=Oe}_getClosestElementsInfo(oe){const Oe=[];return this._elementInfo.forEach((ye,pe)=>{(pe===oe||ye.checkChildren&&pe.contains(oe))&&Oe.push([pe,ye])}),Oe}_isLastInteractionFromInputLabel(oe){const{_mostRecentTarget:Oe,mostRecentModality:ye}=this._inputModalityDetector;if("mouse"!==ye||!Oe||Oe===oe||"INPUT"!==oe.nodeName&&"TEXTAREA"!==oe.nodeName||oe.disabled)return!1;const pe=oe.labels;if(pe)for(let O=0;O<pe.length;O++)if(pe[O].contains(Oe))return!0;return!1}static#e=this.\u0275fac=function(Oe){return new(Oe||Ze)(o.LFG(o.R0b),o.LFG(De.t4),o.LFG(kt),o.LFG(h.K0,8),o.LFG(qt,8))};static#t=this.\u0275prov=o.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}return Ze})(),Nn=(()=>{class Ze{constructor(oe,Oe){this._elementRef=oe,this._focusMonitor=Oe,this._focusOrigin=null,this.cdkFocusChange=new o.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const oe=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(oe,1===oe.nodeType&&oe.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Oe=>{this._focusOrigin=Oe,this.cdkFocusChange.emit(Oe)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}static#e=this.\u0275fac=function(Oe){return new(Oe||Ze)(o.Y36(o.SBq),o.Y36(ti))};static#t=this.\u0275dir=o.lG2({type:Ze,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]})}return Ze})();const Sn="cdk-high-contrast-black-on-white",In="cdk-high-contrast-white-on-black",Dn="cdk-high-contrast-active";let kn=(()=>{class Ze{constructor(oe,Oe){this._platform=oe,this._document=Oe,this._breakpointSubscription=(0,o.f3M)(re.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const oe=this._document.createElement("div");oe.style.backgroundColor="rgb(1,2,3)",oe.style.position="absolute",this._document.body.appendChild(oe);const Oe=this._document.defaultView||window,ye=Oe&&Oe.getComputedStyle?Oe.getComputedStyle(oe):null,pe=(ye&&ye.backgroundColor||"").replace(/ /g,"");switch(oe.remove(),pe){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const oe=this._document.body.classList;oe.remove(Dn,Sn,In),this._hasCheckedHighContrastMode=!0;const Oe=this.getHighContrastMode();1===Oe?oe.add(Dn,Sn):2===Oe&&oe.add(Dn,In)}}static#e=this.\u0275fac=function(Oe){return new(Oe||Ze)(o.LFG(De.t4),o.LFG(h.K0))};static#t=this.\u0275prov=o.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"})}return Ze})(),gn=(()=>{class Ze{constructor(oe){oe._applyBodyHighContrastModeCssClasses()}static#e=this.\u0275fac=function(Oe){return new(Oe||Ze)(o.LFG(kn))};static#t=this.\u0275mod=o.oAB({type:Ze});static#n=this.\u0275inj=o.cJS({imports:[Z.Q8]})}return Ze})()},4877:(et,Me,v)=>{"use strict";v.d(Me,{Is:()=>te,vT:()=>ce});var h=v(7786),o=v(9462);const De=new h.OlP("cdk-dir-doc",{providedIn:"root",factory:function Ee(){return(0,h.f3M)(o.K0)}}),ae=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let te=(()=>{class z{constructor(W){this.value="ltr",this.change=new h.vpe,W&&(this.value=function se(z){const j=z?.toLowerCase()||"";return"auto"===j&&typeof navigator<"u"&&navigator?.language?ae.test(navigator.language)?"rtl":"ltr":"rtl"===j?"rtl":"ltr"}((W.body?W.body.dir:null)||(W.documentElement?W.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}static#e=this.\u0275fac=function(ne){return new(ne||z)(h.LFG(De,8))};static#t=this.\u0275prov=h.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})(),ce=(()=>{class z{static#e=this.\u0275fac=function(ne){return new(ne||z)};static#t=this.\u0275mod=h.oAB({type:z});static#n=this.\u0275inj=h.cJS({})}return z})()},5988:(et,Me,v)=>{"use strict";v.d(Me,{Eq:()=>ae,HM:()=>se,Ig:()=>o,fI:()=>te,su:()=>De});var h=v(7786);function o(ce){return null!=ce&&"false"!=`${ce}`}function De(ce,z=0){return function Ee(ce){return!isNaN(parseFloat(ce))&&!isNaN(Number(ce))}(ce)?Number(ce):z}function ae(ce){return Array.isArray(ce)?ce:[ce]}function se(ce){return null==ce?"":"string"==typeof ce?ce:`${ce}px`}function te(ce){return ce instanceof h.SBq?ce.nativeElement:ce}},7605:(et,Me,v)=>{"use strict";v.d(Me,{A:()=>L,JH:()=>J,JU:()=>se,K5:()=>ae,Ku:()=>ne,LH:()=>Z,L_:()=>W,MW:()=>Ut,Mf:()=>De,SV:()=>re,Sd:()=>ge,VM:()=>le,Vb:()=>Bi,Z:()=>yn,ZH:()=>o,aO:()=>V,b2:()=>Li,hY:()=>j,jx:()=>te,oh:()=>B,uR:()=>ie,xE:()=>Ne,yY:()=>He,zL:()=>de});const o=8,De=9,ae=13,se=16,te=17,de=18,j=27,W=32,ne=33,le=34,ie=35,ge=36,B=37,Z=38,re=39,J=40,He=46,Ne=48,V=57,L=65,yn=90,Ut=91,Li=224;function Bi(Zi,...Vn){return Vn.length?Vn.some(go=>Zi[go]):Zi.altKey||Zi.shiftKey||Zi.ctrlKey||Zi.metaKey}},4515:(et,Me,v)=>{"use strict";v.d(Me,{Yg:()=>ve});var h=v(7786),o=v(5988),De=v(9453),Ee=v(7371),ae=v(1003),se=v(107),te=v(2390),de=v(4574),ce=v(177),z=v(5017),j=v(2829),W=v(8382);function ie(ze,V,K){ze?(0,W.f)(K,ze,V):V()}var ge=v(9925),B=v(3581),Z=v(1800),re=v(2067),J=v(8412),H=v(19),Se=v(5779),xe=v(3844);const Ne=new Set;let Pe,ct=(()=>{class ze{constructor(K,F){this._platform=K,this._nonce=F,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Ke}matchMedia(K){return(this._platform.WEBKIT||this._platform.BLINK)&&function me(ze,V){if(!Ne.has(ze))try{Pe||(Pe=document.createElement("style"),V&&(Pe.nonce=V),Pe.setAttribute("type","text/css"),document.head.appendChild(Pe)),Pe.sheet&&(Pe.sheet.insertRule(`@media ${ze} {body{ }}`,0),Ne.add(ze))}catch(K){console.error(K)}}(K,this._nonce),this._matchMedia(K)}static#e=this.\u0275fac=function(F){return new(F||ze)(h.LFG(xe.t4),h.LFG(h.Ojb,8))};static#t=this.\u0275prov=h.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();function Ke(ze){return{matches:"all"===ze||""===ze,media:ze,addListener:()=>{},removeListener:()=>{}}}let ve=(()=>{class ze{constructor(K,F){this._mediaMatcher=K,this._zone=F,this._queries=new Map,this._destroySubject=new De.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(K){return je((0,o.Eq)(K)).some(R=>this._registerQuery(R).mql.matches)}observe(K){let P=function ne(...ze){const V=(0,ce.yG)(ze),K=(0,ce.jO)(ze),{args:F,keys:R}=(0,ae.D)(ze);if(0===F.length)return(0,se.D)([],V);const P=new Ee.y(function le(ze,V,K=te.y){return F=>{ie(V,()=>{const{length:R}=ze,P=new Array(R);let L=R,Q=R;for(let q=0;q<R;q++)ie(V,()=>{const Ae=(0,se.D)(ze[q],V);let Ue=!1;Ae.subscribe((0,j.x)(F,ut=>{P[q]=ut,Ue||(Ue=!0,Q--),Q||F.next(K(P.slice()))},()=>{--L||F.complete()}))},F)},F)}}(F,V,R?L=>(0,z.n)(R,L):te.y));return K?P.pipe((0,de.Z)(K)):P}(je((0,o.Eq)(K)).map(L=>this._registerQuery(L).observable));return P=(0,ge.z)(P.pipe((0,B.q)(1)),P.pipe((0,Z.T)(1),(0,re.b)(0))),P.pipe((0,J.U)(L=>{const Q={matches:!1,breakpoints:{}};return L.forEach(({matches:q,query:Ae})=>{Q.matches=Q.matches||q,Q.breakpoints[Ae]=q}),Q}))}_registerQuery(K){if(this._queries.has(K))return this._queries.get(K);const F=this._mediaMatcher.matchMedia(K),P={observable:new Ee.y(L=>{const Q=q=>this._zone.run(()=>L.next(q));return F.addListener(Q),()=>{F.removeListener(Q)}}).pipe((0,H.O)(F),(0,J.U)(({matches:L})=>({query:K,matches:L})),(0,Se.R)(this._destroySubject)),mql:F};return this._queries.set(K,P),P}static#e=this.\u0275fac=function(F){return new(F||ze)(h.LFG(ct),h.LFG(h.R0b))};static#t=this.\u0275prov=h.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();function je(ze){return ze.map(V=>V.split(",")).reduce((V,K)=>V.concat(K)).map(V=>V.trim())}},8267:(et,Me,v)=>{"use strict";v.d(Me,{Q8:()=>ce,wD:()=>de});var h=v(5988),o=v(7786),De=v(7371),Ee=v(9453),ae=v(2067);let se=(()=>{class z{create(W){return typeof MutationObserver>"u"?null:new MutationObserver(W)}static#e=this.\u0275fac=function(ne){return new(ne||z)};static#t=this.\u0275prov=o.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})(),te=(()=>{class z{constructor(W){this._mutationObserverFactory=W,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((W,ne)=>this._cleanupObserver(ne))}observe(W){const ne=(0,h.fI)(W);return new De.y(le=>{const ge=this._observeElement(ne).subscribe(le);return()=>{ge.unsubscribe(),this._unobserveElement(ne)}})}_observeElement(W){if(this._observedElements.has(W))this._observedElements.get(W).count++;else{const ne=new Ee.x,le=this._mutationObserverFactory.create(ie=>ne.next(ie));le&&le.observe(W,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(W,{observer:le,stream:ne,count:1})}return this._observedElements.get(W).stream}_unobserveElement(W){this._observedElements.has(W)&&(this._observedElements.get(W).count--,this._observedElements.get(W).count||this._cleanupObserver(W))}_cleanupObserver(W){if(this._observedElements.has(W)){const{observer:ne,stream:le}=this._observedElements.get(W);ne&&ne.disconnect(),le.complete(),this._observedElements.delete(W)}}static#e=this.\u0275fac=function(ne){return new(ne||z)(o.LFG(se))};static#t=this.\u0275prov=o.Yz7({token:z,factory:z.\u0275fac,providedIn:"root"})}return z})(),de=(()=>{class z{get disabled(){return this._disabled}set disabled(W){this._disabled=(0,h.Ig)(W),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(W){this._debounce=(0,h.su)(W),this._subscribe()}constructor(W,ne,le){this._contentObserver=W,this._elementRef=ne,this._ngZone=le,this.event=new o.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const W=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?W.pipe((0,ae.b)(this.debounce)):W).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}static#e=this.\u0275fac=function(ne){return new(ne||z)(o.Y36(te),o.Y36(o.SBq),o.Y36(o.R0b))};static#t=this.\u0275dir=o.lG2({type:z,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]})}return z})(),ce=(()=>{class z{static#e=this.\u0275fac=function(ne){return new(ne||z)};static#t=this.\u0275mod=o.oAB({type:z});static#n=this.\u0275inj=o.cJS({providers:[se]})}return z})()},3844:(et,Me,v)=>{"use strict";v.d(Me,{Mq:()=>le,Oy:()=>H,ht:()=>re,i$:()=>j,kV:()=>Z,sA:()=>J,t4:()=>Ee});var h=v(7786),o=v(9462);let De;try{De=typeof Intl<"u"&&Intl.v8BreakIterator}catch{De=!1}let ce,ne,ge,Ee=(()=>{class Se{constructor(He){this._platformId=He,this.isBrowser=this._platformId?(0,o.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!De)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}static#e=this.\u0275fac=function(Ne){return new(Ne||Se)(h.LFG(h.Lbi))};static#t=this.\u0275prov=h.Yz7({token:Se,factory:Se.\u0275fac,providedIn:"root"})}return Se})();function j(Se){return function z(){if(null==ce&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>ce=!0}))}finally{ce=ce||!1}return ce}()?Se:!!Se.capture}function le(){if(null==ne){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ne=!1,ne;if("scrollBehavior"in document.documentElement.style)ne=!0;else{const Se=Element.prototype.scrollTo;ne=!!Se&&!/\{\s*\[native code\]\s*\}/.test(Se.toString())}}return ne}function Z(Se){if(function B(){if(null==ge){const Se=typeof document<"u"?document.head:null;ge=!(!Se||!Se.createShadowRoot&&!Se.attachShadow)}return ge}()){const xe=Se.getRootNode?Se.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&xe instanceof ShadowRoot)return xe}return null}function re(){let Se=typeof document<"u"&&document?document.activeElement:null;for(;Se&&Se.shadowRoot;){const xe=Se.shadowRoot.activeElement;if(xe===Se)break;Se=xe}return Se}function J(Se){return Se.composedPath?Se.composedPath()[0]:Se.target}function H(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},6512:(et,Me,v)=>{"use strict";v.d(Me,{C5:()=>z,Pl:()=>re,UE:()=>j,eL:()=>H,en:()=>ne,ig:()=>B,u0:()=>ie});var h=v(7786),o=v(9462);class ce{attach(He){return this._attachedHost=He,He.attach(this)}detach(){let He=this._attachedHost;null!=He&&(this._attachedHost=null,He.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(He){this._attachedHost=He}}class z extends ce{constructor(He,Ne,Pe,ct,me){super(),this.component=He,this.viewContainerRef=Ne,this.injector=Pe,this.componentFactoryResolver=ct,this.projectableNodes=me}}class j extends ce{constructor(He,Ne,Pe,ct){super(),this.templateRef=He,this.viewContainerRef=Ne,this.context=Pe,this.injector=ct}get origin(){return this.templateRef.elementRef}attach(He,Ne=this.context){return this.context=Ne,super.attach(He)}detach(){return this.context=void 0,super.detach()}}class W extends ce{constructor(He){super(),this.element=He instanceof h.SBq?He.nativeElement:He}}class ne{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(He){return He instanceof z?(this._attachedPortal=He,this.attachComponentPortal(He)):He instanceof j?(this._attachedPortal=He,this.attachTemplatePortal(He)):this.attachDomPortal&&He instanceof W?(this._attachedPortal=He,this.attachDomPortal(He)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(He){this._disposeFn=He}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class ie extends ne{constructor(He,Ne,Pe,ct,me){super(),this.outletElement=He,this._componentFactoryResolver=Ne,this._appRef=Pe,this._defaultInjector=ct,this.attachDomPortal=Ke=>{const ve=Ke.element,je=this._document.createComment("dom-portal");ve.parentNode.insertBefore(je,ve),this.outletElement.appendChild(ve),this._attachedPortal=Ke,super.setDisposeFn(()=>{je.parentNode&&je.parentNode.replaceChild(ve,je)})},this._document=me}attachComponentPortal(He){const Pe=(He.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(He.component);let ct;return He.viewContainerRef?(ct=He.viewContainerRef.createComponent(Pe,He.viewContainerRef.length,He.injector||He.viewContainerRef.injector,He.projectableNodes||void 0),this.setDisposeFn(()=>ct.destroy())):(ct=Pe.create(He.injector||this._defaultInjector||h.zs3.NULL),this._appRef.attachView(ct.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(ct.hostView),ct.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(ct)),this._attachedPortal=He,ct}attachTemplatePortal(He){let Ne=He.viewContainerRef,Pe=Ne.createEmbeddedView(He.templateRef,He.context,{injector:He.injector});return Pe.rootNodes.forEach(ct=>this.outletElement.appendChild(ct)),Pe.detectChanges(),this.setDisposeFn(()=>{let ct=Ne.indexOf(Pe);-1!==ct&&Ne.remove(ct)}),this._attachedPortal=He,Pe}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(He){return He.hostView.rootNodes[0]}}let B=(()=>{class xe extends j{constructor(Ne,Pe){super(Ne,Pe)}static#e=this.\u0275fac=function(Pe){return new(Pe||xe)(h.Y36(h.Rgc),h.Y36(h.s_b))};static#t=this.\u0275dir=h.lG2({type:xe,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[h.qOj]})}return xe})(),re=(()=>{class xe extends ne{constructor(Ne,Pe,ct){super(),this._componentFactoryResolver=Ne,this._viewContainerRef=Pe,this._isInitialized=!1,this.attached=new h.vpe,this.attachDomPortal=me=>{const Ke=me.element,ve=this._document.createComment("dom-portal");me.setAttachedHost(this),Ke.parentNode.insertBefore(ve,Ke),this._getRootNode().appendChild(Ke),this._attachedPortal=me,super.setDisposeFn(()=>{ve.parentNode&&ve.parentNode.replaceChild(Ke,ve)})},this._document=ct}get portal(){return this._attachedPortal}set portal(Ne){this.hasAttached()&&!Ne&&!this._isInitialized||(this.hasAttached()&&super.detach(),Ne&&super.attach(Ne),this._attachedPortal=Ne||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(Ne){Ne.setAttachedHost(this);const Pe=null!=Ne.viewContainerRef?Ne.viewContainerRef:this._viewContainerRef,me=(Ne.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(Ne.component),Ke=Pe.createComponent(me,Pe.length,Ne.injector||Pe.injector,Ne.projectableNodes||void 0);return Pe!==this._viewContainerRef&&this._getRootNode().appendChild(Ke.hostView.rootNodes[0]),super.setDisposeFn(()=>Ke.destroy()),this._attachedPortal=Ne,this._attachedRef=Ke,this.attached.emit(Ke),Ke}attachTemplatePortal(Ne){Ne.setAttachedHost(this);const Pe=this._viewContainerRef.createEmbeddedView(Ne.templateRef,Ne.context,{injector:Ne.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=Ne,this._attachedRef=Pe,this.attached.emit(Pe),Pe}_getRootNode(){const Ne=this._viewContainerRef.element.nativeElement;return Ne.nodeType===Ne.ELEMENT_NODE?Ne:Ne.parentNode}static#e=this.\u0275fac=function(Pe){return new(Pe||xe)(h.Y36(h._Vd),h.Y36(h.s_b),h.Y36(o.K0))};static#t=this.\u0275dir=h.lG2({type:xe,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[h.qOj]})}return xe})(),H=(()=>{class xe{static#e=this.\u0275fac=function(Pe){return new(Pe||xe)};static#t=this.\u0275mod=h.oAB({type:xe});static#n=this.\u0275inj=h.cJS({})}return xe})()},9467:(et,Me,v)=>{"use strict";v.d(Me,{ZD:()=>lt,mF:()=>V,Cl:()=>ke,rL:()=>R});var h=v(5988),o=v(7786),De=v(9453),Ee=v(9627),ae=v(7371),se=v(6058),te=v(2290),de=v(9592);const ce={schedule(he){let Ie=requestAnimationFrame,ue=cancelAnimationFrame;const{delegate:$e}=ce;$e&&(Ie=$e.requestAnimationFrame,ue=$e.cancelAnimationFrame);const at=Ie(bt=>{ue=void 0,he(bt)});return new de.w0(()=>ue?.(at))},requestAnimationFrame(...he){const{delegate:Ie}=ce;return(Ie?.requestAnimationFrame||requestAnimationFrame)(...he)},cancelAnimationFrame(...he){const{delegate:Ie}=ce;return(Ie?.cancelAnimationFrame||cancelAnimationFrame)(...he)},delegate:void 0};var j=v(5349);new class W extends j.v{flush(Ie){this._active=!0;const ue=this._scheduled;this._scheduled=void 0;const{actions:$e}=this;let at;Ie=Ie||$e.shift();do{if(at=Ie.execute(Ie.state,Ie.delay))break}while((Ie=$e[0])&&Ie.id===ue&&$e.shift());if(this._active=!1,at){for(;(Ie=$e[0])&&Ie.id===ue&&$e.shift();)Ie.unsubscribe();throw at}}}(class z extends te.o{constructor(Ie,ue){super(Ie,ue),this.scheduler=Ie,this.work=ue}requestAsyncId(Ie,ue,$e=0){return null!==$e&&$e>0?super.requestAsyncId(Ie,ue,$e):(Ie.actions.push(this),Ie._scheduled||(Ie._scheduled=ce.requestAnimationFrame(()=>Ie.flush(void 0))))}recycleAsyncId(Ie,ue,$e=0){var at;if(null!=$e?$e>0:this.delay>0)return super.recycleAsyncId(Ie,ue,$e);const{actions:bt}=Ie;null!=ue&&(null===(at=bt[bt.length-1])||void 0===at?void 0:at.id)!==ue&&(ce.cancelAnimationFrame(ue),Ie._scheduled=void 0)}});v(4453);var ge=v(6589),B=v(4049),Z=v(8299),re=v(2829),H=v(5117);function Se(he,Ie=ge.z){return function J(he){return(0,B.e)((Ie,ue)=>{let $e=!1,at=null,bt=null,Ot=!1;const Gt=()=>{if(bt?.unsubscribe(),bt=null,$e){$e=!1;const $t=at;at=null,ue.next($t)}Ot&&ue.complete()},Rt=()=>{bt=null,Ot&&ue.complete()};Ie.subscribe((0,re.x)(ue,$t=>{$e=!0,at=$t,bt||(0,Z.Xf)(he($t)).subscribe(bt=(0,re.x)(ue,Gt,Rt))},()=>{Ot=!0,(!$e||!bt||bt.closed)&&ue.complete()}))})}(()=>(0,H.H)(he,Ie))}var xe=v(1497),He=v(3844),Ne=v(9462),Pe=v(4877);let V=(()=>{class he{constructor(ue,$e,at){this._ngZone=ue,this._platform=$e,this._scrolled=new De.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=at}register(ue){this.scrollContainers.has(ue)||this.scrollContainers.set(ue,ue.elementScrolled().subscribe(()=>this._scrolled.next(ue)))}deregister(ue){const $e=this.scrollContainers.get(ue);$e&&($e.unsubscribe(),this.scrollContainers.delete(ue))}scrolled(ue=20){return this._platform.isBrowser?new ae.y($e=>{this._globalSubscription||this._addGlobalListener();const at=ue>0?this._scrolled.pipe(Se(ue)).subscribe($e):this._scrolled.subscribe($e);return this._scrolledCount++,()=>{at.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,Ee.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ue,$e)=>this.deregister($e)),this._scrolled.complete()}ancestorScrolled(ue,$e){const at=this.getAncestorScrollContainers(ue);return this.scrolled($e).pipe((0,xe.h)(bt=>!bt||at.indexOf(bt)>-1))}getAncestorScrollContainers(ue){const $e=[];return this.scrollContainers.forEach((at,bt)=>{this._scrollableContainsElement(bt,ue)&&$e.push(bt)}),$e}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ue,$e){let at=(0,h.fI)($e),bt=ue.getElementRef().nativeElement;do{if(at==bt)return!0}while(at=at.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ue=this._getWindow();return(0,se.R)(ue.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}static#e=this.\u0275fac=function($e){return new($e||he)(o.LFG(o.R0b),o.LFG(He.t4),o.LFG(Ne.K0,8))};static#t=this.\u0275prov=o.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})(),R=(()=>{class he{constructor(ue,$e,at){this._platform=ue,this._change=new De.x,this._changeListener=bt=>{this._change.next(bt)},this._document=at,$e.runOutsideAngular(()=>{if(ue.isBrowser){const bt=this._getWindow();bt.addEventListener("resize",this._changeListener),bt.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ue=this._getWindow();ue.removeEventListener("resize",this._changeListener),ue.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ue={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ue}getViewportRect(){const ue=this.getViewportScrollPosition(),{width:$e,height:at}=this.getViewportSize();return{top:ue.top,left:ue.left,bottom:ue.top+at,right:ue.left+$e,height:at,width:$e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ue=this._document,$e=this._getWindow(),at=ue.documentElement,bt=at.getBoundingClientRect();return{top:-bt.top||ue.body.scrollTop||$e.scrollY||at.scrollTop||0,left:-bt.left||ue.body.scrollLeft||$e.scrollX||at.scrollLeft||0}}change(ue=20){return ue>0?this._change.pipe(Se(ue)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ue=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ue.innerWidth,height:ue.innerHeight}:{width:0,height:0}}static#e=this.\u0275fac=function($e){return new($e||he)(o.LFG(He.t4),o.LFG(o.R0b),o.LFG(Ne.K0,8))};static#t=this.\u0275prov=o.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"})}return he})(),lt=(()=>{class he{static#e=this.\u0275fac=function($e){return new($e||he)};static#t=this.\u0275mod=o.oAB({type:he});static#n=this.\u0275inj=o.cJS({})}return he})(),ke=(()=>{class he{static#e=this.\u0275fac=function($e){return new($e||he)};static#t=this.\u0275mod=o.oAB({type:he});static#n=this.\u0275inj=o.cJS({imports:[Pe.vT,lt,Pe.vT,lt]})}return he})()},9462:(et,Me,v)=>{"use strict";v.d(Me,{ED:()=>Di,HT:()=>Ee,JF:()=>ai,K0:()=>se,Mx:()=>nn,NF:()=>Zs,O5:()=>Li,Ov:()=>yr,PM:()=>bo,RF:()=>go,Ye:()=>B,bD:()=>Mi,ez:()=>En,mk:()=>zn,n9:()=>Kr,q:()=>De,sg:()=>ni,w_:()=>ae});var h=v(7786);let o=null;function De(){return o}function Ee(g){o||(o=g)}class ae{}const se=new h.OlP("DocumentToken");let te=(()=>{class g{historyGo(x){throw new Error("Not implemented")}static#e=this.\u0275fac=function(A){return new(A||g)};static#t=this.\u0275prov=h.Yz7({token:g,factory:function(){return(0,h.f3M)(ce)},providedIn:"platform"})}return g})(),ce=(()=>{class g extends te{constructor(){super(),this._doc=(0,h.f3M)(se),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return De().getBaseHref(this._doc)}onPopState(x){const A=De().getGlobalEventTarget(this._doc,"window");return A.addEventListener("popstate",x,!1),()=>A.removeEventListener("popstate",x)}onHashChange(x){const A=De().getGlobalEventTarget(this._doc,"window");return A.addEventListener("hashchange",x,!1),()=>A.removeEventListener("hashchange",x)}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(x){this._location.pathname=x}pushState(x,A,fe){this._history.pushState(x,A,fe)}replaceState(x,A,fe){this._history.replaceState(x,A,fe)}forward(){this._history.forward()}back(){this._history.back()}historyGo(x=0){this._history.go(x)}getState(){return this._history.state}static#e=this.\u0275fac=function(A){return new(A||g)};static#t=this.\u0275prov=h.Yz7({token:g,factory:function(){return new g},providedIn:"platform"})}return g})();function z(g,I){if(0==g.length)return I;if(0==I.length)return g;let x=0;return g.endsWith("/")&&x++,I.startsWith("/")&&x++,2==x?g+I.substring(1):1==x?g+I:g+"/"+I}function j(g){const I=g.match(/#|\?|$/),x=I&&I.index||g.length;return g.slice(0,x-("/"===g[x-1]?1:0))+g.slice(x)}function W(g){return g&&"?"!==g[0]?"?"+g:g}let ne=(()=>{class g{historyGo(x){throw new Error("Not implemented")}static#e=this.\u0275fac=function(A){return new(A||g)};static#t=this.\u0275prov=h.Yz7({token:g,factory:function(){return(0,h.f3M)(ie)},providedIn:"root"})}return g})();const le=new h.OlP("appBaseHref");let ie=(()=>{class g extends ne{constructor(x,A){super(),this._platformLocation=x,this._removeListenerFns=[],this._baseHref=A??this._platformLocation.getBaseHrefFromDOM()??(0,h.f3M)(se).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(x){this._removeListenerFns.push(this._platformLocation.onPopState(x),this._platformLocation.onHashChange(x))}getBaseHref(){return this._baseHref}prepareExternalUrl(x){return z(this._baseHref,x)}path(x=!1){const A=this._platformLocation.pathname+W(this._platformLocation.search),fe=this._platformLocation.hash;return fe&&x?`${A}${fe}`:A}pushState(x,A,fe,Je){const ht=this.prepareExternalUrl(fe+W(Je));this._platformLocation.pushState(x,A,ht)}replaceState(x,A,fe,Je){const ht=this.prepareExternalUrl(fe+W(Je));this._platformLocation.replaceState(x,A,ht)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(x=0){this._platformLocation.historyGo?.(x)}static#e=this.\u0275fac=function(A){return new(A||g)(h.LFG(te),h.LFG(le,8))};static#t=this.\u0275prov=h.Yz7({token:g,factory:g.\u0275fac,providedIn:"root"})}return g})(),B=(()=>{class g{constructor(x){this._subject=new h.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=x;const A=this._locationStrategy.getBaseHref();this._basePath=function H(g){if(new RegExp("^(https?:)?//").test(g)){const[,x]=g.split(/\/\/[^\/]+/);return x}return g}(j(J(A))),this._locationStrategy.onPopState(fe=>{this._subject.emit({url:this.path(!0),pop:!0,state:fe.state,type:fe.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(x=!1){return this.normalize(this._locationStrategy.path(x))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(x,A=""){return this.path()==this.normalize(x+W(A))}normalize(x){return g.stripTrailingSlash(function re(g,I){if(!g||!I.startsWith(g))return I;const x=I.substring(g.length);return""===x||["/",";","?","#"].includes(x[0])?x:I}(this._basePath,J(x)))}prepareExternalUrl(x){return x&&"/"!==x[0]&&(x="/"+x),this._locationStrategy.prepareExternalUrl(x)}go(x,A="",fe=null){this._locationStrategy.pushState(fe,"",x,A),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+W(A)),fe)}replaceState(x,A="",fe=null){this._locationStrategy.replaceState(fe,"",x,A),this._notifyUrlChangeListeners(this.prepareExternalUrl(x+W(A)),fe)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(x=0){this._locationStrategy.historyGo?.(x)}onUrlChange(x){return this._urlChangeListeners.push(x),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(A=>{this._notifyUrlChangeListeners(A.url,A.state)})),()=>{const A=this._urlChangeListeners.indexOf(x);this._urlChangeListeners.splice(A,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(x="",A){this._urlChangeListeners.forEach(fe=>fe(x,A))}subscribe(x,A,fe){return this._subject.subscribe({next:x,error:A,complete:fe})}static#e=this.normalizeQueryParams=W;static#t=this.joinWithSlash=z;static#n=this.stripTrailingSlash=j;static#i=this.\u0275fac=function(A){return new(A||g)(h.LFG(ne))};static#o=this.\u0275prov=h.Yz7({token:g,factory:function(){return function Z(){return new B((0,h.LFG)(ne))}()},providedIn:"root"})}return g})();function J(g){return g.replace(/\/index.html$/,"")}function nn(g,I){I=encodeURIComponent(I);for(const x of g.split(";")){const A=x.indexOf("="),[fe,Je]=-1==A?[x,""]:[x.slice(0,A),x.slice(A+1)];if(fe.trim()===I)return decodeURIComponent(Je)}return null}const dn=/\s+/,_i=[];let zn=(()=>{class g{constructor(x,A,fe,Je){this._iterableDiffers=x,this._keyValueDiffers=A,this._ngEl=fe,this._renderer=Je,this.initialClasses=_i,this.stateMap=new Map}set klass(x){this.initialClasses=null!=x?x.trim().split(dn):_i}set ngClass(x){this.rawClass="string"==typeof x?x.trim().split(dn):x}ngDoCheck(){for(const A of this.initialClasses)this._updateState(A,!0);const x=this.rawClass;if(Array.isArray(x)||x instanceof Set)for(const A of x)this._updateState(A,!0);else if(null!=x)for(const A of Object.keys(x))this._updateState(A,!!x[A]);this._applyStateDiff()}_updateState(x,A){const fe=this.stateMap.get(x);void 0!==fe?(fe.enabled!==A&&(fe.changed=!0,fe.enabled=A),fe.touched=!0):this.stateMap.set(x,{enabled:A,changed:!0,touched:!0})}_applyStateDiff(){for(const x of this.stateMap){const A=x[0],fe=x[1];fe.changed?(this._toggleClass(A,fe.enabled),fe.changed=!1):fe.touched||(fe.enabled&&this._toggleClass(A,!1),this.stateMap.delete(A)),fe.touched=!1}}_toggleClass(x,A){(x=x.trim()).length>0&&x.split(dn).forEach(fe=>{A?this._renderer.addClass(this._ngEl.nativeElement,fe):this._renderer.removeClass(this._ngEl.nativeElement,fe)})}static#e=this.\u0275fac=function(A){return new(A||g)(h.Y36(h.ZZ4),h.Y36(h.aQg),h.Y36(h.SBq),h.Y36(h.Qsj))};static#t=this.\u0275dir=h.lG2({type:g,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return g})();class Zn{constructor(I,x,A,fe){this.$implicit=I,this.ngForOf=x,this.index=A,this.count=fe}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 ni=(()=>{class g{set ngForOf(x){this._ngForOf=x,this._ngForOfDirty=!0}set ngForTrackBy(x){this._trackByFn=x}get ngForTrackBy(){return this._trackByFn}constructor(x,A,fe){this._viewContainer=x,this._template=A,this._differs=fe,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(x){x&&(this._template=x)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const x=this._ngForOf;!this._differ&&x&&(this._differ=this._differs.find(x).create(this.ngForTrackBy))}if(this._differ){const x=this._differ.diff(this._ngForOf);x&&this._applyChanges(x)}}_applyChanges(x){const A=this._viewContainer;x.forEachOperation((fe,Je,ht)=>{if(null==fe.previousIndex)A.createEmbeddedView(this._template,new Zn(fe.item,this._ngForOf,-1,-1),null===ht?void 0:ht);else if(null==ht)A.remove(null===Je?void 0:Je);else if(null!==Je){const It=A.get(Je);A.move(It,ht),xn(It,fe)}});for(let fe=0,Je=A.length;fe<Je;fe++){const It=A.get(fe).context;It.index=fe,It.count=Je,It.ngForOf=this._ngForOf}x.forEachIdentityChange(fe=>{xn(A.get(fe.currentIndex),fe)})}static ngTemplateContextGuard(x,A){return!0}static#e=this.\u0275fac=function(A){return new(A||g)(h.Y36(h.s_b),h.Y36(h.Rgc),h.Y36(h.ZZ4))};static#t=this.\u0275dir=h.lG2({type:g,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return g})();function xn(g,I){g.context.$implicit=I.item}let Li=(()=>{class g{constructor(x,A){this._viewContainer=x,this._context=new Bi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=A}set ngIf(x){this._context.$implicit=this._context.ngIf=x,this._updateView()}set ngIfThen(x){Zi("ngIfThen",x),this._thenTemplateRef=x,this._thenViewRef=null,this._updateView()}set ngIfElse(x){Zi("ngIfElse",x),this._elseTemplateRef=x,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(x,A){return!0}static#e=this.\u0275fac=function(A){return new(A||g)(h.Y36(h.s_b),h.Y36(h.Rgc))};static#t=this.\u0275dir=h.lG2({type:g,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return g})();class Bi{constructor(){this.$implicit=null,this.ngIf=null}}function Zi(g,I){if(I&&!I.createEmbeddedView)throw new Error(`${g} must be a TemplateRef, but received '${(0,h.AaK)(I)}'.`)}class Vn{constructor(I,x){this._viewContainerRef=I,this._templateRef=x,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(I){I&&!this._created?this.create():!I&&this._created&&this.destroy()}}let go=(()=>{class g{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(x){this._ngSwitch=x,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(x){this._defaultViews.push(x)}_matchCase(x){const A=x==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||A,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),A}_updateDefaultCases(x){if(this._defaultViews.length>0&&x!==this._defaultUsed){this._defaultUsed=x;for(const A of this._defaultViews)A.enforceState(x)}}static#e=this.\u0275fac=function(A){return new(A||g)};static#t=this.\u0275dir=h.lG2({type:g,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return g})(),Kr=(()=>{class g{constructor(x,A,fe){this.ngSwitch=fe,fe._addCase(),this._view=new Vn(x,A)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(A){return new(A||g)(h.Y36(h.s_b),h.Y36(h.Rgc),h.Y36(go,9))};static#t=this.\u0275dir=h.lG2({type:g,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return g})(),Di=(()=>{class g{constructor(x,A,fe){fe._addDefault(new Vn(x,A))}static#e=this.\u0275fac=function(A){return new(A||g)(h.Y36(h.s_b),h.Y36(h.Rgc),h.Y36(go,9))};static#t=this.\u0275dir=h.lG2({type:g,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return g})();class vr{createSubscription(I,x){return(0,h.rg0)(()=>I.subscribe({next:x,error:A=>{throw A}}))}dispose(I){(0,h.rg0)(()=>I.unsubscribe())}}class Zr{createSubscription(I,x){return I.then(x,A=>{throw A})}dispose(I){}}const tr=new Zr,qr=new vr;let yr=(()=>{class g{constructor(x){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=x}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(x){return this._obj?x!==this._obj?(this._dispose(),this.transform(x)):this._latestValue:(x&&this._subscribe(x),this._latestValue)}_subscribe(x){this._obj=x,this._strategy=this._selectStrategy(x),this._subscription=this._strategy.createSubscription(x,A=>this._updateLatestValue(x,A))}_selectStrategy(x){if((0,h.QGY)(x))return tr;if((0,h.F4k)(x))return qr;throw function fi(g,I){return new h.vHH(2100,!1)}()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(x,A){x===this._obj&&(this._latestValue=A,this._ref.markForCheck())}static#e=this.\u0275fac=function(A){return new(A||g)(h.Y36(h.sBO,16))};static#t=this.\u0275pipe=h.Yjl({name:"async",type:g,pure:!1,standalone:!0})}return g})(),En=(()=>{class g{static#e=this.\u0275fac=function(A){return new(A||g)};static#t=this.\u0275mod=h.oAB({type:g});static#n=this.\u0275inj=h.cJS({})}return g})();const Mi="browser",Gn="server";function Zs(g){return g===Mi}function bo(g){return g===Gn}class ai{}},9272:(et,Me,v)=>{"use strict";v.d(Me,{eN:()=>P,JF:()=>yt});var h=v(7786),o=v(9627),De=v(107),Ee=v(7371),ae=v(5123),se=v(3276),de=v(1497),ce=v(8412),z=v(1927),j=v(2835),W=v(9462);class ne{}class le{}class ie{constructor(E){this.normalizedNames=new Map,this.lazyUpdate=null,E?"string"==typeof E?this.lazyInit=()=>{this.headers=new Map,E.split("\n").forEach(Y=>{const Be=Y.indexOf(":");if(Be>0){const Qe=Y.slice(0,Be),We=Qe.toLowerCase(),tt=Y.slice(Be+1).trim();this.maybeSetNormalizedName(Qe,We),this.headers.has(We)?this.headers.get(We).push(tt):this.headers.set(We,[tt])}})}:typeof Headers<"u"&&E instanceof Headers?(this.headers=new Map,E.forEach((Y,Be)=>{this.setHeaderEntries(Be,Y)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(E).forEach(([Y,Be])=>{this.setHeaderEntries(Y,Be)})}:this.headers=new Map}has(E){return this.init(),this.headers.has(E.toLowerCase())}get(E){this.init();const Y=this.headers.get(E.toLowerCase());return Y&&Y.length>0?Y[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(E){return this.init(),this.headers.get(E.toLowerCase())||null}append(E,Y){return this.clone({name:E,value:Y,op:"a"})}set(E,Y){return this.clone({name:E,value:Y,op:"s"})}delete(E,Y){return this.clone({name:E,value:Y,op:"d"})}maybeSetNormalizedName(E,Y){this.normalizedNames.has(Y)||this.normalizedNames.set(Y,E)}init(){this.lazyInit&&(this.lazyInit instanceof ie?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(E=>this.applyUpdate(E)),this.lazyUpdate=null))}copyFrom(E){E.init(),Array.from(E.headers.keys()).forEach(Y=>{this.headers.set(Y,E.headers.get(Y)),this.normalizedNames.set(Y,E.normalizedNames.get(Y))})}clone(E){const Y=new ie;return Y.lazyInit=this.lazyInit&&this.lazyInit instanceof ie?this.lazyInit:this,Y.lazyUpdate=(this.lazyUpdate||[]).concat([E]),Y}applyUpdate(E){const Y=E.name.toLowerCase();switch(E.op){case"a":case"s":let Be=E.value;if("string"==typeof Be&&(Be=[Be]),0===Be.length)return;this.maybeSetNormalizedName(E.name,Y);const Qe=("a"===E.op?this.headers.get(Y):void 0)||[];Qe.push(...Be),this.headers.set(Y,Qe);break;case"d":const We=E.value;if(We){let tt=this.headers.get(Y);if(!tt)return;tt=tt.filter(wt=>-1===We.indexOf(wt)),0===tt.length?(this.headers.delete(Y),this.normalizedNames.delete(Y)):this.headers.set(Y,tt)}else this.headers.delete(Y),this.normalizedNames.delete(Y)}}setHeaderEntries(E,Y){const Be=(Array.isArray(Y)?Y:[Y]).map(We=>We.toString()),Qe=E.toLowerCase();this.headers.set(Qe,Be),this.maybeSetNormalizedName(E,Qe)}forEach(E){this.init(),Array.from(this.normalizedNames.keys()).forEach(Y=>E(this.normalizedNames.get(Y),this.headers.get(Y)))}}class B{encodeKey(E){return H(E)}encodeValue(E){return H(E)}decodeKey(E){return decodeURIComponent(E)}decodeValue(E){return decodeURIComponent(E)}}const re=/%(\d[a-f0-9])/gi,J={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function H(w){return encodeURIComponent(w).replace(re,(E,Y)=>J[Y]??E)}function Se(w){return`${w}`}class xe{constructor(E={}){if(this.updates=null,this.cloneFrom=null,this.encoder=E.encoder||new B,E.fromString){if(E.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function Z(w,E){const Y=new Map;return w.length>0&&w.replace(/^\?/,"").split("&").forEach(Qe=>{const We=Qe.indexOf("="),[tt,wt]=-1==We?[E.decodeKey(Qe),""]:[E.decodeKey(Qe.slice(0,We)),E.decodeValue(Qe.slice(We+1))],mt=Y.get(tt)||[];mt.push(wt),Y.set(tt,mt)}),Y}(E.fromString,this.encoder)}else E.fromObject?(this.map=new Map,Object.keys(E.fromObject).forEach(Y=>{const Be=E.fromObject[Y],Qe=Array.isArray(Be)?Be.map(Se):[Se(Be)];this.map.set(Y,Qe)})):this.map=null}has(E){return this.init(),this.map.has(E)}get(E){this.init();const Y=this.map.get(E);return Y?Y[0]:null}getAll(E){return this.init(),this.map.get(E)||null}keys(){return this.init(),Array.from(this.map.keys())}append(E,Y){return this.clone({param:E,value:Y,op:"a"})}appendAll(E){const Y=[];return Object.keys(E).forEach(Be=>{const Qe=E[Be];Array.isArray(Qe)?Qe.forEach(We=>{Y.push({param:Be,value:We,op:"a"})}):Y.push({param:Be,value:Qe,op:"a"})}),this.clone(Y)}set(E,Y){return this.clone({param:E,value:Y,op:"s"})}delete(E,Y){return this.clone({param:E,value:Y,op:"d"})}toString(){return this.init(),this.keys().map(E=>{const Y=this.encoder.encodeKey(E);return this.map.get(E).map(Be=>Y+"="+this.encoder.encodeValue(Be)).join("&")}).filter(E=>""!==E).join("&")}clone(E){const Y=new xe({encoder:this.encoder});return Y.cloneFrom=this.cloneFrom||this,Y.updates=(this.updates||[]).concat(E),Y}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(E=>this.map.set(E,this.cloneFrom.map.get(E))),this.updates.forEach(E=>{switch(E.op){case"a":case"s":const Y=("a"===E.op?this.map.get(E.param):void 0)||[];Y.push(Se(E.value)),this.map.set(E.param,Y);break;case"d":if(void 0===E.value){this.map.delete(E.param);break}{let Be=this.map.get(E.param)||[];const Qe=Be.indexOf(Se(E.value));-1!==Qe&&Be.splice(Qe,1),Be.length>0?this.map.set(E.param,Be):this.map.delete(E.param)}}}),this.cloneFrom=this.updates=null)}}class Ne{constructor(){this.map=new Map}set(E,Y){return this.map.set(E,Y),this}get(E){return this.map.has(E)||this.map.set(E,E.defaultValue()),this.map.get(E)}delete(E){return this.map.delete(E),this}has(E){return this.map.has(E)}keys(){return this.map.keys()}}function ct(w){return typeof ArrayBuffer<"u"&&w instanceof ArrayBuffer}function me(w){return typeof Blob<"u"&&w instanceof Blob}function Ke(w){return typeof FormData<"u"&&w instanceof FormData}class je{constructor(E,Y,Be,Qe){let We;if(this.url=Y,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=E.toUpperCase(),function Pe(w){switch(w){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||Qe?(this.body=void 0!==Be?Be:null,We=Qe):We=Be,We&&(this.reportProgress=!!We.reportProgress,this.withCredentials=!!We.withCredentials,We.responseType&&(this.responseType=We.responseType),We.headers&&(this.headers=We.headers),We.context&&(this.context=We.context),We.params&&(this.params=We.params)),this.headers||(this.headers=new ie),this.context||(this.context=new Ne),this.params){const tt=this.params.toString();if(0===tt.length)this.urlWithParams=Y;else{const wt=Y.indexOf("?");this.urlWithParams=Y+(-1===wt?"?":wt<Y.length-1?"&":"")+tt}}else this.params=new xe,this.urlWithParams=Y}serializeBody(){return null===this.body?null:ct(this.body)||me(this.body)||Ke(this.body)||function ve(w){return typeof URLSearchParams<"u"&&w instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof xe?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||Ke(this.body)?null:me(this.body)?this.body.type||null:ct(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof xe?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(E={}){const Y=E.method||this.method,Be=E.url||this.url,Qe=E.responseType||this.responseType,We=void 0!==E.body?E.body:this.body,tt=void 0!==E.withCredentials?E.withCredentials:this.withCredentials,wt=void 0!==E.reportProgress?E.reportProgress:this.reportProgress;let mt=E.headers||this.headers,Vt=E.params||this.params;const sn=E.context??this.context;return void 0!==E.setHeaders&&(mt=Object.keys(E.setHeaders).reduce((nn,dn)=>nn.set(dn,E.setHeaders[dn]),mt)),E.setParams&&(Vt=Object.keys(E.setParams).reduce((nn,dn)=>nn.set(dn,E.setParams[dn]),Vt)),new je(Y,Be,We,{params:Vt,headers:mt,context:sn,reportProgress:wt,responseType:Qe,withCredentials:tt})}}var Xe=function(w){return w[w.Sent=0]="Sent",w[w.UploadProgress=1]="UploadProgress",w[w.ResponseHeader=2]="ResponseHeader",w[w.DownloadProgress=3]="DownloadProgress",w[w.Response=4]="Response",w[w.User=5]="User",w}(Xe||{});class ze{constructor(E,Y=200,Be="OK"){this.headers=E.headers||new ie,this.status=void 0!==E.status?E.status:Y,this.statusText=E.statusText||Be,this.url=E.url||null,this.ok=this.status>=200&&this.status<300}}class V extends ze{constructor(E={}){super(E),this.type=Xe.ResponseHeader}clone(E={}){return new V({headers:E.headers||this.headers,status:void 0!==E.status?E.status:this.status,statusText:E.statusText||this.statusText,url:E.url||this.url||void 0})}}class K extends ze{constructor(E={}){super(E),this.type=Xe.Response,this.body=void 0!==E.body?E.body:null}clone(E={}){return new K({body:void 0!==E.body?E.body:this.body,headers:E.headers||this.headers,status:void 0!==E.status?E.status:this.status,statusText:E.statusText||this.statusText,url:E.url||this.url||void 0})}}class F extends ze{constructor(E){super(E,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${E.url||"(unknown url)"}`:`Http failure response for ${E.url||"(unknown url)"}: ${E.status} ${E.statusText}`,this.error=E.error||null}}function R(w,E){return{body:E,headers:w.headers,context:w.context,observe:w.observe,params:w.params,reportProgress:w.reportProgress,responseType:w.responseType,withCredentials:w.withCredentials}}let P=(()=>{class w{constructor(Y){this.handler=Y}request(Y,Be,Qe={}){let We;if(Y instanceof je)We=Y;else{let mt,Vt;mt=Qe.headers instanceof ie?Qe.headers:new ie(Qe.headers),Qe.params&&(Vt=Qe.params instanceof xe?Qe.params:new xe({fromObject:Qe.params})),We=new je(Y,Be,void 0!==Qe.body?Qe.body:null,{headers:mt,context:Qe.context,params:Vt,reportProgress:Qe.reportProgress,responseType:Qe.responseType||"json",withCredentials:Qe.withCredentials})}const tt=(0,o.of)(We).pipe(function te(w,E){return(0,se.m)(E)?(0,ae.z)(w,E,1):(0,ae.z)(w,1)}(mt=>this.handler.handle(mt)));if(Y instanceof je||"events"===Qe.observe)return tt;const wt=tt.pipe((0,de.h)(mt=>mt instanceof K));switch(Qe.observe||"body"){case"body":switch(We.responseType){case"arraybuffer":return wt.pipe((0,ce.U)(mt=>{if(null!==mt.body&&!(mt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return mt.body}));case"blob":return wt.pipe((0,ce.U)(mt=>{if(null!==mt.body&&!(mt.body instanceof Blob))throw new Error("Response is not a Blob.");return mt.body}));case"text":return wt.pipe((0,ce.U)(mt=>{if(null!==mt.body&&"string"!=typeof mt.body)throw new Error("Response is not a string.");return mt.body}));default:return wt.pipe((0,ce.U)(mt=>mt.body))}case"response":return wt;default:throw new Error(`Unreachable: unhandled observe type ${Qe.observe}}`)}}delete(Y,Be={}){return this.request("DELETE",Y,Be)}get(Y,Be={}){return this.request("GET",Y,Be)}head(Y,Be={}){return this.request("HEAD",Y,Be)}jsonp(Y,Be){return this.request("JSONP",Y,{params:(new xe).append(Be,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Y,Be={}){return this.request("OPTIONS",Y,Be)}patch(Y,Be,Qe={}){return this.request("PATCH",Y,R(Qe,Be))}post(Y,Be,Qe={}){return this.request("POST",Y,R(Qe,Be))}put(Y,Be,Qe={}){return this.request("PUT",Y,R(Qe,Be))}static#e=this.\u0275fac=function(Be){return new(Be||w)(h.LFG(ne))};static#t=this.\u0275prov=h.Yz7({token:w,factory:w.\u0275fac})}return w})();function dt(w,E){return E(w)}function lt(w,E){return(Y,Be)=>E.intercept(Y,{handle:Qe=>w(Qe,Be)})}const he=new h.OlP(""),Ie=new h.OlP(""),ue=new h.OlP("");function $e(){let w=null;return(E,Y)=>{null===w&&(w=((0,h.f3M)(he,{optional:!0})??[]).reduceRight(lt,dt));const Be=(0,h.f3M)(h.HDt),Qe=Be.add();return w(E,Y).pipe((0,z.x)(()=>Be.remove(Qe)))}}let at=(()=>{class w extends ne{constructor(Y,Be){super(),this.backend=Y,this.injector=Be,this.chain=null,this.pendingTasks=(0,h.f3M)(h.HDt)}handle(Y){if(null===this.chain){const Qe=Array.from(new Set([...this.injector.get(Ie),...this.injector.get(ue,[])]));this.chain=Qe.reduceRight((We,tt)=>function ke(w,E,Y){return(Be,Qe)=>Y.runInContext(()=>E(Be,We=>w(We,Qe)))}(We,tt,this.injector),dt)}const Be=this.pendingTasks.add();return this.chain(Y,Qe=>this.backend.handle(Qe)).pipe((0,z.x)(()=>this.pendingTasks.remove(Be)))}static#e=this.\u0275fac=function(Be){return new(Be||w)(h.LFG(le),h.LFG(h.lqb))};static#t=this.\u0275prov=h.Yz7({token:w,factory:w.\u0275fac})}return w})();const Ut=/^\)\]\}',?\n/;let $n=(()=>{class w{constructor(Y){this.xhrFactory=Y}handle(Y){if("JSONP"===Y.method)throw new h.vHH(-2800,!1);const Be=this.xhrFactory;return(Be.\u0275loadImpl?(0,De.D)(Be.\u0275loadImpl()):(0,o.of)(null)).pipe((0,j.w)(()=>new Ee.y(We=>{const tt=Be.build();if(tt.open(Y.method,Y.urlWithParams),Y.withCredentials&&(tt.withCredentials=!0),Y.headers.forEach((rn,fn)=>tt.setRequestHeader(rn,fn.join(","))),Y.headers.has("Accept")||tt.setRequestHeader("Accept","application/json, text/plain, */*"),!Y.headers.has("Content-Type")){const rn=Y.detectContentTypeHeader();null!==rn&&tt.setRequestHeader("Content-Type",rn)}if(Y.responseType){const rn=Y.responseType.toLowerCase();tt.responseType="json"!==rn?rn:"text"}const wt=Y.serializeBody();let mt=null;const Vt=()=>{if(null!==mt)return mt;const rn=tt.statusText||"OK",fn=new ie(tt.getAllResponseHeaders()),Zn=function hn(w){return"responseURL"in w&&w.responseURL?w.responseURL:/^X-Request-URL:/m.test(w.getAllResponseHeaders())?w.getResponseHeader("X-Request-URL"):null}(tt)||Y.url;return mt=new V({headers:fn,status:tt.status,statusText:rn,url:Zn}),mt},sn=()=>{let{headers:rn,status:fn,statusText:Zn,url:ni}=Vt(),xn=null;204!==fn&&(xn=typeof tt.response>"u"?tt.responseText:tt.response),0===fn&&(fn=xn?200:0);let co=fn>=200&&fn<300;if("json"===Y.responseType&&"string"==typeof xn){const Li=xn;xn=xn.replace(Ut,"");try{xn=""!==xn?JSON.parse(xn):null}catch(Bi){xn=Li,co&&(co=!1,xn={error:Bi,text:xn})}}co?(We.next(new K({body:xn,headers:rn,status:fn,statusText:Zn,url:ni||void 0})),We.complete()):We.error(new F({error:xn,headers:rn,status:fn,statusText:Zn,url:ni||void 0}))},nn=rn=>{const{url:fn}=Vt(),Zn=new F({error:rn,status:tt.status||0,statusText:tt.statusText||"Unknown Error",url:fn||void 0});We.error(Zn)};let dn=!1;const _i=rn=>{dn||(We.next(Vt()),dn=!0);let fn={type:Xe.DownloadProgress,loaded:rn.loaded};rn.lengthComputable&&(fn.total=rn.total),"text"===Y.responseType&&tt.responseText&&(fn.partialText=tt.responseText),We.next(fn)},zn=rn=>{let fn={type:Xe.UploadProgress,loaded:rn.loaded};rn.lengthComputable&&(fn.total=rn.total),We.next(fn)};return tt.addEventListener("load",sn),tt.addEventListener("error",nn),tt.addEventListener("timeout",nn),tt.addEventListener("abort",nn),Y.reportProgress&&(tt.addEventListener("progress",_i),null!==wt&&tt.upload&&tt.upload.addEventListener("progress",zn)),tt.send(wt),We.next({type:Xe.Sent}),()=>{tt.removeEventListener("error",nn),tt.removeEventListener("abort",nn),tt.removeEventListener("load",sn),tt.removeEventListener("timeout",nn),Y.reportProgress&&(tt.removeEventListener("progress",_i),null!==wt&&tt.upload&&tt.upload.removeEventListener("progress",zn)),tt.readyState!==tt.DONE&&tt.abort()}})))}static#e=this.\u0275fac=function(Be){return new(Be||w)(h.LFG(W.JF))};static#t=this.\u0275prov=h.Yz7({token:w,factory:w.\u0275fac})}return w})();const tn=new h.OlP("XSRF_ENABLED"),Ht=new h.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),Nn=new h.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Sn{}let In=(()=>{class w{constructor(Y,Be,Qe){this.doc=Y,this.platform=Be,this.cookieName=Qe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Y=this.doc.cookie||"";return Y!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,W.Mx)(Y,this.cookieName),this.lastCookieString=Y),this.lastToken}static#e=this.\u0275fac=function(Be){return new(Be||w)(h.LFG(W.K0),h.LFG(h.Lbi),h.LFG(Ht))};static#t=this.\u0275prov=h.Yz7({token:w,factory:w.\u0275fac})}return w})();function Dn(w,E){const Y=w.url.toLowerCase();if(!(0,h.f3M)(tn)||"GET"===w.method||"HEAD"===w.method||Y.startsWith("http://")||Y.startsWith("https://"))return E(w);const Be=(0,h.f3M)(Sn).getToken(),Qe=(0,h.f3M)(Nn);return null!=Be&&!w.headers.has(Qe)&&(w=w.clone({headers:w.headers.set(Qe,Be)})),E(w)}var gn=function(w){return w[w.Interceptors=0]="Interceptors",w[w.LegacyInterceptors=1]="LegacyInterceptors",w[w.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",w[w.NoXsrfProtection=3]="NoXsrfProtection",w[w.JsonpSupport=4]="JsonpSupport",w[w.RequestsMadeViaParent=5]="RequestsMadeViaParent",w[w.Fetch=6]="Fetch",w}(gn||{});function Ve(...w){const E=[P,$n,at,{provide:ne,useExisting:at},{provide:le,useExisting:$n},{provide:Ie,useValue:Dn,multi:!0},{provide:tn,useValue:!0},{provide:Sn,useClass:In}];for(const Y of w)E.push(...Y.\u0275providers);return(0,h.MR2)(E)}const Oe=new h.OlP("LEGACY_INTERCEPTOR_FN");function ye(){return function Ze(w,E){return{\u0275kind:w,\u0275providers:E}}(gn.LegacyInterceptors,[{provide:Oe,useFactory:$e},{provide:Ie,useExisting:Oe,multi:!0}])}let yt=(()=>{class w{static#e=this.\u0275fac=function(Be){return new(Be||w)};static#t=this.\u0275mod=h.oAB({type:w});static#n=this.\u0275inj=h.cJS({providers:[Ve(ye())]})}return w})()},7786:(et,Me,v)=>{"use strict";v.d(Me,{$8M:()=>Vl,$Z:()=>k_,AFp:()=>Eh,ALo:()=>uy,AaK:()=>W,BQk:()=>nf,CHM:()=>cs,CRH:()=>Ay,DdM:()=>iy,EJc:()=>vE,EiD:()=>Nr,EpF:()=>Cb,F$t:()=>Ib,F4k:()=>Db,FYo:()=>Rh,FiY:()=>Or,G48:()=>QE,Gf:()=>My,GfV:()=>Ph,GkF:()=>Lm,Gpc:()=>ie,HDt:()=>qy,Hsn:()=>Ob,Ikx:()=>Km,JOm:()=>Sc,JVY:()=>Tp,JZr:()=>J,KtG:()=>la,L6k:()=>Ap,LAX:()=>d_,LFG:()=>xt,Lbi:()=>wd,Lck:()=>rD,MAs:()=>yb,MR2:()=>Qo,NdJ:()=>$m,O4$:()=>fa,Ojb:()=>Gp,OlP:()=>un,Oqu:()=>Ym,Q6J:()=>Pm,QGY:()=>Bm,QbO:()=>zp,Qsj:()=>sm,R0b:()=>Le,RDi:()=>l_,Rgc:()=>Xd,SBq:()=>ja,Suo:()=>Ty,TTD:()=>an,TgZ:()=>Xh,Tol:()=>Kb,Udp:()=>zm,VKq:()=>oy,VuI:()=>MM,W1O:()=>ky,WLB:()=>ry,Xpm:()=>vr,Y36:()=>il,YNc:()=>_b,Yjl:()=>Ks,Yz7:()=>lt,ZZ4:()=>Mg,_Bn:()=>Kv,_UZ:()=>Nm,_Vd:()=>Va,_c5:()=>pM,_uU:()=>tv,aQg:()=>Tg,cJS:()=>he,cg1:()=>qm,d8E:()=>Zm,dDg:()=>VE,dqk:()=>Ut,eBb:()=>Sp,eFA:()=>c0,ekj:()=>Gm,eoX:()=>n0,f3M:()=>ot,g9A:()=>Th,h0i:()=>Ka,hGG:()=>mM,hij:()=>af,iGM:()=>Ey,ifc:()=>Be,jDz:()=>qv,kL8:()=>yv,lG2:()=>Qr,lcZ:()=>hy,lqb:()=>Ro,lri:()=>e0,mCW:()=>Vc,n5z:()=>Su,n_E:()=>hf,oAB:()=>yr,oJD:()=>bh,oxw:()=>Sb,pB0:()=>Ip,q3G:()=>Br,qLn:()=>l,qOj:()=>Mm,qZA:()=>ef,qzn:()=>Ns,rWj:()=>t0,rg0:()=>fe,sBO:()=>XE,s_b:()=>mf,soG:()=>_f,tp0:()=>Ds,uIk:()=>Am,vHH:()=>H,vpe:()=>b,wAp:()=>gl,xi3:()=>fy,xp6:()=>I_,ynx:()=>tf,z2F:()=>yl,z3N:()=>Zo,zSh:()=>Yc,zs3:()=>fo});var h=v(9453),o=v(9592),De=v(7371),Ee=v(4991),ae=v(1625),se=v(9627),te=v(3949),de=v(2835),ce=v(4263);function z(e){for(let t in e)if(e[t]===z)return t;throw Error("Could not find renamed property on target object.")}function j(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function W(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(W).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 ne(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const le=z({__forward_ref__:z});function ie(e){return e.__forward_ref__=ie,e.toString=function(){return W(this())},e}function ge(e){return B(e)?e():e}function B(e){return"function"==typeof e&&e.hasOwnProperty(le)&&e.__forward_ref__===ie}function Z(e){return e&&!!e.\u0275providers}const J="https://g.co/ng/security#xss";class H extends Error{constructor(t,n){super(function Se(e,t){return`NG0${Math.abs(e)}${t?": "+t:""}`}(t,n)),this.code=t}}function xe(e){return"string"==typeof e?e:null==e?"":String(e)}function me(e,t){throw new H(-201,!1)}function Ae(e,t){null==e&&function Ue(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function lt(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function he(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ie(e){return $e(e,Ot)||$e(e,Rt)}function $e(e,t){return e.hasOwnProperty(t)?e[t]:null}function bt(e){return e&&(e.hasOwnProperty(Gt)||e.hasOwnProperty($t))?e[Gt]:null}const Ot=z({\u0275prov:z}),Gt=z({\u0275inj:z}),Rt=z({ngInjectableDef:z}),$t=z({ngInjectorDef:z});var Tt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}(Tt||{});let Lt;function kt(e){const t=Lt;return Lt=e,t}function ei(e,t,n){const r=Ie(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Tt.Optional?null:void 0!==t?t:void me(W(e))}const Ut=globalThis,Ve={},oe="__NG_DI_FLAG__",Oe="ngTempTokenPath",pe=/\n/gm,G="__source";let N;function qe(e){const t=N;return N=e,t}function yt(e,t=Tt.Default){if(void 0===N)throw new H(-203,!1);return null===N?ei(e,void 0,t):N.get(e,t&Tt.Optional?null:void 0,t)}function xt(e,t=Tt.Default){return(function Ct(){return Lt}()||yt)(ge(e),t)}function ot(e,t=Tt.Default){return xt(e,U(t))}function U(e){return typeof e>"u"||"number"==typeof e?e:0|(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function we(e){const t=[];for(let n=0;n<e.length;n++){const r=ge(e[n]);if(Array.isArray(r)){if(0===r.length)throw new H(900,!1);let c,u=Tt.Default;for(let f=0;f<r.length;f++){const m=r[f],_=rt(m);"number"==typeof _?-1===_?c=m.token:u|=_:c=m}t.push(xt(c,u))}else t.push(xt(r))}return t}function Fe(e,t){return e[oe]=t,e.prototype[oe]=t,e}function rt(e){return e[oe]}function E(e){return{toString:e}.toString()}var Y=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}(Y||{}),Be=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}(Be||{});const Qe={},We=[],tt=z({\u0275cmp:z}),wt=z({\u0275dir:z}),mt=z({\u0275pipe:z}),Vt=z({\u0275mod:z}),sn=z({\u0275fac:z}),nn=z({__NG_ELEMENT_ID__:z}),dn=z({__NG_ENV_ID__:z});function _i(e,t,n){let r=e.length;for(;;){const c=e.indexOf(t,n);if(-1===c)return c;if(0===c||e.charCodeAt(c-1)<=32){const u=t.length;if(c+u===r||e.charCodeAt(c+u)<=32)return c}n=c+1}}function zn(e,t,n){let r=0;for(;r<n.length;){const c=n[r];if("number"==typeof c){if(0!==c)break;r++;const u=n[r++],f=n[r++],m=n[r++];e.setAttribute(t,f,m,u)}else{const u=c,f=n[++r];fn(u)?e.setProperty(t,u,f):e.setAttribute(t,u,f),r++}}return r}function rn(e){return 3===e||4===e||6===e}function fn(e){return 64===e.charCodeAt(0)}function Zn(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const c=t[r];"number"==typeof c?n=c:0===n||ni(e,n,c,null,-1===n||2===n?t[++r]:null)}}return e}function ni(e,t,n,r,c){let u=0,f=e.length;if(-1===t)f=-1;else for(;u<e.length;){const m=e[u++];if("number"==typeof m){if(m===t){f=-1;break}if(m>t){f=u-1;break}}}for(;u<e.length;){const m=e[u];if("number"==typeof m)break;if(m===n){if(null===r)return void(null!==c&&(e[u+1]=c));if(r===e[u+1])return void(e[u+2]=c)}u++,null!==r&&u++,null!==c&&u++}-1!==f&&(e.splice(f,0,t),u=f+1),e.splice(u++,0,n),null!==r&&e.splice(u++,0,r),null!==c&&e.splice(u++,0,c)}const xn="ng-template";function co(e,t,n){let r=0,c=!0;for(;r<e.length;){let u=e[r++];if("string"==typeof u&&c){const f=e[r++];if(n&&"class"===u&&-1!==_i(f.toLowerCase(),t,0))return!0}else{if(1===u){for(;r<e.length&&"string"==typeof(u=e[r++]);)if(u.toLowerCase()===t)return!0;return!1}"number"==typeof u&&(c=!1)}}return!1}function Li(e){return 4===e.type&&e.value!==xn}function Bi(e,t,n){return t===(4!==e.type||n?e.value:xn)}function Zi(e,t,n){let r=4;const c=e.attrs||[],u=function ii(e){for(let t=0;t<e.length;t++)if(rn(e[t]))return t;return e.length}(c);let f=!1;for(let m=0;m<t.length;m++){const _=t[m];if("number"!=typeof _){if(!f)if(4&r){if(r=2|1&r,""!==_&&!Bi(e,_,n)||""===_&&1===t.length){if(Vn(r))return!1;f=!0}}else{const C=8&r?_:t[++m];if(8&r&&null!==e.attrs){if(!co(e.attrs,C,n)){if(Vn(r))return!1;f=!0}continue}const X=go(8&r?"class":_,c,Li(e),n);if(-1===X){if(Vn(r))return!1;f=!0;continue}if(""!==C){let Re;Re=X>u?"":c[X+1].toLowerCase();const Ge=8&r?Re:null;if(Ge&&-1!==_i(Ge,C,0)||2&r&&C!==Re){if(Vn(r))return!1;f=!0}}}}else{if(!f&&!Vn(r)&&!Vn(_))return!1;if(f&&Vn(_))continue;f=!1,r=_|1&r}}return Vn(r)||f}function Vn(e){return 0==(1&e)}function go(e,t,n,r){if(null===t)return-1;let c=0;if(r||!n){let u=!1;for(;c<t.length;){const f=t[c];if(f===e)return c;if(3===f||6===f)u=!0;else{if(1===f||2===f){let m=t[++c];for(;"string"==typeof m;)m=t[++c];continue}if(4===f)break;if(0===f){c+=4;continue}}c+=u?1:2}return-1}return function $i(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Kr(e,t,n=!1){for(let r=0;r<t.length;r++)if(Zi(e,t[r],n))return!0;return!1}function oi(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let c=0;c<e.length;c++)if(e[c]!==r[c])continue e;return!0}}return!1}function qi(e,t){return e?":not("+t.trim()+")":t}function Ws(e){let t=e[0],n=1,r=2,c="",u=!1;for(;n<e.length;){let f=e[n];if("string"==typeof f)if(2&r){const m=e[++n];c+="["+f+(m.length>0?'="'+m+'"':"")+"]"}else 8&r?c+="."+f:4&r&&(c+=" "+f);else""!==c&&!Vn(f)&&(t+=qi(u,c),c=""),r=f,u=u||!Vn(r);n++}return""!==c&&(t+=qi(u,c)),t}function vr(e){return E(()=>{const t=Bo(e),n={...t,decls:e.decls,vars:e.vars,template:e.template,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,onPush:e.changeDetection===Y.OnPush,directiveDefs:null,pipeDefs:null,dependencies:t.standalone&&e.dependencies||null,getStandaloneInjector:null,signals:e.signals??!1,data:e.data||{},encapsulation:e.encapsulation||Be.Emulated,styles:e.styles||We,_:null,schemas:e.schemas||null,tView:null,id:""};$o(n);const r=e.dependencies;return n.directiveDefs=Ei(r,!1),n.pipeDefs=Ei(r,!0),n.id=function xr(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const c of n)t=Math.imul(31,t)+c.charCodeAt(0)<<0;return t+=2147483648,"c"+t}(n),n})}function tr(e){return Xt(e)||Ln(e)}function qr(e){return null!==e}function yr(e){return E(()=>({type:e.type,bootstrap:e.bootstrap||We,declarations:e.declarations||We,imports:e.imports||We,exports:e.exports||We,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function nr(e,t){if(null==e)return Qe;const n={};for(const r in e)if(e.hasOwnProperty(r)){let c=e[r],u=c;Array.isArray(c)&&(u=c[1],c=c[0]),n[c]=r,t&&(t[c]=u)}return n}function Qr(e){return E(()=>{const t=Bo(e);return $o(t),t})}function Ks(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 Xt(e){return e[tt]||null}function Ln(e){return e[wt]||null}function qn(e){return e[mt]||null}function Bo(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,inputTransforms:null,inputConfig:e.inputs||Qe,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||We,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:nr(e.inputs,t),outputs:nr(e.outputs)}}function $o(e){e.features?.forEach(t=>t(e))}function Ei(e,t){if(!e)return null;const n=t?qn:tr;return()=>("function"==typeof e?e():e).map(r=>n(r)).filter(qr)}const _n=0,vt=1,zt=2,pn=3,si=4,_o=5,Bn=6,Ho=7,En=8,Mi=9,Gn=10,Wt=11,lo=12,Zs=13,bo=14,Mn=15,Ti=16,Qi=17,Hi=18,vo=19,ir=20,Xi=21,ai=22,yo=23,bi=24,en=25,Vo=1,or=2,ci=7,Uo=9,jn=11;function Jn(e){return Array.isArray(e)&&"object"==typeof e[Vo]}function Un(e){return Array.isArray(e)&&!0===e[Vo]}function wr(e){return 0!=(4&e.flags)}function Vi(e){return e.componentOffset>-1}function rr(e){return 1==(1&e.flags)}function Ai(e){return!!e.template}function Cr(e){return 0!=(512&e[zt])}function wo(e,t){return e.hasOwnProperty(sn)?e[sn]:null}let On=null,is=!1;function vi(e){const t=On;return On=e,t}const ta={version:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{}};function ia(e){if(!rs(e)||e.dirty){if(!e.producerMustRecompute(e)&&!ic(e))return void(e.dirty=!1);e.producerRecomputeValue(e),e.dirty=!1}}function Cl(e){e.dirty=!0,function ec(e){if(void 0===e.liveConsumerNode)return;const t=is;is=!0;try{for(const n of e.liveConsumerNode)n.dirty||Cl(n)}finally{is=t}}(e),e.consumerMarkedDirty?.(e)}function tc(e){return e&&(e.nextProducerIndex=0),vi(e)}function nc(e,t){if(vi(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(rs(e))for(let n=e.nextProducerIndex;n<e.producerNode.length;n++)oa(e.producerNode[n],e.producerIndexOfThis[n]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}function ic(e){sr(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],r=e.producerLastReadVersion[t];if(r!==n.version||(ia(n),r!==n.version))return!0}return!1}function Dl(e){if(sr(e),rs(e))for(let t=0;t<e.producerNode.length;t++)oa(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}function oa(e,t){if(function El(e){e.liveConsumerNode??=[],e.liveConsumerIndexOfThis??=[]}(e),sr(e),1===e.liveConsumerNode.length)for(let r=0;r<e.producerNode.length;r++)oa(e.producerNode[r],e.producerIndexOfThis[r]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const r=e.liveConsumerIndexOfThis[t],c=e.liveConsumerNode[t];sr(c),c.producerIndexOfThis[r]=t}}function rs(e){return e.consumerIsAlwaysLive||(e?.liveConsumerNode?.length??0)>0}function sr(e){e.producerNode??=[],e.producerIndexOfThis??=[],e.producerLastReadVersion??=[]}let au=null;function fe(e){const t=vi(null);try{return e()}finally{vi(t)}}const ht=()=>{},It=(()=>({...ta,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:e=>{e.schedule(e.ref)},hasRun:!1,cleanupFn:ht}))();class bn{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function an(){return Jt}function Jt(e){return e.type.prototype.ngOnChanges&&(e.setInput=vn),Rn}function Rn(){const e=Do(this),t=e?.current;if(t){const n=e.previous;if(n===Qe)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function vn(e,t,n,r){const c=this.declaredInputs[n],u=Do(e)||function ji(e,t){return e[Hn]=t}(e,{previous:Qe,current:null}),f=u.current||(u.current={}),m=u.previous,_=m[c];f[c]=new bn(_&&_.currentValue,t,m===Qe),e[r]=t}an.ngInherit=!0;const Hn="__ngSimpleChanges__";function Do(e){return e[Hn]||null}const Wn=function(e,t,n){},Go="svg";function Tn(e){for(;Array.isArray(e);)e=e[_n];return e}function sc(e,t){return Tn(t[e])}function Ii(e,t){return Tn(t[e.index])}function uu(e,t){return e.data[t]}function ss(e,t){return e[t]}function Ui(e,t){const n=t[e];return Jn(n)?n:n[_n]}function zi(e,t){return null==t?null:e[t]}function hu(e){e[Qi]=0}function as(e){1024&e[zt]||(e[zt]|=1024,aa(e,1))}function Er(e){1024&e[zt]&&(e[zt]&=-1025,aa(e,-1))}function aa(e,t){let n=e[pn];if(null===n)return;n[_o]+=t;let r=n;for(n=n[pn];null!==n&&(1===t&&1===r[_o]||-1===t&&0===r[_o]);)n[_o]+=t,r=n,n=n[pn]}const Bt={lFrame:Pf(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function cc(){return Bt.bindingsEnabled}function Mr(){return null!==Bt.skipHydrationRootTNode}function ft(){return Bt.lFrame.lView}function cn(){return Bt.lFrame.tView}function cs(e){return Bt.lFrame.contextLView=e,e[En]}function la(e){return Bt.lFrame.contextLView=null,e}function An(){let e=lc();for(;null!==e&&64===e.type;)e=e.parent;return e}function lc(){return Bt.lFrame.currentTNode}function eo(e,t){const n=Bt.lFrame;n.currentTNode=e,n.isParent=t}function ls(){return Bt.lFrame.isParent}function dc(){Bt.lFrame.isParent=!1}function Oi(){const e=Bt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function da(){return Bt.lFrame.bindingIndex++}function lr(e){const t=Bt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Rf(e,t){const n=Bt.lFrame;n.bindingIndex=n.bindingRootIndex=e,ds(t)}function ds(e){Bt.lFrame.currentDirectiveIndex=e}function us(e){const t=Bt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function ua(){return Bt.lFrame.currentQueryIndex}function _u(e){Bt.lFrame.currentQueryIndex=e}function Fg(e){const t=e[vt];return 2===t.type?t.declTNode:1===t.type?e[Bn]:null}function ha(e,t,n){if(n&Tt.SkipSelf){let c=t,u=e;for(;!(c=c.parent,null!==c||n&Tt.Host||(c=Fg(u),null===c||(u=u[bo],10&c.type))););if(null===c)return!1;t=c,e=u}const r=Bt.lFrame=kl();return r.currentTNode=t,r.lView=e,!0}function hs(e){const t=kl(),n=e[vt];Bt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function kl(){const e=Bt.lFrame,t=null===e?null:e.child;return null===t?Pf(e):t}function Pf(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 bu(){const e=Bt.lFrame;return Bt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const vu=bu;function Rl(){const e=bu();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 yi(){return Bt.lFrame.selectedIndex}function Wo(e){Bt.lFrame.selectedIndex=e}function Cn(){const e=Bt.lFrame;return uu(e.tView,e.selectedIndex)}function fa(){Bt.lFrame.currentNamespace=Go}let pa=!0;function Pl(){return pa}function Eo(e){pa=e}function fs(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const u=e.data[n].type.prototype,{ngAfterContentInit:f,ngAfterContentChecked:m,ngAfterViewInit:_,ngAfterViewChecked:C,ngOnDestroy:k}=u;f&&(e.contentHooks??=[]).push(-n,f),m&&((e.contentHooks??=[]).push(n,m),(e.contentCheckHooks??=[]).push(n,m)),_&&(e.viewHooks??=[]).push(-n,_),C&&((e.viewHooks??=[]).push(n,C),(e.viewCheckHooks??=[]).push(n,C)),null!=k&&(e.destroyHooks??=[]).push(n,k)}}function ps(e,t,n){$f(e,t,3,n)}function mc(e,t,n,r){(3&e[zt])===n&&$f(e,t,n,r)}function ma(e,t){let n=e[zt];(3&n)===t&&(n&=8191,n+=1,e[zt]=n)}function $f(e,t,n,r){const u=r??-1,f=t.length-1;let m=0;for(let _=void 0!==r?65535&e[Qi]:0;_<f;_++)if("number"==typeof t[_+1]){if(m=t[_],null!=r&&m>=r)break}else t[_]<0&&(e[Qi]+=65536),(m<u||-1==u)&&(Ng(e,n,t,_),e[Qi]=(4294901760&e[Qi])+_+2),_++}function Hf(e,t){Wn(4,e,t);const n=vi(null);try{t.call(e)}finally{vi(n),Wn(5,e,t)}}function Ng(e,t,n,r){const c=n[r]<0,u=n[r+1],m=e[c?-n[r]:n[r]];c?e[zt]>>13<e[Qi]>>16&&(3&e[zt])===t&&(e[zt]+=8192,Hf(m,u)):Hf(m,u)}const ms=-1;class ga{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Fl(e){return e!==ms}function _a(e){return 32767&e}function gc(e,t){let n=function Uf(e){return e>>16}(e),r=t;for(;n>0;)r=r[bo],n--;return r}let _c=!0;function ba(e){const t=_c;return _c=e,t}const xu=255,wu=5;let zf=0;const Mo={};function gs(e,t){const n=Cu(e,t);if(-1!==n)return n;const r=t[vt];r.firstCreatePass&&(e.injectorIndex=t.length,Nl(r.data,e),Nl(t,null),Nl(r.blueprint,null));const c=Ll(e,t),u=e.injectorIndex;if(Fl(c)){const f=_a(c),m=gc(c,t),_=m[vt].data;for(let C=0;C<8;C++)t[u+C]=m[f+C]|_[f+C]}return t[u+8]=c,u}function Nl(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Cu(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ll(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,c=t;for(;null!==c;){if(r=Iu(c),null===r)return ms;if(n++,c=c[bo],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return ms}function Bl(e,t,n){!function Gf(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(nn)&&(r=n[nn]),null==r&&(r=n[nn]=zf++);const c=r&xu;t.data[e+(c>>wu)]|=1<<c}(e,t,n)}function $l(e,t,n){if(n&Tt.Optional||void 0!==e)return e;me()}function Du(e,t,n,r){if(n&Tt.Optional&&void 0===r&&(r=null),!(n&(Tt.Self|Tt.Host))){const c=e[Mi],u=kt(void 0);try{return c?c.get(t,r,n&Tt.Optional):ei(t,r,n&Tt.Optional)}finally{kt(u)}}return $l(r,0,n)}function Eu(e,t,n,r=Tt.Default,c){if(null!==e){if(2048&t[zt]&&!(r&Tt.Self)){const f=function Zf(e,t,n,r,c){let u=e,f=t;for(;null!==u&&null!==f&&2048&f[zt]&&!(512&f[zt]);){const m=Mu(u,f,n,r|Tt.Self,Mo);if(m!==Mo)return m;let _=u.parent;if(!_){const C=f[ir];if(C){const k=C.get(n,Mo,r);if(k!==Mo)return k}_=Iu(f),f=f[bo]}u=_}return c}(e,t,n,r,Mo);if(f!==Mo)return f}const u=Mu(e,t,n,r,Mo);if(u!==Mo)return u}return Du(t,n,r,c)}function Mu(e,t,n,r,c){const u=function Yf(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(nn)?e[nn]:void 0;return"number"==typeof t?t>=0?t&xu:Kf:t}(n);if("function"==typeof u){if(!ha(t,e,r))return r&Tt.Host?$l(c,0,r):Du(t,n,r,c);try{let f;if(f=u(r),null!=f||r&Tt.Optional)return f;me()}finally{vu()}}else if("number"==typeof u){let f=null,m=Cu(e,t),_=ms,C=r&Tt.Host?t[Mn][Bn]:null;for((-1===m||r&Tt.SkipSelf)&&(_=-1===m?Ll(e,t):t[m+8],_!==ms&&Au(r,!1)?(f=t[vt],m=_a(_),t=gc(_,t)):m=-1);-1!==m;){const k=t[vt];if(Tu(u,m,k.data)){const X=Wf(m,t,n,f,r,C);if(X!==Mo)return X}_=t[m+8],_!==ms&&Au(r,t[vt].data[m+8]===C)&&Tu(u,m,t)?(f=k,m=_a(_),t=gc(_,t)):m=-1}}return c}function Wf(e,t,n,r,c,u){const f=t[vt],m=f.data[e+8],k=bc(m,f,n,null==r?Vi(m)&&_c:r!=f&&0!=(3&m.type),c&Tt.Host&&u===m);return null!==k?Ar(t,f,k,m):Mo}function bc(e,t,n,r,c){const u=e.providerIndexes,f=t.data,m=1048575&u,_=e.directiveStart,k=u>>20,Re=c?m+k:e.directiveEnd;for(let Ge=r?m:m+k;Ge<Re;Ge++){const st=f[Ge];if(Ge<_&&n===st||Ge>=_&&st.type===n)return Ge}if(c){const Ge=f[_];if(Ge&&Ai(Ge)&&Ge.type===n)return _}return null}function Ar(e,t,n,r){let c=e[n];const u=t.data;if(function Lg(e){return e instanceof ga}(c)){const f=c;f.resolving&&function Ne(e,t){const n=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new H(-200,`Circular dependency in DI detected for ${e}${n}`)}(function He(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():xe(e)}(u[n]));const m=ba(f.canSeeViewProviders);f.resolving=!0;const C=f.injectImpl?kt(f.injectImpl):null;ha(e,r,Tt.Default);try{c=e[n]=f.factory(void 0,u,e,r),t.firstCreatePass&&n>=r.directiveStart&&function Bf(e,t,n){const{ngOnChanges:r,ngOnInit:c,ngDoCheck:u}=t.type.prototype;if(r){const f=Jt(t);(n.preOrderHooks??=[]).push(e,f),(n.preOrderCheckHooks??=[]).push(e,f)}c&&(n.preOrderHooks??=[]).push(0-e,c),u&&((n.preOrderHooks??=[]).push(e,u),(n.preOrderCheckHooks??=[]).push(e,u))}(n,u[n],t)}finally{null!==C&&kt(C),ba(m),f.resolving=!1,vu()}}return c}function Tu(e,t,n){return!!(n[t+(e>>wu)]&1<<e)}function Au(e,t){return!(e&Tt.Self||e&Tt.Host&&t)}class xi{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return Eu(this._tNode,this._lView,t,U(r),n)}}function Kf(){return new xi(An(),ft())}function Su(e){return E(()=>{const t=e.prototype.constructor,n=t[sn]||Hl(t),r=Object.prototype;let c=Object.getPrototypeOf(e.prototype).constructor;for(;c&&c!==r;){const u=c[sn]||Hl(c);if(u&&u!==n)return u;c=Object.getPrototypeOf(c)}return u=>new u})}function Hl(e){return B(e)?()=>{const t=Hl(ge(e));return t&&t()}:wo(e)}function Iu(e){const t=e[vt],n=t.type;return 2===n?t.declTNode:1===n?e[Bn]:null}function Vl(e){return function jg(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 c=0;for(;c<r;){const u=n[c];if(rn(u))break;if(0===u)c+=2;else if("number"==typeof u)for(c++;c<r&&"string"==typeof n[c];)c++;else{if(u===t)return n[c+1];c+=2}}}return null}(An(),e)}const bs="__parameters__";function ys(e,t,n){return E(()=>{const r=function jl(e){return function(...n){if(e){const r=e(...n);for(const c in r)this[c]=r[c]}}}(t);function c(...u){if(this instanceof c)return r.apply(this,u),this;const f=new c(...u);return m.annotation=f,m;function m(_,C,k){const X=_.hasOwnProperty(bs)?_[bs]:Object.defineProperty(_,bs,{value:[]})[bs];for(;X.length<=k;)X.push(null);return(X[k]=X[k]||[]).push(f),_}}return n&&(c.prototype=Object.create(n.prototype)),c.prototype.ngMetadataName=e,c.annotationCls=c,c})}function ur(e,t){e.forEach(n=>Array.isArray(n)?ur(n,t):t(n))}function Ri(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ya(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function xa(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function Gi(e,t,n){let r=Cs(e,t);return r>=0?e[1|r]=n:(r=~r,function Sr(e,t,n,r){let c=e.length;if(c==t)e.push(n,r);else if(1===c)e.push(r,e[0]),e[0]=n;else{for(c--,e.push(e[c-1],e[c]);c>t;)e[c]=e[c-2],c--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function ku(e,t){const n=Cs(e,t);if(n>=0)return e[1|n]}function Cs(e,t){return function Gl(e,t,n){let r=0,c=e.length>>n;for(;c!==r;){const u=r+(c-r>>1),f=e[u<<n];if(t===f)return u<<n;f>t?c=u:r=u+1}return~(c<<n)}(e,t,1)}const Or=Fe(ys("Optional"),8),Ds=Fe(ys("SkipSelf"),4);function Tc(e){return 128==(128&e.flags)}var Sc=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}(Sc||{});const Rr=/^>|^->|<!--|-->|--!>|<!-$/g,ql=/(<|>)/g,Jl="\u200b$1\u200b";const Ql=new Map;let rp=0;const ed="__ngContext__";function di(e,t){Jn(t)?(e[ed]=t[vo],function ap(e){Ql.set(e[vo],e)}(t)):e[ed]=t}let od;function rd(e,t){return od(e,t)}function Ia(e){const t=e[pn];return Un(t)?t[pn]:t}function Ku(e){return sd(e[lo])}function Zu(e){return sd(e[si])}function sd(e){for(;null!==e&&!Un(e);)e=e[si];return e}function Is(e,t,n,r,c){if(null!=r){let u,f=!1;Un(r)?u=r:Jn(r)&&(f=!0,r=r[_n]);const m=Tn(r);0===e&&null!==n?null==c?dd(t,n,m):hr(t,n,m,c||null,!0):1===e&&null!==n?hr(t,n,m,c||null,!0):2===e?function Lc(e,t,n){const r=Pc(e,t);r&&function no(e,t,n,r){e.removeChild(t,n,r)}(e,r,t,n)}(t,m,f):3===e&&t.destroyNode(m),null!=u&&function oh(e,t,n,r,c){const u=n[ci];u!==Tn(n)&&Is(t,e,r,u,c);for(let m=jn;m<n.length;m++){const _=n[m];Pa(_[vt],_,e,t,r,u)}}(t,e,u,n,c)}}function ad(e,t){return e.createComment(function Ma(e){return e.replace(Rr,t=>t.replace(ql,Jl))}(t))}function Oc(e,t,n){return e.createElement(t,n)}function kc(e,t){const n=e[Uo],r=n.indexOf(t);Er(t),n.splice(r,1)}function Rc(e,t){if(e.length<=jn)return;const n=jn+t,r=e[n];if(r){const c=r[Ti];null!==c&&c!==e&&kc(c,r),t>0&&(e[n-1][si]=r[si]);const u=ya(e,jn+t);!function pp(e,t){Pa(e,t,t[Wt],2,null,null),t[_n]=null,t[Bn]=null}(r[vt],r);const f=u[Hi];null!==f&&f.detachView(u[vt]),r[pn]=null,r[si]=null,r[zt]&=-129}return r}function ld(e,t){if(!(256&t[zt])){const n=t[Wt];t[yo]&&Dl(t[yo]),t[bi]&&Dl(t[bi]),n.destroyNode&&Pa(e,t,n,3,null,null),function ho(e){let t=e[lo];if(!t)return ka(e[vt],e);for(;t;){let n=null;if(Jn(t))n=t[lo];else{const r=t[jn];r&&(n=r)}if(!n){for(;t&&!t[si]&&t!==e;)Jn(t)&&ka(t[vt],t),t=t[pn];null===t&&(t=e),Jn(t)&&ka(t[vt],t),n=t&&t[si]}t=n}}(t)}}function ka(e,t){if(!(256&t[zt])){t[zt]&=-129,t[zt]|=256,function _p(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const c=t[n[r]];if(!(c instanceof ga)){const u=n[r+1];if(Array.isArray(u))for(let f=0;f<u.length;f+=2){const m=c[u[f]],_=u[f+1];Wn(4,m,_);try{_.call(m)}finally{Wn(5,m,_)}}else{Wn(4,c,u);try{u.call(c)}finally{Wn(5,c,u)}}}}}(e,t),function gp(e,t){const n=e.cleanup,r=t[Ho];if(null!==n)for(let u=0;u<n.length-1;u+=2)if("string"==typeof n[u]){const f=n[u+3];f>=0?r[f]():r[-f].unsubscribe(),u+=2}else n[u].call(r[n[u+1]]);null!==r&&(t[Ho]=null);const c=t[Xi];if(null!==c){t[Xi]=null;for(let u=0;u<c.length;u++)(0,c[u])()}}(e,t),1===t[vt].type&&t[Wt].destroy();const n=t[Ti];if(null!==n&&Un(t[pn])){n!==t[pn]&&kc(n,t);const r=t[Hi];null!==r&&r.detachView(e)}!function Xl(e){Ql.delete(e[vo])}(t)}}function ks(e,t,n){return function Qu(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[_n];{const{componentOffset:c}=r;if(c>-1){const{encapsulation:u}=e.data[r.directiveStart+c];if(u===Be.None||u===Be.Emulated)return null}return Ii(r,n)}}(e,t.parent,n)}function hr(e,t,n,r,c){e.insertBefore(t,n,r,c)}function dd(e,t,n){e.appendChild(t,n)}function ud(e,t,n,r,c){null!==r?hr(e,t,n,r,c):dd(e,t,n)}function Pc(e,t){return e.parentNode(t)}function hd(e,t,n){return fd(e,t,n)}let Rs,Bc,gd,_d,fd=function Xu(e,t,n){return 40&e.type?Ii(e,n):null};function Fc(e,t,n,r){const c=ks(e,r,t),u=t[Wt],m=hd(r.parent||t[Bn],r,t);if(null!=c)if(Array.isArray(n))for(let _=0;_<n.length;_++)ud(u,c,n[_],m,!1);else ud(u,c,n,m,!1);void 0!==Rs&&Rs(u,r,t,n,c)}function Pr(e,t){if(null!==t){const n=t.type;if(3&n)return Ii(t,e);if(4&n)return Nc(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Pr(e,r);{const c=e[t.index];return Un(c)?Nc(-1,c):Tn(c)}}if(32&n)return rd(t,e)()||Tn(e[t.index]);{const r=th(e,t);return null!==r?Array.isArray(r)?r[0]:Pr(Ia(e[Mn]),r):Pr(e,t.next)}}return null}function th(e,t){return null!==t?e[Mn][Bn].projection[t.projection]:null}function Nc(e,t){const n=jn+e+1;if(n<t.length){const r=t[n],c=r[vt].firstChild;if(null!==c)return Pr(r,c)}return t[ci]}function pd(e,t,n,r,c,u,f){for(;null!=n;){const m=r[n.index],_=n.type;if(f&&0===t&&(m&&di(Tn(m),r),n.flags|=2),32!=(32&n.flags))if(8&_)pd(e,t,n.child,r,c,u,!1),Is(t,e,c,m,u);else if(32&_){const C=rd(n,r);let k;for(;k=C();)Is(t,e,c,k,u);Is(t,e,c,m,u)}else 16&_?Fa(e,t,r,n,c,u):Is(t,e,c,m,u);n=f?n.projectionNext:n.next}}function Pa(e,t,n,r,c,u){pd(n,r,e.firstChild,t,c,u,!1)}function Fa(e,t,n,r,c,u){const f=n[Mn],_=f[Bn].projection[r.projection];if(Array.isArray(_))for(let C=0;C<_.length;C++)Is(t,e,c,_[C],u);else{let C=_;const k=f[pn];Tc(r)&&(C.flags|=128),pd(e,t,C,k,c,u,!0)}}function sh(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function ah(e,t,n){const{mergedAttrs:r,classes:c,styles:u}=n;null!==r&&zn(e,t,r),null!==c&&sh(e,t,c),null!==u&&function rh(e,t,n){e.setAttribute(t,"style",n)}(e,t,u)}function Ps(e){return function md(){if(void 0===Bc&&(Bc=null,Ut.trustedTypes))try{Bc=Ut.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return Bc}()?.createHTML(e)||e}function l_(e){gd=e}function Na(){if(void 0!==gd)return gd;if(typeof document<"u")return document;throw new H(210,!1)}function $c(e){return function Fs(){if(void 0===_d&&(_d=null,Ut.trustedTypes))try{_d=Ut.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch{}return _d}()?.createHTML(e)||e}class Fr{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${J})`}}class xp extends Fr{getTypeName(){return"HTML"}}class wp extends Fr{getTypeName(){return"Style"}}class Cp extends Fr{getTypeName(){return"Script"}}class Dp extends Fr{getTypeName(){return"URL"}}class Ep extends Fr{getTypeName(){return"ResourceURL"}}function Zo(e){return e instanceof Fr?e.changingThisBreaksApplicationSecurity:e}function Ns(e,t){const n=function Mp(e){return e instanceof Fr&&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 ${J})`)}return n===t}function Tp(e){return new xp(e)}function Ap(e){return new wp(e)}function Sp(e){return new Cp(e)}function d_(e){return new Dp(e)}function Ip(e){return new Ep(e)}class Op{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(Ps(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch{return null}}}class Hc{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(t){const n=this.inertDocument.createElement("template");return n.innerHTML=Ps(t),n}}const ph=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Vc(e){return(e=String(e)).match(ph)?e:"unsafe:"+e}function qo(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function La(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const mh=qo("area,br,col,hr,img,wbr"),jc=qo("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),kp=qo("rp,rt"),gh=La(mh,La(jc,qo("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),La(kp,qo("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),La(kp,jc)),_h=qo("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),M=La(_h,qo("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),qo("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Rp=qo("script,style,template");class Pp{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let c=this.checkClobberedElement(n,n.nextSibling);if(c){n=c;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!gh.hasOwnProperty(n))return this.sanitizedSomething=!0,!Rp.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let c=0;c<r.length;c++){const u=r.item(c),f=u.name,m=f.toLowerCase();if(!M.hasOwnProperty(m)){this.sanitizedSomething=!0;continue}let _=u.value;_h[m]&&(_=Vc(_)),this.buf.push(" ",f,'="',So(_),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();gh.hasOwnProperty(n)&&!mh.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(So(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const Fp=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ao=/([^\#-~ |!])/g;function So(e){return e.replace(/&/g,"&amp;").replace(Fp,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(Ao,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let wi;function Nr(e,t){let n=null;try{wi=wi||function hh(e){const t=new Hc(e);return function fh(){try{return!!(new window.DOMParser).parseFromString(Ps(""),"text/html")}catch{return!1}}()?new Op(t):t}(e);let r=t?String(t):"";n=wi.getInertBodyElement(r);let c=5,u=r;do{if(0===c)throw new Error("Failed to sanitize html because the input is unstable");c--,r=u,u=n.innerHTML,n=wi.getInertBodyElement(r)}while(r!==u);return Ps((new Pp).sanitizeChildren(Lr(n)||n))}finally{if(n){const r=Lr(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Lr(e){return"content"in e&&function Np(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Br=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}(Br||{});function bh(e){const t=function Ba(){const e=ft();return e&&e[Gn].sanitizer}();return t?$c(t.sanitize(Br.HTML,e)||""):Ns(e,"HTML")?$c(Zo(e)):Nr(Na(),xe(e))}class un{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=lt({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const vd=new un("ENVIRONMENT_INITIALIZER"),yh=new un("INJECTOR",-1),Io=new un("INJECTOR_DEF_TYPES");class oo{get(t,n=Ve){if(n===Ve){const r=new Error(`NullInjectorError: No provider for ${W(t)}!`);throw r.name="NullInjectorError",r}return n}}function Qo(e){return{\u0275providers:e}}function $r(...e){return{\u0275providers:Ls(0,e),\u0275fromNgModule:!0}}function Ls(e,...t){const n=[],r=new Set;let c;const u=f=>{n.push(f)};return ur(t,f=>{const m=f;zc(m,u,[],r)&&(c||=[],c.push(m))}),void 0!==c&&xh(c,u),n}function xh(e,t){for(let n=0;n<e.length;n++){const{ngModule:r,providers:c}=e[n];Oo(c,u=>{t(u,r)})}}function zc(e,t,n,r){if(!(e=ge(e)))return!1;let c=null,u=bt(e);const f=!u&&Xt(e);if(u||f){if(f&&!f.standalone)return!1;c=e}else{const _=e.ngModule;if(u=bt(_),!u)return!1;c=_}const m=r.has(c);if(f){if(m)return!1;if(r.add(c),f.dependencies){const _="function"==typeof f.dependencies?f.dependencies():f.dependencies;for(const C of _)zc(C,t,n,r)}}else{if(!u)return!1;{if(null!=u.imports&&!m){let C;r.add(c);try{ur(u.imports,k=>{zc(k,t,n,r)&&(C||=[],C.push(k))})}finally{}void 0!==C&&xh(C,t)}if(!m){const C=wo(c)||(()=>new c);t({provide:c,useFactory:C,deps:We},c),t({provide:Io,useValue:c,multi:!0},c),t({provide:vd,useValue:()=>xt(c),multi:!0},c)}const _=u.providers;if(null!=_&&!m){const C=e;Oo(_,k=>{t(k,C)})}}}return c!==e&&void 0!==e.providers}function Oo(e,t){for(let n of e)Z(n)&&(n=n.\u0275providers),Array.isArray(n)?Oo(n,t):t(n)}const ko=z({provide:String,useValue:z});function Gc(e){return null!==e&&"object"==typeof e&&ko in e}function Hr(e){return"function"==typeof e}const Yc=new un("Set Injector scope."),Wi={},pi={};let Vr;function Kc(){return void 0===Vr&&(Vr=new oo),Vr}class Ro{}class Zc extends Ro{get destroyed(){return this._destroyed}constructor(t,n,r,c){super(),this.parent=n,this.source=r,this.scopes=c,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,jr(t,f=>this.processProvider(f)),this.records.set(yh,Bs(void 0,this)),c.has("environment")&&this.records.set(Ro,Bs(void 0,this));const u=this.records.get(Yc);null!=u&&"string"==typeof u.value&&this.scopes.add(u.value),this.injectorDefTypes=new Set(this.get(Io.multi,We,Tt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const n of this._ngOnDestroyHooks)n.ngOnDestroy();const t=this._onDestroyHooks;this._onDestroyHooks=[];for(const n of t)n()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(t){return this.assertNotDestroyed(),this._onDestroyHooks.push(t),()=>this.removeOnDestroy(t)}runInContext(t){this.assertNotDestroyed();const n=qe(this),r=kt(void 0);try{return t()}finally{qe(n),kt(r)}}get(t,n=Ve,r=Tt.Default){if(this.assertNotDestroyed(),t.hasOwnProperty(dn))return t[dn](this);r=U(r);const u=qe(this),f=kt(void 0);try{if(!(r&Tt.SkipSelf)){let _=this.records.get(t);if(void 0===_){const C=function Up(e){return"function"==typeof e||"object"==typeof e&&e instanceof un}(t)&&Ie(t);_=C&&this.injectableDefInScope(C)?Bs(yd(t),Wi):null,this.records.set(t,_)}if(null!=_)return this.hydrate(t,_)}return(r&Tt.Self?Kc():this.parent).get(t,n=r&Tt.Optional&&n===Ve?null:n)}catch(m){if("NullInjectorError"===m.name){if((m[Oe]=m[Oe]||[]).unshift(W(t)),u)throw m;return function be(e,t,n,r){const c=e[Oe];throw t[G]&&c.unshift(t[G]),e.message=function w(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let c=W(t);if(Array.isArray(t))c=t.map(W).join(" -> ");else if("object"==typeof t){let u=[];for(let f in t)if(t.hasOwnProperty(f)){let m=t[f];u.push(f+":"+("string"==typeof m?JSON.stringify(m):W(m)))}c=`{${u.join(", ")}}`}return`${n}${r?"("+r+")":""}[${c}]: ${e.replace(pe,"\n ")}`}("\n"+e.message,c,n,r),e.ngTokenPath=c,e[Oe]=null,e}(m,t,"R3InjectorError",this.source)}throw m}finally{kt(f),qe(u)}}resolveInjectorInitializers(){const t=qe(this),n=kt(void 0);try{const c=this.get(vd.multi,We,Tt.Self);for(const u of c)u()}finally{qe(t),kt(n)}}toString(){const t=[],n=this.records;for(const r of n.keys())t.push(W(r));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new H(205,!1)}processProvider(t){let n=Hr(t=ge(t))?t:ge(t&&t.provide);const r=function jp(e){return Gc(e)?Bs(void 0,e.useValue):Bs(xd(e),Wi)}(t);if(Hr(t)||!0!==t.multi)this.records.get(n);else{let c=this.records.get(n);c||(c=Bs(void 0,Wi,!0),c.factory=()=>we(c.multi),this.records.set(n,c)),n=t,c.multi.push(t)}this.records.set(n,r)}hydrate(t,n){return n.value===Wi&&(n.value=pi,n.value=n.factory()),"object"==typeof n.value&&n.value&&function qc(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=ge(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 yd(e){const t=Ie(e),n=null!==t?t.factory:wo(e);if(null!==n)return n;if(e instanceof un)throw new H(204,!1);if(e instanceof Function)return function Vp(e){const t=e.length;if(t>0)throw xa(t,"?"),new H(204,!1);const n=function at(e){return e&&(e[Ot]||e[Rt])||null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new H(204,!1)}function xd(e,t,n){let r;if(Hr(e)){const c=ge(e);return wo(c)||yd(c)}if(Gc(e))r=()=>ge(e.useValue);else if(function Wc(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...we(e.deps||[]));else if(function wh(e){return!(!e||!e.useExisting)}(e))r=()=>xt(ge(e.useExisting));else{const c=ge(e&&(e.useClass||e.provide));if(!function Dh(e){return!!e.deps}(e))return wo(c)||yd(c);r=()=>new c(...we(e.deps))}return r}function Bs(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function jr(e,t){for(const n of e)Array.isArray(n)?jr(n,t):n&&Z(n)?jr(n.\u0275providers,t):t(n)}const Eh=new un("AppId",{providedIn:"root",factory:()=>Mh}),Mh="ng",Th=new un("Platform Initializer"),wd=new un("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),zp=new un("AnimationModuleType"),Gp=new un("CSP nonce",{providedIn:"root",factory:()=>Na().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});let Ah=(e,t,n)=>null;function Sd(e,t,n=!1){return Ah(e,t,n)}class tm{}class Oh{}class im{resolveComponentFactory(t){throw function nm(e){const t=Error(`No component factory found for ${W(e)}.`);return t.ngComponent=e,t}(t)}}let Va=(()=>{class e{static#e=this.NULL=new im}return e})();function om(){return Vs(An(),ft())}function Vs(e,t){return new ja(Ii(e,t))}let ja=(()=>{class e{constructor(n){this.nativeElement=n}static#e=this.__NG_ELEMENT_ID__=om}return e})();function rm(e){return e instanceof ja?e.nativeElement:e}class Rh{}let sm=(()=>{class e{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function am(){const e=ft(),n=Ui(An().index,e);return(Jn(n)?n:e)[Wt]}()}return e})(),cm=(()=>{class e{static#e=this.\u0275prov=lt({token:e,providedIn:"root",factory:()=>null})}return e})();class Ph{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const lm=new Ph("16.2.7"),kd={};function Bh(e,t=null,n=null,r){const c=$h(e,t,n,r);return c.resolveInjectorInitializers(),c}function $h(e,t=null,n=null,r,c=new Set){const u=[n||We,$r(e)];return r=r||("object"==typeof e?void 0:W(e)),new Zc(u,t||Kc(),r||null,c)}let fo=(()=>{class e{static#e=this.THROW_IF_NOT_FOUND=Ve;static#t=this.NULL=new oo;static create(n,r){if(Array.isArray(n))return Bh({name:""},r,n,"");{const c=n.name??"";return Bh({name:c},n.parent,n.providers,c)}}static#n=this.\u0275prov=lt({token:e,providedIn:"any",factory:()=>xt(yh)});static#i=this.__NG_ELEMENT_ID__=-1}return e})();function Vh(e){return e.ngOriginalError}class l{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&&Vh(t);for(;n&&Vh(n);)n=Vh(n);return n||null}}function p(e){return t=>{setTimeout(e,void 0,t)}}const b=class d extends h.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){let c=t,u=n||(()=>null),f=r;if(t&&"object"==typeof t){const _=t;c=_.next?.bind(_),u=_.error?.bind(_),f=_.complete?.bind(_)}this.__isAsync&&(u=p(u),c&&(c=p(c)),f&&(f=p(f)));const m=super.subscribe({next:c,error:u,complete:f});return t instanceof o.w0&&t.add(m),m}};function S(...e){}class Le{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new b(!1),this.onMicrotaskEmpty=new b(!1),this.onStable=new b(!1),this.onError=new b(!1),typeof Zone>"u")throw new H(908,!1);Zone.assertZonePatched();const c=this;c._nesting=0,c._outer=c._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(c._inner=c._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(c._inner=c._inner.fork(Zone.longStackTraceZoneSpec)),c.shouldCoalesceEventChangeDetection=!r&&n,c.shouldCoalesceRunChangeDetection=r,c.lastRequestAnimationFrameId=-1,c.nativeRequestAnimationFrame=function ee(){const e="function"==typeof Ut.requestAnimationFrame;let t=Ut[e?"requestAnimationFrame":"setTimeout"],n=Ut[e?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&t&&n){const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r);const c=n[Zone.__symbol__("OriginalDelegate")];c&&(n=c)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function Mt(e){const t=()=>{!function Dt(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Ut,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,At(e),e.isCheckStableRunning=!0,_t(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),At(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,c,u,f,m)=>{if(function js(e){return!(!Array.isArray(e)||1!==e.length)&&!0===e[0].data?.__ignore_ng_zone__}(m))return n.invokeTask(c,u,f,m);try{return Yt(e),n.invokeTask(c,u,f,m)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===u.type||e.shouldCoalesceRunChangeDetection)&&t(),Pn(e)}},onInvoke:(n,r,c,u,f,m,_)=>{try{return Yt(e),n.invoke(c,u,f,m,_)}finally{e.shouldCoalesceRunChangeDetection&&t(),Pn(e)}},onHasTask:(n,r,c,u)=>{n.hasTask(c,u),r===c&&("microTask"==u.change?(e._hasPendingMicrotasks=u.microTask,At(e),_t(e)):"macroTask"==u.change&&(e.hasPendingMacrotasks=u.macroTask))},onHandleError:(n,r,c,u)=>(n.handleError(c,u),e.runOutsideAngular(()=>e.onError.emit(u)),!1)})}(c)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Le.isInAngularZone())throw new H(909,!1)}static assertNotInAngularZone(){if(Le.isInAngularZone())throw new H(909,!1)}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,c){const u=this._inner,f=u.scheduleEventTask("NgZoneEvent: "+c,t,nt,S,S);try{return u.runTask(f,n,r)}finally{u.cancelTask(f)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const nt={};function _t(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 At(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Yt(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Pn(e){e._nesting--,_t(e)}class Qn{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new b,this.onMicrotaskEmpty=new b,this.onStable=new b,this.onError=new b}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,c){return t.apply(n,r)}}const mi=new un("",{providedIn:"root",factory:Xn});function Xn(){const e=ot(Le);let t=!0;const n=new De.y(c=>{t=e.isStable&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks,e.runOutsideAngular(()=>{c.next(t),c.complete()})}),r=new De.y(c=>{let u;e.runOutsideAngular(()=>{u=e.onStable.subscribe(()=>{Le.assertNotInAngularZone(),queueMicrotask(()=>{!t&&!e.hasPendingMacrotasks&&!e.hasPendingMicrotasks&&(t=!0,c.next(!0))})})});const f=e.onUnstable.subscribe(()=>{Le.assertInAngularZone(),t&&(t=!1,e.runOutsideAngular(()=>{c.next(!1)}))});return()=>{u.unsubscribe(),f.unsubscribe()}});return(0,Ee.T)(n,r.pipe((0,te.B)()))}let St=(()=>{class e{constructor(){this.renderDepth=0,this.handler=null}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){this.renderDepth--,0===this.renderDepth&&this.handler?.execute()}ngOnDestroy(){this.handler?.destroy(),this.handler=null}static#e=this.\u0275prov=lt({token:e,providedIn:"root",factory:()=>new e})}return e})();function Ft(e){for(;e;){e[zt]|=64;const t=Ia(e);if(Cr(e)&&!t)return e;e=t}return null}const Kn=new un("",{providedIn:"root",factory:()=>!1});let jh=null;function M_(e,t){return e[t]??S_()}function T_(e,t){const n=S_();n.producerNode?.length&&(e[t]=jh,n.lView=e,jh=A_())}const H0={...ta,consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Ft(e.lView)},lView:null};function A_(){return Object.create(H0)}function S_(){return jh??=A_(),jh}const Zt={};function I_(e){O_(cn(),ft(),yi()+e,!1)}function O_(e,t,n,r){if(!r)if(3==(3&t[zt])){const u=e.preOrderCheckHooks;null!==u&&ps(t,u,n)}else{const u=e.preOrderHooks;null!==u&&mc(t,u,0,n)}Wo(n)}function il(e,t=Tt.Default){const n=ft();return null===n?xt(e,t):Eu(An(),n,ge(e),t)}function k_(){throw new Error("invalid")}function Uh(e,t,n,r,c,u,f,m,_,C,k){const X=t.blueprint.slice();return X[_n]=c,X[zt]=140|r,(null!==C||e&&2048&e[zt])&&(X[zt]|=2048),hu(X),X[pn]=X[bo]=e,X[En]=n,X[Gn]=f||e&&e[Gn],X[Wt]=m||e&&e[Wt],X[Mi]=_||e&&e[Mi]||null,X[Bn]=u,X[vo]=function sp(){return rp++}(),X[ai]=k,X[ir]=C,X[Mn]=2==t.type?e[Mn]:X,X}function ol(e,t,n,r,c){let u=e.data[t];if(null===u)u=function mm(e,t,n,r,c){const u=lc(),f=ls(),_=e.data[t]=function K0(e,t,n,r,c,u){let f=t?t.injectorIndex:-1,m=0;return Mr()&&(m|=128),{type:n,index:r,insertBeforeIndex:null,injectorIndex:f,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:m,providerIndexes:0,value:c,attrs:u,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,f?u:u&&u.parent,n,t,r,c);return null===e.firstChild&&(e.firstChild=_),null!==u&&(f?null==u.child&&null!==_.parent&&(u.child=_):null===u.next&&(u.next=_,_.prev=u)),_}(e,t,n,r,c),function Pg(){return Bt.lFrame.inI18n}()&&(u.flags|=32);else if(64&u.type){u.type=n,u.value=r,u.attrs=c;const f=function Tr(){const e=Bt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();u.injectorIndex=null===f?-1:f.injectorIndex}return eo(u,!0),u}function Ld(e,t,n,r){if(0===n)return-1;const c=t.length;for(let u=0;u<n;u++)t.push(r),e.blueprint.push(r),e.data.push(null);return c}function R_(e,t,n,r,c){const u=M_(t,yo),f=yi(),m=2&r;try{Wo(-1),m&&t.length>en&&O_(e,t,en,!1),Wn(m?2:0,c);const C=m?u:null,k=tc(C);try{null!==C&&(C.dirty=!1),n(r,c)}finally{nc(C,k)}}finally{m&&null===t[yo]&&T_(t,yo),Wo(f),Wn(m?3:1,c)}}function gm(e,t,n){if(wr(t)){const r=vi(null);try{const u=t.directiveEnd;for(let f=t.directiveStart;f<u;f++){const m=e.data[f];m.contentQueries&&m.contentQueries(1,n[f],f)}}finally{vi(r)}}}function _m(e,t,n){cc()&&(function tx(e,t,n,r){const c=n.directiveStart,u=n.directiveEnd;Vi(n)&&function cx(e,t,n){const r=Ii(t,e),c=P_(n);let f=16;n.signals?f=4096:n.onPush&&(f=64);const m=zh(e,Uh(e,c,null,f,r,t,null,e[Gn].rendererFactory.createRenderer(r,n),null,null,null));e[t.index]=m}(t,n,e.data[c+n.componentOffset]),e.firstCreatePass||gs(n,t),di(r,t);const f=n.initialInputs;for(let m=c;m<u;m++){const _=e.data[m],C=Ar(t,e,m,n);di(C,t),null!==f&&lx(0,m-c,C,_,0,f),Ai(_)&&(Ui(n.index,t)[En]=Ar(t,e,m,n))}}(e,t,n,Ii(n,t)),64==(64&n.flags)&&$_(e,t,n))}function bm(e,t,n=Ii){const r=t.localNames;if(null!==r){let c=t.index+1;for(let u=0;u<r.length;u+=2){const f=r[u+1],m=-1===f?n(t,e):e[f];e[c++]=m}}}function P_(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=vm(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id):t}function vm(e,t,n,r,c,u,f,m,_,C,k){const X=en+r,Re=X+c,Ge=function j0(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Zt);return n}(X,Re),st="function"==typeof C?C():C;return Ge[vt]={type:e,blueprint:Ge,template:n,queries:null,viewQuery:m,declTNode:t,data:Ge.slice().fill(null,X),bindingStartIndex:X,expandoStartIndex:Re,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof u?u():u,pipeRegistry:"function"==typeof f?f():f,firstChild:null,schemas:_,consts:st,incompleteFirstPass:!1,ssrId:k}}let F_=e=>null;function N_(e,t,n,r){for(let c in e)if(e.hasOwnProperty(c)){n=null===n?{}:n;const u=e[c];null===r?L_(n,t,c,u):r.hasOwnProperty(c)&&L_(n,t,r[c],u)}return n}function L_(e,t,n,r){e.hasOwnProperty(n)?e[n].push(t,r):e[n]=[t,r]}function mo(e,t,n,r,c,u,f,m){const _=Ii(t,n);let k,C=t.inputs;!m&&null!=C&&(k=C[r])?(Dm(e,n,k,r,c),Vi(t)&&function J0(e,t){const n=Ui(t,e);16&n[zt]||(n[zt]|=64)}(n,t.index)):3&t.type&&(r=function q0(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),c=null!=f?f(c,t.value||"",r):c,u.setProperty(_,r,c))}function ym(e,t,n,r){if(cc()){const c=null===r?null:{"":-1},u=function ix(e,t){const n=e.directiveRegistry;let r=null,c=null;if(n)for(let u=0;u<n.length;u++){const f=n[u];if(Kr(t,f.selectors,!1))if(r||(r=[]),Ai(f))if(null!==f.findHostDirectiveDefs){const m=[];c=c||new Map,f.findHostDirectiveDefs(f,m,c),r.unshift(...m,f),xm(e,t,m.length)}else r.unshift(f),xm(e,t,0);else c=c||new Map,f.findHostDirectiveDefs?.(f,r,c),r.push(f)}return null===r?null:[r,c]}(e,n);let f,m;null===u?f=m=null:[f,m]=u,null!==f&&B_(e,t,n,f,c,m),c&&function ox(e,t,n){if(t){const r=e.localNames=[];for(let c=0;c<t.length;c+=2){const u=n[t[c+1]];if(null==u)throw new H(-301,!1);r.push(t[c],u)}}}(n,r,c)}n.mergedAttrs=Zn(n.mergedAttrs,n.attrs)}function B_(e,t,n,r,c,u){for(let C=0;C<r.length;C++)Bl(gs(n,t),e,r[C].type);!function sx(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,r.length);for(let C=0;C<r.length;C++){const k=r[C];k.providersResolver&&k.providersResolver(k)}let f=!1,m=!1,_=Ld(e,t,r.length,null);for(let C=0;C<r.length;C++){const k=r[C];n.mergedAttrs=Zn(n.mergedAttrs,k.hostAttrs),ax(e,n,t,_,k),rx(_,k,c),null!==k.contentQueries&&(n.flags|=4),(null!==k.hostBindings||null!==k.hostAttrs||0!==k.hostVars)&&(n.flags|=64);const X=k.type.prototype;!f&&(X.ngOnChanges||X.ngOnInit||X.ngDoCheck)&&((e.preOrderHooks??=[]).push(n.index),f=!0),!m&&(X.ngOnChanges||X.ngDoCheck)&&((e.preOrderCheckHooks??=[]).push(n.index),m=!0),_++}!function Z0(e,t,n){const c=t.directiveEnd,u=e.data,f=t.attrs,m=[];let _=null,C=null;for(let k=t.directiveStart;k<c;k++){const X=u[k],Re=n?n.get(X):null,st=Re?Re.outputs:null;_=N_(X.inputs,k,_,Re?Re.inputs:null),C=N_(X.outputs,k,C,st);const gt=null===_||null===f||Li(t)?null:dx(_,k,f);m.push(gt)}null!==_&&(_.hasOwnProperty("class")&&(t.flags|=8),_.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=m,t.inputs=_,t.outputs=C}(e,n,u)}function $_(e,t,n){const r=n.directiveStart,c=n.directiveEnd,u=n.index,f=function hc(){return Bt.lFrame.currentDirectiveIndex}();try{Wo(u);for(let m=r;m<c;m++){const _=e.data[m],C=t[m];ds(m),(null!==_.hostBindings||0!==_.hostVars||null!==_.hostAttrs)&&nx(_,C)}}finally{Wo(-1),ds(f)}}function nx(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function xm(e,t,n){t.componentOffset=n,(e.components??=[]).push(t.index)}function rx(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;Ai(t)&&(n[""]=e)}}function ax(e,t,n,r,c){e.data[r]=c;const u=c.factory||(c.factory=wo(c.type)),f=new ga(u,Ai(c),il);e.blueprint[r]=f,n[r]=f,function X0(e,t,n,r,c){const u=c.hostBindings;if(u){let f=e.hostBindingOpCodes;null===f&&(f=e.hostBindingOpCodes=[]);const m=~t.index;(function ex(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(f)!=m&&f.push(m),f.push(n,r,u)}}(e,t,r,Ld(e,n,c.hostVars,Zt),c)}function mr(e,t,n,r,c,u){const f=Ii(e,t);!function wm(e,t,n,r,c,u,f){if(null==u)e.removeAttribute(t,c,n);else{const m=null==f?xe(u):f(u,r||"",c);e.setAttribute(t,c,m,n)}}(t[Wt],f,u,e.value,n,r,c)}function lx(e,t,n,r,c,u){const f=u[t];if(null!==f)for(let m=0;m<f.length;)H_(r,n,f[m++],f[m++],f[m++])}function H_(e,t,n,r,c){const u=vi(null);try{const f=e.inputTransforms;null!==f&&f.hasOwnProperty(r)&&(c=f[r].call(t,c)),null!==e.setInput?e.setInput(t,c,n,r):t[r]=c}finally{vi(u)}}function dx(e,t,n){let r=null,c=0;for(;c<n.length;){const u=n[c];if(0!==u)if(5!==u){if("number"==typeof u)break;if(e.hasOwnProperty(u)){null===r&&(r=[]);const f=e[u];for(let m=0;m<f.length;m+=2)if(f[m]===t){r.push(u,f[m+1],n[c+1]);break}}c+=2}else c+=2;else c+=4}return r}function V_(e,t,n,r){return[e,!0,!1,t,null,0,r,n,null,null,null]}function j_(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const u=n[r+1];if(-1!==u){const f=e.data[u];_u(n[r]),f.contentQueries(2,t[u],u)}}}function zh(e,t){return e[lo]?e[Zs][si]=t:e[lo]=t,e[Zs]=t,t}function Cm(e,t,n){_u(0);const r=vi(null);try{t(e,n)}finally{vi(r)}}function U_(e){return e[Ho]||(e[Ho]=[])}function z_(e){return e.cleanup||(e.cleanup=[])}function G_(e,t,n){return(null===e||Ai(e))&&(n=function Dr(e){for(;Array.isArray(e);){if("object"==typeof e[Vo])return e;e=e[_n]}return null}(n[t.index])),n[Wt]}function W_(e,t){const n=e[Mi],r=n?n.get(l,null):null;r&&r.handleError(t)}function Dm(e,t,n,r,c){for(let u=0;u<n.length;){const f=n[u++],m=n[u++];H_(e.data[f],t[f],r,m,c)}}function ux(e,t){const n=Ui(t,e),r=n[vt];!function hx(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n);const c=n[_n];null!==c&&null===n[ai]&&(n[ai]=Sd(c,n[Mi])),Em(r,n,n[En])}function Em(e,t,n){hs(t);try{const r=e.viewQuery;null!==r&&Cm(1,r,n);const c=e.template;null!==c&&R_(e,t,c,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&j_(e,t),e.staticViewQueries&&Cm(2,e.viewQuery,n);const u=e.components;null!==u&&function fx(e,t){for(let n=0;n<t.length;n++)ux(e,t[n])}(t,u)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[zt]&=-5,Rl()}}let Y_=(()=>{class e{constructor(){this.all=new Set,this.queue=new Map}create(n,r,c){const u=typeof Zone>"u"?null:Zone.current,f=function Je(e,t,n){const r=Object.create(It);n&&(r.consumerAllowSignalWrites=!0),r.fn=e,r.schedule=t;const c=f=>{r.cleanupFn=f};return r.ref={notify:()=>Cl(r),run:()=>{if(r.dirty=!1,r.hasRun&&!ic(r))return;r.hasRun=!0;const f=tc(r);try{r.cleanupFn(),r.cleanupFn=ht,r.fn(c)}finally{nc(r,f)}},cleanup:()=>r.cleanupFn()},r.ref}(n,C=>{this.all.has(C)&&this.queue.set(C,u)},c);let m;this.all.add(f),f.notify();const _=()=>{f.cleanup(),m?.(),this.all.delete(f),this.queue.delete(f)};return m=r?.onDestroy(_),{destroy:_}}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}static#e=this.\u0275prov=lt({token:e,providedIn:"root",factory:()=>new e})}return e})();function Gh(e,t,n){let r=n?e.styles:null,c=n?e.classes:null,u=0;if(null!==t)for(let f=0;f<t.length;f++){const m=t[f];"number"==typeof m?u=m:1==u?c=ne(c,m):2==u&&(r=ne(r,m+": "+t[++f]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=c:e.classesWithoutHost=c}function Bd(e,t,n,r,c=!1){for(;null!==n;){const u=t[n.index];null!==u&&r.push(Tn(u)),Un(u)&&K_(u,r);const f=n.type;if(8&f)Bd(e,t,n.child,r);else if(32&f){const m=rd(n,t);let _;for(;_=m();)r.push(_)}else if(16&f){const m=th(t,n);if(Array.isArray(m))r.push(...m);else{const _=Ia(t[Mn]);Bd(_[vt],_,m,r,!0)}}n=c?n.projectionNext:n.next}return r}function K_(e,t){for(let n=jn;n<e.length;n++){const r=e[n],c=r[vt].firstChild;null!==c&&Bd(r[vt],r,c,t)}e[ci]!==e[_n]&&t.push(e[ci])}function Wh(e,t,n,r=!0){const c=t[Gn],u=c.rendererFactory,f=c.afterRenderEventManager;u.begin?.(),f?.begin();try{Z_(e,t,e.template,n)}catch(_){throw r&&W_(t,_),_}finally{u.end?.(),c.effectManager?.flush(),f?.end()}}function Z_(e,t,n,r){const c=t[zt];if(256!=(256&c)){t[Gn].effectManager?.flush(),hs(t);try{hu(t),function kf(e){return Bt.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&R_(e,t,n,2,r);const f=3==(3&c);if(f){const C=e.preOrderCheckHooks;null!==C&&ps(t,C,null)}else{const C=e.preOrderHooks;null!==C&&mc(t,C,0,null),ma(t,0)}if(function gx(e){for(let t=Ku(e);null!==t;t=Zu(t)){if(!t[or])continue;const n=t[Uo];for(let r=0;r<n.length;r++){as(n[r])}}}(t),q_(t,2),null!==e.contentQueries&&j_(e,t),f){const C=e.contentCheckHooks;null!==C&&ps(t,C)}else{const C=e.contentHooks;null!==C&&mc(t,C,1),ma(t,1)}!function V0(e,t){const n=e.hostBindingOpCodes;if(null===n)return;const r=M_(t,bi);try{for(let c=0;c<n.length;c++){const u=n[c];if(u<0)Wo(~u);else{const f=u,m=n[++c],_=n[++c];Rf(m,f),r.dirty=!1;const C=tc(r);try{_(2,t[f])}finally{nc(r,C)}}}}finally{null===t[bi]&&T_(t,bi),Wo(-1)}}(e,t);const m=e.components;null!==m&&Q_(t,m,0);const _=e.viewQuery;if(null!==_&&Cm(2,_,r),f){const C=e.viewCheckHooks;null!==C&&ps(t,C)}else{const C=e.viewHooks;null!==C&&mc(t,C,2),ma(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[zt]&=-73,Er(t)}finally{Rl()}}}function q_(e,t){for(let n=Ku(e);null!==n;n=Zu(n))for(let r=jn;r<n.length;r++)J_(n[r],t)}function _x(e,t,n){J_(Ui(t,e),n)}function J_(e,t){if(!function Mf(e){return 128==(128&e[zt])}(e))return;const n=e[vt],r=e[zt];if(80&r&&0===t||1024&r||2===t)Z_(n,e,n.template,e[En]);else if(e[_o]>0){q_(e,1);const c=n.components;null!==c&&Q_(e,c,1)}}function Q_(e,t,n){for(let r=0;r<t.length;r++)_x(e,t[r],n)}class $d{get rootNodes(){const t=this._lView,n=t[vt];return Bd(n,t,n.firstChild,[])}constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[En]}set context(t){this._lView[En]=t}get destroyed(){return 256==(256&this._lView[zt])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[pn];if(Un(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(Rc(t,r),ya(n,r))}this._attachedToViewContainer=!1}ld(this._lView[vt],this._lView)}onDestroy(t){!function fu(e,t){if(256==(256&e[zt]))throw new H(911,!1);null===e[Xi]&&(e[Xi]=[]),e[Xi].push(t)}(this._lView,t)}markForCheck(){Ft(this._cdRefInjectingView||this._lView)}detach(){this._lView[zt]&=-129}reattach(){this._lView[zt]|=128}detectChanges(){Wh(this._lView[vt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new H(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function mp(e,t){Pa(e,t,t[Wt],2,null,null)}(this._lView[vt],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new H(902,!1);this._appRef=t}}class bx extends $d{constructor(t){super(t),this._view=t}detectChanges(){const t=this._view;Wh(t[vt],t,t[En],!1)}checkNoChanges(){}get context(){return null}}class X_ extends Va{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Xt(t);return new Hd(n,this.ngModule)}}function eb(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}class yx{constructor(t,n){this.injector=t,this.parentInjector=n}get(t,n,r){r=U(r);const c=this.injector.get(t,kd,r);return c!==kd||n===kd?c:this.parentInjector.get(t,n,r)}}class Hd extends Oh{get inputs(){const t=this.componentDef,n=t.inputTransforms,r=eb(t.inputs);if(null!==n)for(const c of r)n.hasOwnProperty(c.propName)&&(c.transform=n[c.propName]);return r}get outputs(){return eb(this.componentDef.outputs)}constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function Ys(e){return e.map(Ws).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}create(t,n,r,c){let u=(c=c||this.ngModule)instanceof Ro?c:c?.injector;u&&null!==this.componentDef.getStandaloneInjector&&(u=this.componentDef.getStandaloneInjector(u)||u);const f=u?new yx(t,u):t,m=f.get(Rh,null);if(null===m)throw new H(407,!1);const X={rendererFactory:m,sanitizer:f.get(cm,null),effectManager:f.get(Y_,null),afterRenderEventManager:f.get(St,null)},Re=m.createRenderer(null,this.componentDef),Ge=this.componentDef.selectors[0][0]||"div",st=r?function U0(e,t,n,r){const u=r.get(Kn,!1)||n===Be.ShadowDom,f=e.selectRootElement(t,u);return function z0(e){F_(e)}(f),f}(Re,r,this.componentDef.encapsulation,f):Oc(Re,Ge,function vx(e){const t=e.toLowerCase();return"svg"===t?Go:"math"===t?"math":null}(Ge)),Nt=this.componentDef.signals?4608:this.componentDef.onPush?576:528;let pt=null;null!==st&&(pt=Sd(st,f,!0));const Kt=vm(0,null,null,1,0,null,null,null,null,null,null),on=Uh(null,Kt,null,Nt,null,null,X,Re,f,null,pt);let wn,ao;hs(on);try{const Yr=this.componentDef;let xl,Sg=null;Yr.findHostDirectiveDefs?(xl=[],Sg=new Map,Yr.findHostDirectiveDefs(Yr,xl,Sg),xl.push(Yr)):xl=[Yr];const AM=function wx(e,t){const n=e[vt],r=en;return e[r]=t,ol(n,r,2,"#host",null)}(on,st),SM=function Cx(e,t,n,r,c,u,f){const m=c[vt];!function Dx(e,t,n,r){for(const c of e)t.mergedAttrs=Zn(t.mergedAttrs,c.hostAttrs);null!==t.mergedAttrs&&(Gh(t,t.mergedAttrs,!0),null!==n&&ah(r,n,t))}(r,e,t,f);let _=null;null!==t&&(_=Sd(t,c[Mi]));const C=u.rendererFactory.createRenderer(t,n);let k=16;n.signals?k=4096:n.onPush&&(k=64);const X=Uh(c,P_(n),null,k,c[e.index],e,u,C,null,null,_);return m.firstCreatePass&&xm(m,e,r.length-1),zh(c,X),c[e.index]=X}(AM,st,Yr,xl,on,X,Re);ao=uu(Kt,en),st&&function Mx(e,t,n,r){if(r)zn(e,n,["ng-version",lm.full]);else{const{attrs:c,classes:u}=function fi(e){const t=[],n=[];let r=1,c=2;for(;r<e.length;){let u=e[r];if("string"==typeof u)2===c?""!==u&&t.push(u,e[++r]):8===c&&n.push(u);else{if(!Vn(c))break;c=u}r++}return{attrs:t,classes:n}}(t.selectors[0]);c&&zn(e,n,c),u&&u.length>0&&sh(e,n,u.join(" "))}}(Re,Yr,st,r),void 0!==n&&function Tx(e,t,n){const r=e.projection=[];for(let c=0;c<t.length;c++){const u=n[c];r.push(null!=u?Array.from(u):null)}}(ao,this.ngContentSelectors,n),wn=function Ex(e,t,n,r,c,u){const f=An(),m=c[vt],_=Ii(f,c);B_(m,c,f,n,null,r);for(let k=0;k<n.length;k++)di(Ar(c,m,f.directiveStart+k,f),c);$_(m,c,f),_&&di(_,c);const C=Ar(c,m,f.directiveStart+f.componentOffset,f);if(e[En]=c[En]=C,null!==u)for(const k of u)k(C,t);return gm(m,f,e),C}(SM,Yr,xl,Sg,on,[Ax]),Em(Kt,on,null)}finally{Rl()}return new xx(this.componentType,wn,Vs(ao,on),on,ao)}}class xx extends tm{constructor(t,n,r,c,u){super(),this.location=r,this._rootLView=c,this._tNode=u,this.previousInputValues=null,this.instance=n,this.hostView=this.changeDetectorRef=new bx(c),this.componentType=t}setInput(t,n){const r=this._tNode.inputs;let c;if(null!==r&&(c=r[t])){if(this.previousInputValues??=new Map,this.previousInputValues.has(t)&&Object.is(this.previousInputValues.get(t),n))return;const u=this._rootLView;Dm(u[vt],u,c,t,n),this.previousInputValues.set(t,n),Ft(Ui(this._tNode.index,u))}}get injector(){return new xi(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Ax(){const e=An();fs(ft()[vt],e)}function Mm(e){let t=function tb(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),n=!0;const r=[e];for(;t;){let c;if(Ai(e))c=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new H(903,!1);c=t.\u0275dir}if(c){if(n){r.push(c);const f=e;f.inputs=Yh(e.inputs),f.inputTransforms=Yh(e.inputTransforms),f.declaredInputs=Yh(e.declaredInputs),f.outputs=Yh(e.outputs);const m=c.hostBindings;m&&kx(e,m);const _=c.viewQuery,C=c.contentQueries;if(_&&Ix(e,_),C&&Ox(e,C),j(e.inputs,c.inputs),j(e.declaredInputs,c.declaredInputs),j(e.outputs,c.outputs),null!==c.inputTransforms&&(null===f.inputTransforms&&(f.inputTransforms={}),j(f.inputTransforms,c.inputTransforms)),Ai(c)&&c.data.animation){const k=e.data;k.animation=(k.animation||[]).concat(c.data.animation)}}const u=c.features;if(u)for(let f=0;f<u.length;f++){const m=u[f];m&&m.ngInherit&&m(e),m===Mm&&(n=!1)}}t=Object.getPrototypeOf(t)}!function Sx(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const c=e[r];c.hostVars=t+=c.hostVars,c.hostAttrs=Zn(c.hostAttrs,n=Zn(n,c.hostAttrs))}}(r)}function Yh(e){return e===Qe?{}:e===We?[]:e}function Ix(e,t){const n=e.viewQuery;e.viewQuery=n?(r,c)=>{t(r,c),n(r,c)}:t}function Ox(e,t){const n=e.contentQueries;e.contentQueries=n?(r,c,u)=>{t(r,c,u),n(r,c,u)}:t}function kx(e,t){const n=e.hostBindings;e.hostBindings=n?(r,c)=>{t(r,c),n(r,c)}:t}function Kh(e){return!!Tm(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function Tm(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function gr(e,t,n){return e[t]=n}function Ni(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Am(e,t,n,r){const c=ft();return Ni(c,da(),t)&&(cn(),mr(Cn(),c,e,t,n,r)),Am}function _b(e,t,n,r,c,u,f,m){const _=ft(),C=cn(),k=e+en,X=C.firstCreatePass?function ow(e,t,n,r,c,u,f,m,_){const C=t.consts,k=ol(t,e,4,f||null,zi(C,m));ym(t,n,k,zi(C,_)),fs(t,k);const X=k.tView=vm(2,k,r,c,u,t.directiveRegistry,t.pipeRegistry,null,t.schemas,C,null);return null!==t.queries&&(t.queries.template(t,k),X.queries=t.queries.embeddedTView(k)),k}(k,C,_,t,n,r,c,u,f):C.data[k];eo(X,!1);const Re=bb(C,_,X,e);Pl()&&Fc(C,_,Re,X),di(Re,_),zh(_,_[k]=V_(Re,_,Re,X)),rr(X)&&_m(C,_,X),null!=f&&bm(_,X,m)}let bb=function vb(e,t,n,r){return Eo(!0),t[Wt].createComment("")};function yb(e){return ss(function If(){return Bt.lFrame.contextLView}(),en+e)}function Pm(e,t,n){const r=ft();return Ni(r,da(),t)&&mo(cn(),Cn(),r,e,t,r[Wt],n,!1),Pm}function Fm(e,t,n,r,c){const f=c?"class":"style";Dm(e,n,t.inputs[f],f,r)}function Xh(e,t,n,r){const c=ft(),u=cn(),f=en+e,m=c[Wt],_=u.firstCreatePass?function cw(e,t,n,r,c,u){const f=t.consts,_=ol(t,e,2,r,zi(f,c));return ym(t,n,_,zi(f,u)),null!==_.attrs&&Gh(_,_.attrs,!1),null!==_.mergedAttrs&&Gh(_,_.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,_),_}(f,u,c,t,n,r):u.data[f],C=xb(u,c,_,m,t,e);c[f]=C;const k=rr(_);return eo(_,!0),ah(m,C,_),32!=(32&_.flags)&&Pl()&&Fc(u,c,C,_),0===function mu(){return Bt.lFrame.elementDepthCount}()&&di(C,c),function Il(){Bt.lFrame.elementDepthCount++}(),k&&(_m(u,c,_),gm(u,_,c)),null!==r&&bm(c,_),Xh}function ef(){let e=An();ls()?dc():(e=e.parent,eo(e,!1));const t=e;(function Rg(e){return Bt.skipHydrationRootTNode===e})(t)&&function ca(){Bt.skipHydrationRootTNode=null}(),function gu(){Bt.lFrame.elementDepthCount--}();const n=cn();return n.firstCreatePass&&(fs(n,e),wr(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function Vf(e){return 0!=(8&e.flags)}(t)&&Fm(n,t,ft(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function $g(e){return 0!=(16&e.flags)}(t)&&Fm(n,t,ft(),t.stylesWithoutHost,!1),ef}function Nm(e,t,n,r){return Xh(e,t,n,r),ef(),Nm}let xb=(e,t,n,r,c,u)=>(Eo(!0),Oc(r,c,function yu(){return Bt.lFrame.currentNamespace}()));function tf(e,t,n){const r=ft(),c=cn(),u=e+en,f=c.firstCreatePass?function uw(e,t,n,r,c){const u=t.consts,f=zi(u,r),m=ol(t,e,8,"ng-container",f);return null!==f&&Gh(m,f,!0),ym(t,n,m,zi(u,c)),null!==t.queries&&t.queries.elementStart(t,m),m}(u,c,r,t,n):c.data[u];eo(f,!0);const m=wb(c,r,f,e);return r[u]=m,Pl()&&Fc(c,r,m,f),di(m,r),rr(f)&&(_m(c,r,f),gm(c,f,r)),null!=n&&bm(r,f),tf}function nf(){let e=An();const t=cn();return ls()?dc():(e=e.parent,eo(e,!1)),t.firstCreatePass&&(fs(t,e),wr(e)&&t.queries.elementEnd(e)),nf}function Lm(e,t,n){return tf(e,t,n),nf(),Lm}let wb=(e,t,n,r)=>(Eo(!0),ad(t[Wt],""));function Cb(){return ft()}function Bm(e){return!!e&&"function"==typeof e.then}function Db(e){return!!e&&"function"==typeof e.subscribe}function $m(e,t,n,r){const c=ft(),u=cn(),f=An();return function Mb(e,t,n,r,c,u,f){const m=rr(r),C=e.firstCreatePass&&z_(e),k=t[En],X=U_(t);let Re=!0;if(3&r.type||f){const gt=Ii(r,t),Et=f?f(gt):gt,Nt=X.length,pt=f?on=>f(Tn(on[r.index])):r.index;let Kt=null;if(!f&&m&&(Kt=function pw(e,t,n,r){const c=e.cleanup;if(null!=c)for(let u=0;u<c.length-1;u+=2){const f=c[u];if(f===n&&c[u+1]===r){const m=t[Ho],_=c[u+2];return m.length>_?m[_]:null}"string"==typeof f&&(u+=2)}return null}(e,t,c,r.index)),null!==Kt)(Kt.__ngLastListenerFn__||Kt).__ngNextListenerFn__=u,Kt.__ngLastListenerFn__=u,Re=!1;else{u=Ab(r,t,k,u,!1);const on=n.listen(Et,c,u);X.push(u,on),C&&C.push(c,pt,Nt,Nt+1)}}else u=Ab(r,t,k,u,!1);const Ge=r.outputs;let st;if(Re&&null!==Ge&&(st=Ge[c])){const gt=st.length;if(gt)for(let Et=0;Et<gt;Et+=2){const wn=t[st[Et]][st[Et+1]].subscribe(u),ao=X.length;X.push(u,wn),C&&C.push(c,r.index,ao,-(ao+1))}}}(u,c,c[Wt],f,e,t,r),$m}function Tb(e,t,n,r){try{return Wn(6,t,n),!1!==n(r)}catch(c){return W_(e,c),!1}finally{Wn(7,t,n)}}function Ab(e,t,n,r,c){return function u(f){if(f===Function)return r;Ft(e.componentOffset>-1?Ui(e.index,t):t);let _=Tb(t,n,r,f),C=u.__ngNextListenerFn__;for(;C;)_=Tb(t,n,C,f)&&_,C=C.__ngNextListenerFn__;return c&&!1===_&&f.preventDefault(),_}}function Sb(e=1){return function Ff(e){return(Bt.lFrame.contextLView=function Nf(e,t){for(;e>0;)t=t[bo],e--;return t}(e,Bt.lFrame.contextLView))[En]}(e)}function mw(e,t){let n=null;const r=function Di(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(!(1&n))return t[n+1]}return null}(e);for(let c=0;c<t.length;c++){const u=t[c];if("*"!==u){if(null===r?Kr(e,u,!0):oi(r,u))return c}else n=c}return n}function Ib(e){const t=ft()[Mn][Bn];if(!t.projection){const r=t.projection=xa(e?e.length:1,null),c=r.slice();let u=t.child;for(;null!==u;){const f=e?mw(u,e):0;null!==f&&(c[f]?c[f].projectionNext=u:r[f]=u,c[f]=u),u=u.next}}}function Ob(e,t=0,n){const r=ft(),c=cn(),u=ol(c,en+e,16,null,n||null);null===u.projection&&(u.projection=t),dc(),(!r[ai]||Mr())&&32!=(32&u.flags)&&function ih(e,t,n){Fa(t[Wt],0,t,n,ks(e,n,t),hd(n.parent||t[Bn],n,t))}(c,r,u)}function rf(e,t){return e<<17|t<<2}function zs(e){return e>>17&32767}function Vm(e){return 2|e}function Wa(e){return(131068&e)>>2}function jm(e,t){return-131069&e|t<<2}function Um(e){return 1|e}function Vb(e,t,n,r,c){const u=e[n+1],f=null===t;let m=r?zs(u):Wa(u),_=!1;for(;0!==m&&(!1===_||f);){const k=e[m+1];xw(e[m],t)&&(_=!0,e[m+1]=r?Um(k):Vm(k)),m=r?zs(k):Wa(k)}_&&(e[n+1]=r?Vm(u):Um(u))}function xw(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Cs(e,t)>=0}const hi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function jb(e){return e.substring(hi.key,hi.keyEnd)}function Ub(e,t){const n=hi.textEnd;return n===t?-1:(t=hi.keyEnd=function Ew(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,hi.key=t,n),pl(e,t,n))}function pl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function zm(e,t,n){return Xo(e,t,n,!1),zm}function Gm(e,t){return Xo(e,t,null,!0),Gm}function Kb(e){!function er(e,t,n,r){const c=cn(),u=lr(2);c.firstUpdatePass&&qb(c,null,u,r);const f=ft();if(n!==Zt&&Ni(f,u,n)){const m=c.data[yi()];if(ev(m,r)&&!Zb(c,u)){let _=r?m.classesWithoutHost:m.stylesWithoutHost;null!==_&&(n=ne(_,n||"")),Fm(c,m,f,n,r)}else!function Fw(e,t,n,r,c,u,f,m){c===Zt&&(c=We);let _=0,C=0,k=0<c.length?c[0]:null,X=0<u.length?u[0]:null;for(;null!==k||null!==X;){const Re=_<c.length?c[_+1]:void 0,Ge=C<u.length?u[C+1]:void 0;let gt,st=null;k===X?(_+=2,C+=2,Re!==Ge&&(st=X,gt=Ge)):null===X||null!==k&&k<X?(_+=2,st=k):(C+=2,st=X,gt=Ge),null!==st&&Qb(e,t,n,r,st,gt,f,m),k=_<c.length?c[_]:null,X=C<u.length?u[C]:null}}(c,m,f,f[Wt],f[u+1],f[u+1]=function Rw(e,t,n){if(null==n||""===n)return We;const r=[],c=Zo(n);if(Array.isArray(c))for(let u=0;u<c.length;u++)e(r,c[u],!0);else if("object"==typeof c)for(const u in c)c.hasOwnProperty(u)&&e(r,u,c[u]);else"string"==typeof c&&t(r,c);return r}(e,t,n),r,u)}}(Pw,br,e,!0)}function br(e,t){for(let n=function Cw(e){return function Gb(e){hi.key=0,hi.keyEnd=0,hi.value=0,hi.valueEnd=0,hi.textEnd=e.length}(e),Ub(e,pl(e,0,hi.textEnd))}(t);n>=0;n=Ub(t,n))Gi(e,jb(t),!0)}function Xo(e,t,n,r){const c=ft(),u=cn(),f=lr(2);u.firstUpdatePass&&qb(u,e,f,r),t!==Zt&&Ni(c,f,t)&&Qb(u,u.data[yi()],c,c[Wt],e,c[f+1]=function Nw(e,t){return null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=W(Zo(e)))),e}(t,n),r,f)}function Zb(e,t){return t>=e.expandoStartIndex}function qb(e,t,n,r){const c=e.data;if(null===c[n+1]){const u=c[yi()],f=Zb(e,n);ev(u,r)&&null===t&&!f&&(t=!1),t=function Sw(e,t,n,r){const c=us(e);let u=r?t.residualClasses:t.residualStyles;if(null===c)0===(r?t.classBindings:t.styleBindings)&&(n=Gd(n=Wm(null,e,t,n,r),t.attrs,r),u=null);else{const f=t.directiveStylingLast;if(-1===f||e[f]!==c)if(n=Wm(c,e,t,n,r),null===u){let _=function Iw(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Wa(r))return e[zs(r)]}(e,t,r);void 0!==_&&Array.isArray(_)&&(_=Wm(null,e,t,_[1],r),_=Gd(_,t.attrs,r),function Ow(e,t,n,r){e[zs(n?t.classBindings:t.styleBindings)]=r}(e,t,r,_))}else u=function kw(e,t,n){let r;const c=t.directiveEnd;for(let u=1+t.directiveStylingLast;u<c;u++)r=Gd(r,e[u].hostAttrs,n);return Gd(r,t.attrs,n)}(e,t,r)}return void 0!==u&&(r?t.residualClasses=u:t.residualStyles=u),n}(c,u,t,r),function vw(e,t,n,r,c,u){let f=u?t.classBindings:t.styleBindings,m=zs(f),_=Wa(f);e[r]=n;let k,C=!1;if(Array.isArray(n)?(k=n[1],(null===k||Cs(n,k)>0)&&(C=!0)):k=n,c)if(0!==_){const Re=zs(e[m+1]);e[r+1]=rf(Re,m),0!==Re&&(e[Re+1]=jm(e[Re+1],r)),e[m+1]=function _w(e,t){return 131071&e|t<<17}(e[m+1],r)}else e[r+1]=rf(m,0),0!==m&&(e[m+1]=jm(e[m+1],r)),m=r;else e[r+1]=rf(_,0),0===m?m=r:e[_+1]=jm(e[_+1],r),_=r;C&&(e[r+1]=Vm(e[r+1])),Vb(e,k,r,!0),Vb(e,k,r,!1),function yw(e,t,n,r,c){const u=c?e.residualClasses:e.residualStyles;null!=u&&"string"==typeof t&&Cs(u,t)>=0&&(n[r+1]=Um(n[r+1]))}(t,k,e,r,u),f=rf(m,_),u?t.classBindings=f:t.styleBindings=f}(c,u,t,n,f,r)}}function Wm(e,t,n,r,c){let u=null;const f=n.directiveEnd;let m=n.directiveStylingLast;for(-1===m?m=n.directiveStart:m++;m<f&&(u=t[m],r=Gd(r,u.hostAttrs,c),u!==e);)m++;return null!==e&&(n.directiveStylingLast=m),r}function Gd(e,t,n){const r=n?1:2;let c=-1;if(null!==t)for(let u=0;u<t.length;u++){const f=t[u];"number"==typeof f?c=f:c===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Gi(e,f,!!n||t[++u]))}return void 0===e?null:e}function Pw(e,t,n){const r=String(t);""!==r&&!r.includes(" ")&&Gi(e,r,n)}function Qb(e,t,n,r,c,u,f,m){if(!(3&t.type))return;const _=e.data,C=_[m+1],k=function bw(e){return 1==(1&e)}(C)?Xb(_,t,n,c,Wa(C),f):void 0;sf(k)||(sf(u)||function gw(e){return 2==(2&e)}(C)&&(u=Xb(_,null,n,c,m,f)),function vp(e,t,n,r,c){if(t)c?e.addClass(n,r):e.removeClass(n,r);else{let u=-1===r.indexOf("-")?void 0:Sc.DashCase;null==c?e.removeStyle(n,r,u):("string"==typeof c&&c.endsWith("!important")&&(c=c.slice(0,-10),u|=Sc.Important),e.setStyle(n,r,c,u))}}(r,f,sc(yi(),n),c,u))}function Xb(e,t,n,r,c,u){const f=null===t;let m;for(;c>0;){const _=e[c],C=Array.isArray(_),k=C?_[1]:_,X=null===k;let Re=n[c+1];Re===Zt&&(Re=X?We:void 0);let Ge=X?ku(Re,r):k===r?Re:void 0;if(C&&!sf(Ge)&&(Ge=ku(_,r)),sf(Ge)&&(m=Ge,f))return m;const st=e[c+1];c=f?zs(st):Wa(st)}if(null!==t){let _=u?t.residualClasses:t.residualStyles;null!=_&&(m=ku(_,r))}return m}function sf(e){return void 0!==e}function ev(e,t){return 0!=(e.flags&(t?8:16))}function tv(e,t=""){const n=ft(),r=cn(),c=e+en,u=r.firstCreatePass?ol(r,c,1,t,null):r.data[c],f=nv(r,n,u,t,e);n[c]=f,Pl()&&Fc(r,n,f,u),eo(u,!1)}let nv=(e,t,n,r,c)=>(Eo(!0),function Os(e,t){return e.createText(t)}(t[Wt],r));function Ym(e){return af("",e,""),Ym}function af(e,t,n){const r=ft(),c=function sl(e,t,n,r){return Ni(e,da(),n)?t+xe(n)+r:Zt}(r,e,t,n);return c!==Zt&&function Wr(e,t,n){const r=sc(t,e);!function qu(e,t,n){e.setValue(t,n)}(e[Wt],r,n)}(r,yi(),c),af}function Km(e,t,n){const r=ft();return Ni(r,da(),t)&&mo(cn(),Cn(),r,e,t,r[Wt],n,!0),Km}function Zm(e,t,n){const r=ft();if(Ni(r,da(),t)){const u=cn(),f=Cn();mo(u,f,r,e,t,G_(us(u.data),f,r),n,!0)}return Zm}const Ya=void 0;var oC=["en",[["a","p"],["AM","PM"],Ya],[["AM","PM"],Ya,Ya],[["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"]],Ya,[["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"]],Ya,[["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}",Ya,"{1} 'at' {0}",Ya],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function iC(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let ml={};function qm(e){const t=function rC(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=xv(t);if(n)return n;const r=t.split("-")[0];if(n=xv(r),n)return n;if("en"===r)return oC;throw new H(701,!1)}function yv(e){return qm(e)[gl.PluralCase]}function xv(e){return e in ml||(ml[e]=Ut.ng&&Ut.ng.common&&Ut.ng.common.locales&&Ut.ng.common.locales[e]),ml[e]}var gl=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}(gl||{});const _l="en-US";let wv=_l;function Xm(e,t,n,r,c){if(e=ge(e),Array.isArray(e))for(let u=0;u<e.length;u++)Xm(e[u],t,n,r,c);else{const u=cn(),f=ft(),m=An();let _=Hr(e)?e:ge(e.provide);const C=xd(e),k=1048575&m.providerIndexes,X=m.directiveStart,Re=m.providerIndexes>>20;if(Hr(e)||!e.multi){const Ge=new ga(C,c,il),st=tg(_,t,c?k:k+Re,X);-1===st?(Bl(gs(m,f),u,_),eg(u,e,t.length),t.push(_),m.directiveStart++,m.directiveEnd++,c&&(m.providerIndexes+=1048576),n.push(Ge),f.push(Ge)):(n[st]=Ge,f[st]=Ge)}else{const Ge=tg(_,t,k+Re,X),st=tg(_,t,k,k+Re),Et=st>=0&&n[st];if(c&&!Et||!c&&!(Ge>=0&&n[Ge])){Bl(gs(m,f),u,_);const Nt=function iD(e,t,n,r,c){const u=new ga(e,n,il);return u.multi=[],u.index=t,u.componentProviders=0,Yv(u,c,r&&!n),u}(c?nD:tD,n.length,c,r,C);!c&&Et&&(n[st].providerFactory=Nt),eg(u,e,t.length,0),t.push(_),m.directiveStart++,m.directiveEnd++,c&&(m.providerIndexes+=1048576),n.push(Nt),f.push(Nt)}else eg(u,e,Ge>-1?Ge:st,Yv(n[c?st:Ge],C,!c&&r));!c&&r&&Et&&n[st].componentProviders++}}}function eg(e,t,n,r){const c=Hr(t),u=function Ch(e){return!!e.useClass}(t);if(c||u){const _=(u?ge(t.useClass):t).prototype.ngOnDestroy;if(_){const C=e.destroyHooks||(e.destroyHooks=[]);if(!c&&t.multi){const k=C.indexOf(n);-1===k?C.push(n,[r,_]):C[k+1].push(r,_)}else C.push(n,_)}}}function Yv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function tg(e,t,n,r){for(let c=n;c<r;c++)if(t[c]===e)return c;return-1}function tD(e,t,n,r){return ng(this.multi,[])}function nD(e,t,n,r){const c=this.multi;let u;if(this.providerFactory){const f=this.providerFactory.componentProviders,m=Ar(n,n[vt],this.providerFactory.index,r);u=m.slice(0,f),ng(c,u);for(let _=f;_<m.length;_++)u.push(m[_])}else u=[],ng(c,u);return u}function ng(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function Kv(e,t=[]){return n=>{n.providersResolver=(r,c)=>function eD(e,t,n){const r=cn();if(r.firstCreatePass){const c=Ai(e);Xm(n,r.data,r.blueprint,c,!0),Xm(t,r.data,r.blueprint,c,!1)}}(r,c?c(e):e,t)}}class Ka{}class oD{}function rD(e,t){return new ig(e,t??null,[])}class ig extends Ka{constructor(t,n,r){super(),this._parent=n,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new X_(this);const c=function ri(e,t){const n=e[Vt]||null;if(!n&&!0===t)throw new Error(`Type ${W(e)} does not have '\u0275mod' property.`);return n}(t);this._bootstrapComponents=function ui(e){return e instanceof Function?e():e}(c.bootstrap),this._r3Injector=$h(t,n,[{provide:Ka,useValue:this},{provide:Va,useValue:this.componentFactoryResolver},...r],W(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 og extends oD{constructor(t){super(),this.moduleType=t}create(t){return new ig(this.moduleType,t,[])}}class Zv extends Ka{constructor(t){super(),this.componentFactoryResolver=new X_(this),this.instance=null;const n=new Zc([...t.providers,{provide:Ka,useValue:this},{provide:Va,useValue:this.componentFactoryResolver}],t.parent||Kc(),t.debugName,new Set(["environment"]));this.injector=n,t.runEnvironmentInitializers&&n.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}let cD=(()=>{class e{constructor(n){this._injector=n,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(n){if(!n.standalone)return null;if(!this.cachedInjectors.has(n)){const r=Ls(0,n.type),c=r.length>0?function aD(e,t,n=null){return new Zv({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}([r],this._injector,`Standalone[${n.type.name}]`):null;this.cachedInjectors.set(n,c)}return this.cachedInjectors.get(n)}ngOnDestroy(){try{for(const n of this.cachedInjectors.values())null!==n&&n.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=lt({token:e,providedIn:"environment",factory:()=>new e(xt(Ro))})}return e})();function qv(e){e.getStandaloneInjector=t=>t.get(cD).getOrCreateStandaloneInjector(e)}function iy(e,t,n){const r=Oi()+e,c=ft();return c[r]===Zt?gr(c,r,n?t.call(n):t()):function Vd(e,t){return e[t]}(c,r)}function oy(e,t,n,r){return sy(ft(),Oi(),e,t,n,r)}function ry(e,t,n,r,c){return ay(ft(),Oi(),e,t,n,r,c)}function Jd(e,t){const n=e[t];return n===Zt?void 0:n}function sy(e,t,n,r,c,u){const f=t+n;return Ni(e,f,c)?gr(e,f+1,u?r.call(u,c):r(c)):Jd(e,f+1)}function ay(e,t,n,r,c,u,f){const m=t+n;return function Ga(e,t,n,r){const c=Ni(e,t,n);return Ni(e,t+1,r)||c}(e,m,c,u)?gr(e,m+2,f?r.call(f,c,u):r(c,u)):Jd(e,m+2)}function uy(e,t){const n=cn();let r;const c=e+en;n.firstCreatePass?(r=function DD(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[c]=r,r.onDestroy&&(n.destroyHooks??=[]).push(c,r.onDestroy)):r=n.data[c];const u=r.factory||(r.factory=wo(r.type)),m=kt(il);try{const _=ba(!1),C=u();return ba(_),function aw(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}(n,ft(),c,C),C}finally{kt(m)}}function hy(e,t,n){const r=e+en,c=ft(),u=ss(c,r);return Qd(c,r)?sy(c,Oi(),t,u.transform,n,u):u.transform(n)}function fy(e,t,n,r){const c=e+en,u=ft(),f=ss(u,c);return Qd(u,c)?ay(u,Oi(),t,f.transform,n,r,f):f.transform(n,r)}function Qd(e,t){return e[vt].data[t].pure}function AD(){return this._results[Symbol.iterator]()}class hf{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new b)}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=hf.prototype;n[Symbol.iterator]||(n[Symbol.iterator]=AD)}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 c=function ki(e){return e.flat(Number.POSITIVE_INFINITY)}(t);(this._changesDetected=!function Ul(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let c=e[r],u=t[r];if(n&&(c=n(c),u=n(u)),u!==c)return!1}return!0}(r._results,c,n))&&(r._results=c,r.length=c.length,r.last=c[this.length-1],r.first=c[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}function ID(e,t,n,r=!0){const c=t[vt];if(function cd(e,t,n,r){const c=jn+r,u=n.length;r>0&&(n[c-1][si]=t),r<u-jn?(t[si]=n[c],Ri(n,jn+r,t)):(n.push(t),t[si]=null),t[pn]=n;const f=t[Ti];null!==f&&n!==f&&function Oa(e,t){const n=e[Uo];t[Mn]!==t[pn][pn][Mn]&&(e[or]=!0),null===n?e[Uo]=[t]:n.push(t)}(f,t);const m=t[Hi];null!==m&&m.insertView(e),t[zt]|=128}(c,t,e,n),r){const u=Nc(n,e),f=t[Wt],m=Pc(f,e[ci]);null!==m&&function Ju(e,t,n,r,c,u){r[_n]=c,r[Bn]=t,Pa(e,r,n,1,c,u)}(c,e[Bn],f,t,m,u)}}let Xd=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=RD}return e})();const OD=Xd,kD=class extends OD{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)}createEmbeddedViewImpl(t,n,r){const c=function SD(e,t,n,r){const c=t.tView,m=Uh(e,c,n,4096&e[zt]?4096:16,null,t,null,null,null,r?.injector??null,r?.hydrationInfo??null);m[Ti]=e[t.index];const C=e[Hi];return null!==C&&(m[Hi]=C.createEmbeddedView(c)),Em(c,m,n),m}(this._declarationLView,this._declarationTContainer,t,{injector:n,hydrationInfo:r});return new $d(c)}};function RD(){return ff(An(),ft())}function ff(e,t){return 4&e.type?new kD(t,e,Vs(e,t)):null}let mf=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=$D}return e})();function $D(){return yy(An(),ft())}const HD=mf,by=class extends HD{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Vs(this._hostTNode,this._hostLView)}get injector(){return new xi(this._hostTNode,this._hostLView)}get parentInjector(){const t=Ll(this._hostTNode,this._hostLView);if(Fl(t)){const n=gc(t,this._hostLView),r=_a(t);return new xi(n[vt].data[r+8],n)}return new xi(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=vy(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-jn}createEmbeddedView(t,n,r){let c,u;"number"==typeof r?c=r:null!=r&&(c=r.index,u=r.injector);const m=t.createEmbeddedViewImpl(n||{},u,null);return this.insertImpl(m,c,false),m}createComponent(t,n,r,c,u){const f=t&&!function ws(e){return"function"==typeof e}(t);let m;if(f)m=n;else{const gt=n||{};m=gt.index,r=gt.injector,c=gt.projectableNodes,u=gt.environmentInjector||gt.ngModuleRef}const _=f?t:new Hd(Xt(t)),C=r||this.parentInjector;if(!u&&null==_.ngModule){const Et=(f?C:this.parentInjector).get(Ro,null);Et&&(u=Et)}Xt(_.componentType??{});const Ge=_.create(C,c,null,u);return this.insertImpl(Ge.hostView,m,false),Ge}insert(t,n){return this.insertImpl(t,n,!1)}insertImpl(t,n,r){const c=t._lView;if(function Sl(e){return Un(e[pn])}(c)){const _=this.indexOf(t);if(-1!==_)this.detach(_);else{const C=c[pn],k=new by(C,C[Bn],C[pn]);k.detach(k.indexOf(t))}}const f=this._adjustIndex(n),m=this._lContainer;return ID(m,c,f,!r),t.attachToViewContainerRef(),Ri(sg(m),f,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=vy(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=Rc(this._lContainer,n);r&&(ya(sg(this._lContainer),n),ld(r[vt],r))}detach(t){const n=this._adjustIndex(t,-1),r=Rc(this._lContainer,n);return r&&null!=ya(sg(this._lContainer),n)?new $d(r):null}_adjustIndex(t,n=0){return t??this.length+n}};function vy(e){return e[8]}function sg(e){return e[8]||(e[8]=[])}function yy(e,t){let n;const r=t[e.index];return Un(r)?n=r:(n=V_(r,t,null,e),t[e.index]=n,zh(t,n)),xy(n,t,e,r),new by(n,e,t)}let xy=function wy(e,t,n,r){if(e[ci])return;let c;c=8&n.type?Tn(r):function VD(e,t){const n=e[Wt],r=n.createComment(""),c=Ii(t,e);return hr(n,Pc(n,c),r,function bp(e,t){return e.nextSibling(t)}(n,c),!1),r}(t,n),e[ci]=c};class ag{constructor(t){this.queryList=t,this.matches=null}clone(){return new ag(this.queryList)}setDirty(){this.queryList.setDirty()}}class cg{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,c=[];for(let u=0;u<r;u++){const f=n.getByIndex(u);c.push(this.queries[f.indexInDeclarationView].clone())}return new cg(c)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==Oy(t,n).matches&&this.queries[n].setDirty()}}class Cy{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class lg{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const c=null!==n?n.length:0,u=this.getByIndex(r).embeddedTView(t,c);u&&(u.indexInDeclarationView=r,null!==n?n.push(u):n=[u])}return null!==n?new lg(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class dg{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new dg(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let c=0;c<r.length;c++){const u=r[c];this.matchTNodeWithReadOption(t,n,zD(n,u)),this.matchTNodeWithReadOption(t,n,bc(n,t,u,!1,!1))}else r===Xd?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,bc(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const c=this.metadata.read;if(null!==c)if(c===ja||c===mf||c===Xd&&4&n.type)this.addMatch(n.index,-2);else{const u=bc(n,t,c,!1,!1);null!==u&&this.addMatch(n.index,u)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function zD(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function WD(e,t,n,r){return-1===n?function GD(e,t){return 11&e.type?Vs(e,t):4&e.type?ff(e,t):null}(t,e):-2===n?function YD(e,t,n){return n===ja?Vs(t,e):n===Xd?ff(t,e):n===mf?yy(t,e):void 0}(e,t,r):Ar(e,e[vt],n,t)}function Dy(e,t,n,r){const c=t[Hi].queries[r];if(null===c.matches){const u=e.data,f=n.matches,m=[];for(let _=0;_<f.length;_+=2){const C=f[_];m.push(C<0?null:WD(t,u[C],f[_+1],n.metadata.read))}c.matches=m}return c.matches}function ug(e,t,n,r){const c=e.queries.getByIndex(n),u=c.matches;if(null!==u){const f=Dy(e,t,c,n);for(let m=0;m<u.length;m+=2){const _=u[m];if(_>0)r.push(f[m/2]);else{const C=u[m+1],k=t[-_];for(let X=jn;X<k.length;X++){const Re=k[X];Re[Ti]===Re[pn]&&ug(Re[vt],Re,C,r)}if(null!==k[Uo]){const X=k[Uo];for(let Re=0;Re<X.length;Re++){const Ge=X[Re];ug(Ge[vt],Ge,C,r)}}}}}return r}function Ey(e){const t=ft(),n=cn(),r=ua();_u(r+1);const c=Oy(n,r);if(e.dirty&&function Ef(e){return 4==(4&e[zt])}(t)===(2==(2&c.metadata.flags))){if(null===c.matches)e.reset([]);else{const u=c.crossesNgTemplate?ug(n,t,r,[]):Dy(n,t,c,r);e.reset(u,rm),e.notifyOnChanges()}return!0}return!1}function My(e,t,n){const r=cn();r.firstCreatePass&&(Iy(r,new Cy(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),Sy(r,ft(),t)}function Ty(e,t,n,r){const c=cn();if(c.firstCreatePass){const u=An();Iy(c,new Cy(t,n,r),u.index),function ZD(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(c,e),2==(2&n)&&(c.staticContentQueries=!0)}Sy(c,ft(),n)}function Ay(){return function KD(e,t){return e[Hi].queries[t].queryList}(ft(),ua())}function Sy(e,t,n){const r=new hf(4==(4&n));(function Y0(e,t,n,r){const c=U_(t);c.push(n),e.firstCreatePass&&z_(e).push(r,c.length-1)})(e,t,r,r.destroy),null===t[Hi]&&(t[Hi]=new cg),t[Hi].queries.push(new ag(r))}function Iy(e,t,n){null===e.queries&&(e.queries=new lg),e.queries.track(new dg(t,n))}function Oy(e,t){return e.queries.getByIndex(t)}function ky(e,t){return ff(e,t)}const gE=new un("Application Initializer");let gg=(()=>{class e{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((n,r)=>{this.resolve=n,this.reject=r}),this.appInits=ot(gE,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const n=[];for(const c of this.appInits){const u=c();if(Bm(u))n.push(u);else if(Db(u)){const f=new Promise((m,_)=>{u.subscribe({complete:m,error:_})});n.push(f)}}const r=()=>{this.done=!0,this.resolve()};Promise.all(n).then(()=>{r()}).catch(c=>{this.reject(c)}),0===n.length&&r(),this.initialized=!0}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const _f=new un("LocaleId",{providedIn:"root",factory:()=>ot(_f,Tt.Optional|Tt.SkipSelf)||function bE(){return typeof $localize<"u"&&$localize.locale||_l}()}),vE=new un("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let qy=(()=>{class e{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ae.X(!1)}add(){this.hasPendingTasks.next(!0);const n=this.taskId++;return this.pendingTasks.add(n),n}remove(n){this.pendingTasks.delete(n),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();const e0=new un(""),t0=new un("");let vg,VE=(()=>{class e{constructor(n,r,c){this._ngZone=n,this.registry=r,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,vg||(function jE(e){vg=e}(c),c.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:()=>{Le.assertNotInAngularZone(),queueMicrotask(()=>{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())queueMicrotask(()=>{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,c){let u=-1;r&&r>0&&(u=setTimeout(()=>{this._callbacks=this._callbacks.filter(f=>f.timeoutId!==u),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:u,updateCb:c})}whenStable(n,r,c){if(c&&!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,c),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(n){this.registry.registerApplication(n,this)}unregisterApplication(n){this.registry.unregisterApplication(n)}findProviders(n,r,c){return[]}static#e=this.\u0275fac=function(r){return new(r||e)(xt(Le),xt(n0),xt(t0))};static#t=this.\u0275prov=lt({token:e,factory:e.\u0275fac})}return e})(),n0=(()=>{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 vg?.findTestabilityInTree(this,n,r)??null}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})(),Gs=null;const o0=new un("AllowMultipleToken"),yg=new un("PlatformDestroyListeners"),r0=new un("appBootstrapListener");function c0(e,t,n=[]){const r=`Platform: ${t}`,c=new un(r);return(u=[])=>{let f=xg();if(!f||f.injector.get(o0,!1)){const m=[...n,...u,{provide:c,useValue:!0}];e?e(m):function GE(e){if(Gs&&!Gs.get(o0,!1))throw new H(400,!1);(function s0(){!function cu(e){au=e}(()=>{throw new H(600,!1)})})(),Gs=e;const t=e.get(d0);(function a0(e){e.get(Th,null)?.forEach(n=>n())})(e)}(function l0(e=[],t){return fo.create({name:t,providers:[{provide:Yc,useValue:"platform"},{provide:yg,useValue:new Set([()=>Gs=null])},...e]})}(m,r))}return function YE(e){const t=xg();if(!t)throw new H(401,!1);return t}()}}function xg(){return Gs?.get(d0)??null}let d0=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const c=function KE(e="zone.js",t){return"noop"===e?new Qn:"zone.js"===e?new Le(t):e}(r?.ngZone,function u0(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:e?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:e?.runCoalescing??!1}}({eventCoalescing:r?.ngZoneEventCoalescing,runCoalescing:r?.ngZoneRunCoalescing}));return c.run(()=>{const u=function sD(e,t,n){return new ig(e,t,n)}(n.moduleType,this.injector,function g0(e){return[{provide:Le,useFactory:e},{provide:vd,multi:!0,useFactory:()=>{const t=ot(qE,{optional:!0});return()=>t.initialize()}},{provide:m0,useFactory:ZE},{provide:mi,useFactory:Xn}]}(()=>c)),f=u.injector.get(l,null);return c.runOutsideAngular(()=>{const m=c.onError.subscribe({next:_=>{f.handleError(_)}});u.onDestroy(()=>{vf(this._modules,u),m.unsubscribe()})}),function h0(e,t,n){try{const r=n();return Bm(r)?r.catch(c=>{throw t.runOutsideAngular(()=>e.handleError(c)),c}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(f,c,()=>{const m=u.injector.get(gg);return m.runInitializers(),m.donePromise.then(()=>(function Cv(e){Ae(e,"Expected localeId to be defined"),"string"==typeof e&&(wv=e.toLowerCase().replace(/_/g,"-"))}(u.injector.get(_f,_l)||_l),this._moduleDoBootstrap(u),u))})})}bootstrapModule(n,r=[]){const c=f0({},r);return function UE(e,t,n){const r=new og(n);return Promise.resolve(r)}(0,0,n).then(u=>this.bootstrapModuleFactory(u,c))}_moduleDoBootstrap(n){const r=n.injector.get(yl);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(c=>r.bootstrap(c));else{if(!n.instance.ngDoBootstrap)throw new H(-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 H(404,!1);this._modules.slice().forEach(r=>r.destroy()),this._destroyListeners.forEach(r=>r());const n=this._injector.get(yg,null);n&&(n.forEach(r=>r()),n.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(r){return new(r||e)(xt(fo))};static#t=this.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"platform"})}return e})();function f0(e,t){return Array.isArray(t)?t.reduce(f0,e):{...e,...t}}let yl=(()=>{class e{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=ot(m0),this.zoneIsStable=ot(mi),this.componentTypes=[],this.components=[],this.isStable=ot(qy).hasPendingTasks.pipe((0,de.w)(n=>n?(0,se.of)(!1):this.zoneIsStable),(0,ce.x)(),(0,te.B)()),this._injector=ot(Ro)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(n,r){const c=n instanceof Oh;if(!this._injector.get(gg).done)throw!c&&function Ji(e){const t=Xt(e)||Ln(e)||qn(e);return null!==t&&t.standalone}(n),new H(405,!1);let f;f=c?n:this._injector.get(Va).resolveComponentFactory(n),this.componentTypes.push(f.componentType);const m=function zE(e){return e.isBoundToModule}(f)?void 0:this._injector.get(Ka),C=f.create(fo.NULL,[],r||f.selector,m),k=C.location.nativeElement,X=C.injector.get(e0,null);return X?.registerApplication(k),C.onDestroy(()=>{this.detachView(C.hostView),vf(this.components,C),X?.unregisterApplication(k)}),this._loadComponent(C),C}tick(){if(this._runningTick)throw new H(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;vf(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n);const r=this._injector.get(r0,[]);r.push(...this._bootstrapListeners),r.forEach(c=>c(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),()=>vf(this._destroyListeners,n)}destroy(){if(this._destroyed)throw new H(406,!1);const n=this._injector;n.destroy&&!n.destroyed&&n.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function vf(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const m0=new un("",{providedIn:"root",factory:()=>ot(l).handleError.bind(void 0)});function ZE(){const e=ot(Le),t=ot(l);return n=>e.runOutsideAngular(()=>t.handleError(n))}let qE=(()=>{class e{constructor(){this.zone=ot(Le),this.applicationRef=ot(yl)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(r){return new(r||e)};static#t=this.\u0275prov=lt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();function QE(){}let XE=(()=>{class e{static#e=this.__NG_ELEMENT_ID__=eM}return e})();function eM(e){return function tM(e,t,n){if(Vi(e)&&!n){const r=Ui(e.index,t);return new $d(r,r)}return 47&e.type?new $d(t[Mn],t):null}(An(),ft(),16==(16&e))}class y0{constructor(){}supports(t){return Kh(t)}create(t){return new aM(t)}}const sM=(e,t)=>t;class aM{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||sM}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,c=0,u=null;for(;n||r;){const f=!r||n&&n.currentIndex<w0(r,c,u)?n:r,m=w0(f,c,u),_=f.currentIndex;if(f===r)c--,r=r._nextRemoved;else if(n=n._next,null==f.previousIndex)c++;else{u||(u=[]);const C=m-c,k=_-c;if(C!=k){for(let Re=0;Re<C;Re++){const Ge=Re<u.length?u[Re]:u[Re]=0,st=Ge+Re;k<=st&&st<C&&(u[Re]=Ge+1)}u[f.previousIndex]=k-C}}m!==_&&t(f,m,_)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Kh(t))throw new H(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let c,u,f,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let m=0;m<this.length;m++)u=t[m],f=this._trackByFn(m,u),null!==n&&Object.is(n.trackById,f)?(r&&(n=this._verifyReinsertion(n,u,f,m)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,f,m),r=!0),n=n._next}else c=0,function Hx(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,m=>{f=this._trackByFn(c,m),null!==n&&Object.is(n.trackById,f)?(r&&(n=this._verifyReinsertion(n,m,f,c)),Object.is(n.item,m)||this._addIdentityChange(n,m)):(n=this._mismatch(n,m,f,c),r=!0),n=n._next,c++}),this.length=c;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,c){let u;return null===t?u=this._itTail:(u=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,u,c)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,c))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,u,c)):t=this._addAfter(new cM(n,r),u,c),t}_verifyReinsertion(t,n,r,c){let u=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==u?t=this._reinsertAfter(u,t._prev,c):t.currentIndex!=c&&(t.currentIndex=c,this._addToMoves(t,c)),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 c=t._prevRemoved,u=t._nextRemoved;return null===c?this._removalsHead=u:c._nextRemoved=u,null===u?this._removalsTail=c:u._prevRemoved=c,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 c=null===n?this._itHead:n._next;return t._next=c,t._prev=n,null===c?this._itTail=t:c._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new x0),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 x0),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 cM{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 lM{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 x0{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new lM,this.map.set(n,r)),r.add(t)}get(t,n){const c=this.map.get(t);return c?c.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 w0(e,t,n){const r=e.previousIndex;if(null===r)return r;let c=0;return n&&r<n.length&&(c=n[r]),r+t+c}class C0{constructor(){}supports(t){return t instanceof Map||Tm(t)}create(){return new dM}}class dM{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||Tm(t)))throw new H(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,c)=>{if(n&&n.key===c)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const u=this._getOrCreateRecordForKey(c,r);n=this._insertBeforeOrAppend(n,u)}}),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 c=this._records.get(t);this._maybeAddToChanges(c,n);const u=c._prev,f=c._next;return u&&(u._next=f),f&&(f._prev=u),c._next=null,c._prev=null,c}const r=new uM(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 uM{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 D0(){return new Mg([new y0])}let Mg=(()=>{class e{static#e=this.\u0275prov=lt({token:e,providedIn:"root",factory:D0});constructor(n){this.factories=n}static create(n,r){if(null!=r){const c=r.factories.slice();n=n.concat(c)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||D0()),deps:[[e,new Ds,new Or]]}}find(n){const r=this.factories.find(c=>c.supports(n));if(null!=r)return r;throw new H(901,!1)}}return e})();function E0(){return new Tg([new C0])}let Tg=(()=>{class e{static#e=this.\u0275prov=lt({token:e,providedIn:"root",factory:E0});constructor(n){this.factories=n}static create(n,r){if(r){const c=r.factories.slice();n=n.concat(c)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||E0()),deps:[[e,new Ds,new Or]]}}find(n){const r=this.factories.find(c=>c.supports(n));if(r)return r;throw new H(901,!1)}}return e})();const pM=c0(null,"core",[]);let mM=(()=>{class e{constructor(n){}static#e=this.\u0275fac=function(r){return new(r||e)(xt(yl))};static#t=this.\u0275mod=yr({type:e});static#n=this.\u0275inj=he({})}return e})();function MM(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}},8832:(et,Me,v)=>{"use strict";v.d(Me,{Cf:()=>B,F:()=>xn,Fj:()=>le,JJ:()=>at,JL:()=>bt,JU:()=>de,NI:()=>Bi,On:()=>fi,UX:()=>ts,_Y:()=>vr,a5:()=>he,kI:()=>J,oH:()=>Ji,sg:()=>Bo,u5:()=>qs});var h=v(7786),o=v(9462),De=v(107),Ee=v(6312),ae=v(8412);let se=(()=>{class D{constructor(y,$){this._renderer=y,this._elementRef=$,this.onChange=Ce=>{},this.onTouched=()=>{}}setProperty(y,$){this._renderer.setProperty(this._elementRef.nativeElement,y,$)}registerOnTouched(y){this.onTouched=y}registerOnChange(y){this.onChange=y}setDisabledState(y){this.setProperty("disabled",y)}static#e=this.\u0275fac=function($){return new($||D)(h.Y36(h.Qsj),h.Y36(h.SBq))};static#t=this.\u0275dir=h.lG2({type:D})}return D})(),te=(()=>{class D extends se{static#e=this.\u0275fac=function(){let y;return function(Ce){return(y||(y=h.n5z(D)))(Ce||D)}}();static#t=this.\u0275dir=h.lG2({type:D,features:[h.qOj]})}return D})();const de=new h.OlP("NgValueAccessor"),j={provide:de,useExisting:(0,h.Gpc)(()=>le),multi:!0},ne=new h.OlP("CompositionEventMode");let le=(()=>{class D extends se{constructor(y,$,Ce){super(y,$),this._compositionMode=Ce,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function W(){const D=(0,o.q)()?(0,o.q)().getUserAgent():"";return/android (\d+)/.test(D.toLowerCase())}())}writeValue(y){this.setProperty("value",y??"")}_handleInput(y){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(y)}_compositionStart(){this._composing=!0}_compositionEnd(y){this._composing=!1,this._compositionMode&&this.onChange(y)}static#e=this.\u0275fac=function($){return new($||D)(h.Y36(h.Qsj),h.Y36(h.SBq),h.Y36(ne,8))};static#t=this.\u0275dir=h.lG2({type:D,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($,Ce){1&$&&h.NdJ("input",function(Qt){return Ce._handleInput(Qt.target.value)})("blur",function(){return Ce.onTouched()})("compositionstart",function(){return Ce._compositionStart()})("compositionend",function(Qt){return Ce._compositionEnd(Qt.target.value)})},features:[h._Bn([j]),h.qOj]})}return D})();function ie(D){return null==D||("string"==typeof D||Array.isArray(D))&&0===D.length}function ge(D){return null!=D&&"number"==typeof D.length}const B=new h.OlP("NgValidators"),Z=new h.OlP("NgAsyncValidators"),re=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class J{static min(T){return function H(D){return T=>{if(ie(T.value)||ie(D))return null;const y=parseFloat(T.value);return!isNaN(y)&&y<D?{min:{min:D,actual:T.value}}:null}}(T)}static max(T){return function Se(D){return T=>{if(ie(T.value)||ie(D))return null;const y=parseFloat(T.value);return!isNaN(y)&&y>D?{max:{max:D,actual:T.value}}:null}}(T)}static required(T){return function xe(D){return ie(D.value)?{required:!0}:null}(T)}static requiredTrue(T){return function He(D){return!0===D.value?null:{required:!0}}(T)}static email(T){return function Ne(D){return ie(D.value)||re.test(D.value)?null:{email:!0}}(T)}static minLength(T){return function Pe(D){return T=>ie(T.value)||!ge(T.value)?null:T.value.length<D?{minlength:{requiredLength:D,actualLength:T.value.length}}:null}(T)}static maxLength(T){return function ct(D){return T=>ge(T.value)&&T.value.length>D?{maxlength:{requiredLength:D,actualLength:T.value.length}}:null}(T)}static pattern(T){return function me(D){if(!D)return Ke;let T,y;return"string"==typeof D?(y="","^"!==D.charAt(0)&&(y+="^"),y+=D,"$"!==D.charAt(D.length-1)&&(y+="$"),T=new RegExp(y)):(y=D.toString(),T=D),$=>{if(ie($.value))return null;const Ce=$.value;return T.test(Ce)?null:{pattern:{requiredPattern:y,actualValue:Ce}}}}(T)}static nullValidator(T){return null}static compose(T){return F(T)}static composeAsync(T){return P(T)}}function Ke(D){return null}function ve(D){return null!=D}function je(D){return(0,h.QGY)(D)?(0,De.D)(D):D}function Xe(D){let T={};return D.forEach(y=>{T=null!=y?{...T,...y}:T}),0===Object.keys(T).length?null:T}function ze(D,T){return T.map(y=>y(D))}function K(D){return D.map(T=>function V(D){return!D.validate}(T)?T:y=>T.validate(y))}function F(D){if(!D)return null;const T=D.filter(ve);return 0==T.length?null:function(y){return Xe(ze(y,T))}}function R(D){return null!=D?F(K(D)):null}function P(D){if(!D)return null;const T=D.filter(ve);return 0==T.length?null:function(y){const $=ze(y,T).map(je);return(0,Ee.D)($).pipe((0,ae.U)(Xe))}}function L(D){return null!=D?P(K(D)):null}function Q(D,T){return null===D?[T]:Array.isArray(D)?[...D,T]:[D,T]}function q(D){return D._rawValidators}function Ae(D){return D._rawAsyncValidators}function Ue(D){return D?Array.isArray(D)?D:[D]:[]}function ut(D,T){return Array.isArray(D)?D.includes(T):D===T}function it(D,T){const y=Ue(T);return Ue(D).forEach(Ce=>{ut(y,Ce)||y.push(Ce)}),y}function dt(D,T){return Ue(T).filter(y=>!ut(D,y))}class lt{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=R(this._rawValidators)}_setAsyncValidators(T){this._rawAsyncValidators=T||[],this._composedAsyncValidatorFn=L(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,y){return!!this.control&&this.control.hasError(T,y)}getError(T,y){return this.control?this.control.getError(T,y):null}}class ke extends lt{get formDirective(){return null}get path(){return null}}class he extends lt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ie{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 at=(()=>{class D extends Ie{constructor(y){super(y)}static#e=this.\u0275fac=function($){return new($||D)(h.Y36(he,2))};static#t=this.\u0275dir=h.lG2({type:D,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function($,Ce){2&$&&h.ekj("ng-untouched",Ce.isUntouched)("ng-touched",Ce.isTouched)("ng-pristine",Ce.isPristine)("ng-dirty",Ce.isDirty)("ng-valid",Ce.isValid)("ng-invalid",Ce.isInvalid)("ng-pending",Ce.isPending)},features:[h.qOj]})}return D})(),bt=(()=>{class D extends Ie{constructor(y){super(y)}static#e=this.\u0275fac=function($){return new($||D)(h.Y36(ke,10))};static#t=this.\u0275dir=h.lG2({type:D,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function($,Ce){2&$&&h.ekj("ng-untouched",Ce.isUntouched)("ng-touched",Ce.isTouched)("ng-pristine",Ce.isPristine)("ng-dirty",Ce.isDirty)("ng-valid",Ce.isValid)("ng-invalid",Ce.isInvalid)("ng-pending",Ce.isPending)("ng-submitted",Ce.isSubmitted)},features:[h.qOj]})}return D})();const Nn="VALID",Sn="INVALID",In="PENDING",Dn="DISABLED";function kn(D){return(oe(D)?D.validators:D)||null}function Ze(D,T){return(oe(T)?T.asyncValidators:D)||null}function oe(D){return null!=D&&!Array.isArray(D)&&"object"==typeof D}class pe{constructor(T,y){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(y)}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===Nn}get invalid(){return this.status===Sn}get pending(){return this.status==In}get disabled(){return this.status===Dn}get enabled(){return this.status!==Dn}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(it(T,this._rawValidators))}addAsyncValidators(T){this.setAsyncValidators(it(T,this._rawAsyncValidators))}removeValidators(T){this.setValidators(dt(T,this._rawValidators))}removeAsyncValidators(T){this.setAsyncValidators(dt(T,this._rawAsyncValidators))}hasValidator(T){return ut(this._rawValidators,T)}hasAsyncValidator(T){return ut(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(y=>{y.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(y=>{y.markAsPristine({onlySelf:!0})}),this._parent&&!T.onlySelf&&this._parent._updatePristine(T)}markAsPending(T={}){this.status=In,!1!==T.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!T.onlySelf&&this._parent.markAsPending(T)}disable(T={}){const y=this._parentMarkedDirty(T.onlySelf);this.status=Dn,this.errors=null,this._forEachChild($=>{$.disable({...T,onlySelf:!0})}),this._updateValue(),!1!==T.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...T,skipPristineCheck:y}),this._onDisabledChange.forEach($=>$(!0))}enable(T={}){const y=this._parentMarkedDirty(T.onlySelf);this.status=Nn,this._forEachChild($=>{$.enable({...T,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent}),this._updateAncestors({...T,skipPristineCheck:y}),this._onDisabledChange.forEach($=>$(!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===Nn||this.status===In)&&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(y=>y._updateTreeValidity(T)),this.updateValueAndValidity({onlySelf:!0,emitEvent:T.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Dn:Nn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(T){if(this.asyncValidator){this.status=In,this._hasOwnPendingAsyncValidator=!0;const y=je(this.asyncValidator(this));this._asyncValidationSubscription=y.subscribe($=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors($,{emitEvent:T})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(T,y={}){this.errors=T,this._updateControlsErrors(!1!==y.emitEvent)}get(T){let y=T;return null==y||(Array.isArray(y)||(y=y.split(".")),0===y.length)?null:y.reduce(($,Ce)=>$&&$._find(Ce),this)}getError(T,y){const $=y?this.get(y):this;return $&&$.errors?$.errors[T]:null}hasError(T,y){return!!this.getError(T,y)}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 h.vpe,this.statusChanges=new h.vpe}_calculateStatus(){return this._allControlsDisabled()?Dn:this.errors?Sn:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(In)?In:this._anyControlsHaveStatus(Sn)?Sn:Nn}_anyControlsHaveStatus(T){return this._anyControls(y=>y.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){oe(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 gn(D){return Array.isArray(D)?R(D):D||null}(this._rawValidators)}_assignAsyncValidators(T){this._rawAsyncValidators=Array.isArray(T)?T.slice():T,this._composedAsyncValidatorFn=function Ve(D){return Array.isArray(D)?L(D):D||null}(this._rawAsyncValidators)}}class O extends pe{constructor(T,y,$){super(kn(y),Ze($,y)),this.controls=T,this._initObservables(),this._setUpdateStrategy(y),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(T,y){return this.controls[T]?this.controls[T]:(this.controls[T]=y,y.setParent(this),y._registerOnCollectionChange(this._onCollectionChange),y)}addControl(T,y,$={}){this.registerControl(T,y),this.updateValueAndValidity({emitEvent:$.emitEvent}),this._onCollectionChange()}removeControl(T,y={}){this.controls[T]&&this.controls[T]._registerOnCollectionChange(()=>{}),delete this.controls[T],this.updateValueAndValidity({emitEvent:y.emitEvent}),this._onCollectionChange()}setControl(T,y,$={}){this.controls[T]&&this.controls[T]._registerOnCollectionChange(()=>{}),delete this.controls[T],y&&this.registerControl(T,y),this.updateValueAndValidity({emitEvent:$.emitEvent}),this._onCollectionChange()}contains(T){return this.controls.hasOwnProperty(T)&&this.controls[T].enabled}setValue(T,y={}){(function ye(D,T,y){D._forEachChild(($,Ce)=>{if(void 0===y[Ce])throw new h.vHH(1002,"")})})(this,0,T),Object.keys(T).forEach($=>{(function Oe(D,T,y){const $=D.controls;if(!(T?Object.keys($):$).length)throw new h.vHH(1e3,"");if(!$[y])throw new h.vHH(1001,"")})(this,!0,$),this.controls[$].setValue(T[$],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y)}patchValue(T,y={}){null!=T&&(Object.keys(T).forEach($=>{const Ce=this.controls[$];Ce&&Ce.patchValue(T[$],{onlySelf:!0,emitEvent:y.emitEvent})}),this.updateValueAndValidity(y))}reset(T={},y={}){this._forEachChild(($,Ce)=>{$.reset(T[Ce],{onlySelf:!0,emitEvent:y.emitEvent})}),this._updatePristine(y),this._updateTouched(y),this.updateValueAndValidity(y)}getRawValue(){return this._reduceChildren({},(T,y,$)=>(T[$]=y.getRawValue(),T))}_syncPendingControls(){let T=this._reduceChildren(!1,(y,$)=>!!$._syncPendingControls()||y);return T&&this.updateValueAndValidity({onlySelf:!0}),T}_forEachChild(T){Object.keys(this.controls).forEach(y=>{const $=this.controls[y];$&&T($,y)})}_setUpControls(){this._forEachChild(T=>{T.setParent(this),T._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(T){for(const[y,$]of Object.entries(this.controls))if(this.contains(y)&&T($))return!0;return!1}_reduceValue(){return this._reduceChildren({},(y,$,Ce)=>(($.enabled||this.disabled)&&(y[Ce]=$.value),y))}_reduceChildren(T,y){let $=T;return this._forEachChild((Ce,Pt)=>{$=y($,Ce,Pt)}),$}_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 yt=new h.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>xt}),xt="always";function ot(D,T,y=xt){rt(D,T),T.valueAccessor.writeValue(D.value),(D.disabled||"always"===y)&&T.valueAccessor.setDisabledState?.(D.disabled),function w(D,T){T.valueAccessor.registerOnChange(y=>{D._pendingValue=y,D._pendingChange=!0,D._pendingDirty=!0,"change"===D.updateOn&&Y(D,T)})}(D,T),function Be(D,T){const y=($,Ce)=>{T.valueAccessor.writeValue($),Ce&&T.viewToModelUpdate($)};D.registerOnChange(y),T._registerOnDestroy(()=>{D._unregisterOnChange(y)})}(D,T),function E(D,T){T.valueAccessor.registerOnTouched(()=>{D._pendingTouched=!0,"blur"===D.updateOn&&D._pendingChange&&Y(D,T),"submit"!==D.updateOn&&D.markAsTouched()})}(D,T),function Fe(D,T){if(T.valueAccessor.setDisabledState){const y=$=>{T.valueAccessor.setDisabledState($)};D.registerOnDisabledChange(y),T._registerOnDestroy(()=>{D._unregisterOnDisabledChange(y)})}}(D,T)}function U(D,T,y=!0){const $=()=>{};T.valueAccessor&&(T.valueAccessor.registerOnChange($),T.valueAccessor.registerOnTouched($)),be(D,T),D&&(T._invokeOnDestroyCallbacks(),D._registerOnCollectionChange(()=>{}))}function we(D,T){D.forEach(y=>{y.registerOnValidatorChange&&y.registerOnValidatorChange(T)})}function rt(D,T){const y=q(D);null!==T.validator?D.setValidators(Q(y,T.validator)):"function"==typeof y&&D.setValidators([y]);const $=Ae(D);null!==T.asyncValidator?D.setAsyncValidators(Q($,T.asyncValidator)):"function"==typeof $&&D.setAsyncValidators([$]);const Ce=()=>D.updateValueAndValidity();we(T._rawValidators,Ce),we(T._rawAsyncValidators,Ce)}function be(D,T){let y=!1;if(null!==D){if(null!==T.validator){const Ce=q(D);if(Array.isArray(Ce)&&Ce.length>0){const Pt=Ce.filter(Qt=>Qt!==T.validator);Pt.length!==Ce.length&&(y=!0,D.setValidators(Pt))}}if(null!==T.asyncValidator){const Ce=Ae(D);if(Array.isArray(Ce)&&Ce.length>0){const Pt=Ce.filter(Qt=>Qt!==T.asyncValidator);Pt.length!==Ce.length&&(y=!0,D.setAsyncValidators(Pt))}}}const $=()=>{};return we(T._rawValidators,$),we(T._rawAsyncValidators,$),y}function Y(D,T){D._pendingDirty&&D.markAsDirty(),D.setValue(D._pendingValue,{emitModelToViewChange:!1}),T.viewToModelUpdate(D._pendingValue),D._pendingChange=!1}function Qe(D,T){rt(D,T)}function nn(D,T){if(!D.hasOwnProperty("model"))return!1;const y=D.model;return!!y.isFirstChange()||!Object.is(T,y.currentValue)}function _i(D,T){D._syncPendingControls(),T.forEach(y=>{const $=y.control;"submit"===$.updateOn&&$._pendingChange&&(y.viewToModelUpdate($._pendingValue),$._pendingChange=!1)})}function zn(D,T){if(!T)return null;let y,$,Ce;return Array.isArray(T),T.forEach(Pt=>{Pt.constructor===le?y=Pt:function dn(D){return Object.getPrototypeOf(D.constructor)===te}(Pt)?$=Pt:Ce=Pt}),Ce||$||y||null}const Zn={provide:ke,useExisting:(0,h.Gpc)(()=>xn)},ni=(()=>Promise.resolve())();let xn=(()=>{class D extends ke{constructor(y,$,Ce){super(),this.callSetDisabledState=Ce,this.submitted=!1,this._directives=new Set,this.ngSubmit=new h.vpe,this.form=new O({},R(y),L($))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(y){ni.then(()=>{const $=this._findContainer(y.path);y.control=$.registerControl(y.name,y.control),ot(y.control,y,this.callSetDisabledState),y.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(y)})}getControl(y){return this.form.get(y.path)}removeControl(y){ni.then(()=>{const $=this._findContainer(y.path);$&&$.removeControl(y.name),this._directives.delete(y)})}addFormGroup(y){ni.then(()=>{const $=this._findContainer(y.path),Ce=new O({});Qe(Ce,y),$.registerControl(y.name,Ce),Ce.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(y){ni.then(()=>{const $=this._findContainer(y.path);$&&$.removeControl(y.name)})}getFormGroup(y){return this.form.get(y.path)}updateModel(y,$){ni.then(()=>{this.form.get(y.path).setValue($)})}setValue(y){this.control.setValue(y)}onSubmit(y){return this.submitted=!0,_i(this.form,this._directives),this.ngSubmit.emit(y),"dialog"===y?.target?.method}onReset(){this.resetForm()}resetForm(y=void 0){this.form.reset(y),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(y){return y.pop(),y.length?this.form.get(y):this.form}static#e=this.\u0275fac=function($){return new($||D)(h.Y36(B,10),h.Y36(Z,10),h.Y36(yt,8))};static#t=this.\u0275dir=h.lG2({type:D,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function($,Ce){1&$&&h.NdJ("submit",function(Qt){return Ce.onSubmit(Qt)})("reset",function(){return Ce.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[h._Bn([Zn]),h.qOj]})}return D})();function co(D,T){const y=D.indexOf(T);y>-1&&D.splice(y,1)}function Li(D){return"object"==typeof D&&null!==D&&2===Object.keys(D).length&&"value"in D&&"disabled"in D}const Bi=class extends pe{constructor(T=null,y,$){super(kn(y),Ze($,y)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(T),this._setUpdateStrategy(y),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),oe(y)&&(y.nonNullable||y.initialValueIsDefault)&&(this.defaultValue=Li(T)?T.value:T)}setValue(T,y={}){this.value=this._pendingValue=T,this._onChange.length&&!1!==y.emitModelToViewChange&&this._onChange.forEach($=>$(this.value,!1!==y.emitViewToModelChange)),this.updateValueAndValidity(y)}patchValue(T,y={}){this.setValue(T,y)}reset(T=this.defaultValue,y={}){this._applyFormState(T),this.markAsPristine(y),this.markAsUntouched(y),this.setValue(this.value,y),this._pendingChange=!1}_updateValue(){}_anyControls(T){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(T){this._onChange.push(T)}_unregisterOnChange(T){co(this._onChange,T)}registerOnDisabledChange(T){this._onDisabledChange.push(T)}_unregisterOnDisabledChange(T){co(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){Li(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}},Ws={provide:he,useExisting:(0,h.Gpc)(()=>fi)},Ys=(()=>Promise.resolve())();let fi=(()=>{class D extends he{constructor(y,$,Ce,Pt,Qt,uo){super(),this._changeDetectorRef=Qt,this.callSetDisabledState=uo,this.control=new Bi,this._registered=!1,this.name="",this.update=new h.vpe,this._parent=y,this._setValidators($),this._setAsyncValidators(Ce),this.valueAccessor=zn(0,Pt)}ngOnChanges(y){if(this._checkForErrors(),!this._registered||"name"in y){if(this._registered&&(this._checkName(),this.formDirective)){const $=y.name.previousValue;this.formDirective.removeControl({name:$,path:this._getPath($)})}this._setUpControl()}"isDisabled"in y&&this._updateDisabled(y),nn(y,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(y){this.viewModel=y,this.update.emit(y)}_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(){ot(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(y){Ys.then(()=>{this.control.setValue(y,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(y){const $=y.isDisabled.currentValue,Ce=0!==$&&(0,h.VuI)($);Ys.then(()=>{Ce&&!this.control.disabled?this.control.disable():!Ce&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(y){return this._parent?function Ye(D,T){return[...T.path,D]}(y,this._parent):[y]}static#e=this.\u0275fac=function($){return new($||D)(h.Y36(ke,9),h.Y36(B,10),h.Y36(Z,10),h.Y36(de,10),h.Y36(h.sBO,8),h.Y36(yt,8))};static#t=this.\u0275dir=h.lG2({type:D,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[h._Bn([Ws]),h.qOj,h.TTD]})}return D})(),vr=(()=>{class D{static#e=this.\u0275fac=function($){return new($||D)};static#t=this.\u0275dir=h.lG2({type:D,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return D})(),Jr=(()=>{class D{static#e=this.\u0275fac=function($){return new($||D)};static#t=this.\u0275mod=h.oAB({type:D});static#n=this.\u0275inj=h.cJS({})}return D})();const Ln=new h.OlP("NgModelWithFormControlWarning"),qn={provide:he,useExisting:(0,h.Gpc)(()=>Ji)};let Ji=(()=>{class D extends he{set isDisabled(y){}static#e=this._ngModelWarningSentOnce=!1;constructor(y,$,Ce,Pt,Qt){super(),this._ngModelWarningConfig=Pt,this.callSetDisabledState=Qt,this.update=new h.vpe,this._ngModelWarningSent=!1,this._setValidators(y),this._setAsyncValidators($),this.valueAccessor=zn(0,Ce)}ngOnChanges(y){if(this._isControlChanged(y)){const $=y.form.previousValue;$&&U($,this,!1),ot(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}nn(y,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&U(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(y){this.viewModel=y,this.update.emit(y)}_isControlChanged(y){return y.hasOwnProperty("form")}static#t=this.\u0275fac=function($){return new($||D)(h.Y36(B,10),h.Y36(Z,10),h.Y36(de,10),h.Y36(Ln,8),h.Y36(yt,8))};static#n=this.\u0275dir=h.lG2({type:D,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[h._Bn([qn]),h.qOj,h.TTD]})}return D})();const ri={provide:ke,useExisting:(0,h.Gpc)(()=>Bo)};let Bo=(()=>{class D extends ke{constructor(y,$,Ce){super(),this.callSetDisabledState=Ce,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new h.vpe,this._setValidators(y),this._setAsyncValidators($)}ngOnChanges(y){this._checkFormPresent(),y.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(be(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(y){const $=this.form.get(y.path);return ot($,y,this.callSetDisabledState),$.updateValueAndValidity({emitEvent:!1}),this.directives.push(y),$}getControl(y){return this.form.get(y.path)}removeControl(y){U(y.control||null,y,!1),function rn(D,T){const y=D.indexOf(T);y>-1&&D.splice(y,1)}(this.directives,y)}addFormGroup(y){this._setUpFormContainer(y)}removeFormGroup(y){this._cleanUpFormContainer(y)}getFormGroup(y){return this.form.get(y.path)}addFormArray(y){this._setUpFormContainer(y)}removeFormArray(y){this._cleanUpFormContainer(y)}getFormArray(y){return this.form.get(y.path)}updateModel(y,$){this.form.get(y.path).setValue($)}onSubmit(y){return this.submitted=!0,_i(this.form,this.directives),this.ngSubmit.emit(y),"dialog"===y?.target?.method}onReset(){this.resetForm()}resetForm(y=void 0){this.form.reset(y),this.submitted=!1}_updateDomValue(){this.directives.forEach(y=>{const $=y.control,Ce=this.form.get(y.path);$!==Ce&&(U($||null,y),(D=>D instanceof Bi)(Ce)&&(ot(Ce,y,this.callSetDisabledState),y.control=Ce))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(y){const $=this.form.get(y.path);Qe($,y),$.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(y){if(this.form){const $=this.form.get(y.path);$&&function We(D,T){return be(D,T)}($,y)&&$.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){rt(this.form,this),this._oldForm&&be(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function($){return new($||D)(h.Y36(B,10),h.Y36(Z,10),h.Y36(yt,8))};static#t=this.\u0275dir=h.lG2({type:D,selectors:[["","formGroup",""]],hostBindings:function($,Ce){1&$&&h.NdJ("submit",function(Qt){return Ce.onSubmit(Qt)})("reset",function(){return Ce.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[h._Bn([ri]),h.qOj,h.TTD]})}return D})(),Un=(()=>{class D{static#e=this.\u0275fac=function($){return new($||D)};static#t=this.\u0275mod=h.oAB({type:D});static#n=this.\u0275inj=h.cJS({imports:[Jr]})}return D})(),qs=(()=>{class D{static withConfig(y){return{ngModule:D,providers:[{provide:yt,useValue:y.callSetDisabledState??xt}]}}static#e=this.\u0275fac=function($){return new($||D)};static#t=this.\u0275mod=h.oAB({type:D});static#n=this.\u0275inj=h.cJS({imports:[Un]})}return D})(),ts=(()=>{class D{static withConfig(y){return{ngModule:D,providers:[{provide:Ln,useValue:y.warnOnNgModelWithFormControl??"always"},{provide:yt,useValue:y.callSetDisabledState??xt}]}}static#e=this.\u0275fac=function($){return new($||D)};static#t=this.\u0275mod=h.oAB({type:D});static#n=this.\u0275inj=h.cJS({imports:[Un]})}return D})()},7950:(et,Me,v)=>{"use strict";v.d(Me,{RK:()=>K,cs:()=>je,lW:()=>Ne,ot:()=>R,zs:()=>Pe});var h=v(3844),o=v(7786),De=v(8654),Ee=v(5988),ae=v(9021);const se=["mat-button",""],te=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],de=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],z=".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}",j=["mat-fab",""],le=["mat-icon-button",""],ie=["*"],re=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],J=(0,ae.pj)((0,ae.Id)((0,ae.Kr)(class{constructor(P){this._elementRef=P}})));let H=(()=>{class P extends J{get ripple(){return this._rippleLoader?.getRipple(this._elementRef.nativeElement)}set ripple(Q){this._rippleLoader?.attachRipple(this._elementRef.nativeElement,Q)}get disableRipple(){return this._disableRipple}set disableRipple(Q){this._disableRipple=(0,Ee.Ig)(Q),this._updateRippleDisabled()}get disabled(){return this._disabled}set disabled(Q){this._disabled=(0,Ee.Ig)(Q),this._updateRippleDisabled()}constructor(Q,q,Ae,Ue){super(Q),this._platform=q,this._ngZone=Ae,this._animationMode=Ue,this._focusMonitor=(0,o.f3M)(De.tE),this._rippleLoader=(0,o.f3M)(ae.Fq),this._isFab=!1,this._disableRipple=!1,this._disabled=!1,this._rippleLoader?.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-button-ripple"});const ut=Q.nativeElement.classList;for(const it of re)this._hasHostAttributes(it.selector)&&it.mdcClasses.forEach(dt=>{ut.add(dt)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(Q="program",q){Q?this._focusMonitor.focusVia(this._elementRef.nativeElement,Q,q):this._elementRef.nativeElement.focus(q)}_hasHostAttributes(...Q){return Q.some(q=>this._elementRef.nativeElement.hasAttribute(q))}_updateRippleDisabled(){this._rippleLoader?.setDisabled(this._elementRef.nativeElement,this.disableRipple||this.disabled)}static#e=this.\u0275fac=function(q){o.$Z()};static#t=this.\u0275dir=o.lG2({type:P,features:[o.qOj]})}return P})(),He=(()=>{class P extends H{constructor(Q,q,Ae,Ue){super(Q,q,Ae,Ue),this._haltDisabledEvents=ut=>{this.disabled&&(ut.preventDefault(),ut.stopImmediatePropagation())}}ngOnInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)})}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}static#e=this.\u0275fac=function(q){o.$Z()};static#t=this.\u0275dir=o.lG2({type:P,features:[o.qOj]})}return P})(),Ne=(()=>{class P extends H{constructor(Q,q,Ae,Ue){super(Q,q,Ae,Ue)}static#e=this.\u0275fac=function(q){return new(q||P)(o.Y36(o.SBq),o.Y36(h.t4),o.Y36(o.R0b),o.Y36(o.QbO,8))};static#t=this.\u0275cmp=o.Xpm({type:P,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(q,Ae){2&q&&(o.uIk("disabled",Ae.disabled||null),o.ekj("_mat-animation-noopable","NoopAnimations"===Ae._animationMode)("mat-unthemed",!Ae.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[o.qOj],attrs:se,ngContentSelectors:de,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(q,Ae){1&q&&(o.F$t(te),o._UZ(0,"span",0),o.Hsn(1),o.TgZ(2,"span",1),o.Hsn(3,1),o.qZA(),o.Hsn(4,2),o._UZ(5,"span",2)(6,"span",3)),2&q&&o.ekj("mdc-button__ripple",!Ae._isFab)("mdc-fab__ripple",Ae._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',".cdk-high-contrast-active .mat-mdc-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-unelevated-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-raised-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-outlined-button:not(.mdc-button--outlined),.cdk-high-contrast-active .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0})}return P})(),Pe=(()=>{class P extends He{constructor(Q,q,Ae,Ue){super(Q,q,Ae,Ue)}static#e=this.\u0275fac=function(q){return new(q||P)(o.Y36(o.SBq),o.Y36(h.t4),o.Y36(o.R0b),o.Y36(o.QbO,8))};static#t=this.\u0275cmp=o.Xpm({type:P,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-flat-button",""],["a","mat-stroked-button",""]],hostVars:9,hostBindings:function(q,Ae){2&q&&(o.uIk("disabled",Ae.disabled||null)("tabindex",Ae.disabled?-1:Ae.tabIndex)("aria-disabled",Ae.disabled.toString()),o.ekj("_mat-animation-noopable","NoopAnimations"===Ae._animationMode)("mat-unthemed",!Ae.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[o.qOj],attrs:se,ngContentSelectors:de,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(q,Ae){1&q&&(o.F$t(te),o._UZ(0,"span",0),o.Hsn(1),o.TgZ(2,"span",1),o.Hsn(3,1),o.qZA(),o.Hsn(4,2),o._UZ(5,"span",2)(6,"span",3)),2&q&&o.ekj("mdc-button__ripple",!Ae._isFab)("mdc-fab__ripple",Ae._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:64px;border:none;outline:none;line-height:inherit;user-select:none;-webkit-appearance:none;overflow:visible;vertical-align:middle;background:rgba(0,0,0,0)}.mdc-button .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-button::-moz-focus-inner{padding:0;border:0}.mdc-button:active{outline:none}.mdc-button:hover{cursor:pointer}.mdc-button:disabled{cursor:default;pointer-events:none}.mdc-button[hidden]{display:none}.mdc-button .mdc-button__icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top}[dir=rtl] .mdc-button .mdc-button__icon,.mdc-button .mdc-button__icon[dir=rtl]{margin-left:8px;margin-right:0}.mdc-button .mdc-button__progress-indicator{font-size:0;position:absolute;transform:translate(-50%, -50%);top:50%;left:50%;line-height:initial}.mdc-button .mdc-button__label{position:relative}.mdc-button .mdc-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );display:none}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring{border-color:CanvasText}}.mdc-button .mdc-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-button .mdc-button__focus-ring::after{border-color:CanvasText}}@media screen and (forced-colors: active){.mdc-button.mdc-ripple-upgraded--background-focused .mdc-button__focus-ring,.mdc-button:not(.mdc-ripple-upgraded):focus .mdc-button__focus-ring{display:block}}.mdc-button .mdc-button__touch{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mdc-button__label+.mdc-button__icon{margin-left:8px;margin-right:0}[dir=rtl] .mdc-button__label+.mdc-button__icon,.mdc-button__label+.mdc-button__icon[dir=rtl]{margin-left:0;margin-right:8px}svg.mdc-button__icon{fill:currentColor}.mdc-button--touch{margin-top:6px;margin-bottom:6px}.mdc-button{padding:0 8px 0 8px}.mdc-button--unelevated{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--unelevated.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--unelevated.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--raised{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);padding:0 16px 0 16px}.mdc-button--raised.mdc-button--icon-trailing{padding:0 12px 0 16px}.mdc-button--raised.mdc-button--icon-leading{padding:0 16px 0 12px}.mdc-button--outlined{border-style:solid;transition:border 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-button--outlined .mdc-button__ripple{border-style:solid;border-color:rgba(0,0,0,0)}.mat-mdc-button{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button.mdc-button--icon-trailing{padding:0 11px 0 15px}.mat-mdc-outlined-button.mdc-button--icon-leading{padding:0 15px 0 11px}.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.mat-mdc-button,.mat-mdc-unelevated-button,.mat-mdc-raised-button,.mat-mdc-outlined-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple,.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-button .mat-mdc-button-ripple,.mat-mdc-unelevated-button .mat-mdc-button-ripple,.mat-mdc-raised-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-unelevated-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-raised-button .mat-mdc-button-persistent-ripple::before,.mat-mdc-outlined-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-button .mdc-button__label,.mat-mdc-unelevated-button .mdc-button__label,.mat-mdc-raised-button .mdc-button__label,.mat-mdc-outlined-button .mdc-button__label{z-index:1}.mat-mdc-button .mat-mdc-focus-indicator,.mat-mdc-unelevated-button .mat-mdc-focus-indicator,.mat-mdc-raised-button .mat-mdc-focus-indicator,.mat-mdc-outlined-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-unelevated-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-raised-button:focus .mat-mdc-focus-indicator::before,.mat-mdc-outlined-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-button[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.mat-mdc-button._mat-animation-noopable,.mat-mdc-unelevated-button._mat-animation-noopable,.mat-mdc-raised-button._mat-animation-noopable,.mat-mdc-outlined-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.mat-mdc-outlined-button .mat-mdc-button-ripple,.mat-mdc-outlined-button .mdc-button__ripple{top:-1px;left:-1px;bottom:-1px;right:-1px;border-width:-1px}.mat-mdc-unelevated-button .mat-mdc-focus-indicator::before,.mat-mdc-raised-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-outlined-button .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 3px) * -1)}',z],encapsulation:2,changeDetection:0})}return P})();const ct=new o.OlP("mat-mdc-fab-default-options",{providedIn:"root",factory:me});function me(){return{color:"accent"}}const Ke=me();let je=(()=>{class P extends H{get extended(){return this._extended}set extended(Q){this._extended=(0,Ee.Ig)(Q)}constructor(Q,q,Ae,Ue,ut){super(Q,q,Ae,Ue),this._options=ut,this._isFab=!0,this._options=this._options||Ke,this.color=this.defaultColor=this._options.color||Ke.color}static#e=this.\u0275fac=function(q){return new(q||P)(o.Y36(o.SBq),o.Y36(h.t4),o.Y36(o.R0b),o.Y36(o.QbO,8),o.Y36(ct,8))};static#t=this.\u0275cmp=o.Xpm({type:P,selectors:[["button","mat-fab",""]],hostVars:11,hostBindings:function(q,Ae){2&q&&(o.uIk("disabled",Ae.disabled||null),o.ekj("_mat-animation-noopable","NoopAnimations"===Ae._animationMode)("mat-unthemed",!Ae.color)("mat-mdc-button-base",!0)("mdc-fab--extended",Ae.extended)("mat-mdc-extended-fab",Ae.extended))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",extended:"extended"},exportAs:["matButton"],features:[o.qOj],attrs:j,ngContentSelectors:de,decls:7,vars:4,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(q,Ae){1&q&&(o.F$t(te),o._UZ(0,"span",0),o.Hsn(1),o.TgZ(2,"span",1),o.Hsn(3,1),o.qZA(),o.Hsn(4,2),o._UZ(5,"span",2)(6,"span",3)),2&q&&o.ekj("mdc-button__ripple",!Ae._isFab)("mdc-fab__ripple",Ae._isFab)},styles:['.mdc-touch-target-wrapper{display:inline}.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1);background-color:var(--mdc-elevation-overlay-color)}.mdc-fab{position:relative;display:inline-flex;position:relative;align-items:center;justify-content:center;box-sizing:border-box;width:56px;height:56px;padding:0;border:none;fill:currentColor;text-decoration:none;cursor:pointer;user-select:none;-moz-appearance:none;-webkit-appearance:none;overflow:visible;transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1),opacity 15ms linear 30ms,transform 270ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-fab .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-fab[hidden]{display:none}.mdc-fab::-moz-focus-inner{padding:0;border:0}.mdc-fab:hover{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab.mdc-ripple-upgraded--background-focused,.mdc-fab:not(.mdc-ripple-upgraded):focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mdc-fab .mdc-fab__focus-ring{position:absolute}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring{border-color:CanvasText}}.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-fab.mdc-ripple-upgraded--background-focused .mdc-fab__focus-ring::after,.mdc-fab:not(.mdc-ripple-upgraded):focus .mdc-fab__focus-ring::after{border-color:CanvasText}}.mdc-fab:active,.mdc-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mdc-fab:active,.mdc-fab:focus{outline:none}.mdc-fab:hover{cursor:pointer}.mdc-fab>svg{width:100%}.mdc-fab--mini{width:40px;height:40px}.mdc-fab--extended{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-button-font-family);font-size:var(--mdc-typography-button-font-size);line-height:var(--mdc-typography-button-line-height);font-weight:var(--mdc-typography-button-font-weight);letter-spacing:var(--mdc-typography-button-letter-spacing);text-decoration:var(--mdc-typography-button-text-decoration);text-transform:var(--mdc-typography-button-text-transform);border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mdc-fab--extended .mdc-fab__ripple{border-radius:24px}.mdc-fab--extended .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mdc-fab--extended .mdc-fab__icon,.mdc-fab--extended .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mdc-fab--extended .mdc-fab__label+.mdc-fab__icon,.mdc-fab--extended .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mdc-fab--touch{margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-fab--touch .mdc-fab__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-fab::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-fab::before{border-color:CanvasText}}.mdc-fab__label{justify-content:flex-start;text-overflow:ellipsis;white-space:nowrap;overflow-x:hidden;overflow-y:visible}.mdc-fab__icon{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mdc-fab .mdc-fab__icon{display:inline-flex;align-items:center;justify-content:center}.mdc-fab--exited{transform:scale(0);opacity:0;transition:opacity 15ms linear 150ms,transform 180ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-fab--exited .mdc-fab__icon{transform:scale(0);transition:transform 135ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mat-mdc-fab,.mat-mdc-mini-fab{background-color:var(--mdc-fab-container-color);--mdc-fab-container-shape:50%;--mdc-fab-icon-size:24px}.mat-mdc-fab .mdc-fab__icon,.mat-mdc-mini-fab .mdc-fab__icon{width:var(--mdc-fab-icon-size);height:var(--mdc-fab-icon-size);font-size:var(--mdc-fab-icon-size)}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape)}.mat-mdc-extended-fab{font-family:var(--mdc-extended-fab-label-text-font);font-size:var(--mdc-extended-fab-label-text-size);font-weight:var(--mdc-extended-fab-label-text-weight);letter-spacing:var(--mdc-extended-fab-label-text-tracking)}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);color:var(--mat-mdc-fab-color, inherit);flex-shrink:0}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple,.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-fab .mat-mdc-button-ripple,.mat-mdc-mini-fab .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-fab .mat-mdc-button-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-fab .mdc-button__label,.mat-mdc-mini-fab .mdc-button__label{z-index:1}.mat-mdc-fab .mat-mdc-focus-indicator,.mat-mdc-mini-fab .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-fab:focus .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-fab .mat-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-mini-fab:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}.mat-mdc-fab .mat-icon,.mat-mdc-fab .material-icons,.mat-mdc-mini-fab .mat-icon,.mat-mdc-mini-fab .material-icons{transition:transform 180ms 90ms cubic-bezier(0, 0, 0.2, 1);fill:currentColor;will-change:transform}.mat-mdc-fab .mat-mdc-focus-indicator::before,.mat-mdc-mini-fab .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-extended-fab>.mat-icon,.mat-mdc-extended-fab>.material-icons{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab>.mat-icon,[dir=rtl] .mat-mdc-extended-fab>.material-icons,.mat-mdc-extended-fab>.mat-icon[dir=rtl],.mat-mdc-extended-fab>.material-icons[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-button__label+.mat-icon,.mat-mdc-extended-fab .mdc-button__label+.material-icons{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-extended-fab .mdc-button__label+.material-icons,.mat-mdc-extended-fab .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-extended-fab .mdc-button__label+.material-icons[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0})}return P})(),K=(()=>{class P extends H{constructor(Q,q,Ae,Ue){super(Q,q,Ae,Ue),this._rippleLoader.configureRipple(this._elementRef.nativeElement,{centered:!0})}static#e=this.\u0275fac=function(q){return new(q||P)(o.Y36(o.SBq),o.Y36(h.t4),o.Y36(o.R0b),o.Y36(o.QbO,8))};static#t=this.\u0275cmp=o.Xpm({type:P,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(q,Ae){2&q&&(o.uIk("disabled",Ae.disabled||null),o.ekj("_mat-animation-noopable","NoopAnimations"===Ae._animationMode)("mat-unthemed",!Ae.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[o.qOj],attrs:le,ngContentSelectors:ie,decls:4,vars:0,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],[1,"mat-mdc-button-touch-target"]],template:function(q,Ae){1&q&&(o.F$t(),o._UZ(0,"span",0),o.Hsn(1),o._UZ(2,"span",1)(3,"span",2))},styles:['.mdc-icon-button{display:inline-block;position:relative;box-sizing:border-box;border:none;outline:none;background-color:rgba(0,0,0,0);fill:currentColor;color:inherit;text-decoration:none;cursor:pointer;user-select:none;z-index:0;overflow:visible}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}@media screen and (forced-colors: active){.mdc-icon-button.mdc-ripple-upgraded--background-focused .mdc-icon-button__focus-ring,.mdc-icon-button:not(.mdc-ripple-upgraded):focus .mdc-icon-button__focus-ring{display:block}}.mdc-icon-button:disabled{cursor:default;pointer-events:none}.mdc-icon-button[hidden]{display:none}.mdc-icon-button--display-flex{align-items:center;display:inline-flex;justify-content:center}.mdc-icon-button__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%;display:none}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring{border-color:CanvasText}}.mdc-icon-button__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-icon-button__focus-ring::after{border-color:CanvasText}}.mdc-icon-button__icon{display:inline-block}.mdc-icon-button__icon.mdc-icon-button__icon--on{display:none}.mdc-icon-button--on .mdc-icon-button__icon{display:none}.mdc-icon-button--on .mdc-icon-button__icon.mdc-icon-button__icon--on{display:inline-block}.mdc-icon-button__link{height:100%;left:0;outline:none;position:absolute;top:0;width:100%}.mat-mdc-icon-button{height:var(--mdc-icon-button-state-layer-size);width:var(--mdc-icon-button-state-layer-size);color:var(--mdc-icon-button-icon-color);--mdc-icon-button-state-layer-size:48px;--mdc-icon-button-icon-size:24px;--mdc-icon-button-disabled-icon-color:black;--mdc-icon-button-disabled-icon-opacity:0.38}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size);height:var(--mdc-icon-button-icon-size)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color)}.mat-mdc-icon-button{padding:12px;font-size:var(--mdc-icon-button-icon-size);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.mat-mdc-icon-button .mat-mdc-button-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple,.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-icon-button .mat-mdc-button-ripple{overflow:hidden}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.mat-mdc-icon-button .mdc-button__label{z-index:1}.mat-mdc-icon-button .mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute}.mat-mdc-icon-button:focus .mat-mdc-focus-indicator::before{content:""}.mat-mdc-icon-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-icon-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-icon-button .mat-mdc-button-persistent-ripple{border-radius:50%}.mat-mdc-icon-button.mat-unthemed:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-primary:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-accent:not(.mdc-ripple-upgraded):focus::before,.mat-mdc-icon-button.mat-warn:not(.mdc-ripple-upgraded):focus::before{background:rgba(0,0,0,0);opacity:1}',z],encapsulation:2,changeDetection:0})}return P})(),R=(()=>{class P{static#e=this.\u0275fac=function(q){return new(q||P)};static#t=this.\u0275mod=o.oAB({type:P});static#n=this.\u0275inj=o.cJS({imports:[ae.BQ,ae.si,ae.BQ]})}return P})()},9021:(et,Me,v)=>{"use strict";v.d(Me,{rD:()=>Ae,Y2:()=>Rt,BQ:()=>H,wG:()=>$t,Fq:()=>Oe,si:()=>Tt,pj:()=>Pe,Kr:()=>ct,Id:()=>Ne,FD:()=>Ke,sb:()=>me});var h=v(7786),o=v(8654),De=v(4877),ae=v(9462),se=v(3844),te=v(5988);const J=new h.OlP("mat-sanity-checks",{providedIn:"root",factory:function re(){return!0}});let H=(()=>{class ye{constructor(O,G,N){this._sanityChecks=G,this._document=N,this._hasDoneGlobalChecks=!1,O._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(O){return!(0,se.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[O])}static#e=this.\u0275fac=function(G){return new(G||ye)(h.LFG(o.qm),h.LFG(J,8),h.LFG(ae.K0))};static#t=this.\u0275mod=h.oAB({type:ye});static#n=this.\u0275inj=h.cJS({imports:[De.vT,De.vT]})}return ye})();function Ne(ye){return class extends ye{get disabled(){return this._disabled}set disabled(pe){this._disabled=(0,te.Ig)(pe)}constructor(...pe){super(...pe),this._disabled=!1}}}function Pe(ye,pe){return class extends ye{get color(){return this._color}set color(O){const G=O||this.defaultColor;G!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),G&&this._elementRef.nativeElement.classList.add(`mat-${G}`),this._color=G)}constructor(...O){super(...O),this.defaultColor=pe,this.color=pe}}}function ct(ye){return class extends ye{get disableRipple(){return this._disableRipple}set disableRipple(pe){this._disableRipple=(0,te.Ig)(pe)}constructor(...pe){super(...pe),this._disableRipple=!1}}}function me(ye,pe=0){return class extends ye{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(O){this._tabIndex=null!=O?(0,te.su)(O):this.defaultTabIndex}constructor(...O){super(...O),this._tabIndex=pe,this.defaultTabIndex=pe}}}function Ke(ye){return class extends ye{updateErrorState(){const pe=this.errorState,_e=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);_e!==pe&&(this.errorState=_e,this.stateChanges.next())}constructor(...pe){super(...pe),this.errorState=!1}}}let Ae=(()=>{class ye{isErrorState(O,G){return!!(O&&O.invalid&&(O.touched||G&&G.submitted))}static#e=this.\u0275fac=function(G){return new(G||ye)};static#t=this.\u0275prov=h.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})();class lt{constructor(pe,O,G,N=!1){this._renderer=pe,this.element=O,this.config=G,this._animationForciblyDisabledThroughCss=N,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const ke=(0,se.i$)({passive:!0,capture:!0});class he{constructor(){this._events=new Map,this._delegateEventHandler=pe=>{const O=(0,se.sA)(pe);O&&this._events.get(pe.type)?.forEach((G,N)=>{(N===O||N.contains(O))&&G.forEach(_e=>_e.handleEvent(pe))})}}addHandler(pe,O,G,N){const _e=this._events.get(O);if(_e){const qe=_e.get(G);qe?qe.add(N):_e.set(G,new Set([N]))}else this._events.set(O,new Map([[G,new Set([N])]])),pe.runOutsideAngular(()=>{document.addEventListener(O,this._delegateEventHandler,ke)})}removeHandler(pe,O,G){const N=this._events.get(pe);if(!N)return;const _e=N.get(O);_e&&(_e.delete(G),0===_e.size&&N.delete(O),0===N.size&&(this._events.delete(pe),document.removeEventListener(pe,this._delegateEventHandler,ke)))}}const Ie={enterDuration:225,exitDuration:150},$e=(0,se.i$)({passive:!0,capture:!0}),at=["mousedown","touchstart"],bt=["mouseup","mouseleave","touchend","touchcancel"];class Ot{static#e=this._eventManager=new he;constructor(pe,O,G,N){this._target=pe,this._ngZone=O,this._platform=N,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,N.isBrowser&&(this._containerElement=(0,te.fI)(G))}fadeInRipple(pe,O,G={}){const N=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),_e={...Ie,...G.animation};G.centered&&(pe=N.left+N.width/2,O=N.top+N.height/2);const qe=G.radius||function Gt(ye,pe,O){const G=Math.max(Math.abs(ye-O.left),Math.abs(ye-O.right)),N=Math.max(Math.abs(pe-O.top),Math.abs(pe-O.bottom));return Math.sqrt(G*G+N*N)}(pe,O,N),yt=pe-N.left,xt=O-N.top,Ye=_e.enterDuration,ot=document.createElement("div");ot.classList.add("mat-ripple-element"),ot.style.left=yt-qe+"px",ot.style.top=xt-qe+"px",ot.style.height=2*qe+"px",ot.style.width=2*qe+"px",null!=G.color&&(ot.style.backgroundColor=G.color),ot.style.transitionDuration=`${Ye}ms`,this._containerElement.appendChild(ot);const U=window.getComputedStyle(ot),Fe=U.transitionDuration,rt="none"===U.transitionProperty||"0s"===Fe||"0s, 0s"===Fe||0===N.width&&0===N.height,be=new lt(this,ot,G,rt);ot.style.transform="scale3d(1, 1, 1)",be.state=0,G.persistent||(this._mostRecentTransientRipple=be);let w=null;return!rt&&(Ye||_e.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const E=()=>this._finishRippleTransition(be),Y=()=>this._destroyRipple(be);ot.addEventListener("transitionend",E),ot.addEventListener("transitioncancel",Y),w={onTransitionEnd:E,onTransitionCancel:Y}}),this._activeRipples.set(be,w),(rt||!Ye)&&this._finishRippleTransition(be),be}fadeOutRipple(pe){if(2===pe.state||3===pe.state)return;const O=pe.element,G={...Ie,...pe.config.animation};O.style.transitionDuration=`${G.exitDuration}ms`,O.style.opacity="0",pe.state=2,(pe._animationForciblyDisabledThroughCss||!G.exitDuration)&&this._finishRippleTransition(pe)}fadeOutAll(){this._getActiveRipples().forEach(pe=>pe.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(pe=>{pe.config.persistent||pe.fadeOut()})}setupTriggerEvents(pe){const O=(0,te.fI)(pe);!this._platform.isBrowser||!O||O===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=O,at.forEach(G=>{Ot._eventManager.addHandler(this._ngZone,G,O,this)}))}handleEvent(pe){"mousedown"===pe.type?this._onMousedown(pe):"touchstart"===pe.type?this._onTouchStart(pe):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{bt.forEach(O=>{this._triggerElement.addEventListener(O,this,$e)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(pe){0===pe.state?this._startFadeOutTransition(pe):2===pe.state&&this._destroyRipple(pe)}_startFadeOutTransition(pe){const O=pe===this._mostRecentTransientRipple,{persistent:G}=pe.config;pe.state=1,!G&&(!O||!this._isPointerDown)&&pe.fadeOut()}_destroyRipple(pe){const O=this._activeRipples.get(pe)??null;this._activeRipples.delete(pe),this._activeRipples.size||(this._containerRect=null),pe===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),pe.state=3,null!==O&&(pe.element.removeEventListener("transitionend",O.onTransitionEnd),pe.element.removeEventListener("transitioncancel",O.onTransitionCancel)),pe.element.remove()}_onMousedown(pe){const O=(0,o.X6)(pe),G=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!O&&!G&&(this._isPointerDown=!0,this.fadeInRipple(pe.clientX,pe.clientY,this._target.rippleConfig))}_onTouchStart(pe){if(!this._target.rippleDisabled&&!(0,o.yG)(pe)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const O=pe.changedTouches;if(O)for(let G=0;G<O.length;G++)this.fadeInRipple(O[G].clientX,O[G].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(pe=>{!pe.config.persistent&&(1===pe.state||pe.config.terminateOnPointerUp&&0===pe.state)&&pe.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const pe=this._triggerElement;pe&&(at.forEach(O=>Ot._eventManager.removeHandler(O,pe,this)),this._pointerUpEventsRegistered&&bt.forEach(O=>pe.removeEventListener(O,this,$e)))}}const Rt=new h.OlP("mat-ripple-global-options");let $t=(()=>{class ye{get disabled(){return this._disabled}set disabled(O){O&&this.fadeOutAllNonPersistent(),this._disabled=O,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(O){this._trigger=O,this._setupTriggerEventsIfEnabled()}constructor(O,G,N,_e,qe){this._elementRef=O,this._animationMode=qe,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=_e||{},this._rippleRenderer=new Ot(this,G,O,N)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(O,G=0,N){return"number"==typeof O?this._rippleRenderer.fadeInRipple(O,G,{...this.rippleConfig,...N}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...O})}static#e=this.\u0275fac=function(G){return new(G||ye)(h.Y36(h.SBq),h.Y36(h.R0b),h.Y36(se.t4),h.Y36(Rt,8),h.Y36(h.QbO,8))};static#t=this.\u0275dir=h.lG2({type:ye,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(G,N){2&G&&h.ekj("mat-ripple-unbounded",N.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]})}return ye})(),Tt=(()=>{class ye{static#e=this.\u0275fac=function(G){return new(G||ye)};static#t=this.\u0275mod=h.oAB({type:ye});static#n=this.\u0275inj=h.cJS({imports:[H,H]})}return ye})();const Dn={capture:!0},kn=["focus","click","mouseenter","touchstart"],gn="mat-ripple-loader-uninitialized",Ze="mat-ripple-loader-class-name",Ve="mat-ripple-loader-centered",oe="mat-ripple-loader-disabled";let Oe=(()=>{class ye{constructor(){this._document=(0,h.f3M)(ae.K0,{optional:!0}),this._animationMode=(0,h.f3M)(h.QbO,{optional:!0}),this._globalRippleOptions=(0,h.f3M)(Rt,{optional:!0}),this._platform=(0,h.f3M)(se.t4),this._ngZone=(0,h.f3M)(h.R0b),this._onInteraction=O=>{if(!(O.target instanceof HTMLElement))return;const N=O.target.closest(`[${gn}]`);N&&this.createRipple(N)},this._ngZone.runOutsideAngular(()=>{for(const O of kn)this._document?.addEventListener(O,this._onInteraction,Dn)})}ngOnDestroy(){for(const O of kn)this._document?.removeEventListener(O,this._onInteraction,Dn)}configureRipple(O,G){O.setAttribute(gn,""),(G.className||!O.hasAttribute(Ze))&&O.setAttribute(Ze,G.className||""),G.centered&&O.setAttribute(Ve,""),G.disabled&&O.setAttribute(oe,"")}getRipple(O){return O.matRipple?O.matRipple:this.createRipple(O)}setDisabled(O,G){const N=O.matRipple;N?N.disabled=G:G?O.setAttribute(oe,""):O.removeAttribute(oe)}createRipple(O){if(!this._document)return;O.querySelector(".mat-ripple")?.remove();const G=this._document.createElement("span");G.classList.add("mat-ripple",O.getAttribute(Ze)),O.append(G);const N=new $t(new h.SBq(G),this._ngZone,this._platform,this._globalRippleOptions?this._globalRippleOptions:void 0,this._animationMode?this._animationMode:void 0);return N._isInitialized=!0,N.trigger=O,N.centered=O.hasAttribute(Ve),N.disabled=O.hasAttribute(oe),this.attachRipple(O,N),N}attachRipple(O,G){O.removeAttribute(gn),O.matRipple=G}static#e=this.\u0275fac=function(G){return new(G||ye)};static#t=this.\u0275prov=h.Yz7({token:ye,factory:ye.\u0275fac,providedIn:"root"})}return ye})()},2836:(et,Me,v)=>{"use strict";v.d(Me,{Hw:()=>ut,Ps:()=>it,jv:()=>je});var h=v(7786),o=v(9021),De=v(5988),Ee=v(9462),ae=v(9627),se=v(7371),te=v(3276),ce=v(6312),z=v(9592),j=v(4104),W=v(8412),ne=v(8299),le=v(2829),ie=v(4049);function ge(dt){return(0,ie.e)((lt,ke)=>{let ue,he=null,Ie=!1;he=lt.subscribe((0,le.x)(ke,void 0,void 0,$e=>{ue=(0,ne.Xf)(dt($e,ge(dt)(lt))),he?(he.unsubscribe(),he=null,ue.subscribe(ke)):Ie=!0})),Ie&&(he.unsubscribe(),he=null,ue.subscribe(ke))})}var B=v(1927),Z=v(3949),re=v(3581),J=v(9272),H=v(4707);const Se=["*"];let xe;function Ne(dt){return function He(){if(void 0===xe&&(xe=null,typeof window<"u")){const dt=window;void 0!==dt.trustedTypes&&(xe=dt.trustedTypes.createPolicy("angular#components",{createHTML:lt=>lt}))}return xe}()?.createHTML(dt)||dt}function Pe(dt){return Error(`Unable to find icon with the name "${dt}"`)}function me(dt){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${dt}".`)}function Ke(dt){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${dt}".`)}class ve{constructor(lt,ke,he){this.url=lt,this.svgText=ke,this.options=he}}let je=(()=>{class dt{constructor(ke,he,Ie,ue){this._httpClient=ke,this._sanitizer=he,this._errorHandler=ue,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=Ie}addSvgIcon(ke,he,Ie){return this.addSvgIconInNamespace("",ke,he,Ie)}addSvgIconLiteral(ke,he,Ie){return this.addSvgIconLiteralInNamespace("",ke,he,Ie)}addSvgIconInNamespace(ke,he,Ie,ue){return this._addSvgIconConfig(ke,he,new ve(Ie,null,ue))}addSvgIconResolver(ke){return this._resolvers.push(ke),this}addSvgIconLiteralInNamespace(ke,he,Ie,ue){const $e=this._sanitizer.sanitize(h.q3G.HTML,Ie);if(!$e)throw Ke(Ie);const at=Ne($e);return this._addSvgIconConfig(ke,he,new ve("",at,ue))}addSvgIconSet(ke,he){return this.addSvgIconSetInNamespace("",ke,he)}addSvgIconSetLiteral(ke,he){return this.addSvgIconSetLiteralInNamespace("",ke,he)}addSvgIconSetInNamespace(ke,he,Ie){return this._addSvgIconSetConfig(ke,new ve(he,null,Ie))}addSvgIconSetLiteralInNamespace(ke,he,Ie){const ue=this._sanitizer.sanitize(h.q3G.HTML,he);if(!ue)throw Ke(he);const $e=Ne(ue);return this._addSvgIconSetConfig(ke,new ve("",$e,Ie))}registerFontClassAlias(ke,he=ke){return this._fontCssClassesByAlias.set(ke,he),this}classNameForFontAlias(ke){return this._fontCssClassesByAlias.get(ke)||ke}setDefaultFontSetClass(...ke){return this._defaultFontSetClass=ke,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(ke){const he=this._sanitizer.sanitize(h.q3G.RESOURCE_URL,ke);if(!he)throw me(ke);const Ie=this._cachedIconsByUrl.get(he);return Ie?(0,ae.of)(V(Ie)):this._loadSvgIconFromConfig(new ve(ke,null)).pipe((0,j.b)(ue=>this._cachedIconsByUrl.set(he,ue)),(0,W.U)(ue=>V(ue)))}getNamedSvgIcon(ke,he=""){const Ie=K(he,ke);let ue=this._svgIconConfigs.get(Ie);if(ue)return this._getSvgFromConfig(ue);if(ue=this._getIconConfigFromResolvers(he,ke),ue)return this._svgIconConfigs.set(Ie,ue),this._getSvgFromConfig(ue);const $e=this._iconSetConfigs.get(he);return $e?this._getSvgFromIconSetConfigs(ke,$e):function de(dt,lt){const ke=(0,te.m)(dt)?dt:()=>dt,he=Ie=>Ie.error(ke());return new se.y(lt?Ie=>lt.schedule(he,0,Ie):he)}(Pe(Ie))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(ke){return ke.svgText?(0,ae.of)(V(this._svgElementFromConfig(ke))):this._loadSvgIconFromConfig(ke).pipe((0,W.U)(he=>V(he)))}_getSvgFromIconSetConfigs(ke,he){const Ie=this._extractIconWithNameFromAnySet(ke,he);if(Ie)return(0,ae.of)(Ie);const ue=he.filter($e=>!$e.svgText).map($e=>this._loadSvgIconSetFromConfig($e).pipe(ge(at=>{const Ot=`Loading icon set URL: ${this._sanitizer.sanitize(h.q3G.RESOURCE_URL,$e.url)} failed: ${at.message}`;return this._errorHandler.handleError(new Error(Ot)),(0,ae.of)(null)})));return(0,ce.D)(ue).pipe((0,W.U)(()=>{const $e=this._extractIconWithNameFromAnySet(ke,he);if(!$e)throw Pe(ke);return $e}))}_extractIconWithNameFromAnySet(ke,he){for(let Ie=he.length-1;Ie>=0;Ie--){const ue=he[Ie];if(ue.svgText&&ue.svgText.toString().indexOf(ke)>-1){const $e=this._svgElementFromConfig(ue),at=this._extractSvgIconFromSet($e,ke,ue.options);if(at)return at}}return null}_loadSvgIconFromConfig(ke){return this._fetchIcon(ke).pipe((0,j.b)(he=>ke.svgText=he),(0,W.U)(()=>this._svgElementFromConfig(ke)))}_loadSvgIconSetFromConfig(ke){return ke.svgText?(0,ae.of)(null):this._fetchIcon(ke).pipe((0,j.b)(he=>ke.svgText=he))}_extractSvgIconFromSet(ke,he,Ie){const ue=ke.querySelector(`[id="${he}"]`);if(!ue)return null;const $e=ue.cloneNode(!0);if($e.removeAttribute("id"),"svg"===$e.nodeName.toLowerCase())return this._setSvgAttributes($e,Ie);if("symbol"===$e.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement($e),Ie);const at=this._svgElementFromString(Ne("<svg></svg>"));return at.appendChild($e),this._setSvgAttributes(at,Ie)}_svgElementFromString(ke){const he=this._document.createElement("DIV");he.innerHTML=ke;const Ie=he.querySelector("svg");if(!Ie)throw Error("<svg> tag not found");return Ie}_toSvgElement(ke){const he=this._svgElementFromString(Ne("<svg></svg>")),Ie=ke.attributes;for(let ue=0;ue<Ie.length;ue++){const{name:$e,value:at}=Ie[ue];"id"!==$e&&he.setAttribute($e,at)}for(let ue=0;ue<ke.childNodes.length;ue++)ke.childNodes[ue].nodeType===this._document.ELEMENT_NODE&&he.appendChild(ke.childNodes[ue].cloneNode(!0));return he}_setSvgAttributes(ke,he){return ke.setAttribute("fit",""),ke.setAttribute("height","100%"),ke.setAttribute("width","100%"),ke.setAttribute("preserveAspectRatio","xMidYMid meet"),ke.setAttribute("focusable","false"),he&&he.viewBox&&ke.setAttribute("viewBox",he.viewBox),ke}_fetchIcon(ke){const{url:he,options:Ie}=ke,ue=Ie?.withCredentials??!1;if(!this._httpClient)throw function ct(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==he)throw Error(`Cannot fetch icon from URL "${he}".`);const $e=this._sanitizer.sanitize(h.q3G.RESOURCE_URL,he);if(!$e)throw me(he);const at=this._inProgressUrlFetches.get($e);if(at)return at;const bt=this._httpClient.get($e,{responseType:"text",withCredentials:ue}).pipe((0,W.U)(Ot=>Ne(Ot)),(0,B.x)(()=>this._inProgressUrlFetches.delete($e)),(0,Z.B)());return this._inProgressUrlFetches.set($e,bt),bt}_addSvgIconConfig(ke,he,Ie){return this._svgIconConfigs.set(K(ke,he),Ie),this}_addSvgIconSetConfig(ke,he){const Ie=this._iconSetConfigs.get(ke);return Ie?Ie.push(he):this._iconSetConfigs.set(ke,[he]),this}_svgElementFromConfig(ke){if(!ke.svgElement){const he=this._svgElementFromString(ke.svgText);this._setSvgAttributes(he,ke.options),ke.svgElement=he}return ke.svgElement}_getIconConfigFromResolvers(ke,he){for(let Ie=0;Ie<this._resolvers.length;Ie++){const ue=this._resolvers[Ie](he,ke);if(ue)return F(ue)?new ve(ue.url,null,ue.options):new ve(ue,null)}}static#e=this.\u0275fac=function(he){return new(he||dt)(h.LFG(J.eN,8),h.LFG(H.H7),h.LFG(Ee.K0,8),h.LFG(h.qLn))};static#t=this.\u0275prov=h.Yz7({token:dt,factory:dt.\u0275fac,providedIn:"root"})}return dt})();function V(dt){return dt.cloneNode(!0)}function K(dt,lt){return dt+":"+lt}function F(dt){return!(!dt.url||!dt.options)}const R=(0,o.pj)(class{constructor(dt){this._elementRef=dt}}),P=new h.OlP("MAT_ICON_DEFAULT_OPTIONS"),L=new h.OlP("mat-icon-location",{providedIn:"root",factory:function Q(){const dt=(0,h.f3M)(Ee.K0),lt=dt?dt.location:null;return{getPathname:()=>lt?lt.pathname+lt.search:""}}}),q=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Ae=q.map(dt=>`[${dt}]`).join(", "),Ue=/^url\(['"]?#(.*?)['"]?\)$/;let ut=(()=>{class dt extends R{get inline(){return this._inline}set inline(ke){this._inline=(0,De.Ig)(ke)}get svgIcon(){return this._svgIcon}set svgIcon(ke){ke!==this._svgIcon&&(ke?this._updateSvgIcon(ke):this._svgIcon&&this._clearSvgElement(),this._svgIcon=ke)}get fontSet(){return this._fontSet}set fontSet(ke){const he=this._cleanupFontValue(ke);he!==this._fontSet&&(this._fontSet=he,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(ke){const he=this._cleanupFontValue(ke);he!==this._fontIcon&&(this._fontIcon=he,this._updateFontIconClasses())}constructor(ke,he,Ie,ue,$e,at){super(ke),this._iconRegistry=he,this._location=ue,this._errorHandler=$e,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=z.w0.EMPTY,at&&(at.color&&(this.color=this.defaultColor=at.color),at.fontSet&&(this.fontSet=at.fontSet)),Ie||ke.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(ke){if(!ke)return["",""];const he=ke.split(":");switch(he.length){case 1:return["",he[0]];case 2:return he;default:throw Error(`Invalid icon name: "${ke}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const ke=this._elementsWithExternalReferences;if(ke&&ke.size){const he=this._location.getPathname();he!==this._previousPath&&(this._previousPath=he,this._prependPathToReferences(he))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(ke){this._clearSvgElement();const he=this._location.getPathname();this._previousPath=he,this._cacheChildrenWithExternalReferences(ke),this._prependPathToReferences(he),this._elementRef.nativeElement.appendChild(ke)}_clearSvgElement(){const ke=this._elementRef.nativeElement;let he=ke.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();he--;){const Ie=ke.childNodes[he];(1!==Ie.nodeType||"svg"===Ie.nodeName.toLowerCase())&&Ie.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const ke=this._elementRef.nativeElement,he=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ie=>Ie.length>0);this._previousFontSetClass.forEach(Ie=>ke.classList.remove(Ie)),he.forEach(Ie=>ke.classList.add(Ie)),this._previousFontSetClass=he,this.fontIcon!==this._previousFontIconClass&&!he.includes("mat-ligature-font")&&(this._previousFontIconClass&&ke.classList.remove(this._previousFontIconClass),this.fontIcon&&ke.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(ke){return"string"==typeof ke?ke.trim().split(" ")[0]:ke}_prependPathToReferences(ke){const he=this._elementsWithExternalReferences;he&&he.forEach((Ie,ue)=>{Ie.forEach($e=>{ue.setAttribute($e.name,`url('${ke}#${$e.value}')`)})})}_cacheChildrenWithExternalReferences(ke){const he=ke.querySelectorAll(Ae),Ie=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let ue=0;ue<he.length;ue++)q.forEach($e=>{const at=he[ue],bt=at.getAttribute($e),Ot=bt?bt.match(Ue):null;if(Ot){let Gt=Ie.get(at);Gt||(Gt=[],Ie.set(at,Gt)),Gt.push({name:$e,value:Ot[1]})}})}_updateSvgIcon(ke){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),ke){const[he,Ie]=this._splitIconName(ke);he&&(this._svgNamespace=he),Ie&&(this._svgName=Ie),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ie,he).pipe((0,re.q)(1)).subscribe(ue=>this._setSvgElement(ue),ue=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${he}:${Ie}! ${ue.message}`))})}}static#e=this.\u0275fac=function(he){return new(he||dt)(h.Y36(h.SBq),h.Y36(je),h.$8M("aria-hidden"),h.Y36(L),h.Y36(h.qLn),h.Y36(P,8))};static#t=this.\u0275cmp=h.Xpm({type:dt,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(he,Ie){2&he&&(h.uIk("data-mat-icon-type",Ie._usingFontIcon()?"font":"svg")("data-mat-icon-name",Ie._svgName||Ie.fontIcon)("data-mat-icon-namespace",Ie._svgNamespace||Ie.fontSet)("fontIcon",Ie._usingFontIcon()?Ie.fontIcon:null),h.ekj("mat-icon-inline",Ie.inline)("mat-icon-no-color","primary"!==Ie.color&&"accent"!==Ie.color&&"warn"!==Ie.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[h.qOj],ngContentSelectors:Se,decls:1,vars:0,template:function(he,Ie){1&he&&(h.F$t(),h.Hsn(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0})}return dt})(),it=(()=>{class dt{static#e=this.\u0275fac=function(he){return new(he||dt)};static#t=this.\u0275mod=h.oAB({type:dt});static#n=this.\u0275inj=h.cJS({imports:[o.BQ,o.BQ]})}return dt})()},7361:(et,Me,v)=>{"use strict";v.d(Me,{Nh:()=>xt,SP:()=>oe,uD:()=>Ot,uX:()=>qt});var h=v(9462),o=v(7786),De=v(9021),Ee=v(6512),ae=v(8267),se=v(8654),te=v(4877),de=v(9592),ce=v(9453),z=v(6058),j=v(9627),W=v(4991),ne=v(8025),le=v(7371),ie=v(5117),ge=v(19),B=v(4263),Z=v(5779),re=v(3581),J=v(2835),H=v(1800),Se=v(1497),xe=v(6e3),He=v(5988),Ne=v(9467),Pe=v(3844),ct=v(7605);function me(Ye,ot){}const Ke=function(Ye){return{animationDuration:Ye}},ve=function(Ye,ot){return{value:Ye,params:ot}};function je(Ye,ot){1&Ye&&o.Hsn(0)}const Xe=["*"],ze=["tabListContainer"],V=["tabList"],K=["tabListInner"],F=["nextPaginator"],R=["previousPaginator"],P=["tabBodyWrapper"],L=["tabHeader"];function Q(Ye,ot){}function q(Ye,ot){if(1&Ye&&o.YNc(0,Q,0,0,"ng-template",14),2&Ye){const U=o.oxw().$implicit;o.Q6J("cdkPortalOutlet",U.templateLabel)}}function Ae(Ye,ot){if(1&Ye&&o._uU(0),2&Ye){const U=o.oxw().$implicit;o.Oqu(U.textLabel)}}function Ue(Ye,ot){if(1&Ye){const U=o.EpF();o.TgZ(0,"div",6,7),o.NdJ("click",function(){const Fe=o.CHM(U),rt=Fe.$implicit,be=Fe.index,w=o.oxw(),E=o.MAs(1);return o.KtG(w._handleClick(rt,E,be))})("cdkFocusChange",function(Fe){const be=o.CHM(U).index,w=o.oxw();return o.KtG(w._tabFocusChanged(Fe,be))}),o._UZ(2,"span",8)(3,"div",9),o.TgZ(4,"span",10)(5,"span",11),o.YNc(6,q,1,1,"ng-template",12),o.YNc(7,Ae,1,1,"ng-template",null,13,o.W1O),o.qZA()()()}if(2&Ye){const U=ot.$implicit,we=ot.index,Fe=o.MAs(1),rt=o.MAs(8),be=o.oxw();o.ekj("mdc-tab--active",be.selectedIndex===we),o.Q6J("id",be._getTabLabelId(we))("ngClass",U.labelClass)("disabled",U.disabled)("fitInkBarToContent",be.fitInkBarToContent),o.uIk("tabIndex",be._getTabIndex(we))("aria-posinset",we+1)("aria-setsize",be._tabs.length)("aria-controls",be._getTabContentId(we))("aria-selected",be.selectedIndex===we)("aria-label",U.ariaLabel||null)("aria-labelledby",!U.ariaLabel&&U.ariaLabelledby?U.ariaLabelledby:null),o.xp6(3),o.Q6J("matRippleTrigger",Fe)("matRippleDisabled",U.disabled||be.disableRipple),o.xp6(3),o.Q6J("ngIf",U.templateLabel)("ngIfElse",rt)}}function ut(Ye,ot){if(1&Ye){const U=o.EpF();o.TgZ(0,"mat-tab-body",15),o.NdJ("_onCentered",function(){o.CHM(U);const Fe=o.oxw();return o.KtG(Fe._removeTabBodyWrapperHeight())})("_onCentering",function(Fe){o.CHM(U);const rt=o.oxw();return o.KtG(rt._setTabBodyWrapperHeight(Fe))}),o.qZA()}if(2&Ye){const U=ot.$implicit,we=ot.index,Fe=o.oxw();o.ekj("mat-mdc-tab-body-active",Fe.selectedIndex===we),o.Q6J("id",Fe._getTabContentId(we))("ngClass",U.bodyClass)("content",U.content)("position",U.position)("origin",U.origin)("animationDuration",Fe.animationDuration)("preserveContent",Fe.preserveContent),o.uIk("tabindex",null!=Fe.contentTabIndex&&Fe.selectedIndex===we?Fe.contentTabIndex:null)("aria-labelledby",Fe._getTabLabelId(we))("aria-hidden",Fe.selectedIndex!==we)}}const lt={translateTab:(0,xe.X$)("translateTab",[(0,xe.SB)("center, void, left-origin-center, right-origin-center",(0,xe.oB)({transform:"none"})),(0,xe.SB)("left",(0,xe.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,xe.SB)("right",(0,xe.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,xe.eR)("* => left, * => right, left => center, right => center",(0,xe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,xe.eR)("void => left-origin-center",[(0,xe.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,xe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,xe.eR)("void => right-origin-center",[(0,xe.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,xe.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let ke=(()=>{class Ye extends Ee.Pl{constructor(U,we,Fe,rt){super(U,we,rt),this._host=Fe,this._centeringSub=de.w0.EMPTY,this._leavingSub=de.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,ge.O)(this._host._isCenterPosition(this._host._position))).subscribe(U=>{U&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o._Vd),o.Y36(o.s_b),o.Y36((0,o.Gpc)(()=>Ie)),o.Y36(h.K0))};static#t=this.\u0275dir=o.lG2({type:Ye,selectors:[["","matTabBodyHost",""]],features:[o.qOj]})}return Ye})(),he=(()=>{class Ye{set position(U){this._positionIndex=U,this._computePositionAnimationState()}constructor(U,we,Fe){this._elementRef=U,this._dir=we,this._dirChangeSubscription=de.w0.EMPTY,this._translateTabComplete=new ce.x,this._onCentering=new o.vpe,this._beforeCentering=new o.vpe,this._afterLeavingCenter=new o.vpe,this._onCentered=new o.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,we&&(this._dirChangeSubscription=we.change.subscribe(rt=>{this._computePositionAnimationState(rt),Fe.markForCheck()})),this._translateTabComplete.pipe((0,B.x)((rt,be)=>rt.fromState===be.fromState&&rt.toState===be.toState)).subscribe(rt=>{this._isCenterPosition(rt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(rt.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(U){const we=this._isCenterPosition(U.toState);this._beforeCentering.emit(we),we&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(U){return"center"==U||"left-origin-center"==U||"right-origin-center"==U}_computePositionAnimationState(U=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==U?"left":"right":this._positionIndex>0?"ltr"==U?"right":"left":"center"}_computePositionFromOrigin(U){const we=this._getLayoutDirection();return"ltr"==we&&U<=0||"rtl"==we&&U>0?"left-origin-center":"right-origin-center"}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.SBq),o.Y36(te.Is,8),o.Y36(o.sBO))};static#t=this.\u0275dir=o.lG2({type:Ye,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}})}return Ye})(),Ie=(()=>{class Ye extends he{constructor(U,we,Fe){super(U,we,Fe)}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.SBq),o.Y36(te.Is,8),o.Y36(o.sBO))};static#t=this.\u0275cmp=o.Xpm({type:Ye,selectors:[["mat-tab-body"]],viewQuery:function(we,Fe){if(1&we&&o.Gf(Ee.Pl,5),2&we){let rt;o.iGM(rt=o.CRH())&&(Fe._portalHost=rt.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[o.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(we,Fe){1&we&&(o.TgZ(0,"div",0,1),o.NdJ("@translateTab.start",function(be){return Fe._onTranslateTabStarted(be)})("@translateTab.done",function(be){return Fe._translateTabComplete.next(be)}),o.YNc(2,me,0,0,"ng-template",2),o.qZA()),2&we&&o.Q6J("@translateTab",o.WLB(3,ve,Fe._position,o.VKq(1,Ke,Fe.animationDuration)))},dependencies:[ke],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[lt.translateTab]}})}return Ye})();const ue=new o.OlP("MatTabContent");let $e=(()=>{class Ye{constructor(U){this.template=U}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.Rgc))};static#t=this.\u0275dir=o.lG2({type:Ye,selectors:[["","matTabContent",""]],features:[o._Bn([{provide:ue,useExisting:Ye}])]})}return Ye})();const at=new o.OlP("MatTabLabel"),bt=new o.OlP("MAT_TAB");let Ot=(()=>{class Ye extends Ee.ig{constructor(U,we,Fe){super(U,we),this._closestTab=Fe}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.Rgc),o.Y36(o.s_b),o.Y36(bt,8))};static#t=this.\u0275dir=o.lG2({type:Ye,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[o._Bn([{provide:at,useExisting:Ye}]),o.qOj]})}return Ye})();const Gt="mdc-tab-indicator--active",Rt="mdc-tab-indicator--no-transition";class $t{constructor(ot){this._items=ot}hide(){this._items.forEach(ot=>ot.deactivateInkBar())}alignToElement(ot){const U=this._items.find(Fe=>Fe.elementRef.nativeElement===ot),we=this._currentItem;if(U!==we&&(we?.deactivateInkBar(),U)){const Fe=we?.elementRef.nativeElement.getBoundingClientRect?.();U.activateInkBar(Fe),this._currentItem=U}}}function Tt(Ye){return class extends Ye{constructor(...ot){super(...ot),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(ot){const U=(0,He.Ig)(ot);this._fitToContent!==U&&(this._fitToContent=U,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(ot){const U=this.elementRef.nativeElement;if(!ot||!U.getBoundingClientRect||!this._inkBarContentElement)return void U.classList.add(Gt);const we=U.getBoundingClientRect(),Fe=ot.width/we.width,rt=ot.left-we.left;U.classList.add(Rt),this._inkBarContentElement.style.setProperty("transform",`translateX(${rt}px) scaleX(${Fe})`),U.getBoundingClientRect(),U.classList.remove(Rt),U.classList.add(Gt),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Gt)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const ot=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=ot.createElement("span"),this._inkBarContentElement=ot.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const kt=(0,De.Id)(class{}),yn=Tt((()=>{class Ye extends kt{constructor(U){super(),this.elementRef=U}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.SBq))};static#t=this.\u0275dir=o.lG2({type:Ye,features:[o.qOj]})}return Ye})());let Ut=(()=>{class Ye extends yn{static#e=this.\u0275fac=function(){let U;return function(Fe){return(U||(U=o.n5z(Ye)))(Fe||Ye)}}();static#t=this.\u0275dir=o.lG2({type:Ye,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(we,Fe){2&we&&(o.uIk("aria-disabled",!!Fe.disabled),o.ekj("mat-mdc-tab-disabled",Fe.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[o.qOj]})}return Ye})();const hn=(0,De.Id)(class{}),$n=new o.OlP("MAT_TAB_GROUP");let tn=(()=>{class Ye extends hn{get content(){return this._contentPortal}constructor(U,we){super(),this._viewContainerRef=U,this._closestTabGroup=we,this.textLabel="",this._contentPortal=null,this._stateChanges=new ce.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(U){(U.hasOwnProperty("textLabel")||U.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new Ee.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(U){U&&U._closestTab===this&&(this._templateLabel=U)}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.s_b),o.Y36($n,8))};static#t=this.\u0275dir=o.lG2({type:Ye,viewQuery:function(we,Fe){if(1&we&&o.Gf(o.Rgc,7),2&we){let rt;o.iGM(rt=o.CRH())&&(Fe._implicitContent=rt.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[o.qOj,o.TTD]})}return Ye})(),qt=(()=>{class Ye extends tn{constructor(){super(...arguments),this._explicitContent=void 0}get templateLabel(){return this._templateLabel}set templateLabel(U){this._setTemplateLabelInput(U)}static#e=this.\u0275fac=function(){let U;return function(Fe){return(U||(U=o.n5z(Ye)))(Fe||Ye)}}();static#t=this.\u0275cmp=o.Xpm({type:Ye,selectors:[["mat-tab"]],contentQueries:function(we,Fe,rt){if(1&we&&(o.Suo(rt,$e,7,o.Rgc),o.Suo(rt,Ot,5)),2&we){let be;o.iGM(be=o.CRH())&&(Fe._explicitContent=be.first),o.iGM(be=o.CRH())&&(Fe.templateLabel=be.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[o._Bn([{provide:bt,useExisting:Ye}]),o.qOj],ngContentSelectors:Xe,decls:1,vars:0,template:function(we,Fe){1&we&&(o.F$t(),o.YNc(0,je,1,0,"ng-template"))},encapsulation:2})}return Ye})();const Ht=(0,Pe.i$)({passive:!0});let Sn=(()=>{class Ye{get disablePagination(){return this._disablePagination}set disablePagination(U){this._disablePagination=(0,He.Ig)(U)}get selectedIndex(){return this._selectedIndex}set selectedIndex(U){U=(0,He.su)(U),this._selectedIndex!=U&&(this._selectedIndexChanged=!0,this._selectedIndex=U,this._keyManager&&this._keyManager.updateActiveItem(U))}constructor(U,we,Fe,rt,be,w,E){this._elementRef=U,this._changeDetectorRef=we,this._viewportRuler=Fe,this._dir=rt,this._ngZone=be,this._platform=w,this._animationMode=E,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new ce.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new ce.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new o.vpe,this.indexFocused=new o.vpe,be.runOutsideAngular(()=>{(0,z.R)(U.nativeElement,"mouseleave").pipe((0,Z.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,z.R)(this._previousPaginator.nativeElement,"touchstart",Ht).pipe((0,Z.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,z.R)(this._nextPaginator.nativeElement,"touchstart",Ht).pipe((0,Z.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const U=this._dir?this._dir.change:(0,j.of)("ltr"),we=this._viewportRuler.change(150),Fe=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new se.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,re.q)(1)).subscribe(Fe),(0,W.T)(U,we,this._items.changes,this._itemsResized()).pipe((0,Z.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Fe()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(rt=>{this.indexFocused.emit(rt),this._setTabFocus(rt)})}_itemsResized(){return"function"!=typeof ResizeObserver?ne.E:this._items.changes.pipe((0,ge.O)(this._items),(0,J.w)(U=>new le.y(we=>this._ngZone.runOutsideAngular(()=>{const Fe=new ResizeObserver(rt=>we.next(rt));return U.forEach(rt=>Fe.observe(rt.elementRef.nativeElement)),()=>{Fe.disconnect()}}))),(0,H.T)(1),(0,Se.h)(U=>U.some(we=>we.contentRect.width>0&&we.contentRect.height>0)))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(U){if(!(0,ct.Vb)(U))switch(U.keyCode){case ct.K5:case ct.L_:if(this.focusIndex!==this.selectedIndex){const we=this._items.get(this.focusIndex);we&&!we.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(U))}break;default:this._keyManager.onKeydown(U)}}_onContentChanges(){const U=this._elementRef.nativeElement.textContent;U!==this._currentTextContent&&(this._currentTextContent=U||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(U){!this._isValidIndex(U)||this.focusIndex===U||!this._keyManager||this._keyManager.setActiveItem(U)}_isValidIndex(U){return!this._items||!!this._items.toArray()[U]}_setTabFocus(U){if(this._showPaginationControls&&this._scrollToLabel(U),this._items&&this._items.length){this._items.toArray()[U].focus();const we=this._tabListContainer.nativeElement;we.scrollLeft="ltr"==this._getLayoutDirection()?0:we.scrollWidth-we.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const U=this.scrollDistance,we="ltr"===this._getLayoutDirection()?-U:U;this._tabList.nativeElement.style.transform=`translateX(${Math.round(we)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(U){this._scrollTo(U)}_scrollHeader(U){return this._scrollTo(this._scrollDistance+("before"==U?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(U){this._stopInterval(),this._scrollHeader(U)}_scrollToLabel(U){if(this.disablePagination)return;const we=this._items?this._items.toArray()[U]:null;if(!we)return;const Fe=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:rt,offsetWidth:be}=we.elementRef.nativeElement;let w,E;"ltr"==this._getLayoutDirection()?(w=rt,E=w+be):(E=this._tabListInner.nativeElement.offsetWidth-rt,w=E-be);const Y=this.scrollDistance,Be=this.scrollDistance+Fe;w<Y?this.scrollDistance-=Y-w:E>Be&&(this.scrollDistance+=Math.min(E-Be,w-Y))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const U=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;U||(this.scrollDistance=0),U!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=U}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const U=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,we=U?U.elementRef.nativeElement:null;we?this._inkBar.alignToElement(we):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(U,we){we&&null!=we.button&&0!==we.button||(this._stopInterval(),(0,ie.H)(650,100).pipe((0,Z.R)((0,W.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Fe,distance:rt}=this._scrollHeader(U);(0===rt||rt>=Fe)&&this._stopInterval()}))}_scrollTo(U){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const we=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(we,U)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:we,distance:this._scrollDistance}}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(Ne.rL),o.Y36(te.Is,8),o.Y36(o.R0b),o.Y36(Pe.t4),o.Y36(o.QbO,8))};static#t=this.\u0275dir=o.lG2({type:Ye,inputs:{disablePagination:"disablePagination"}})}return Ye})(),In=(()=>{class Ye extends Sn{get disableRipple(){return this._disableRipple}set disableRipple(U){this._disableRipple=(0,He.Ig)(U)}constructor(U,we,Fe,rt,be,w,E){super(U,we,Fe,rt,be,w,E),this._disableRipple=!1}_itemSelected(U){U.preventDefault()}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(Ne.rL),o.Y36(te.Is,8),o.Y36(o.R0b),o.Y36(Pe.t4),o.Y36(o.QbO,8))};static#t=this.\u0275dir=o.lG2({type:Ye,inputs:{disableRipple:"disableRipple"},features:[o.qOj]})}return Ye})(),Dn=(()=>{class Ye extends In{constructor(U,we,Fe,rt,be,w,E){super(U,we,Fe,rt,be,w,E)}ngAfterContentInit(){this._inkBar=new $t(this._items),super.ngAfterContentInit()}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(Ne.rL),o.Y36(te.Is,8),o.Y36(o.R0b),o.Y36(Pe.t4),o.Y36(o.QbO,8))};static#t=this.\u0275cmp=o.Xpm({type:Ye,selectors:[["mat-tab-header"]],contentQueries:function(we,Fe,rt){if(1&we&&o.Suo(rt,Ut,4),2&we){let be;o.iGM(be=o.CRH())&&(Fe._items=be)}},viewQuery:function(we,Fe){if(1&we&&(o.Gf(ze,7),o.Gf(V,7),o.Gf(K,7),o.Gf(F,5),o.Gf(R,5)),2&we){let rt;o.iGM(rt=o.CRH())&&(Fe._tabListContainer=rt.first),o.iGM(rt=o.CRH())&&(Fe._tabList=rt.first),o.iGM(rt=o.CRH())&&(Fe._tabListInner=rt.first),o.iGM(rt=o.CRH())&&(Fe._nextPaginator=rt.first),o.iGM(rt=o.CRH())&&(Fe._previousPaginator=rt.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(we,Fe){2&we&&o.ekj("mat-mdc-tab-header-pagination-controls-enabled",Fe._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Fe._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[o.qOj],ngContentSelectors:Xe,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(we,Fe){1&we&&(o.F$t(),o.TgZ(0,"button",0,1),o.NdJ("click",function(){return Fe._handlePaginatorClick("before")})("mousedown",function(be){return Fe._handlePaginatorPress("before",be)})("touchend",function(){return Fe._stopInterval()}),o._UZ(2,"div",2),o.qZA(),o.TgZ(3,"div",3,4),o.NdJ("keydown",function(be){return Fe._handleKeydown(be)}),o.TgZ(5,"div",5,6),o.NdJ("cdkObserveContent",function(){return Fe._onContentChanges()}),o.TgZ(7,"div",7,8),o.Hsn(9),o.qZA()()(),o.TgZ(10,"button",9,10),o.NdJ("mousedown",function(be){return Fe._handlePaginatorPress("after",be)})("click",function(){return Fe._handlePaginatorClick("after")})("touchend",function(){return Fe._stopInterval()}),o._UZ(12,"div",2),o.qZA()),2&we&&(o.ekj("mat-mdc-tab-header-pagination-disabled",Fe._disableScrollBefore),o.Q6J("matRippleDisabled",Fe._disableScrollBefore||Fe.disableRipple)("disabled",Fe._disableScrollBefore||null),o.xp6(3),o.ekj("_mat-animation-noopable","NoopAnimations"===Fe._animationMode),o.xp6(7),o.ekj("mat-mdc-tab-header-pagination-disabled",Fe._disableScrollAfter),o.Q6J("matRippleDisabled",Fe._disableScrollAfter||Fe.disableRipple)("disabled",Fe._disableScrollAfter||null))},dependencies:[De.wG,ae.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0;--mdc-tab-indicator-active-indicator-height:2px;--mdc-tab-indicator-active-indicator-shape:0;--mdc-secondary-navigation-tab-container-height:48px}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color)}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}._mat-animation-noopable span.mdc-tab-indicator__content,._mat-animation-noopable span.mdc-tab__text-label{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}return Ye})();const kn=new o.OlP("MAT_TABS_CONFIG");let gn=0;const Ze=(0,De.pj)((0,De.Kr)(class{constructor(Ye){this._elementRef=Ye}}),"primary");let Ve=(()=>{class Ye extends Ze{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(U){this._dynamicHeight=(0,He.Ig)(U)}get selectedIndex(){return this._selectedIndex}set selectedIndex(U){this._indexToSelect=(0,He.su)(U,null)}get animationDuration(){return this._animationDuration}set animationDuration(U){this._animationDuration=/^\d+$/.test(U+"")?U+"ms":U}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(U){this._contentTabIndex=(0,He.su)(U,null)}get disablePagination(){return this._disablePagination}set disablePagination(U){this._disablePagination=(0,He.Ig)(U)}get preserveContent(){return this._preserveContent}set preserveContent(U){this._preserveContent=(0,He.Ig)(U)}get backgroundColor(){return this._backgroundColor}set backgroundColor(U){const we=this._elementRef.nativeElement.classList;we.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),U&&we.add("mat-tabs-with-background",`mat-background-${U}`),this._backgroundColor=U}constructor(U,we,Fe,rt){super(U),this._changeDetectorRef=we,this._animationMode=rt,this._tabs=new o.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=de.w0.EMPTY,this._tabLabelSubscription=de.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new o.vpe,this.focusChange=new o.vpe,this.animationDone=new o.vpe,this.selectedTabChange=new o.vpe(!0),this._groupId=gn++,this.animationDuration=Fe&&Fe.animationDuration?Fe.animationDuration:"500ms",this.disablePagination=!(!Fe||null==Fe.disablePagination)&&Fe.disablePagination,this.dynamicHeight=!(!Fe||null==Fe.dynamicHeight)&&Fe.dynamicHeight,this.contentTabIndex=Fe?.contentTabIndex??null,this.preserveContent=!!Fe?.preserveContent}ngAfterContentChecked(){const U=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=U){const we=null==this._selectedIndex;if(!we){this.selectedTabChange.emit(this._createChangeEvent(U));const Fe=this._tabBodyWrapper.nativeElement;Fe.style.minHeight=Fe.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Fe,rt)=>Fe.isActive=rt===U),we||(this.selectedIndexChange.emit(U),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((we,Fe)=>{we.position=Fe-U,null!=this._selectedIndex&&0==we.position&&!we.origin&&(we.origin=U-this._selectedIndex)}),this._selectedIndex!==U&&(this._selectedIndex=U,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const U=this._clampTabIndex(this._indexToSelect);if(U===this._selectedIndex){const we=this._tabs.toArray();let Fe;for(let rt=0;rt<we.length;rt++)if(we[rt].isActive){this._indexToSelect=this._selectedIndex=rt,this._lastFocusedTabIndex=null,Fe=we[rt];break}!Fe&&we[U]&&Promise.resolve().then(()=>{we[U].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(U))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,ge.O)(this._allTabs)).subscribe(U=>{this._tabs.reset(U.filter(we=>we._closestTabGroup===this||!we._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(U){const we=this._tabHeader;we&&(we.focusIndex=U)}_focusChanged(U){this._lastFocusedTabIndex=U,this.focusChange.emit(this._createChangeEvent(U))}_createChangeEvent(U){const we=new Oe;return we.index=U,this._tabs&&this._tabs.length&&(we.tab=this._tabs.toArray()[U]),we}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,W.T)(...this._tabs.map(U=>U._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(U){return Math.min(this._tabs.length-1,Math.max(U||0,0))}_getTabLabelId(U){return`mat-tab-label-${this._groupId}-${U}`}_getTabContentId(U){return`mat-tab-content-${this._groupId}-${U}`}_setTabBodyWrapperHeight(U){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const we=this._tabBodyWrapper.nativeElement;we.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(we.style.height=U+"px")}_removeTabBodyWrapperHeight(){const U=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=U.clientHeight,U.style.height="",this.animationDone.emit()}_handleClick(U,we,Fe){we.focusIndex=Fe,U.disabled||(this.selectedIndex=Fe)}_getTabIndex(U){return U===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(U,we){U&&"mouse"!==U&&"touch"!==U&&(this._tabHeader.focusIndex=we)}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(kn,8),o.Y36(o.QbO,8))};static#t=this.\u0275dir=o.lG2({type:Ye,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[o.qOj]})}return Ye})(),oe=(()=>{class Ye extends Ve{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(U){this._fitInkBarToContent=(0,He.Ig)(U),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(U){this._stretchTabs=(0,He.Ig)(U)}constructor(U,we,Fe,rt){super(U,we,Fe,rt),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!Fe||null==Fe.fitInkBarToContent)&&Fe.fitInkBarToContent,this.stretchTabs=!Fe||null==Fe.stretchTabs||Fe.stretchTabs}static#e=this.\u0275fac=function(we){return new(we||Ye)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(kn,8),o.Y36(o.QbO,8))};static#t=this.\u0275cmp=o.Xpm({type:Ye,selectors:[["mat-tab-group"]],contentQueries:function(we,Fe,rt){if(1&we&&o.Suo(rt,qt,5),2&we){let be;o.iGM(be=o.CRH())&&(Fe._allTabs=be)}},viewQuery:function(we,Fe){if(1&we&&(o.Gf(P,5),o.Gf(L,5)),2&we){let rt;o.iGM(rt=o.CRH())&&(Fe._tabBodyWrapper=rt.first),o.iGM(rt=o.CRH())&&(Fe._tabHeader=rt.first)}},hostAttrs:["ngSkipHydration","",1,"mat-mdc-tab-group"],hostVars:8,hostBindings:function(we,Fe){2&we&&(o.Udp("--mat-tab-animation-duration",Fe.animationDuration),o.ekj("mat-mdc-tab-group-dynamic-height",Fe.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Fe.headerPosition)("mat-mdc-tab-group-stretch-tabs",Fe.stretchTabs))},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[o._Bn([{provide:$n,useExisting:Ye}]),o.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(we,Fe){1&we&&(o.TgZ(0,"mat-tab-header",0,1),o.NdJ("indexFocused",function(be){return Fe._focusChanged(be)})("selectFocusedIndex",function(be){return Fe.selectedIndex=be}),o.YNc(2,Ue,9,17,"div",2),o.qZA(),o.TgZ(3,"div",3,4),o.YNc(5,ut,1,12,"mat-tab-body",5),o.qZA()),2&we&&(o.Q6J("selectedIndex",Fe.selectedIndex||0)("disableRipple",Fe.disableRipple)("disablePagination",Fe.disablePagination),o.xp6(2),o.Q6J("ngForOf",Fe._tabs),o.xp6(1),o.ekj("_mat-animation-noopable","NoopAnimations"===Fe._animationMode),o.xp6(2),o.Q6J("ngForOf",Fe._tabs))},dependencies:[h.mk,h.sg,h.O5,Ee.Pl,De.wG,se.kH,Ie,Ut,Dn],styles:['.mdc-tab{min-width:90px;padding-right:24px;padding-left:24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;margin:0;padding-top:0;padding-bottom:0;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;-webkit-appearance:none;z-index:1}.mdc-tab::-moz-focus-inner{padding:0;border:0}.mdc-tab[hidden]{display:none}.mdc-tab--min-width{flex:0 1 auto}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab__icon{transition:150ms color linear;z-index:2}.mdc-tab--stacked .mdc-tab__content{flex-direction:column;align-items:center;justify-content:center}.mdc-tab--stacked .mdc-tab__text-label{padding-top:6px;padding-bottom:4px}.mdc-tab--active .mdc-tab__text-label,.mdc-tab--active .mdc-tab__icon{transition-delay:100ms}.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label{padding-left:8px;padding-right:0}[dir=rtl] .mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label,.mdc-tab:not(.mdc-tab--stacked) .mdc-tab__icon+.mdc-tab__text-label[dir=rtl]{padding-left:0;padding-right:8px}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator__content--icon{align-self:center;margin:0 auto}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}.mdc-tab-indicator .mdc-tab-indicator__content{transition:250ms transform cubic-bezier(0.4, 0, 0.2, 1)}.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition:150ms opacity linear}.mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content{transition-delay:100ms}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;font-family:var(--mat-tab-header-label-text-font);font-size:var(--mat-tab-header-label-text-size);letter-spacing:var(--mat-tab-header-label-text-tracking);line-height:var(--mat-tab-header-label-text-line-height);font-weight:var(--mat-tab-header-label-text-weight)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-top-width:var(--mdc-tab-indicator-active-indicator-height)}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:not(.mdc-tab--stacked){height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab:not(:disabled).mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled.mdc-tab--active .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):hover:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):focus:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:not(:disabled):active:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab:disabled:not(.mdc-tab--active) .mdc-tab__icon{fill:currentColor}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color)}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color)}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color)}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color)}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color)}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color);display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color)}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}return Ye})();class Oe{}let xt=(()=>{class Ye{static#e=this.\u0275fac=function(we){return new(we||Ye)};static#t=this.\u0275mod=o.oAB({type:Ye});static#n=this.\u0275inj=o.cJS({imports:[h.ez,De.BQ,Ee.eL,De.si,ae.Q8,se.rt,De.BQ]})}return Ye})()},4707:(et,Me,v)=>{"use strict";v.d(Me,{H7:()=>Sn,b2:()=>ue,q6:()=>lt,se:()=>Pe});var h=v(7786),o=v(9462);class De extends o.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class Ee extends De{static makeCurrent(){(0,o.HT)(new Ee)}onAndCancel(G,N,_e){return G.addEventListener(N,_e),()=>{G.removeEventListener(N,_e)}}dispatchEvent(G,N){G.dispatchEvent(N)}remove(G){G.parentNode&&G.parentNode.removeChild(G)}createElement(G,N){return(N=N||this.getDefaultDocument()).createElement(G)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(G){return G.nodeType===Node.ELEMENT_NODE}isShadowRoot(G){return G instanceof DocumentFragment}getGlobalEventTarget(G,N){return"window"===N?window:"document"===N?G:"body"===N?G.body:null}getBaseHref(G){const N=function se(){return ae=ae||document.querySelector("base"),ae?ae.getAttribute("href"):null}();return null==N?null:function de(O){te=te||document.createElement("a"),te.setAttribute("href",O);const G=te.pathname;return"/"===G.charAt(0)?G:`/${G}`}(N)}resetBaseElement(){ae=null}getUserAgent(){return window.navigator.userAgent}getCookie(G){return(0,o.Mx)(document.cookie,G)}}let te,ae=null,z=(()=>{class O{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(_e){return new(_e||O)};static#t=this.\u0275prov=h.Yz7({token:O,factory:O.\u0275fac})}return O})();const j=new h.OlP("EventManagerPlugins");let W=(()=>{class O{constructor(N,_e){this._zone=_e,this._eventNameToPlugin=new Map,N.forEach(qe=>{qe.manager=this}),this._plugins=N.slice().reverse()}addEventListener(N,_e,qe){return this._findPluginFor(_e).addEventListener(N,_e,qe)}getZone(){return this._zone}_findPluginFor(N){let _e=this._eventNameToPlugin.get(N);if(_e)return _e;if(_e=this._plugins.find(yt=>yt.supports(N)),!_e)throw new h.vHH(5101,!1);return this._eventNameToPlugin.set(N,_e),_e}static#e=this.\u0275fac=function(_e){return new(_e||O)(h.LFG(j),h.LFG(h.R0b))};static#t=this.\u0275prov=h.Yz7({token:O,factory:O.\u0275fac})}return O})();class ne{constructor(G){this._doc=G}}const le="ng-app-id";let ie=(()=>{class O{constructor(N,_e,qe,yt={}){this.doc=N,this.appId=_e,this.nonce=qe,this.platformId=yt,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,o.PM)(yt),this.resetHostNodes()}addStyles(N){for(const _e of N)1===this.changeUsageCount(_e,1)&&this.onStyleAdded(_e)}removeStyles(N){for(const _e of N)this.changeUsageCount(_e,-1)<=0&&this.onStyleRemoved(_e)}ngOnDestroy(){const N=this.styleNodesInDOM;N&&(N.forEach(_e=>_e.remove()),N.clear());for(const _e of this.getAllStyles())this.onStyleRemoved(_e);this.resetHostNodes()}addHost(N){this.hostNodes.add(N);for(const _e of this.getAllStyles())this.addStyleToHost(N,_e)}removeHost(N){this.hostNodes.delete(N)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(N){for(const _e of this.hostNodes)this.addStyleToHost(_e,N)}onStyleRemoved(N){const _e=this.styleRef;_e.get(N)?.elements?.forEach(qe=>qe.remove()),_e.delete(N)}collectServerRenderedStyles(){const N=this.doc.head?.querySelectorAll(`style[${le}="${this.appId}"]`);if(N?.length){const _e=new Map;return N.forEach(qe=>{null!=qe.textContent&&_e.set(qe.textContent,qe)}),_e}return null}changeUsageCount(N,_e){const qe=this.styleRef;if(qe.has(N)){const yt=qe.get(N);return yt.usage+=_e,yt.usage}return qe.set(N,{usage:_e,elements:[]}),_e}getStyleElement(N,_e){const qe=this.styleNodesInDOM,yt=qe?.get(_e);if(yt?.parentNode===N)return qe.delete(_e),yt.removeAttribute(le),yt;{const xt=this.doc.createElement("style");return this.nonce&&xt.setAttribute("nonce",this.nonce),xt.textContent=_e,this.platformIsServer&&xt.setAttribute(le,this.appId),xt}}addStyleToHost(N,_e){const qe=this.getStyleElement(N,_e);N.appendChild(qe);const yt=this.styleRef,xt=yt.get(_e)?.elements;xt?xt.push(qe):yt.set(_e,{elements:[qe],usage:1})}resetHostNodes(){const N=this.hostNodes;N.clear(),N.add(this.doc.head)}static#e=this.\u0275fac=function(_e){return new(_e||O)(h.LFG(o.K0),h.LFG(h.AFp),h.LFG(h.Ojb,8),h.LFG(h.Lbi))};static#t=this.\u0275prov=h.Yz7({token:O,factory:O.\u0275fac})}return O})();const ge={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/"},B=/%COMP%/g,Z="%COMP%",re=`_nghost-${Z}`,J=`_ngcontent-${Z}`,Se=new h.OlP("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!1});function Ne(O,G){return G.map(N=>N.replace(B,O))}let Pe=(()=>{class O{constructor(N,_e,qe,yt,xt,Ye,ot,U=null){this.eventManager=N,this.sharedStylesHost=_e,this.appId=qe,this.removeStylesOnCompDestroy=yt,this.doc=xt,this.platformId=Ye,this.ngZone=ot,this.nonce=U,this.rendererByCompId=new Map,this.platformIsServer=(0,o.PM)(Ye),this.defaultRenderer=new ct(N,xt,ot,this.platformIsServer)}createRenderer(N,_e){if(!N||!_e)return this.defaultRenderer;this.platformIsServer&&_e.encapsulation===h.ifc.ShadowDom&&(_e={..._e,encapsulation:h.ifc.Emulated});const qe=this.getOrCreateRenderer(N,_e);return qe instanceof ze?qe.applyToHost(N):qe instanceof Xe&&qe.applyStyles(),qe}getOrCreateRenderer(N,_e){const qe=this.rendererByCompId;let yt=qe.get(_e.id);if(!yt){const xt=this.doc,Ye=this.ngZone,ot=this.eventManager,U=this.sharedStylesHost,we=this.removeStylesOnCompDestroy,Fe=this.platformIsServer;switch(_e.encapsulation){case h.ifc.Emulated:yt=new ze(ot,U,_e,this.appId,we,xt,Ye,Fe);break;case h.ifc.ShadowDom:return new je(ot,U,N,_e,xt,Ye,this.nonce,Fe);default:yt=new Xe(ot,U,_e,we,xt,Ye,Fe)}qe.set(_e.id,yt)}return yt}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(_e){return new(_e||O)(h.LFG(W),h.LFG(ie),h.LFG(h.AFp),h.LFG(Se),h.LFG(o.K0),h.LFG(h.Lbi),h.LFG(h.R0b),h.LFG(h.Ojb))};static#t=this.\u0275prov=h.Yz7({token:O,factory:O.\u0275fac})}return O})();class ct{constructor(G,N,_e,qe){this.eventManager=G,this.doc=N,this.ngZone=_e,this.platformIsServer=qe,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(G,N){return N?this.doc.createElementNS(ge[N]||N,G):this.doc.createElement(G)}createComment(G){return this.doc.createComment(G)}createText(G){return this.doc.createTextNode(G)}appendChild(G,N){(ve(G)?G.content:G).appendChild(N)}insertBefore(G,N,_e){G&&(ve(G)?G.content:G).insertBefore(N,_e)}removeChild(G,N){G&&G.removeChild(N)}selectRootElement(G,N){let _e="string"==typeof G?this.doc.querySelector(G):G;if(!_e)throw new h.vHH(-5104,!1);return N||(_e.textContent=""),_e}parentNode(G){return G.parentNode}nextSibling(G){return G.nextSibling}setAttribute(G,N,_e,qe){if(qe){N=qe+":"+N;const yt=ge[qe];yt?G.setAttributeNS(yt,N,_e):G.setAttribute(N,_e)}else G.setAttribute(N,_e)}removeAttribute(G,N,_e){if(_e){const qe=ge[_e];qe?G.removeAttributeNS(qe,N):G.removeAttribute(`${_e}:${N}`)}else G.removeAttribute(N)}addClass(G,N){G.classList.add(N)}removeClass(G,N){G.classList.remove(N)}setStyle(G,N,_e,qe){qe&(h.JOm.DashCase|h.JOm.Important)?G.style.setProperty(N,_e,qe&h.JOm.Important?"important":""):G.style[N]=_e}removeStyle(G,N,_e){_e&h.JOm.DashCase?G.style.removeProperty(N):G.style[N]=""}setProperty(G,N,_e){G[N]=_e}setValue(G,N){G.nodeValue=N}listen(G,N,_e){if("string"==typeof G&&!(G=(0,o.q)().getGlobalEventTarget(this.doc,G)))throw new Error(`Unsupported event target ${G} for event ${N}`);return this.eventManager.addEventListener(G,N,this.decoratePreventDefault(_e))}decoratePreventDefault(G){return N=>{if("__ngUnwrap__"===N)return G;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>G(N)):G(N))&&N.preventDefault()}}}function ve(O){return"TEMPLATE"===O.tagName&&void 0!==O.content}class je extends ct{constructor(G,N,_e,qe,yt,xt,Ye,ot){super(G,yt,xt,ot),this.sharedStylesHost=N,this.hostEl=_e,this.shadowRoot=_e.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const U=Ne(qe.id,qe.styles);for(const we of U){const Fe=document.createElement("style");Ye&&Fe.setAttribute("nonce",Ye),Fe.textContent=we,this.shadowRoot.appendChild(Fe)}}nodeOrShadowRoot(G){return G===this.hostEl?this.shadowRoot:G}appendChild(G,N){return super.appendChild(this.nodeOrShadowRoot(G),N)}insertBefore(G,N,_e){return super.insertBefore(this.nodeOrShadowRoot(G),N,_e)}removeChild(G,N){return super.removeChild(this.nodeOrShadowRoot(G),N)}parentNode(G){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(G)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class Xe extends ct{constructor(G,N,_e,qe,yt,xt,Ye,ot){super(G,yt,xt,Ye),this.sharedStylesHost=N,this.removeStylesOnCompDestroy=qe,this.styles=ot?Ne(ot,_e.styles):_e.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ze extends Xe{constructor(G,N,_e,qe,yt,xt,Ye,ot){const U=qe+"-"+_e.id;super(G,N,_e,yt,xt,Ye,ot,U),this.contentAttr=function xe(O){return J.replace(B,O)}(U),this.hostAttr=function He(O){return re.replace(B,O)}(U)}applyToHost(G){this.applyStyles(),this.setAttribute(G,this.hostAttr,"")}createElement(G,N){const _e=super.createElement(G,N);return super.setAttribute(_e,this.contentAttr,""),_e}}let V=(()=>{class O extends ne{constructor(N){super(N)}supports(N){return!0}addEventListener(N,_e,qe){return N.addEventListener(_e,qe,!1),()=>this.removeEventListener(N,_e,qe)}removeEventListener(N,_e,qe){return N.removeEventListener(_e,qe)}static#e=this.\u0275fac=function(_e){return new(_e||O)(h.LFG(o.K0))};static#t=this.\u0275prov=h.Yz7({token:O,factory:O.\u0275fac})}return O})();const K=["alt","control","meta","shift"],F={"\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"},R={alt:O=>O.altKey,control:O=>O.ctrlKey,meta:O=>O.metaKey,shift:O=>O.shiftKey};let P=(()=>{class O extends ne{constructor(N){super(N)}supports(N){return null!=O.parseEventName(N)}addEventListener(N,_e,qe){const yt=O.parseEventName(_e),xt=O.eventCallback(yt.fullKey,qe,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.q)().onAndCancel(N,yt.domEventName,xt))}static parseEventName(N){const _e=N.toLowerCase().split("."),qe=_e.shift();if(0===_e.length||"keydown"!==qe&&"keyup"!==qe)return null;const yt=O._normalizeKey(_e.pop());let xt="",Ye=_e.indexOf("code");if(Ye>-1&&(_e.splice(Ye,1),xt="code."),K.forEach(U=>{const we=_e.indexOf(U);we>-1&&(_e.splice(we,1),xt+=U+".")}),xt+=yt,0!=_e.length||0===yt.length)return null;const ot={};return ot.domEventName=qe,ot.fullKey=xt,ot}static matchEventFullKeyCode(N,_e){let qe=F[N.key]||N.key,yt="";return _e.indexOf("code.")>-1&&(qe=N.code,yt="code."),!(null==qe||!qe)&&(qe=qe.toLowerCase()," "===qe?qe="space":"."===qe&&(qe="dot"),K.forEach(xt=>{xt!==qe&&(0,R[xt])(N)&&(yt+=xt+".")}),yt+=qe,yt===_e)}static eventCallback(N,_e,qe){return yt=>{O.matchEventFullKeyCode(yt,N)&&qe.runGuarded(()=>_e(yt))}}static _normalizeKey(N){return"esc"===N?"escape":N}static#e=this.\u0275fac=function(_e){return new(_e||O)(h.LFG(o.K0))};static#t=this.\u0275prov=h.Yz7({token:O,factory:O.\u0275fac})}return O})();const lt=(0,h.eFA)(h._c5,"browser",[{provide:h.Lbi,useValue:o.bD},{provide:h.g9A,useValue:function Ue(){Ee.makeCurrent()},multi:!0},{provide:o.K0,useFactory:function it(){return(0,h.RDi)(document),document},deps:[]}]),ke=new h.OlP(""),he=[{provide:h.rWj,useClass:class ce{addToWindow(G){h.dqk.getAngularTestability=(_e,qe=!0)=>{const yt=G.findTestabilityInTree(_e,qe);if(null==yt)throw new h.vHH(5103,!1);return yt},h.dqk.getAllAngularTestabilities=()=>G.getAllTestabilities(),h.dqk.getAllAngularRootElements=()=>G.getAllRootElements(),h.dqk.frameworkStabilizers||(h.dqk.frameworkStabilizers=[]),h.dqk.frameworkStabilizers.push(_e=>{const qe=h.dqk.getAllAngularTestabilities();let yt=qe.length,xt=!1;const Ye=function(ot){xt=xt||ot,yt--,0==yt&&_e(xt)};qe.forEach(ot=>{ot.whenStable(Ye)})})}findTestabilityInTree(G,N,_e){return null==N?null:G.getTestability(N)??(_e?(0,o.q)().isShadowRoot(N)?this.findTestabilityInTree(G,N.host,!0):this.findTestabilityInTree(G,N.parentElement,!0):null)}},deps:[]},{provide:h.lri,useClass:h.dDg,deps:[h.R0b,h.eoX,h.rWj]},{provide:h.dDg,useClass:h.dDg,deps:[h.R0b,h.eoX,h.rWj]}],Ie=[{provide:h.zSh,useValue:"root"},{provide:h.qLn,useFactory:function ut(){return new h.qLn},deps:[]},{provide:j,useClass:V,multi:!0,deps:[o.K0,h.R0b,h.Lbi]},{provide:j,useClass:P,multi:!0,deps:[o.K0]},Pe,ie,W,{provide:h.FYo,useExisting:Pe},{provide:o.JF,useClass:z,deps:[]},[]];let ue=(()=>{class O{constructor(N){}static withServerTransition(N){return{ngModule:O,providers:[{provide:h.AFp,useValue:N.appId}]}}static#e=this.\u0275fac=function(_e){return new(_e||O)(h.LFG(ke,12))};static#t=this.\u0275mod=h.oAB({type:O});static#n=this.\u0275inj=h.cJS({providers:[...Ie,...he],imports:[o.ez,h.hGG]})}return O})();typeof window<"u"&&window;let Sn=(()=>{class O{static#e=this.\u0275fac=function(_e){return new(_e||O)};static#t=this.\u0275prov=h.Yz7({token:O,factory:function(_e){let qe=null;return qe=_e?new(_e||O):h.LFG(Dn),qe},providedIn:"root"})}return O})(),Dn=(()=>{class O extends Sn{constructor(N){super(),this._doc=N}sanitize(N,_e){if(null==_e)return null;switch(N){case h.q3G.NONE:return _e;case h.q3G.HTML:return(0,h.qzn)(_e,"HTML")?(0,h.z3N)(_e):(0,h.EiD)(this._doc,String(_e)).toString();case h.q3G.STYLE:return(0,h.qzn)(_e,"Style")?(0,h.z3N)(_e):_e;case h.q3G.SCRIPT:if((0,h.qzn)(_e,"Script"))return(0,h.z3N)(_e);throw new h.vHH(5200,!1);case h.q3G.URL:return(0,h.qzn)(_e,"URL")?(0,h.z3N)(_e):(0,h.mCW)(String(_e));case h.q3G.RESOURCE_URL:if((0,h.qzn)(_e,"ResourceURL"))return(0,h.z3N)(_e);throw new h.vHH(5201,!1);default:throw new h.vHH(5202,!1)}}bypassSecurityTrustHtml(N){return(0,h.JVY)(N)}bypassSecurityTrustStyle(N){return(0,h.L6k)(N)}bypassSecurityTrustScript(N){return(0,h.eBb)(N)}bypassSecurityTrustUrl(N){return(0,h.LAX)(N)}bypassSecurityTrustResourceUrl(N){return(0,h.pB0)(N)}static#e=this.\u0275fac=function(_e){return new(_e||O)(h.LFG(o.K0))};static#t=this.\u0275prov=h.Yz7({token:O,factory:function(_e){let qe=null;return qe=_e?new _e:function In(O){return new Dn(O.get(o.K0))}(h.LFG(h.zs3)),qe},providedIn:"root"})}return O})()},9309:(et,Me,v)=>{"use strict";v.d(Me,{F_:()=>ce,T2:()=>W,nm:()=>le});var h=v(7786),o=v(1497),De=v(3581),Ee=v(1625),ae=v(8832);const se=["editor"],ce="MONACO_PATH";let z=(()=>{class ie{constructor(B,Z){this.ngZone=B,this.monacoPathConfig=Z,this.isMonacoLoaded$=new Ee.X(!1),this._monacoPath="assets/monaco-editor/min/vs",window.monacoEditorAlreadyInitialized?B.run(()=>this.isMonacoLoaded$.next(!0)):(window.monacoEditorAlreadyInitialized=!0,this.monacoPathConfig&&(this.monacoPath=this.monacoPathConfig),this.loadMonaco())}set monacoPath(B){B&&(this._monacoPath=B)}loadMonaco(){const B=()=>{let H=this._monacoPath;window.amdRequire=window.require;const Se=!!this.nodeRequire,xe=H.includes("http");Se&&(window.require=this.nodeRequire,xe||(H=window.require("path").resolve(window.__dirname,this._monacoPath))),window.amdRequire.config({paths:{vs:H}}),window.amdRequire(["vs/editor/editor.main"],()=>{this.ngZone.run(()=>this.isMonacoLoaded$.next(!0))},He=>console.error("Error loading monaco-editor: ",He))};if(window.amdRequire)return B();window.require&&(this.addElectronFixScripts(),this.nodeRequire=window.require);const J=document.createElement("script");J.type="text/javascript",J.src=`${this._monacoPath}/loader.js`,J.addEventListener("load",B),document.body.appendChild(J)}addElectronFixScripts(){const B=document.createElement("script"),Z=document.createTextNode("self.module = undefined;"),re=document.createTextNode("self.process.browser = true;");B.appendChild(Z),B.appendChild(re),document.body.appendChild(B)}}return ie.\u0275fac=function(B){return new(B||ie)(h.LFG(h.R0b),h.LFG(ce,8))},ie.\u0275prov=h.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})(),W=(()=>{class ie{constructor(B){this.monacoLoader=B,this.init=new h.vpe,this.onTouched=()=>{},this.onErrorStatusChange=()=>{},this.propagateChange=()=>{}}get model(){return this.editor&&this.editor.getModel()}get modelMarkers(){return this.model&&monaco.editor.getModelMarkers({resource:this.model.uri})}ngOnInit(){this.monacoLoader.isMonacoLoaded$.pipe((0,o.h)(B=>B),(0,De.q)(1)).subscribe(()=>{this.initEditor()})}ngOnChanges(B){if(this.editor&&B.options&&!B.options.firstChange){const{language:Z,theme:re,...J}=B.options.currentValue,{language:H,theme:Se}=B.options.previousValue;H!==Z&&monaco.editor.setModelLanguage(this.editor.getModel(),this.options&&this.options.language?this.options.language:"text"),Se!==re&&monaco.editor.setTheme(re),this.editor.updateOptions(J)}if(this.editor&&B.uri){const Z=B.uri.currentValue,re=B.uri.previousValue;if(re&&!Z||!re&&Z||Z&&re&&Z.path!==re.path){const J=this.editor.getValue();let H;this.modelUriInstance&&this.modelUriInstance.dispose(),Z&&(H=monaco.editor.getModels().find(Se=>Se.uri.path===Z.path)),this.modelUriInstance=H||monaco.editor.createModel(J,this.options.language||"text",this.uri),this.editor.setModel(this.modelUriInstance)}}}writeValue(B){this.value=B,this.editor&&B?this.editor.setValue(B):this.editor&&this.editor.setValue("")}registerOnChange(B){this.propagateChange=B}registerOnTouched(B){this.onTouched=B}validate(){return this.parsedError?{monaco:{value:this.parsedError.split("|")}}:null}registerOnValidatorChange(B){this.onErrorStatusChange=B}initEditor(){const B={value:[this.value].join("\n"),language:"text",automaticLayout:!0,scrollBeyondLastLine:!1,theme:"vc"};this.editor=monaco.editor.create(this.editorContent.nativeElement,this.options?{...B,...this.options}:B),this.registerEditorListeners(),this.init.emit(this.editor)}registerEditorListeners(){this.editor.onDidChangeModelContent(()=>{this.propagateChange(this.editor.getValue())}),this.editor.onDidChangeModelDecorations(()=>{const B=this.modelMarkers.map(({message:re})=>re).join("|");this.parsedError!==B&&(this.parsedError=B,this.onErrorStatusChange())}),this.editor.onDidBlurEditorText(()=>{this.onTouched()})}ngOnDestroy(){this.editor&&this.editor.dispose()}}return ie.\u0275fac=function(B){return new(B||ie)(h.Y36(z))},ie.\u0275cmp=h.Xpm({type:ie,selectors:[["ngx-monaco-editor"]],viewQuery:function(B,Z){if(1&B&&h.Gf(se,7),2&B){let re;h.iGM(re=h.CRH())&&(Z.editorContent=re.first)}},inputs:{options:"options",uri:"uri"},outputs:{init:"init"},features:[h._Bn([{provide:ae.JU,useExisting:(0,h.Gpc)(()=>ie),multi:!0},{provide:ae.Cf,useExisting:(0,h.Gpc)(()=>ie),multi:!0}]),h.TTD],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["editor",""]],template:function(B,Z){1&B&&(h.TgZ(0,"div",0,1),h._UZ(2,"div",2,3),h.qZA())},styles:[".monaco-editor[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;left:0;right:0}.editor-container[_ngcontent-%COMP%]{overflow:hidden;position:relative;display:table;width:100%;height:100%;min-width:0}"],changeDetection:0}),ie})(),le=(()=>{class ie{}return ie.\u0275fac=function(B){return new(B||ie)},ie.\u0275mod=h.oAB({type:ie}),ie.\u0275inj=h.cJS({imports:[[]]}),ie})()},534:(et,Me,v)=>{"use strict";v.d(Me,{Mq:()=>Ne,fX:()=>ct,zE:()=>Pe});var h=v(7786),o=v(9462),De=v(7371),Ee=v(9453),ae=v(2067);const se=["gutterEls"];function te(me,Ke){if(1&me){const ve=h.EpF();h.TgZ(0,"div",2,3),h.NdJ("keydown",function(Xe){h.CHM(ve);const ze=h.oxw().index,V=h.oxw();return h.KtG(V.startKeyboardDrag(Xe,2*ze+1,ze+1))})("mousedown",function(Xe){h.CHM(ve);const ze=h.oxw().index,V=h.oxw();return h.KtG(V.startMouseDrag(Xe,2*ze+1,ze+1))})("touchstart",function(Xe){h.CHM(ve);const ze=h.oxw().index,V=h.oxw();return h.KtG(V.startMouseDrag(Xe,2*ze+1,ze+1))})("mouseup",function(Xe){h.CHM(ve);const ze=h.oxw().index,V=h.oxw();return h.KtG(V.clickGutter(Xe,ze+1))})("touchend",function(Xe){h.CHM(ve);const ze=h.oxw().index,V=h.oxw();return h.KtG(V.clickGutter(Xe,ze+1))}),h._UZ(2,"div",4),h.qZA()}if(2&me){const ve=h.oxw(),je=ve.index,Xe=ve.$implicit,ze=h.oxw();h.Udp("flex-basis",ze.gutterSize,"px")("order",2*je+1),h.uIk("aria-label",ze.gutterAriaLabel)("aria-orientation",ze.direction)("aria-valuemin",Xe.minSize)("aria-valuemax",Xe.maxSize)("aria-valuenow",Xe.size)("aria-valuetext",ze.getAriaAreaSizeText(Xe.size))}}function de(me,Ke){1&me&&h.YNc(0,te,3,10,"div",1),2&me&&h.Q6J("ngIf",!1===Ke.last)}const ce=["*"];function z(me){if(void 0!==me.changedTouches&&me.changedTouches.length>0)return{x:me.changedTouches[0].clientX,y:me.changedTouches[0].clientY};if(void 0!==me.clientX&&void 0!==me.clientY)return{x:me.clientX,y:me.clientY};if(void 0!==me.currentTarget){const Ke=me.currentTarget;return{x:Ke.offsetLeft,y:Ke.offsetTop}}return null}function j(me,Ke,ve){return Math.abs(me.x-Ke.x)<=ve&&Math.abs(me.y-Ke.y)<=ve}function ne(me,Ke){const ve=me.nativeElement.getBoundingClientRect();return"horizontal"===Ke?ve.width:ve.height}function le(me){return"boolean"==typeof me?me:"false"!==me}function ie(me,Ke){return null==me?Ke:(me=Number(me),!isNaN(me)&&me>=0?me:Ke)}function ge(me,Ke){if("percent"===me){const ve=Ke.reduce((Xe,ze)=>"*"!==ze?Xe+ze:Xe,0),je=Ke.filter(Xe=>"*"===Xe);return!(je.length>1)&&(1===je.length||ve>99.9)&&ve<100.1}if("pixel"===me)return 1===Ke.filter(ve=>"*"===ve).length}function B(me){return"*"===me.size?null:!0===me.component.lockSize?me.size:null===me.component.minSize?null:me.component.minSize>me.size?me.size:me.component.minSize}function Z(me){return"*"===me.size?null:!0===me.component.lockSize?me.size:null===me.component.maxSize?null:me.component.maxSize<me.size?me.size:me.component.maxSize}function re(me,Ke,ve,je){return Ke.reduce((Xe,ze)=>{const V=function J(me,Ke,ve,je){return 0===ve?{areaSnapshot:Ke,pixelAbsorb:0,percentAfterAbsorption:Ke.sizePercentAtStart,pixelRemain:0}:0===Ke.sizePixelAtStart&&ve<0?{areaSnapshot:Ke,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:ve}:"percent"===me?function H(me,Ke,ve){const Xe=(me.sizePixelAtStart+Ke)/ve*100;if(Ke>0){if(null!==me.area.maxSize&&Xe>me.area.maxSize){const ze=me.area.maxSize/100*ve;return{areaSnapshot:me,pixelAbsorb:ze,percentAfterAbsorption:me.area.maxSize,pixelRemain:me.sizePixelAtStart+Ke-ze}}return{areaSnapshot:me,pixelAbsorb:Ke,percentAfterAbsorption:Xe>100?100:Xe,pixelRemain:0}}if(Ke<0){if(null!==me.area.minSize&&Xe<me.area.minSize){const ze=me.area.minSize/100*ve;return{areaSnapshot:me,pixelAbsorb:ze,percentAfterAbsorption:me.area.minSize,pixelRemain:me.sizePixelAtStart+Ke-ze}}return Xe<0?{areaSnapshot:me,pixelAbsorb:-me.sizePixelAtStart,percentAfterAbsorption:0,pixelRemain:Ke+me.sizePixelAtStart}:{areaSnapshot:me,pixelAbsorb:Ke,percentAfterAbsorption:Xe,pixelRemain:0}}}(Ke,ve,je):"pixel"===me?function Se(me,Ke,ve){const je=me.sizePixelAtStart+Ke;return Ke>0?null!==me.area.maxSize&&je>me.area.maxSize?{areaSnapshot:me,pixelAbsorb:me.area.maxSize-me.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:je-me.area.maxSize}:{areaSnapshot:me,pixelAbsorb:Ke,percentAfterAbsorption:-1,pixelRemain:0}:Ke<0?null!==me.area.minSize&&je<me.area.minSize?{areaSnapshot:me,pixelAbsorb:me.area.minSize+Ke-je,percentAfterAbsorption:-1,pixelRemain:je-me.area.minSize}:je<0?{areaSnapshot:me,pixelAbsorb:-me.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:Ke+me.sizePixelAtStart}:{areaSnapshot:me,pixelAbsorb:Ke,percentAfterAbsorption:-1,pixelRemain:0}:void 0}(Ke,ve):void 0}(me,ze,Xe.remain,je);return Xe.list.push(V),Xe.remain=V.pixelRemain,Xe},{remain:ve,list:[]})}function xe(me,Ke){"*"!==Ke.areaSnapshot.area.size&&("percent"===me?Ke.areaSnapshot.area.size=Ke.percentAfterAbsorption:"pixel"===me&&(Ke.areaSnapshot.area.size=Ke.areaSnapshot.sizePixelAtStart+Ke.pixelAbsorb))}const He=new h.OlP("angular-split-global-config");let Ne=(()=>{class me{set direction(ve){this._direction="vertical"===ve?"vertical":"horizontal",this.renderer.addClass(this.elRef.nativeElement,`as-${this._direction}`),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("vertical"===this._direction?"horizontal":"vertical")),this.build(!1,!1)}get direction(){return this._direction}set unit(ve){this._unit="pixel"===ve?"pixel":"percent",this.renderer.addClass(this.elRef.nativeElement,`as-${this._unit}`),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("pixel"===this._unit?"percent":"pixel")),this.build(!1,!0)}get unit(){return this._unit}set gutterSize(ve){this._gutterSize=ie(ve,11),this.build(!1,!1)}get gutterSize(){return this._gutterSize}set gutterStep(ve){this._gutterStep=ie(ve,1)}get gutterStep(){return this._gutterStep}set restrictMove(ve){this._restrictMove=le(ve)}get restrictMove(){return this._restrictMove}set useTransition(ve){this._useTransition=le(ve),this._useTransition?this.renderer.addClass(this.elRef.nativeElement,"as-transition"):this.renderer.removeClass(this.elRef.nativeElement,"as-transition")}get useTransition(){return this._useTransition}set disabled(ve){this._disabled=le(ve),this._disabled?this.renderer.addClass(this.elRef.nativeElement,"as-disabled"):this.renderer.removeClass(this.elRef.nativeElement,"as-disabled")}get disabled(){return this._disabled}set dir(ve){this._dir="rtl"===ve?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}get dir(){return this._dir}set gutterDblClickDuration(ve){this._gutterDblClickDuration=ie(ve,0)}get gutterDblClickDuration(){return this._gutterDblClickDuration}get transitionEnd(){return new De.y(ve=>this.transitionEndSubscriber=ve).pipe((0,ae.b)(20))}constructor(ve,je,Xe,ze,V){this.ngZone=ve,this.elRef=je,this.cdRef=Xe,this.renderer=ze,this.gutterClickDeltaPx=2,this._config={direction:"horizontal",unit:"percent",gutterSize:11,gutterStep:1,restrictMove:!1,useTransition:!1,disabled:!1,dir:"ltr",gutterDblClickDuration:0},this.dragStart=new h.vpe(!1),this.dragEnd=new h.vpe(!1),this.gutterClick=new h.vpe(!1),this.gutterDblClick=new h.vpe(!1),this.dragProgressSubject=new Ee.x,this.dragProgress$=this.dragProgressSubject.asObservable(),this.isDragging=!1,this.isWaitingClear=!1,this.isWaitingInitialMove=!1,this.dragListeners=[],this.snapshot=null,this.startPoint=null,this.endPoint=null,this.displayedAreas=[],this.hiddenAreas=[],this._clickTimeout=null,this.direction=this._direction,this._config=V?Object.assign(this._config,V):this._config,Object.keys(this._config).forEach(K=>{this[K]=this._config[K]})}ngAfterViewInit(){this.ngZone.runOutsideAngular(()=>{setTimeout(()=>this.renderer.addClass(this.elRef.nativeElement,"as-init"))})}getNbGutters(){return 0===this.displayedAreas.length?0:this.displayedAreas.length-1}addArea(ve){const je={component:ve,order:0,size:0,minSize:null,maxSize:null,sizeBeforeCollapse:null,gutterBeforeCollapse:0};!0===ve.visible?(this.displayedAreas.push(je),this.build(!0,!0)):this.hiddenAreas.push(je)}removeArea(ve){if(this.displayedAreas.some(je=>je.component===ve)){const je=this.displayedAreas.find(Xe=>Xe.component===ve);this.displayedAreas.splice(this.displayedAreas.indexOf(je),1),this.build(!0,!0)}else if(this.hiddenAreas.some(je=>je.component===ve)){const je=this.hiddenAreas.find(Xe=>Xe.component===ve);this.hiddenAreas.splice(this.hiddenAreas.indexOf(je),1)}}updateArea(ve,je,Xe){!0===ve.visible&&this.build(je,Xe)}showArea(ve){const je=this.hiddenAreas.find(ze=>ze.component===ve);if(void 0===je)return;const Xe=this.hiddenAreas.splice(this.hiddenAreas.indexOf(je),1);this.displayedAreas.push(...Xe),this.build(!0,!0)}hideArea(ve){const je=this.displayedAreas.find(ze=>ze.component===ve);if(void 0===je)return;const Xe=this.displayedAreas.splice(this.displayedAreas.indexOf(je),1);Xe.forEach(ze=>{ze.order=0,ze.size=0}),this.hiddenAreas.push(...Xe),this.build(!0,!0)}getVisibleAreaSizes(){return this.displayedAreas.map(ve=>ve.size)}setVisibleAreaSizes(ve){if(ve.length!==this.displayedAreas.length)return!1;const je=ve.map(ze=>ie(ze,"*"));return!1!==ge(this.unit,je)&&(this.displayedAreas.forEach((ze,V)=>ze.component._size=je[V]),this.build(!1,!0),!0)}build(ve,je){if(this.stopDragging(),!0===ve&&(this.displayedAreas.every(Xe=>null!==Xe.component.order)&&this.displayedAreas.sort((Xe,ze)=>Xe.component.order-ze.component.order),this.displayedAreas.forEach((Xe,ze)=>{Xe.order=2*ze,Xe.component.setStyleOrder(Xe.order)})),!0===je){const Xe=ge(this.unit,this.displayedAreas.map(ze=>ze.component.size));switch(this.unit){case"percent":{const ze=100/this.displayedAreas.length;this.displayedAreas.forEach(V=>{V.size=Xe?V.component.size:ze,V.minSize=B(V),V.maxSize=Z(V)});break}case"pixel":if(Xe)this.displayedAreas.forEach(ze=>{ze.size=ze.component.size,ze.minSize=B(ze),ze.maxSize=Z(ze)});else{const ze=this.displayedAreas.filter(V=>"*"===V.component.size);if(0===ze.length&&this.displayedAreas.length>0)this.displayedAreas.forEach((V,K)=>{V.size=0===K?"*":V.component.size,V.minSize=0===K?null:B(V),V.maxSize=0===K?null:Z(V)});else if(ze.length>1){let V=!1;this.displayedAreas.forEach(K=>{"*"===K.component.size?!1===V?(K.size="*",K.minSize=null,K.maxSize=null,V=!0):(K.size=100,K.minSize=null,K.maxSize=null):(K.size=K.component.size,K.minSize=B(K),K.maxSize=Z(K))})}}}}this.refreshStyleSizes(),this.cdRef.markForCheck()}refreshStyleSizes(){if("percent"===this.unit)if(1===this.displayedAreas.length)this.displayedAreas[0].component.setStyleFlex(0,0,"100%",!1,!1);else{const ve=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(je=>{"*"===je.size?je.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):je.component.setStyleFlex(0,0,`calc( ${je.size}% - ${je.size/100*ve}px )`,null!==je.minSize&&je.minSize===je.size,null!==je.maxSize&&je.maxSize===je.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach(ve=>{"*"===ve.size?ve.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):1===this.displayedAreas.length?ve.component.setStyleFlex(0,0,"100%",!1,!1):ve.component.setStyleFlex(0,0,`${ve.size}px`,null!==ve.minSize&&ve.minSize===ve.size,null!==ve.maxSize&&ve.maxSize===ve.size)})}clickGutter(ve,je){const Xe=z(ve);this.startPoint&&j(this.startPoint,Xe,this.gutterClickDeltaPx)&&(!this.isDragging||this.isWaitingInitialMove)&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",je),this.stopDragging()):this._clickTimeout=window.setTimeout(()=>{this._clickTimeout=null,this.notify("click",je),this.stopDragging()},this.gutterDblClickDuration))}startKeyboardDrag(ve,je,Xe){if(!0===this.disabled||!0===this.isWaitingClear)return;const ze=function W(me,Ke){if("horizontal"===Ke)switch(me.key){case"ArrowLeft":case"ArrowRight":case"PageUp":case"PageDown":break;default:return null}if("vertical"===Ke)switch(me.key){case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":break;default:return null}const ve=me.currentTarget,je="PageUp"===me.key||"PageDown"===me.key?500:50;let Xe=ve.offsetLeft,ze=ve.offsetTop;switch(me.key){case"ArrowLeft":Xe-=je;break;case"ArrowRight":Xe+=je;break;case"ArrowUp":ze-=je;break;case"ArrowDown":ze+=je;break;case"PageUp":"vertical"===Ke?ze-=je:Xe+=je;break;case"PageDown":"vertical"===Ke?ze+=je:Xe-=je;break;default:return null}return{x:Xe,y:ze}}(ve,this.direction);null!==ze&&(this.endPoint=ze,this.startPoint=z(ve),ve.preventDefault(),ve.stopPropagation(),this.setupForDragEvent(je,Xe),this.startDragging(),this.drag(),this.stopDragging())}startMouseDrag(ve,je,Xe){ve.preventDefault(),ve.stopPropagation(),this.startPoint=z(ve),null!==this.startPoint&&!0!==this.disabled&&!0!==this.isWaitingClear&&(this.setupForDragEvent(je,Xe),this.dragListeners.push(this.renderer.listen("document","mouseup",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchend",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchcancel",this.stopDragging.bind(this))),this.ngZone.runOutsideAngular(()=>{this.dragListeners.push(this.renderer.listen("document","mousemove",this.mouseDragEvent.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchmove",this.mouseDragEvent.bind(this)))}),this.startDragging())}setupForDragEvent(ve,je){if(this.snapshot={gutterNum:je,lastSteppedOffset:0,allAreasSizePixel:ne(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(Xe=>{const ze={area:Xe,sizePixelAtStart:ne(Xe.component.elRef,this.direction),sizePercentAtStart:"percent"===this.unit?Xe.size:-1};Xe.order<ve?!0===this.restrictMove?this.snapshot.areasBeforeGutter=[ze]:this.snapshot.areasBeforeGutter.unshift(ze):Xe.order>ve&&(!0===this.restrictMove?0===this.snapshot.areasAfterGutter.length&&(this.snapshot.areasAfterGutter=[ze]):this.snapshot.areasAfterGutter.push(ze))}),this.restrictMove&&"percent"===this.unit){const Xe=this.snapshot.areasBeforeGutter[0],ze=this.snapshot.areasAfterGutter[0];if("*"===Xe.area.size||"*"===ze.area.size){const V=this.displayedAreas.reduce((K,F)=>Xe.area!==F&&ze.area!==F?K+F.size:K,0);this.snapshot.allInvolvedAreasSizePercent=100-V}else this.snapshot.allInvolvedAreasSizePercent=[...this.snapshot.areasBeforeGutter,...this.snapshot.areasAfterGutter].reduce((V,K)=>V+K.sizePercentAtStart,0)}}startDragging(){this.displayedAreas.forEach(ve=>ve.component.lockEvents()),this.isDragging=!0,this.isWaitingInitialMove=!0}mouseDragEvent(ve){ve.preventDefault(),ve.stopPropagation();const je=z(ve);null!==this._clickTimeout&&!j(this.startPoint,je,this.gutterClickDeltaPx)&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1!==this.isDragging&&(this.endPoint=z(ve),null!==this.endPoint&&this.drag())}drag(){if(this.isWaitingInitialMove){if(this.startPoint.x===this.endPoint.x&&this.startPoint.y===this.endPoint.y)return;this.ngZone.run(()=>{this.isWaitingInitialMove=!1,this.renderer.addClass(this.elRef.nativeElement,"as-dragging"),this.renderer.addClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.notify("start",this.snapshot.gutterNum)})}let ve="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&"horizontal"===this.direction&&(ve=-ve);const je=Math.round(ve/this.gutterStep)*this.gutterStep;if(je===this.snapshot.lastSteppedOffset)return;this.snapshot.lastSteppedOffset=je;let Xe=re(this.unit,this.snapshot.areasBeforeGutter,-je,this.snapshot.allAreasSizePixel),ze=re(this.unit,this.snapshot.areasAfterGutter,je,this.snapshot.allAreasSizePixel);if(0!==Xe.remain&&0!==ze.remain?Math.abs(Xe.remain)===Math.abs(ze.remain)||(Math.abs(Xe.remain)>Math.abs(ze.remain)?ze=re(this.unit,this.snapshot.areasAfterGutter,je+Xe.remain,this.snapshot.allAreasSizePixel):Xe=re(this.unit,this.snapshot.areasBeforeGutter,-(je-ze.remain),this.snapshot.allAreasSizePixel)):0!==Xe.remain?ze=re(this.unit,this.snapshot.areasAfterGutter,je+Xe.remain,this.snapshot.allAreasSizePixel):0!==ze.remain&&(Xe=re(this.unit,this.snapshot.areasBeforeGutter,-(je-ze.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){const V=[...Xe.list,...ze.list],F=V.find(R=>"*"==R.percentAfterAbsorption)??V.find(R=>0!==R.percentAfterAbsorption&&R.percentAfterAbsorption!==R.areaSnapshot.area.minSize&&R.percentAfterAbsorption!==R.areaSnapshot.area.maxSize);F&&(F.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-V.filter(R=>R!==F).reduce((R,P)=>R+P.percentAfterAbsorption,0))}Xe.list.forEach(V=>xe(this.unit,V)),ze.list.forEach(V=>xe(this.unit,V)),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}stopDragging(ve){if(ve&&(ve.preventDefault(),ve.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach(je=>je.component.unlockEvents());this.dragListeners.length>0;){const je=this.dragListeners.pop();je&&je()}this.isDragging=!1,!1===this.isWaitingInitialMove&&this.notify("end",this.snapshot.gutterNum),this.renderer.removeClass(this.elRef.nativeElement,"as-dragging"),this.renderer.removeClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.snapshot=null,this.isWaitingClear=!0,this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.startPoint=null,this.endPoint=null,this.isWaitingClear=!1})})}}notify(ve,je){const Xe=this.getVisibleAreaSizes();"start"===ve?this.dragStart.emit({gutterNum:je,sizes:Xe}):"end"===ve?this.dragEnd.emit({gutterNum:je,sizes:Xe}):"click"===ve?this.gutterClick.emit({gutterNum:je,sizes:Xe}):"dblclick"===ve?this.gutterDblClick.emit({gutterNum:je,sizes:Xe}):"transitionEnd"===ve?this.transitionEndSubscriber&&this.ngZone.run(()=>this.transitionEndSubscriber.next(Xe)):"progress"===ve&&this.dragProgressSubject.next({gutterNum:je,sizes:Xe})}ngOnDestroy(){this.stopDragging()}collapseArea(ve,je,Xe){const ze=this.displayedAreas.find(F=>F.component===ve);if(void 0===ze)return;const V="right"===Xe?1:-1;ze.sizeBeforeCollapse||(ze.sizeBeforeCollapse=ze.size,ze.gutterBeforeCollapse=V),ze.size=je;const K=this.gutterEls.find(F=>F.nativeElement.style.order===`${ze.order+V}`);K&&this.renderer.addClass(K.nativeElement,"as-split-gutter-collapsed"),this.updateArea(ve,!1,!1)}expandArea(ve){const je=this.displayedAreas.find(ze=>ze.component===ve);if(void 0===je||!je.sizeBeforeCollapse)return;je.size=je.sizeBeforeCollapse,je.sizeBeforeCollapse=null;const Xe=this.gutterEls.find(ze=>ze.nativeElement.style.order===`${je.order+je.gutterBeforeCollapse}`);Xe&&this.renderer.removeClass(Xe.nativeElement,"as-split-gutter-collapsed"),this.updateArea(ve,!1,!1)}getAriaAreaSizeText(ve){return"*"===ve?null:ve.toFixed(0)+" "+this.unit}static#e=this.\u0275fac=function(je){return new(je||me)(h.Y36(h.R0b),h.Y36(h.SBq),h.Y36(h.sBO),h.Y36(h.Qsj),h.Y36(He,8))};static#t=this.\u0275cmp=h.Xpm({type:me,selectors:[["as-split"]],viewQuery:function(je,Xe){if(1&je&&h.Gf(se,5),2&je){let ze;h.iGM(ze=h.CRH())&&(Xe.gutterEls=ze)}},inputs:{direction:"direction",unit:"unit",gutterSize:"gutterSize",gutterStep:"gutterStep",restrictMove:"restrictMove",useTransition:"useTransition",disabled:"disabled",dir:"dir",gutterDblClickDuration:"gutterDblClickDuration",gutterClickDeltaPx:"gutterClickDeltaPx",gutterAriaLabel:"gutterAriaLabel"},outputs:{transitionEnd:"transitionEnd",dragStart:"dragStart",dragEnd:"dragEnd",gutterClick:"gutterClick",gutterDblClick:"gutterDblClick"},exportAs:["asSplit"],ngContentSelectors:ce,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],["role","separator","tabindex","0","class","as-split-gutter",3,"flex-basis","order","keydown","mousedown","touchstart","mouseup","touchend",4,"ngIf"],["role","separator","tabindex","0",1,"as-split-gutter",3,"keydown","mousedown","touchstart","mouseup","touchend"],["gutterEls",""],[1,"as-split-gutter-icon"]],template:function(je,Xe){1&je&&(h.F$t(),h.Hsn(0),h.YNc(1,de,1,1,"ng-template",0)),2&je&&(h.xp6(1),h.Q6J("ngForOf",Xe.displayedAreas))},dependencies:[o.sg,o.O5],styles:["[_nghost-%COMP%]{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;overflow:hidden;width:100%;height:100%}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{border:none;flex-grow:0;flex-shrink:0;background-color:#eee;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] > .as-split-gutter.as-split-gutter-collapsed[_ngcontent-%COMP%]{flex-basis:1px!important;pointer-events:none}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{width:100%;height:100%;background-position:center center;background-repeat:no-repeat}[_nghost-%COMP%] >.as-split-area{flex-grow:0;flex-shrink:0;overflow-x:hidden;overflow-y:auto}[_nghost-%COMP%] >.as-split-area.as-hidden{flex:0 1 0px!important;overflow-x:hidden;overflow-y:hidden}[_nghost-%COMP%] >.as-split-area .iframe-fix{position:absolute;top:0;left:0;width:100%;height:100%}.as-horizontal[_nghost-%COMP%]{flex-direction:row}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:row;cursor:col-resize;height:100%}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-horizontal[_nghost-%COMP%] >.as-split-area{height:100%}.as-vertical[_nghost-%COMP%]{flex-direction:column}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:column;cursor:row-resize;width:100%}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}.as-vertical[_nghost-%COMP%] >.as-split-area{width:100%}.as-vertical[_nghost-%COMP%] >.as-split-area.as-hidden{max-width:0}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{cursor:default}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) > .as-split-gutter[_ngcontent-%COMP%], .as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) >.as-split-area{transition:flex-basis .3s}"],changeDetection:0})}return me})(),Pe=(()=>{class me{set order(ve){this._order=ie(ve,null),this.split.updateArea(this,!0,!1)}get order(){return this._order}set size(ve){this._size=ie(ve,"*"),this.split.updateArea(this,!1,!0)}get size(){return this._size}set minSize(ve){this._minSize=ie(ve,null),this.split.updateArea(this,!1,!0)}get minSize(){return this._minSize}set maxSize(ve){this._maxSize=ie(ve,null),this.split.updateArea(this,!1,!0)}get maxSize(){return this._maxSize}set lockSize(ve){this._lockSize=le(ve),this.split.updateArea(this,!1,!0)}get lockSize(){return this._lockSize}set visible(ve){this._visible=le(ve),this._visible?(this.split.showArea(this),this.renderer.removeClass(this.elRef.nativeElement,"as-hidden")):(this.split.hideArea(this),this.renderer.addClass(this.elRef.nativeElement,"as-hidden"))}get visible(){return this._visible}constructor(ve,je,Xe,ze){this.ngZone=ve,this.elRef=je,this.renderer=Xe,this.split=ze,this._order=null,this._size="*",this._minSize=null,this._maxSize=null,this._lockSize=!1,this._visible=!0,this.lockListeners=[],this.renderer.addClass(this.elRef.nativeElement,"as-split-area")}ngOnInit(){this.split.addArea(this),this.ngZone.runOutsideAngular(()=>{this.transitionListener=this.renderer.listen(this.elRef.nativeElement,"transitionend",je=>{"flex-basis"===je.propertyName&&this.split.notify("transitionEnd",-1)})});const ve=this.renderer.createElement("div");this.renderer.addClass(ve,"iframe-fix"),this.dragStartSubscription=this.split.dragStart.subscribe(()=>{this.renderer.setStyle(this.elRef.nativeElement,"position","relative"),this.renderer.appendChild(this.elRef.nativeElement,ve)}),this.dragEndSubscription=this.split.dragEnd.subscribe(()=>{this.renderer.removeStyle(this.elRef.nativeElement,"position"),this.renderer.removeChild(this.elRef.nativeElement,ve)})}setStyleOrder(ve){this.renderer.setStyle(this.elRef.nativeElement,"order",ve)}setStyleFlex(ve,je,Xe,ze,V){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",ve),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",je),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",Xe),!0===ze?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===V?this.renderer.addClass(this.elRef.nativeElement,"as-max"):this.renderer.removeClass(this.elRef.nativeElement,"as-max")}lockEvents(){this.ngZone.runOutsideAngular(()=>{this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"selectstart",()=>!1)),this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"dragstart",()=>!1))})}unlockEvents(){for(;this.lockListeners.length>0;){const ve=this.lockListeners.pop();ve&&ve()}}ngOnDestroy(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.dragStartSubscription?.unsubscribe(),this.dragEndSubscription?.unsubscribe(),this.split.removeArea(this)}collapse(ve=0,je="right"){this.split.collapseArea(this,ve,je)}expand(){this.split.expandArea(this)}static#e=this.\u0275fac=function(je){return new(je||me)(h.Y36(h.R0b),h.Y36(h.SBq),h.Y36(h.Qsj),h.Y36(Ne))};static#t=this.\u0275dir=h.lG2({type:me,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]})}return me})(),ct=(()=>{class me{static#e=this.\u0275fac=function(je){return new(je||me)};static#t=this.\u0275mod=h.oAB({type:me});static#n=this.\u0275inj=h.cJS({imports:[o.ez]})}return me})()},6086:(et,Me,v)=>{"use strict";v.d(Me,{Y:()=>ce,s:()=>z});var h=v(7786),o=v(9462);function De(j,W){1&j&&h._UZ(0,"div",9)}function Ee(j,W){if(1&j&&(h.TgZ(0,"span",10),h._uU(1),h.qZA()),2&j){const ne=h.oxw().$implicit;h.xp6(1),h.Oqu(ne.description)}}function ae(j,W){if(1&j&&(h.TgZ(0,"section",11),h._UZ(1,"ngx-json-viewer",12),h.qZA()),2&j){const ne=h.oxw().$implicit,le=h.oxw();h.xp6(1),h.Q6J("json",ne.value)("expanded",le.expanded)("depth",le.depth)("_currentDepth",le._currentDepth+1)}}const se=function(j){return["segment",j]},te=function(j,W){return{"segment-main":!0,expandable:j,expanded:W}};function de(j,W){if(1&j){const ne=h.EpF();h.TgZ(0,"section",2)(1,"section",3),h.NdJ("click",function(){const ge=h.CHM(ne).$implicit,B=h.oxw();return h.KtG(B.toggle(ge))}),h.YNc(2,De,1,0,"div",4),h.TgZ(3,"span",5),h._uU(4),h.qZA(),h.TgZ(5,"span",6),h._uU(6,": "),h.qZA(),h.YNc(7,Ee,2,1,"span",7),h.qZA(),h.YNc(8,ae,2,4,"section",8),h.qZA()}if(2&j){const ne=W.$implicit,le=h.oxw();h.Q6J("ngClass",h.VKq(6,se,"segment-type-"+ne.type)),h.xp6(1),h.Q6J("ngClass",h.WLB(8,te,le.isExpandable(ne),ne.expanded)),h.xp6(1),h.Q6J("ngIf",le.isExpandable(ne)),h.xp6(2),h.Oqu(ne.key),h.xp6(3),h.Q6J("ngIf",!ne.expanded||!le.isExpandable(ne)),h.xp6(1),h.Q6J("ngIf",ne.expanded&&le.isExpandable(ne))}}let ce=(()=>{class j{constructor(){this.expanded=!0,this.depth=-1,this._currentDepth=0,this.segments=[]}ngOnChanges(){this.segments=[],this.json=this.decycle(this.json),"object"==typeof this.json?Object.keys(this.json).forEach(ne=>{this.segments.push(this.parseKeyValue(ne,this.json[ne]))}):this.segments.push(this.parseKeyValue(`(${typeof this.json})`,this.json))}isExpandable(ne){return"object"===ne.type||"array"===ne.type}toggle(ne){this.isExpandable(ne)&&(ne.expanded=!ne.expanded)}parseKeyValue(ne,le){const ie={key:ne,value:le,type:void 0,description:""+le,expanded:this.isExpanded()};switch(typeof ie.value){case"number":ie.type="number";break;case"boolean":ie.type="boolean";break;case"function":ie.type="function";break;case"string":ie.type="string",ie.description='"'+ie.value+'"';break;case"undefined":ie.type="undefined",ie.description="undefined";break;case"object":null===ie.value?(ie.type="null",ie.description="null"):Array.isArray(ie.value)?(ie.type="array",ie.description="Array["+ie.value.length+"] "+JSON.stringify(ie.value)):ie.value instanceof Date?ie.type="date":(ie.type="object",ie.description="Object "+JSON.stringify(ie.value))}return ie}isExpanded(){return this.expanded&&!(this.depth>-1&&this._currentDepth>=this.depth)}decycle(ne){const le=new WeakMap;return function ie(ge,B){let Z,re;return"object"!=typeof ge||null===ge||ge instanceof Boolean||ge instanceof Date||ge instanceof Number||ge instanceof RegExp||ge instanceof String?ge:(Z=le.get(ge),void 0!==Z?{$ref:Z}:(le.set(ge,B),Array.isArray(ge)?(re=[],ge.forEach(function(J,H){re[H]=ie(J,B+"["+H+"]")})):(re={},Object.keys(ge).forEach(function(J){re[J]=ie(ge[J],B+"["+JSON.stringify(J)+"]")})),re))}(ne,"$")}}return j.\u0275fac=function(ne){return new(ne||j)},j.\u0275cmp=h.Xpm({type:j,selectors:[["ngx-json-viewer"]],inputs:{json:"json",expanded:"expanded",depth:"depth",_currentDepth:"_currentDepth"},features:[h.TTD],decls:2,vars:1,consts:[[1,"ngx-json-viewer"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[3,"ngClass","click"],["class","toggler",4,"ngIf"],[1,"segment-key"],[1,"segment-separator"],["class","segment-value",4,"ngIf"],["class","children",4,"ngIf"],[1,"toggler"],[1,"segment-value"],[1,"children"],[3,"json","expanded","depth","_currentDepth"]],template:function(ne,le){1&ne&&(h.TgZ(0,"section",0),h.YNc(1,de,9,11,"section",1),h.qZA()),2&ne&&(h.xp6(1),h.Q6J("ngForOf",le.segments))},dependencies:[o.mk,o.sg,o.O5,j],styles:['@charset "UTF-8";.ngx-json-viewer[_ngcontent-%COMP%]{font-family:var(--ngx-json-font-family, monospace);font-size:var(--ngx-json-font-size, 1em);width:100%;height:100%;overflow:hidden;position:relative}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%]{padding:2px;margin:1px 1px 1px 12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%]{word-wrap:break-word}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]{position:absolute;margin-left:-14px;margin-top:3px;font-size:.8em;line-height:1.2em;vertical-align:middle;color:var(--ngx-json-toggler, #787878)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .toggler[_ngcontent-%COMP%]:after{display:inline-block;content:"\\25ba";transition:transform .1s ease-in}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-key, #4E187C)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-separator[_ngcontent-%COMP%]{color:var(--ngx-json-separator, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-value, #000)}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .children[_ngcontent-%COMP%]{margin-left:12px}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-string[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-string, #FF6B6B)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-number[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-number, #009688)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-boolean[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-boolean, #B938A4)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-date[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-date, #05668D)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-array, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-object, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-function[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-function, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-null, #fff)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:var(--ngx-json-undefined, #fff)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-null-bg, red)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-key[_ngcontent-%COMP%]{color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:var(--ngx-json-undefined-key, #999)}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%]{white-space:nowrap}.ngx-json-viewer[_ngcontent-%COMP%] .expanded[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]:after{transform:rotate(90deg)}.ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%], .ngx-json-viewer[_ngcontent-%COMP%] .expandable[_ngcontent-%COMP%] > .toggler[_ngcontent-%COMP%]{cursor:pointer}']}),j})(),z=(()=>{class j{}return j.\u0275fac=function(ne){return new(ne||j)},j.\u0275mod=h.oAB({type:j}),j.\u0275inj=h.cJS({imports:[o.ez]}),j})()},5861:(et,Me,v)=>{"use strict";function h(De,Ee,ae,se,te,de,ce){try{var z=De[de](ce),j=z.value}catch(W){return void ae(W)}z.done?Ee(j):Promise.resolve(j).then(se,te)}function o(De){return function(){var Ee=this,ae=arguments;return new Promise(function(se,te){var de=De.apply(Ee,ae);function ce(j){h(de,se,te,ce,z,"next",j)}function z(j){h(de,se,te,ce,z,"throw",j)}ce(void 0)})}}v.d(Me,{Z:()=>o})}},et=>{et(et.s=7601)}]);