@sdkgen/playground 0.0.0-dev.20230120140203 → 0.0.0-dev.20230120145236

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.
@@ -0,0 +1 @@
1
+ (self.webpackChunksdkgen_playground=self.webpackChunksdkgen_playground||[]).push([[179],{4602:function(U,o,a){"use strict";var b,n=this&&this.__extends||(b=function(v,m){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,M){C.__proto__=M}||function(C,M){for(var O in M)Object.prototype.hasOwnProperty.call(M,O)&&(C[O]=M[O])})(v,m)},function(v,m){if("function"!=typeof m&&null!==m)throw new TypeError("Class extends value "+String(m)+" is not a constructor or null");function C(){this.constructor=v}b(v,m),v.prototype=null===m?Object.create(m):(C.prototype=m.prototype,new C)}),h=this&&this.__spreadArray||function(b,v,m){if(m||2===arguments.length)for(var O,C=0,M=v.length;C<M;C++)(O||!(C in v))&&(O||(O=Array.prototype.slice.call(v,0,C)),O[C]=v[C]);return b.concat(O||Array.prototype.slice.call(v))},_=this&&this.__importDefault||function(b){return b&&b.__esModule?b:{default:b}};Object.defineProperty(o,"__esModule",{value:!0}),o.decode=o.encode=void 0;var u=_(a(602)),r=["string","email","phone","html","xml"],c=h(["json","bool","url","int","uint","float","money","hex","uuid","base64","void"],r,!0),d=function(b){function v(m,C,M){var O;try{O=JSON.stringify(M)}catch(P){O=String(M)}return b.call(this,"Invalid type at '".concat(m,"', expected ").concat(C,", got ").concat(O))||this}return n(v,b),v}(Error);function p(b,v,m){if("json"===v)return null==m?null:JSON.parse(JSON.stringify(m));if("bool"===v){if("boolean"!=typeof m)throw new d(b,v,m);return m}if(r.indexOf(v)>=0){if("string"!=typeof m)throw new d(b,v,m);return m}if("hex"===v){if("string"!=typeof m||!/^(?:[A-Fa-f0-9]{2})*$/u.test(m))throw new d(b,v,m);return m.toLowerCase()}if("uuid"===v){if("string"!=typeof m||!/^[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(m))throw new d(b,v,m);return m.toLowerCase()}if("base64"===v){var C=!0;try{atob(m)}catch(O){C=!1}if("string"!=typeof m||!C)throw new d(b,v,m);return m}if("int"===v){if("number"!=typeof m||(0|m)!==m)throw new d(b,v,m);return m}if("uint"===v){if("number"!=typeof m||(0|m)!==m||m<0)throw new d(b,v,m);return m}if("float"===v){if("number"!=typeof m)throw new d(b,v,m);return m}if("money"===v){if("number"!=typeof m||!Number.isInteger(m))throw new d(b,v,m);return m}if("url"===v){var M=void 0;if("string"==typeof m)try{M=new URL(m)}catch(O){}if(!M)throw new d(b,v,m);return M.toString()}if("void"===v)return null;throw new Error("Unknown type '".concat(v,"' at '").concat(b,"'"))}o.encode=function y(b,v,m,C){if("string"==typeof m&&!m.endsWith("?")&&"void"!==m&&null==C)throw new Error("Invalid type at '".concat(v,"', cannot be null"));if(Array.isArray(m)){for(var M=0,O=m;M<O.length;M++){var P=O[M];if(P===C)return C;if(Array.isArray(C)&&2===C.length&&P===C[0])return C[0];if(Array.isArray(P)&&2===P.length){if(P[0]===C)return[C,y(b,"".concat(v,".").concat(P[0]),P[1],{})];if(Array.isArray(C)&&2===C.length&&P[0]===C[0])return[C[0],y(b,"".concat(v,".").concat(P[0]),P[1],C[1])]}}throw new d(v,m,C)}if("object"==typeof m){if("object"!=typeof C)throw new d(v,m,C);for(var N={},Q=0,H=Object.keys(m);Q<H.length;Q++){var G=H[Q];N[G]=y(b,"".concat(v,".").concat(G),m[G],C[G])}return N}if(m.endsWith("?"))return null==C?null:y(b,v,m.slice(0,m.length-1),C);if(m.endsWith("[]")){if(!Array.isArray(C))throw new d(v,m,C);return C.map(function(X,oe){return y(b,"".concat(v,"[").concat(oe,"]"),m.slice(0,m.length-2),X)})}if(c.indexOf(m)>=0)return p(v,m,C);if("bytes"===m){if(!(C instanceof ArrayBuffer))throw new d(v,m,C);return btoa(String.fromCharCode.apply(String,new Uint8Array(C)))}if("bigint"===m){if("bigint"!=typeof C)throw new d(v,m,C);return C.toString()}if("cpf"===m){if("string"!=typeof C)throw new d(v,m,C);return C}if("cnpj"===m){if("string"!=typeof C)throw new d(v,m,C);return C}if("date"===m){if((!(C instanceof Date)||isNaN(C.getTime()))&&("string"!=typeof C||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(C)))throw new d(v,m,C);return"string"==typeof C?new Date(C).toISOString().split("T")[0]:C.toISOString().split("T")[0]}if("datetime"===m){if((!(C instanceof Date)||isNaN(C.getTime()))&&("string"!=typeof C||!/^[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(C)))throw new d(v,m,C);return("string"==typeof C?new Date(C):C).toISOString().replace("Z","")}if("decimal"===m){if(!("number"==typeof C||"string"==typeof C&&/^-?[0-9]+(?:\.[0-9]+)?$/u.test(C)||C instanceof u.default))throw new d(v,m,C);return new u.default(C).toString()}var B=b[m];if(B)return y(b,v,B,C);throw new Error("Unknown type '".concat(m,"' at '").concat(v,"'"))},o.decode=function f(b,v,m,C){if("string"==typeof m&&!m.endsWith("?")&&"void"!==m&&null==C)throw new Error("Invalid type at '".concat(v,"', cannot be null"));if(Array.isArray(m)){for(var M=0,O=m;M<O.length;M++){var P=O[M];if(P===C)return C;if(Array.isArray(C)&&2===C.length&&P===C[0])return C[0];if(Array.isArray(P)&&2===P.length){if(P[0]===C)return[C,f(b,"".concat(v,".").concat(P[0]),P[1],{})];if(Array.isArray(C)&&2===C.length&&P[0]===C[0])return[C[0],f(b,"".concat(v,".").concat(P[0]),P[1],C[1])]}}throw new d(v,m,C)}if("object"==typeof m){if("object"!=typeof C)throw new d(v,m,C);for(var N={},Q=0,H=Object.keys(m);Q<H.length;Q++){var G=H[Q];N[G]=f(b,"".concat(v,".").concat(G),m[G],C[G])}return N}if(m.endsWith("?"))return null==C?null:f(b,v,m.slice(0,m.length-1),C);if(m.endsWith("[]")){if(!Array.isArray(C))throw new d(v,m,C);return C.map(function(it,z){return f(b,"".concat(v,"[").concat(z,"]"),m.slice(0,m.length-2),it)})}if(c.indexOf(m)>=0)return p(v,m,C);if("bytes"!==m){if("bigint"===m){if("number"!=typeof C&&("string"!=typeof C||!/^-?[0-9]+$/u.test(C)))throw new d(v,m,C);return BigInt(C)}if("cpf"===m){if("string"!=typeof C)throw new d(v,m,C);return C}if("cnpj"===m){if("string"!=typeof C)throw new d(v,m,C);return C}if("date"===m){if("string"!=typeof C||!/^[0-9]{4}-[01][0-9]-[0123][0-9]$/u.test(C))throw new d(v,m,C);var B=parseInt(C.split("-")[2],10),X=parseInt(C.split("-")[1],10)-1,oe=parseInt(C.split("-")[0],10),pe=new Date(oe,X,B);if(pe.getFullYear()!==oe||pe.getMonth()!==X||pe.getDate()!==B)throw new d(v,m,C);return pe}if("datetime"===m){if("string"!=typeof C||!/^[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(C))throw new d(v,m,C);return new Date("".concat(C.endsWith("Z")?C:C.concat("Z")))}if("decimal"===m){if("number"!=typeof C&&("string"!=typeof C||!/^-?[0-9]+(?:\.[0-9]+)?$/u.test(C)))throw new d(v,m,C);return new u.default(C)}var Fe=b[m];if(Fe)return f(b,v,Fe,C);throw new Error("Unknown type '".concat(m,"' at '").concat(v,"'"))}if("string"!=typeof C)throw new d(v,"".concat(m," (base 64)"),C);try{return Uint8Array.from(atob(C),function(it){return it.charCodeAt(0)})}catch(it){throw new d(v,"".concat(m," (base 64)"),C)}}},2837:function(U,o){"use strict";var _,a=this&&this.__extends||(_=function(u,r){return(_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,d){c.__proto__=d}||function(c,d){for(var p in d)Object.prototype.hasOwnProperty.call(d,p)&&(c[p]=d[p])})(u,r)},function(u,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function c(){this.constructor=u}_(u,r),u.prototype=null===r?Object.create(r):(c.prototype=r.prototype,new c)});Object.defineProperty(o,"__esModule",{value:!0}),o.SdkgenErrorWithData=o.SdkgenError=void 0;var n=function(_){function u(){return null!==_&&_.apply(this,arguments)||this}return a(u,_),Object.defineProperty(u.prototype,"type",{get:function(){return this.constructor.name},enumerable:!1,configurable:!0}),u.prototype.toJSON=function(){return{message:this.message,type:this.type}},u}(Error);o.SdkgenError=n;var h=function(_){function u(r,c){var d=_.call(this,r)||this;return d.data=c,d}return a(u,_),u.prototype.toJSON=function(){return{data:this.data,message:this.message,type:this.type}},u}(n);o.SdkgenErrorWithData=h},2062:function(U,o,a){"use strict";var n=this&&this.__awaiter||function(y,f,b,v){return new(b||(b=Promise))(function(C,M){function O(Q){try{N(v.next(Q))}catch(H){M(H)}}function P(Q){try{N(v.throw(Q))}catch(H){M(H)}}function N(Q){Q.done?C(Q.value):function m(C){return C instanceof b?C:new b(function(M){M(C)})}(Q.value).then(O,P)}N((v=v.apply(y,f||[])).next())})},h=this&&this.__generator||function(y,f){var v,m,C,M,b={label:0,sent:function(){if(1&C[0])throw C[1];return C[1]},trys:[],ops:[]};return M={next:O(0),throw:O(1),return:O(2)},"function"==typeof Symbol&&(M[Symbol.iterator]=function(){return this}),M;function O(N){return function(Q){return function P(N){if(v)throw new TypeError("Generator is already executing.");for(;M&&(M=0,N[0]&&(b=0)),b;)try{if(v=1,m&&(C=2&N[0]?m.return:N[0]?m.throw||((C=m.return)&&C.call(m),0):m.next)&&!(C=C.call(m,N[1])).done)return C;switch(m=0,C&&(N=[2&N[0],C.value]),N[0]){case 0:case 1:C=N;break;case 4:return b.label++,{value:N[1],done:!1};case 5:b.label++,m=N[1],N=[0];continue;case 7:N=b.ops.pop(),b.trys.pop();continue;default:if(!(C=(C=b.trys).length>0&&C[C.length-1])&&(6===N[0]||2===N[0])){b=0;continue}if(3===N[0]&&(!C||N[1]>C[0]&&N[1]<C[3])){b.label=N[1];break}if(6===N[0]&&b.label<C[1]){b.label=C[1],C=N;break}if(C&&b.label<C[2]){b.label=C[2],b.ops.push(N);break}C[2]&&b.ops.pop(),b.trys.pop();continue}N=f.call(y,b)}catch(Q){N=[6,Q],m=0}finally{v=C=0}if(5&N[0])throw N[1];return{value:N[0]?N[1]:void 0,done:!0}}([N,Q])}}};Object.defineProperty(o,"__esModule",{value:!0}),o.SdkgenHttpClient=void 0;var _=a(4602);function u(y){for(var f="",b=0;b<2*y;++b)f+="0123456789abcdef"[Math.floor(16*Math.random())];return f}var r=u(20);function c(){try{var y=localStorage.getItem("deviceId");return y||(y=r,localStorage.setItem("deviceId",y)),y}catch(f){return r}}function d(y,f){return f in y}var p=function(){function y(f,b,v){this.baseUrl=f,this.astJson=b,this.errClasses=v,this.extra=new Map,this.successHook=function(){},this.errorHook=function(){}}return y.prototype.makeRequest=function(f,b){var v,m;return n(this,void 0,void 0,function(){var C,M,O,P,N,Q=this;return h(this,function(H){switch(H.label){case 0:if(!(C=this.astJson.functionTable[f]))throw new Error("Unknown function ".concat(f));return M={},this.extra.forEach(function(G,B){M[B]=G}),O={args:(0,_.encode)(this.astJson.typeTable,"".concat(f,".args"),C.args,b),deviceInfo:{id:c(),language:navigator.language,platform:{browserUserAgent:navigator.userAgent},timezone:"object"==typeof Intl?Intl.DateTimeFormat().resolvedOptions().timeZone:null,type:"web",version:null!==(m=null===(v=document.currentScript)||void 0===v?void 0:v.getAttribute("src"))&&void 0!==m?m:""},extra:M,name:f,requestId:u(16),version:3},[4,new Promise(function(G,B){var X=new XMLHttpRequest;X.open("POST","".concat(Q.baseUrl,"/").concat(f)),X.setRequestHeader("Content-Type","application/sdkgen"),X.onreadystatechange=function(){if(4===X.readyState)try{var oe=JSON.parse(X.responseText);try{d(oe,"error")&&oe.error?B(oe.error):G(d(oe,"result")?oe.result:null)}catch(Fe){var pe={message:"".concat(Fe),type:"Fatal"};B(pe)}}catch(Fe){B(pe={message:"Falha de conex\xe3o com o servidor",type:"Fatal"})}},X.send(JSON.stringify(O))}).catch(function(G){if(Q.errorHook(G,f,b),d(G,"type")&&d(G,"message")&&"string"==typeof G.type&&"string"==typeof G.message){var B=G.type in Q.errClasses?G.type:"Fatal",X=Q.errClasses[B],oe=Q.astJson.errors.find(function(Fe){return Array.isArray(Fe)?Fe[0]===B:Fe===B}),pe=void 0;throw(pe=oe&&Array.isArray(oe)&&d(G,"data")?new X(G.message,(0,_.decode)(Q.astJson.typeTable,"".concat(B,".data"),oe[1],G.data)):new X(G.message,void 0)).type=B,pe}throw G})];case 1:return P=H.sent(),N=(0,_.decode)(this.astJson.typeTable,"".concat(f,".ret"),C.ret,P),this.successHook(N,f,b),[2,N]}})})},y}();o.SdkgenHttpClient=p},4539:function(U,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(_,u,r,c){void 0===c&&(c=r);var d=Object.getOwnPropertyDescriptor(u,r);(!d||("get"in d?!u.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return u[r]}}),Object.defineProperty(_,c,d)}:function(_,u,r,c){void 0===c&&(c=r),_[c]=u[r]}),h=this&&this.__exportStar||function(_,u){for(var r in _)"default"!==r&&!Object.prototype.hasOwnProperty.call(u,r)&&n(u,_,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(2837),o),h(a(2062),o)},602:function(U,o,a){var n;!function(h){"use strict";var v,_=1e9,u={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},r=!0,c="[DecimalError] ",d=c+"Invalid argument: ",p=c+"Exponent out of range: ",y=Math.floor,f=Math.pow,b=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,m=1e7,M=9007199254740991,O=y(M/7),P={};function N(K,ie){var Ae,$,ye,Ce,De,Ve,Se,Ue,ut=K.constructor,_t=ut.precision;if(!K.s||!ie.s)return ie.s||(ie=new ut(K)),r?z(ie,_t):ie;if(Ue=ie.d,De=K.e,ye=ie.e,Se=(Se=K.d).slice(),Ce=De-ye){for(Ce<0?($=Se,Ce=-Ce,Ve=Ue.length):($=Ue,ye=De,Ve=Se.length),Ce>(Ve=(De=Math.ceil(_t/7))>Ve?De+1:Ve+1)&&(Ce=Ve,$.length=1),$.reverse();Ce--;)$.push(0);$.reverse()}for((Ve=Se.length)-(Ce=Ue.length)<0&&(Ce=Ve,$=Ue,Ue=Se,Se=$),Ae=0;Ce;)Ae=(Se[--Ce]=Se[Ce]+Ue[Ce]+Ae)/m|0,Se[Ce]%=m;for(Ae&&(Se.unshift(Ae),++ye),Ve=Se.length;0==Se[--Ve];)Se.pop();return ie.d=Se,ie.e=ye,r?z(ie,_t):ie}function Q(K,ie,Ae){if(K!==~~K||K<ie||K>Ae)throw Error(d+K)}function H(K){var ie,Ae,$,ye=K.length-1,Ce="",De=K[0];if(ye>0){for(Ce+=De,ie=1;ie<ye;ie++)(Ae=7-($=K[ie]+"").length)&&(Ce+=pe(Ae)),Ce+=$;(Ae=7-($=(De=K[ie])+"").length)&&(Ce+=pe(Ae))}else if(0===De)return"0";for(;De%10==0;)De/=10;return Ce+De}P.absoluteValue=P.abs=function(){var K=new this.constructor(this);return K.s&&(K.s=1),K},P.comparedTo=P.cmp=function(K){var ie,Ae,$,ye,Ce=this;if(K=new Ce.constructor(K),Ce.s!==K.s)return Ce.s||-K.s;if(Ce.e!==K.e)return Ce.e>K.e^Ce.s<0?1:-1;for(ie=0,Ae=($=Ce.d.length)<(ye=K.d.length)?$:ye;ie<Ae;++ie)if(Ce.d[ie]!==K.d[ie])return Ce.d[ie]>K.d[ie]^Ce.s<0?1:-1;return $===ye?0:$>ye^Ce.s<0?1:-1},P.decimalPlaces=P.dp=function(){var K=this,ie=K.d.length-1,Ae=7*(ie-K.e);if(ie=K.d[ie])for(;ie%10==0;ie/=10)Ae--;return Ae<0?0:Ae},P.dividedBy=P.div=function(K){return G(this,new this.constructor(K))},P.dividedToIntegerBy=P.idiv=function(K){var Ae=this.constructor;return z(G(this,new Ae(K),0,1),Ae.precision)},P.equals=P.eq=function(K){return!this.cmp(K)},P.exponent=function(){return X(this)},P.greaterThan=P.gt=function(K){return this.cmp(K)>0},P.greaterThanOrEqualTo=P.gte=function(K){return this.cmp(K)>=0},P.isInteger=P.isint=function(){return this.e>this.d.length-2},P.isNegative=P.isneg=function(){return this.s<0},P.isPositive=P.ispos=function(){return this.s>0},P.isZero=function(){return 0===this.s},P.lessThan=P.lt=function(K){return this.cmp(K)<0},P.lessThanOrEqualTo=P.lte=function(K){return this.cmp(K)<1},P.logarithm=P.log=function(K){var ie,Ae=this,$=Ae.constructor,ye=$.precision,Ce=ye+5;if(void 0===K)K=new $(10);else if((K=new $(K)).s<1||K.eq(v))throw Error(c+"NaN");if(Ae.s<1)throw Error(c+(Ae.s?"NaN":"-Infinity"));return Ae.eq(v)?new $(0):(r=!1,ie=G(Fe(Ae,Ce),Fe(K,Ce),Ce),r=!0,z(ie,ye))},P.minus=P.sub=function(K){return K=new this.constructor(K),this.s==K.s?q(this,K):N(this,(K.s=-K.s,K))},P.modulo=P.mod=function(K){var ie,Ae=this,$=Ae.constructor,ye=$.precision;if(!(K=new $(K)).s)throw Error(c+"NaN");return Ae.s?(r=!1,ie=G(Ae,K,0,1).times(K),r=!0,Ae.minus(ie)):z(new $(Ae),ye)},P.naturalExponential=P.exp=function(){return B(this)},P.naturalLogarithm=P.ln=function(){return Fe(this)},P.negated=P.neg=function(){var K=new this.constructor(this);return K.s=-K.s||0,K},P.plus=P.add=function(K){return K=new this.constructor(K),this.s==K.s?N(this,K):q(this,(K.s=-K.s,K))},P.precision=P.sd=function(K){var ie,Ae,$;if(void 0!==K&&K!==!!K&&1!==K&&0!==K)throw Error(d+K);if(ie=X(this)+1,Ae=7*($=this.d.length-1)+1,$=this.d[$]){for(;$%10==0;$/=10)Ae--;for($=this.d[0];$>=10;$/=10)Ae++}return K&&ie>Ae?ie:Ae},P.squareRoot=P.sqrt=function(){var K,ie,Ae,$,ye,Ce,De,Ve=this,Se=Ve.constructor;if(Ve.s<1){if(!Ve.s)return new Se(0);throw Error(c+"NaN")}for(K=X(Ve),r=!1,0==(ye=Math.sqrt(+Ve))||ye==1/0?(((ie=H(Ve.d)).length+K)%2==0&&(ie+="0"),ye=Math.sqrt(ie),K=y((K+1)/2)-(K<0||K%2),$=new Se(ie=ye==1/0?"5e"+K:(ie=ye.toExponential()).slice(0,ie.indexOf("e")+1)+K)):$=new Se(ye.toString()),ye=De=(Ae=Se.precision)+3;;)if($=(Ce=$).plus(G(Ve,Ce,De+2)).times(.5),H(Ce.d).slice(0,De)===(ie=H($.d)).slice(0,De)){if(ie=ie.slice(De-3,De+1),ye==De&&"4999"==ie){if(z(Ce,Ae+1,0),Ce.times(Ce).eq(Ve)){$=Ce;break}}else if("9999"!=ie)break;De+=4}return r=!0,z($,Ae)},P.times=P.mul=function(K){var ie,Ae,$,ye,Ce,De,Ve,Se,Ue,ut=this,_t=ut.constructor,bt=ut.d,dt=(K=new _t(K)).d;if(!ut.s||!K.s)return new _t(0);for(K.s*=ut.s,Ae=ut.e+K.e,(Se=bt.length)<(Ue=dt.length)&&(Ce=bt,bt=dt,dt=Ce,De=Se,Se=Ue,Ue=De),Ce=[],$=De=Se+Ue;$--;)Ce.push(0);for($=Ue;--$>=0;){for(ie=0,ye=Se+$;ye>$;)Ve=Ce[ye]+dt[$]*bt[ye-$-1]+ie,Ce[ye--]=Ve%m|0,ie=Ve/m|0;Ce[ye]=(Ce[ye]+ie)%m|0}for(;!Ce[--De];)Ce.pop();return ie?++Ae:Ce.shift(),K.d=Ce,K.e=Ae,r?z(K,_t.precision):K},P.toDecimalPlaces=P.todp=function(K,ie){var Ae=this,$=Ae.constructor;return Ae=new $(Ae),void 0===K?Ae:(Q(K,0,_),void 0===ie?ie=$.rounding:Q(ie,0,8),z(Ae,K+X(Ae)+1,ie))},P.toExponential=function(K,ie){var Ae,$=this,ye=$.constructor;return void 0===K?Ae=V($,!0):(Q(K,0,_),void 0===ie?ie=ye.rounding:Q(ie,0,8),Ae=V($=z(new ye($),K+1,ie),!0,K+1)),Ae},P.toFixed=function(K,ie){var Ae,$,ye=this,Ce=ye.constructor;return void 0===K?V(ye):(Q(K,0,_),void 0===ie?ie=Ce.rounding:Q(ie,0,8),Ae=V(($=z(new Ce(ye),K+X(ye)+1,ie)).abs(),!1,K+X($)+1),ye.isneg()&&!ye.isZero()?"-"+Ae:Ae)},P.toInteger=P.toint=function(){var K=this,ie=K.constructor;return z(new ie(K),X(K)+1,ie.rounding)},P.toNumber=function(){return+this},P.toPower=P.pow=function(K){var ie,Ae,$,ye,Ce,Ve=this,Se=Ve.constructor,ut=+(K=new Se(K));if(!K.s)return new Se(v);if(!(Ve=new Se(Ve)).s){if(K.s<1)throw Error(c+"Infinity");return Ve}if(Ve.eq(v))return Ve;if($=Se.precision,K.eq(v))return z(Ve,$);if(Ce=Ve.s,(ie=K.e)>=(Ae=K.d.length-1)){if((Ae=ut<0?-ut:ut)<=M){for(ye=new Se(v),ie=Math.ceil($/7+4),r=!1;Ae%2&&te((ye=ye.times(Ve)).d,ie),0!==(Ae=y(Ae/2));)te((Ve=Ve.times(Ve)).d,ie);return r=!0,K.s<0?new Se(v).div(ye):z(ye,$)}}else if(Ce<0)throw Error(c+"NaN");return Ce=Ce<0&&1&K.d[Math.max(ie,Ae)]?-1:1,Ve.s=1,r=!1,ye=K.times(Fe(Ve,$+12)),r=!0,(ye=B(ye)).s=Ce,ye},P.toPrecision=function(K,ie){var Ae,$,ye=this,Ce=ye.constructor;return void 0===K?$=V(ye,(Ae=X(ye))<=Ce.toExpNeg||Ae>=Ce.toExpPos):(Q(K,1,_),void 0===ie?ie=Ce.rounding:Q(ie,0,8),$=V(ye=z(new Ce(ye),K,ie),K<=(Ae=X(ye))||Ae<=Ce.toExpNeg,K)),$},P.toSignificantDigits=P.tosd=function(K,ie){var $=this.constructor;return void 0===K?(K=$.precision,ie=$.rounding):(Q(K,1,_),void 0===ie?ie=$.rounding:Q(ie,0,8)),z(new $(this),K,ie)},P.toString=P.valueOf=P.val=P.toJSON=function(){var K=this,ie=X(K),Ae=K.constructor;return V(K,ie<=Ae.toExpNeg||ie>=Ae.toExpPos)};var G=function(){function K($,ye){var Ce,De=0,Ve=$.length;for($=$.slice();Ve--;)$[Ve]=(Ce=$[Ve]*ye+De)%m|0,De=Ce/m|0;return De&&$.unshift(De),$}function ie($,ye,Ce,De){var Ve,Se;if(Ce!=De)Se=Ce>De?1:-1;else for(Ve=Se=0;Ve<Ce;Ve++)if($[Ve]!=ye[Ve]){Se=$[Ve]>ye[Ve]?1:-1;break}return Se}function Ae($,ye,Ce){for(var De=0;Ce--;)$[Ce]-=De,$[Ce]=(De=$[Ce]<ye[Ce]?1:0)*m+$[Ce]-ye[Ce];for(;!$[0]&&$.length>1;)$.shift()}return function($,ye,Ce,De){var Ve,Se,Ue,ut,_t,bt,dt,$e,Pe,Le,he,Qe,Be,Ke,Y,Te,ze,je,We=$.constructor,ve=$.s==ye.s?1:-1,He=$.d,ct=ye.d;if(!$.s)return new We($);if(!ye.s)throw Error(c+"Division by zero");for(Se=$.e-ye.e,ze=ct.length,Y=He.length,$e=(dt=new We(ve)).d=[],Ue=0;ct[Ue]==(He[Ue]||0);)++Ue;if(ct[Ue]>(He[Ue]||0)&&--Se,(Qe=null==Ce?Ce=We.precision:De?Ce+(X($)-X(ye))+1:Ce)<0)return new We(0);if(Qe=Qe/7+2|0,Ue=0,1==ze)for(ut=0,ct=ct[0],Qe++;(Ue<Y||ut)&&Qe--;Ue++)$e[Ue]=(Be=ut*m+(He[Ue]||0))/ct|0,ut=Be%ct|0;else{for((ut=m/(ct[0]+1)|0)>1&&(ct=K(ct,ut),He=K(He,ut),ze=ct.length,Y=He.length),Ke=ze,Le=(Pe=He.slice(0,ze)).length;Le<ze;)Pe[Le++]=0;(je=ct.slice()).unshift(0),Te=ct[0],ct[1]>=m/2&&++Te;do{ut=0,(Ve=ie(ct,Pe,ze,Le))<0?(he=Pe[0],ze!=Le&&(he=he*m+(Pe[1]||0)),(ut=he/Te|0)>1?(ut>=m&&(ut=m-1),1==(Ve=ie(_t=K(ct,ut),Pe,bt=_t.length,Le=Pe.length))&&(ut--,Ae(_t,ze<bt?je:ct,bt))):(0==ut&&(Ve=ut=1),_t=ct.slice()),(bt=_t.length)<Le&&_t.unshift(0),Ae(Pe,_t,Le),-1==Ve&&(Ve=ie(ct,Pe,ze,Le=Pe.length))<1&&(ut++,Ae(Pe,ze<Le?je:ct,Le)),Le=Pe.length):0===Ve&&(ut++,Pe=[0]),$e[Ue++]=ut,Ve&&Pe[0]?Pe[Le++]=He[Ke]||0:(Pe=[He[Ke]],Le=1)}while((Ke++<Y||void 0!==Pe[0])&&Qe--)}return $e[0]||$e.shift(),dt.e=Se,z(dt,De?Ce+X(dt)+1:Ce)}}();function B(K,ie){var Ae,ye,Ce,De,Ve,Se=0,Ue=0,ut=K.constructor,_t=ut.precision;if(X(K)>16)throw Error(p+X(K));if(!K.s)return new ut(v);for(null==ie?(r=!1,Ve=_t):Ve=ie,De=new ut(.03125);K.abs().gte(.1);)K=K.times(De),Ue+=5;for(Ve+=Math.log(f(2,Ue))/Math.LN10*2+5|0,Ae=ye=Ce=new ut(v),ut.precision=Ve;;){if(ye=z(ye.times(K),Ve),Ae=Ae.times(++Se),H((De=Ce.plus(G(ye,Ae,Ve))).d).slice(0,Ve)===H(Ce.d).slice(0,Ve)){for(;Ue--;)Ce=z(Ce.times(Ce),Ve);return ut.precision=_t,null==ie?(r=!0,z(Ce,_t)):Ce}Ce=De}}function X(K){for(var ie=7*K.e,Ae=K.d[0];Ae>=10;Ae/=10)ie++;return ie}function oe(K,ie,Ae){if(ie>K.LN10.sd())throw r=!0,Ae&&(K.precision=Ae),Error(c+"LN10 precision limit exceeded");return z(new K(K.LN10),ie)}function pe(K){for(var ie="";K--;)ie+="0";return ie}function Fe(K,ie){var Ae,$,ye,Ce,De,Ve,Se,Ue,ut,_t=1,dt=K,$e=dt.d,Pe=dt.constructor,Le=Pe.precision;if(dt.s<1)throw Error(c+(dt.s?"NaN":"-Infinity"));if(dt.eq(v))return new Pe(0);if(null==ie?(r=!1,Ue=Le):Ue=ie,dt.eq(10))return null==ie&&(r=!0),oe(Pe,Ue);if(Pe.precision=Ue+=10,$=(Ae=H($e)).charAt(0),Ce=X(dt),!(Math.abs(Ce)<15e14))return Se=oe(Pe,Ue+2,Le).times(Ce+""),dt=Fe(new Pe($+"."+Ae.slice(1)),Ue-10).plus(Se),Pe.precision=Le,null==ie?(r=!0,z(dt,Le)):dt;for(;$<7&&1!=$||1==$&&Ae.charAt(1)>3;)$=(Ae=H((dt=dt.times(K)).d)).charAt(0),_t++;for(Ce=X(dt),$>1?(dt=new Pe("0."+Ae),Ce++):dt=new Pe($+"."+Ae.slice(1)),Ve=De=dt=G(dt.minus(v),dt.plus(v),Ue),ut=z(dt.times(dt),Ue),ye=3;;){if(De=z(De.times(ut),Ue),H((Se=Ve.plus(G(De,new Pe(ye),Ue))).d).slice(0,Ue)===H(Ve.d).slice(0,Ue))return Ve=Ve.times(2),0!==Ce&&(Ve=Ve.plus(oe(Pe,Ue+2,Le).times(Ce+""))),Ve=G(Ve,new Pe(_t),Ue),Pe.precision=Le,null==ie?(r=!0,z(Ve,Le)):Ve;Ve=Se,ye+=2}}function it(K,ie){var Ae,$,ye;for((Ae=ie.indexOf("."))>-1&&(ie=ie.replace(".","")),($=ie.search(/e/i))>0?(Ae<0&&(Ae=$),Ae+=+ie.slice($+1),ie=ie.substring(0,$)):Ae<0&&(Ae=ie.length),$=0;48===ie.charCodeAt($);)++$;for(ye=ie.length;48===ie.charCodeAt(ye-1);)--ye;if(ie=ie.slice($,ye)){if(ye-=$,K.e=y((Ae=Ae-$-1)/7),K.d=[],$=(Ae+1)%7,Ae<0&&($+=7),$<ye){for($&&K.d.push(+ie.slice(0,$)),ye-=7;$<ye;)K.d.push(+ie.slice($,$+=7));$=7-(ie=ie.slice($)).length}else $-=ye;for(;$--;)ie+="0";if(K.d.push(+ie),r&&(K.e>O||K.e<-O))throw Error(p+Ae)}else K.s=0,K.e=0,K.d=[0];return K}function z(K,ie,Ae){var $,ye,Ce,De,Ve,Se,Ue,ut,_t=K.d;for(De=1,Ce=_t[0];Ce>=10;Ce/=10)De++;if(($=ie-De)<0)$+=7,ye=ie,Ue=_t[ut=0];else{if((ut=Math.ceil(($+1)/7))>=(Ce=_t.length))return K;for(Ue=Ce=_t[ut],De=1;Ce>=10;Ce/=10)De++;ye=($%=7)-7+De}if(void 0!==Ae&&(Ve=Ue/(Ce=f(10,De-ye-1))%10|0,Se=ie<0||void 0!==_t[ut+1]||Ue%Ce,Se=Ae<4?(Ve||Se)&&(0==Ae||Ae==(K.s<0?3:2)):Ve>5||5==Ve&&(4==Ae||Se||6==Ae&&($>0?ye>0?Ue/f(10,De-ye):0:_t[ut-1])%10&1||Ae==(K.s<0?8:7))),ie<1||!_t[0])return Se?(Ce=X(K),_t.length=1,_t[0]=f(10,(7-(ie=ie-Ce-1)%7)%7),K.e=y(-ie/7)||0):(_t.length=1,_t[0]=K.e=K.s=0),K;if(0==$?(_t.length=ut,Ce=1,ut--):(_t.length=ut+1,Ce=f(10,7-$),_t[ut]=ye>0?(Ue/f(10,De-ye)%f(10,ye)|0)*Ce:0),Se)for(;;){if(0==ut){(_t[0]+=Ce)==m&&(_t[0]=1,++K.e);break}if(_t[ut]+=Ce,_t[ut]!=m)break;_t[ut--]=0,Ce=1}for($=_t.length;0===_t[--$];)_t.pop();if(r&&(K.e>O||K.e<-O))throw Error(p+X(K));return K}function q(K,ie){var Ae,$,ye,Ce,De,Ve,Se,Ue,ut,_t,bt=K.constructor,dt=bt.precision;if(!K.s||!ie.s)return ie.s?ie.s=-ie.s:ie=new bt(K),r?z(ie,dt):ie;if(_t=ie.d,$=ie.e,Ue=K.e,Se=(Se=K.d).slice(),De=Ue-$){for((ut=De<0)?(Ae=Se,De=-De,Ve=_t.length):(Ae=_t,$=Ue,Ve=Se.length),De>(ye=Math.max(Math.ceil(dt/7),Ve)+2)&&(De=ye,Ae.length=1),Ae.reverse(),ye=De;ye--;)Ae.push(0);Ae.reverse()}else{for((ut=(ye=Se.length)<(Ve=_t.length))&&(Ve=ye),ye=0;ye<Ve;ye++)if(Se[ye]!=_t[ye]){ut=Se[ye]<_t[ye];break}De=0}for(ut&&(Ae=Se,Se=_t,_t=Ae,ie.s=-ie.s),ye=_t.length-(Ve=Se.length);ye>0;--ye)Se[Ve++]=0;for(ye=_t.length;ye>De;){if(Se[--ye]<_t[ye]){for(Ce=ye;Ce&&0===Se[--Ce];)Se[Ce]=m-1;--Se[Ce],Se[ye]+=m}Se[ye]-=_t[ye]}for(;0===Se[--Ve];)Se.pop();for(;0===Se[0];Se.shift())--$;return Se[0]?(ie.d=Se,ie.e=$,r?z(ie,dt):ie):new bt(0)}function V(K,ie,Ae){var $,ye=X(K),Ce=H(K.d),De=Ce.length;return ie?(Ae&&($=Ae-De)>0?Ce=Ce.charAt(0)+"."+Ce.slice(1)+pe($):De>1&&(Ce=Ce.charAt(0)+"."+Ce.slice(1)),Ce=Ce+(ye<0?"e":"e+")+ye):ye<0?(Ce="0."+pe(-ye-1)+Ce,Ae&&($=Ae-De)>0&&(Ce+=pe($))):ye>=De?(Ce+=pe(ye+1-De),Ae&&($=Ae-ye-1)>0&&(Ce=Ce+"."+pe($))):(($=ye+1)<De&&(Ce=Ce.slice(0,$)+"."+Ce.slice($)),Ae&&($=Ae-De)>0&&(ye+1===De&&(Ce+="."),Ce+=pe($))),K.s<0?"-"+Ce:Ce}function te(K,ie){if(K.length>ie)return K.length=ie,!0}function Oe(K){if(!K||"object"!=typeof K)throw Error(c+"Object expected");var ie,Ae,$,ye=["precision",1,_,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(ie=0;ie<ye.length;ie+=3)if(void 0!==($=K[Ae=ye[ie]])){if(!(y($)===$&&$>=ye[ie+1]&&$<=ye[ie+2]))throw Error(d+Ae+": "+$);this[Ae]=$}if(void 0!==($=K[Ae="LN10"])){if($!=Math.LN10)throw Error(d+Ae+": "+$);this[Ae]=new this($)}return this}(u=function Ee(K){var ie,Ae,$;function ye(Ce){var De=this;if(!(De instanceof ye))return new ye(Ce);if(De.constructor=ye,Ce instanceof ye)return De.s=Ce.s,De.e=Ce.e,void(De.d=(Ce=Ce.d)?Ce.slice():Ce);if("number"==typeof Ce){if(0*Ce!=0)throw Error(d+Ce);if(Ce>0)De.s=1;else{if(!(Ce<0))return De.s=0,De.e=0,void(De.d=[0]);Ce=-Ce,De.s=-1}return Ce===~~Ce&&Ce<1e7?(De.e=0,void(De.d=[Ce])):it(De,Ce.toString())}if("string"!=typeof Ce)throw Error(d+Ce);if(45===Ce.charCodeAt(0)?(Ce=Ce.slice(1),De.s=-1):De.s=1,!b.test(Ce))throw Error(d+Ce);it(De,Ce)}if(ye.prototype=P,ye.ROUND_UP=0,ye.ROUND_DOWN=1,ye.ROUND_CEIL=2,ye.ROUND_FLOOR=3,ye.ROUND_HALF_UP=4,ye.ROUND_HALF_DOWN=5,ye.ROUND_HALF_EVEN=6,ye.ROUND_HALF_CEIL=7,ye.ROUND_HALF_FLOOR=8,ye.clone=Ee,ye.config=ye.set=Oe,void 0===K&&(K={}),K)for($=["precision","rounding","toExpNeg","toExpPos","LN10"],ie=0;ie<$.length;)K.hasOwnProperty(Ae=$[ie++])||(K[Ae]=this[Ae]);return ye.config(K),ye}(u)).default=u.Decimal=u,v=new u(1),void 0!==(n=function(){return u}.call(o,a,o,U))&&(U.exports=n)}()},3905:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateCSharpServerSource=void 0;const n=a(6676),h=a(4510);o.generateCSharpServerSource=function _(u){let r="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 c of u.operations){const d=c.returnType instanceof n.VoidPrimitiveType?"":`<${(0,h.generateTypeName)(c.returnType)}>`;r+=`\n public virtual Task${d} ${(0,h.capitalize)(c.name)}(${["Context ctx",...c.args.map(p=>`${(0,h.generateTypeName)(p.type)} ${(0,h.ident)(p.name)}`)].join(", ")})\n {\n return Task.FromException${d}(new FatalException("Function '${c.name}' not implemented."));\n }\n`}r+="\n public async Task ExecuteFunction(Context context_, Utf8JsonWriter resultWriter_)\n {\n switch (context_.Name)\n {";for(const c of u.operations){r+=`\n case ${JSON.stringify(c.name)}:\n {`;for(const d of c.args)r+=`\n JsonElement ${d.name}Json_;\n if (!context_.Args.TryGetValue(${JSON.stringify(d.name)}, out ${d.name}Json_))\n {\n ${d.type instanceof n.OptionalType?`${d.name}Json_ = new JsonElement();`:`throw new FatalException("'${c.name}().args.${d.name}' must be set to a value of type ${d.type.name}.");`}\n }\n ${(0,h.generateTypeName)(d.type)} ${(0,h.ident)(d.name)};\n ${(0,h.decodeType)(d.type,`${d.name}Json_`,`"${c.name}().args.${d.name}"`,(0,h.ident)(d.name)).replace(/\n/gu,"\n ")}`;r+=c.returnType instanceof n.VoidPrimitiveType?`\n await ${(0,h.capitalize)(c.name)}(${["context_",...c.args.map(d=>(0,h.ident)(d.name))].join(", ")});\n resultWriter_.WriteNullValue();`:`\n var result_ = await ${(0,h.capitalize)(c.name)}(${["context_",...c.args.map(d=>(0,h.ident)(d.name))].join(", ")});\n ${(0,h.encodeType)(c.returnType,"result_",`"${c.name}().ret"`).replace(/\n/gu,"\n ")}`,r+="\n return;\n }"}r+="\n default:\n {\n throw new FatalException($\"Unknown function '{context_.Name}'.\");\n }\n }\n }\n";for(const c of u.structTypes)r+=(0,h.generateStruct)(c);for(const c of u.enumTypes)r+=(0,h.generateEnum)(c);r+=`\n public string GetAstJson() => @"${JSON.stringify((0,n.astToJson)(u),null,4).replace(/"/gu,'""').replace(/\n/gu,"\n ")}";\n }\n`;for(const c of u.errors)r+=`\n public class ${c.name}Exception : SdkgenException\n {\n public ${c.name}Exception(string message, Exception? inner = null) : base("${c.name}", message, inner) { }\n }\n`;return r+="\n}\n",r}},4510:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateEnum=o.generateStruct=o.encodeType=o.decodeType=o.generateTypeName=o.capitalize=o.ident=void 0;const n=a(6676),h=["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"],_=[n.StringPrimitiveType,n.HtmlPrimitiveType,n.CpfPrimitiveType,n.CnpjPrimitiveType,n.BytesPrimitiveType,n.EmailPrimitiveType,n.UrlPrimitiveType,n.UuidPrimitiveType,n.HexPrimitiveType,n.Base64PrimitiveType,n.XmlPrimitiveType,n.StructType,n.ArrayType],u=[n.BigIntPrimitiveType,n.DatePrimitiveType,n.DateTimePrimitiveType,n.FloatPrimitiveType,n.IntPrimitiveType,n.MoneyPrimitiveType,n.DecimalPrimitiveType,n.UIntPrimitiveType];function r(v){return h.includes(v)?`@${v}`:v}function c(v){return v[0].toUpperCase()+v.slice(1)}function d(v){switch(v.constructor){case n.StringPrimitiveType:return"string";case n.IntPrimitiveType:return"int";case n.UIntPrimitiveType:return"uint";case n.FloatPrimitiveType:return"double";case n.BigIntPrimitiveType:return"BigInteger";case n.DatePrimitiveType:case n.DateTimePrimitiveType:return"DateTime";case n.BoolPrimitiveType:return"bool";case n.BytesPrimitiveType:return"byte[]";case n.MoneyPrimitiveType:case n.DecimalPrimitiveType:return"decimal";case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:return"string";case n.VoidPrimitiveType:return"void";case n.JsonPrimitiveType:return"JsonElement";case n.OptionalType:return`${d(v.base)}?`;case n.ArrayType:return`List<${d(v.base)}>`;case n.StructType:case n.EnumType:return v.name;case n.TypeReference:return d(v.type);default:throw new Error(`BUG: generateTypeName with ${v.constructor.name}`)}}function p(v,m,C,M,O=1,P=!0){switch(v.constructor){case n.IntPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.Number || !${m}.TryGetInt32(out ${M}))\n {\n throw new FatalException($"'{${C}}' must be an integer");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.UIntPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.Number || !${m}.TryGetUInt32(out ${M}))\n {\n throw new FatalException($"'{${C}}' must be an unsigned integer.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.DecimalPrimitiveType:case n.MoneyPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.Number || !${m}.TryGetDecimal(out ${M}) || ${M} % 1 != 0)\n {\n throw new FatalException($"'{${C}}' must be an integer amount of cents.");\n }\n ${M} /= 100;\n `.replace(/\n {16}/gu,"\n").trim();case n.FloatPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.Number || !${m}.TryGetDouble(out ${M}))\n {\n throw new FatalException($"'{${C}}' must be a floating-point number.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.BigIntPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String || !BigInteger.TryParse(${m}.GetString(), out ${M}))\n {\n throw new FatalException($"'{${C}}' must be an arbitrarily large integer in a string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.StringPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a string.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.HtmlPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a valid HTML string.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.CpfPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a valid CPF string.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.CnpjPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a valid CNPJ string.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.EmailPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a valid email.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.UrlPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a valid URL string.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.UuidPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a valid UUID.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.HexPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a valid hex string.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.Base64PrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a base64 string.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.XmlPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a XML string.");\n }\n ${M} = ${m}.GetString();\n `.replace(/\n {16}/gu,"\n").trim();case n.BoolPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.True && ${m}.ValueKind != JsonValueKind.False)\n {\n throw new FatalException($"'{${C}}' must be either true or false.");\n }\n ${M} = ${m}.GetBoolean();\n `.replace(/\n {16}/gu,"\n").trim();case n.BytesPrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String)\n {\n throw new FatalException($"'{${C}}' must be a string.");\n }\n try\n {\n ${M} = Convert.FromBase64String(${m}.GetString());\n }\n catch (FormatException)\n {\n throw new FatalException($"'{${C}}' must be a base64 string.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.TypeReference:return p(v.type,m,C,M,O);case n.OptionalType:if(u.includes(v.base.constructor)){const N=`${M.replace(/[^0-9a-zA-Z]/gu,"")}Tmp`;return`\n if (${m}.ValueKind == JsonValueKind.Null || ${m}.ValueKind == JsonValueKind.Undefined)\n {\n ${M} = null;\n }\n else\n {\n ${d(v.base)} ${N};\n ${p(v.base,m,C,N,O,!1).replace(/\n/gu,"\n ")}\n ${M} = ${N};\n }\n `.replace(/\n {20}/gu,"\n").trim()}return`\n if (${m}.ValueKind == JsonValueKind.Null || ${m}.ValueKind == JsonValueKind.Undefined)\n {\n ${M} = null;\n }\n else\n {\n ${p(v.base,m,C,M,O,!1).replace(/\n/gu,"\n ")}\n }\n `.replace(/\n {20}/gu,"\n").trim();case n.EnumType:case n.StructType:return`${M} = Decode${v.name}(${m}, ${C});`;case n.JsonPrimitiveType:return P?`\n if (${m}.ValueKind == JsonValueKind.Null || ${m}.ValueKind == JsonValueKind.Undefined)\n {\n throw new FatalException($"'{${C}}' can't be null.");\n }\n ${M} = ${m};\n `.replace(/\n {16}/gu,"\n").trim():`${M} = ${m};`;case n.DateTimePrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${m}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${M}) || DateTime.TryParseExact(${m}.GetString(), "yyyy-MM-ddTHH:mm:ss.FFFFFFF'Z'", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${M})))\n {\n throw new FatalException($"'{${C}}' must be a datetime.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.DatePrimitiveType:return`\n if (${m}.ValueKind != JsonValueKind.String || !(DateTime.TryParseExact(${m}.GetString(), "yyyy-MM-dd", CultureInfo.InvariantCulture, DateTimeStyles.AdjustToUniversal | DateTimeStyles.AssumeUniversal, out ${M})))\n {\n throw new FatalException($"'{${C}}' must be a date.");\n }\n `.replace(/\n {16}/gu,"\n").trim();case n.ArrayType:return`\n if (${m}.ValueKind != JsonValueKind.Array)\n {\n throw new FatalException($"'{${C}}' must be a date.");\n }\n ${M} = new ${d(v)}();\n for (var i${O} = 0; i${O} < ${m}.GetArrayLength(); ++i${O})\n {\n ${d(v.base)} element${O};\n ${p(v.base,`${m}[i${O}]`,`$"{${C}}[{i${O}}]"`,`element${O}`,O+1).replace(/\n/gu,"\n ")}\n ${M}.Add(element${O});\n }\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${v.constructor.name}`)}}function y(v,m,C,M=1){switch(v.constructor){case n.StringPrimitiveType:return`resultWriter_.WriteStringValue(${m});`;case n.FloatPrimitiveType:case n.UIntPrimitiveType:case n.IntPrimitiveType:return`resultWriter_.WriteNumberValue(${m});`;case n.DecimalPrimitiveType:case n.MoneyPrimitiveType:return`resultWriter_.WriteNumberValue(Math.Round(${m} * 100));`;case n.BigIntPrimitiveType:return`resultWriter_.WriteStringValue(${m}.ToString());`;case n.BoolPrimitiveType:return`resultWriter_.WriteBooleanValue(${m});`;case n.BytesPrimitiveType:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${m}));`;case n.DateTimePrimitiveType:return`resultWriter_.WriteStringValue(${m}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"));`;case n.DatePrimitiveType:return`resultWriter_.WriteStringValue(${m}.ToString("yyyy-MM-dd"));`;case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.Base64PrimitiveType:case n.HexPrimitiveType:case n.XmlPrimitiveType:return`resultWriter_.WriteStringValue(${m});`;case n.OptionalType:{let O=v.base;for(;O instanceof n.TypeReference;)O=O.type;return`\n if (${m} == null)\n {\n resultWriter_.WriteNullValue();\n }\n else\n {\n ${y(O,_.includes(O.constructor)?m:`${m}.Value`,C,M).replace(/\n/gu,"\n ")}\n }`.replace(/\n {16}/gu,"\n").trim()}case n.TypeReference:return y(v.type,m,C,M);case n.EnumType:case n.StructType:return`Encode${v.name}(${m}, resultWriter_, ${C});`;case n.JsonPrimitiveType:return`${m}.WriteTo(resultWriter_);`;case n.ArrayType:return`\n resultWriter_.WriteStartArray();\n for (var i${M} = 0; i${M} < ${m}.Count; ++i${M})\n {\n ${y(v.base,`${m}[i${M}]`,`$"{${C}}[{i${M}}]"`,M+1).replace(/\n/gu,"\n ")}\n }\n resultWriter_.WriteEndArray();\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: encodeType with ${v.constructor.name}`)}}o.ident=r,o.capitalize=c,o.generateTypeName=d,o.decodeType=p,o.encodeType=y,o.generateStruct=function f(v){return`\n public class ${v.name}\n {${v.fields.map(m=>`\n public ${d(m.type)} ${c(m.name)};`).join("")}\n public ${v.name}(${v.fields.map(m=>`${d(m.type)} ${r(m.name)}`).join(", ")})\n {${v.fields.map(m=>`\n ${c(m.name)} = ${r(m.name)};`).join("")}\n }\n }\n\n ${v.name} Decode${v.name}(JsonElement json_, string path_)\n {\n if (json_.ValueKind != JsonValueKind.Object)\n {\n throw new FatalException($"'{path_}' must be an object.");\n }\n${v.fields.map(m=>` JsonElement ${m.name}Json_;\n if (!json_.TryGetProperty(${JSON.stringify(m.name)}, out ${m.name}Json_))\n {\n ${m.type instanceof n.OptionalType?`${m.name}Json_ = new JsonElement();`:`throw new FatalException($"'{path_}.${m.name}' must be set to a value of type ${m.type.name}.");`}\n }\n ${d(m.type)} ${r(m.name)};\n ${p(m.type,`${m.name}Json_`,`$"{path_}.${m.name}"`,r(m.name)).replace(/\n/gu,"\n ")}`).join("\n")}\n return new ${v.name}(${v.fields.map(m=>r(m.name)).join(", ")});\n }\n\n void Encode${v.name}(${v.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {\n resultWriter_.WriteStartObject();\n ${v.fields.map(m=>`resultWriter_.WritePropertyName(${JSON.stringify(m.name)});\n ${y(m.type,`obj_.${c(m.name)}`,`$"{path_}.${m.name}"`).replace(/\n/gu,"\n ")}`).join("\n ")}\n resultWriter_.WriteEndObject();\n }\n`},o.generateEnum=function b(v){return`\n public enum ${v.name}\n {${v.values.map(({value:m})=>`\n ${c(m)}`).join(",\n ")}\n }\n\n ${v.name} Decode${v.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();${v.values.map(({value:m})=>`\n if (value == "${m}")\n {\n return ${v.name}.${c(m)};\n }`).join("")}\n throw new FatalException($"'{path_}' must be one of: (${v.values.map(({value:m})=>`'${m}'`).join(", ")}).");\n }\n\n void Encode${v.name}(${v.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {${v.values.map(({value:m})=>`\n if (obj_ == ${v.name}.${c(m)})\n {\n resultWriter_.WriteStringValue("${m}");\n }`).join("")}\n }\n`}},7179:function(U,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(_,u,r,c){void 0===c&&(c=r);var d=Object.getOwnPropertyDescriptor(u,r);(!d||("get"in d?!u.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return u[r]}}),Object.defineProperty(_,c,d)}:function(_,u,r,c){void 0===c&&(c=r),_[c]=u[r]}),h=this&&this.__exportStar||function(_,u){for(var r in _)"default"!==r&&!Object.prototype.hasOwnProperty.call(u,r)&&n(u,_,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(3905),o)},1911:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateDartClientSource=void 0;const n=a(6676),h=a(5235);o.generateDartClientSource=function _(u){let r="";r+="// ignore_for_file: constant_identifier_names\nimport 'dart:ui';\n",(0,n.hasType)(u,n.BytesPrimitiveType)&&(r+="import 'dart:typed_data';\n"),(0,n.hasType)(u,n.DecimalPrimitiveType)&&(r+="import 'package:decimal/decimal.dart';\n"),r+="import 'package:sdkgen_runtime/types.dart';\nimport 'package:sdkgen_runtime/http_client.dart';\n";for(const c of u.enumTypes)r+=(0,h.generateEnum)(c),r+="\n";for(const c of u.structTypes)r+=(0,h.generateClass)(c),r+="\n";for(const c of u.errors)r+=(0,h.generateErrorClass)(c),r+="\n";r+=`class ApiClient extends SdkgenHttpClient {\n ApiClient(String baseUrl) : super(baseUrl, _typeTable, _fnTable, _errTable);\n${u.operations.filter(c=>c.annotations.every(d=>!(d instanceof n.HiddenAnnotation))).map(c=>`\n ${c.returnType instanceof n.VoidPrimitiveType?"Future<void> ":`Future<${(0,h.generateTypeName)(c.returnType)}> `}${c.name}(${0===c.args.length?"":`{${c.args.map(d=>`${d.type instanceof n.OptionalType?"":"required "}${(0,h.generateTypeName)(d.type)} ${(0,h.mangle)(d.name)}`).join(", ")}}`}) async { ${c.returnType instanceof n.VoidPrimitiveType?"":"return "}${(0,h.cast)(`await makeRequest('${c.name}', {${c.args.map(d=>`'${d.name}': ${(0,h.mangle)(d.name)}`).join(", ")}})`,c.returnType)}; }`).join("")}\n}\n\n`,r+="var _typeTable = {\n";for(const c of u.structTypes){r+=` '${c.name}': StructTypeDescription(\n`,r+=` ${c.name},\n`,r+=" {\n";for(const d of c.fields)r+=` '${d.name}': '${d.type.name}',\n`;r+=" },\n",r+=` (Map fields) => ${c.name}(\n`;for(const d of c.fields)r+=` ${(0,h.mangle)(d.name)}: ${(0,h.cast)(`fields['${d.name}']`,d.type)},\n`;r+=" ),\n",r+=` (${c.name} obj) => ({\n`;for(const d of c.fields)r+=` '${d.name}': obj.${(0,h.mangle)(d.name)},\n`;r+=" }),\n",r+=" ),\n"}for(const c of u.enumTypes)r+=` '${c.name}': EnumTypeDescription(${c.name}, ${c.name}.values, [\n ${c.values.map(d=>`'${d.value}'`).join(",\n ")}\n ]),\n`;r+="};\n\n",r+="var _fnTable = {\n";for(const c of u.operations){r+=` '${c.name}': FunctionDescription('${c.returnType.name}', {\n`;for(const d of c.args)r+=` '${d.name}': '${d.type.name}',\n`;r+=" }),\n"}r+="};\n\n",r+="var _errTable = {\n";for(const c of u.errors)r+=` '${c.name}': SdkgenErrorDescription('${c.dataType.name}', (msg, data) => ${c.name}(msg${c.dataType instanceof n.VoidPrimitiveType?"":", data"})),\n`;return r+="};\n",r}},5235:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateClass=o.cast=o.generateErrorClass=o.generateTypeName=o.generateEnum=o.mangle=void 0;const n=a(6676);function h(v){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(v)?`$${v}`:v}function u(v){switch(v.constructor){case n.StringPrimitiveType:return"String";case n.IntPrimitiveType:case n.UIntPrimitiveType:return"int";case n.FloatPrimitiveType:return"double";case n.BigIntPrimitiveType:return"BigInt";case n.DatePrimitiveType:case n.DateTimePrimitiveType:return"DateTime";case n.BoolPrimitiveType:return"bool";case n.BytesPrimitiveType:return"Uint8List";case n.MoneyPrimitiveType:return"int";case n.DecimalPrimitiveType:return"Decimal";case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:return"String";case n.VoidPrimitiveType:return"void";case n.JsonPrimitiveType:return"dynamic";case n.OptionalType:return`${u(v.base)}?`;case n.ArrayType:return`List<${u(v.base)}>`;case n.StructType:case n.EnumType:return v.name;case n.TypeReference:return u(v.type);default:throw new Error(`BUG: generateTypeName with ${v.constructor.name}`)}}o.mangle=h,o.generateEnum=function _(v){return`enum ${v.name} {\n ${v.values.map(m=>m.value).join(",\n ")}\n}\n`},o.generateTypeName=u,o.generateErrorClass=function r(v){if(v.dataType instanceof n.VoidPrimitiveType)return`class ${v.name} extends SdkgenError {\n ${v.name}(String msg) : super(msg);\n}\n`;const m=u(v.dataType);return`class ${v.name} extends SdkgenErrorWithData<${m}> {\n ${v.name}(String msg, ${m} data) : super(msg, data);\n}\n`},o.cast=function c(v,m){return m instanceof n.OptionalType?`${v} == null ? null : ${c(v,m.base)}`:m instanceof n.ArrayType?`(${v} as List).map((e) => ${c("e",m.base)}).toList()`:m instanceof n.VoidPrimitiveType?v:m instanceof n.FloatPrimitiveType?`(${v} as num).toDouble()`:m instanceof n.MoneyPrimitiveType?`${v} as int`:`${v} as ${u(m)}`},o.generateClass=function b(v){return`class ${v.name} {\n ${v.fields.map(m=>`final ${u(m.type)} ${h(m.name)};`).join("\n ")}\n\n${function d(v){let m=` ${v.name}({\n`;for(const C of v.fields)m+=C.type instanceof n.OptionalType?" ":" required ",m+=`this.${h(C.name)},\n`;return m+=" });\n",m}(v)}\n${function p(v){let m=" @override\n bool operator ==(other){\n";return m+=" if (identical(this, other)) return true;\n",m+=` return ${[`other is ${v.name}`,...v.fields.map(C=>`${h(C.name)} == other.${h(C.name)}`)].join(" && ")};\n`,m+=" }\n",m}(v)}\n${function y(v){return` @override\n int get hashCode => Object.hashAllUnordered([${v.fields.map(m=>h(m.name)).join(", ")}]);\n`}(v)}\n${function f(v){return` @override\n String toString() {\n return '${v.name} { ${v.fields.map(m=>`${m.name}: $${h(m.name).startsWith("$")?`{${h(m.name)}}`:h(m.name)}`).join(", ")} }';\n }\n`}(v)}}\n`}},1823:function(U,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(_,u,r,c){void 0===c&&(c=r);var d=Object.getOwnPropertyDescriptor(u,r);(!d||("get"in d?!u.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return u[r]}}),Object.defineProperty(_,c,d)}:function(_,u,r,c){void 0===c&&(c=r),_[c]=u[r]}),h=this&&this.__exportStar||function(_,u){for(var r in _)"default"!==r&&!Object.prototype.hasOwnProperty.call(u,r)&&n(u,_,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(1911),o)},196:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateFSharpServerSource=void 0;const n=a(6676),h=a(8735);o.generateFSharpServerSource=function _(u){let r="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 c of u.errors)r+=`\ntype ${c.name}Exception =\n inherit SdkgenException\n\n new(message: string) = {\n inherit SdkgenException("${c.name}", message, null)\n }\n\n new(message: string, inner: Exception) = {\n inherit SdkgenException("${c.name}", message, inner)\n }\n`;for(const c of u.enumTypes)r+=`\n${(0,h.generateEnum)(c)}\n`;for(const c of u.structTypes)r+=`\n${(0,h.generateStruct)(c)}\n`;r+="\ntype Api() =";for(const c of u.operations){const d=c.returnType instanceof n.VoidPrimitiveType?"":`<${(0,h.generateTypeName)(c.returnType)}>`,p=c.args.length>0?`{| ${c.args.map(y=>`${y.name}: ${(0,h.generateTypeName)(y.type)};`).join("")} |} ->`:"";r+=`\n member val ${(0,h.capitalize)(c.name)}: Context -> ${p} Task${d} =\n fun _ -> (raise (FatalException("Function '${c.name}' not implemented.")))\n with get, set\n `}r+="\n interface BaseApi with\n member __.ExecuteFunction(context_: Context, resultWriter_: Utf8JsonWriter) : Task =\n task {\n match context_.Name with";for(const c of u.operations){r+=`\n | ${JSON.stringify(c.name)} ->`;for(const d of c.args)r+=`\n let ${d.name}Json_ =\n match context_.Args.TryGetValue(${JSON.stringify(d.name)}) with\n | true, v -> v\n | _ -> raise (FatalException("'${c.name}().args.${d.name}' must be set to a value of type ${d.type.name}."))\n\n let ${(0,h.ident)(d.name)} =\n ${(0,h.decodeType)(d.type,`${d.name}Json_`,`"${c.name}().args.${d.name}"`,(0,h.ident)(d.name)).replace(/\n/gu,"\n ")}`;r+=c.returnType instanceof n.VoidPrimitiveType?`\n\n do! (__.${(0,h.capitalize)(c.name)} context_ ${c.args.length>0?"{|":""} ${c.args.map(d=>`${d.name} = ${(0,h.ident)(d.name)}`).join("; ")} ${c.args.length>0?"|}":""})\n `:`\n\n let! result_ = (__.${(0,h.capitalize)(c.name)} context_ ${c.args.length>0?"{|":""} ${c.args.map(d=>`${d.name} = ${(0,h.ident)(d.name)}`).join("; ")} ${c.args.length>0?"|}":""})\n ${(0,h.encodeType)(c.returnType,"result_",`"${c.name}().ret"`,1,!1).replace(/\n/gu,"\n ")}`}return r+="\n\n | _ -> raise (FatalException($\"Unknown function '{context_.Name}'.\"))\n } :> Task",r+=`\n member __.GetAstJson() = """${JSON.stringify((0,n.astToJson)(u),null,4).replace(/\n/gu,"\n ")}""";`,r}},8735:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateEnum=o.generateStruct=o.encodeType=o.decodeType=o.generateTypeName=o.capitalize=o.ident=void 0;const n=a(6676),h=["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"],u=[n.BigIntPrimitiveType,n.DatePrimitiveType,n.DateTimePrimitiveType,n.FloatPrimitiveType,n.IntPrimitiveType,n.MoneyPrimitiveType,n.UIntPrimitiveType,n.ArrayType];function r(v){return h.includes(v)?`${v}'`:v}function c(v){return v[0].toUpperCase()+v.slice(1)}function d(v){switch(v.constructor){case n.StringPrimitiveType:return"string";case n.IntPrimitiveType:return"int";case n.UIntPrimitiveType:return"uint";case n.FloatPrimitiveType:return"double";case n.BigIntPrimitiveType:return"bigint";case n.DatePrimitiveType:case n.DateTimePrimitiveType:return"DateTime";case n.BoolPrimitiveType:return"bool";case n.BytesPrimitiveType:return"byte[]";case n.MoneyPrimitiveType:return"decimal";case n.UuidPrimitiveType:return"Guid";case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.HexPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:return"string";case n.VoidPrimitiveType:return"void";case n.JsonPrimitiveType:return"JsonElement";case n.OptionalType:return`${d(v.base)} option`;case n.ArrayType:return`${d(v.base)} list`;case n.StructType:case n.EnumType:return v.name;case n.TypeReference:return d(v.type);default:throw new Error(`BUG: generateTypeName with ${v.constructor.name}`)}}function p(v,m,C,M,O=1,P=!0){switch(v.constructor){case n.IntPrimitiveType:return`\n decodeInt32 ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.UIntPrimitiveType:return`\n decodeUInt32 ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.MoneyPrimitiveType:return`\n (decodeMoney ${m} ${C}) / 100m\n `.replace(/\n {16}/gu,"\n").trim();case n.FloatPrimitiveType:return`\n decodeFloat ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.BigIntPrimitiveType:return`\n decodeBigInt ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.StringPrimitiveType:return`\n decodeString ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.HtmlPrimitiveType:return`\n decodeHtml ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.CpfPrimitiveType:return`\n decodeCpf ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.CnpjPrimitiveType:return`\n decodeCnpj ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.EmailPrimitiveType:return`\n decodeEmail ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.UrlPrimitiveType:return`\n decodeUrl ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.UuidPrimitiveType:return`\n decodeUuid ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.HexPrimitiveType:return`\n decodeHex ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.Base64PrimitiveType:return`\n decodeBase64 ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.XmlPrimitiveType:return`\n decodeXml ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.BoolPrimitiveType:return`\n decodeBool ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.BytesPrimitiveType:return`\n decodeBytes ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.TypeReference:return p(v.type,m,C,M,O);case n.OptionalType:return u.includes(v.base.constructor)?`match ${m}.ValueKind with\n | JsonValueKind.Null | JsonValueKind.Undefined -> None\n | _ ->\n (${p(v.base,m,C,M,O,!1).replace(/\n/gu,"\n ")}) |> Some\n `.replace(/\n {16}/gu,"\n").trim():v.base instanceof n.OptionalType||v.base instanceof n.ArrayType?`\n (>.>) decodeOptional ${p(v.base,m,C,M,O,!1)}\n `.replace(/\n {16}/gu,"\n").trim():`\n decodeOptional ${p(v.base,m,C,M,O,!1)}\n `.replace(/\n {16}/gu,"\n").trim();case n.EnumType:case n.StructType:return`Decode${v.name} ${m} ${C}`;case n.JsonPrimitiveType:return P?`\n ${m}\n `.replace(/\n {16}/gu,"\n").trim():`${M} <- ${m}`;case n.DateTimePrimitiveType:return`\n decodeDateTime ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.DatePrimitiveType:return`\n decodeDate ${m} ${C}\n `.replace(/\n {16}/gu,"\n").trim();case n.ArrayType:return`\n match ${m}.ValueKind with\n | JsonValueKind.Array ->\n let mutable list_ = List.empty\n for i1 in 0 .. (${m}.GetArrayLength() - 1) do\n let item = ${m}.[i1]\n let partialResult =\n ${p(v.base,`${m}.[i1]`,`${C.slice(0,-1)}.{i1}"`,M,O,!1).replace(/\n/gu,"\n ")}\n list_ <- list_ |> List.append [ partialResult ]\n list_\n | _ -> raise (FatalException(${C.slice(0,-1)} must be an array."))\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${v.constructor.name}`)}}function y(v,m,C,M=1,O=!0){switch(v.constructor){case n.StringPrimitiveType:return`resultWriter_.WriteStringValue(${m})`;case n.FloatPrimitiveType:case n.UIntPrimitiveType:case n.IntPrimitiveType:return`resultWriter_.WriteNumberValue(${m})`;case n.MoneyPrimitiveType:return`resultWriter_.WriteNumberValue(int (Math.Round(${m} * 100m)))`;case n.BigIntPrimitiveType:return`resultWriter_.WriteStringValue(${m}.ToString())`;case n.BoolPrimitiveType:return`resultWriter_.WriteBooleanValue(${m})`;case n.BytesPrimitiveType:return`resultWriter_.WriteStringValue(Convert.ToBase64String(${m}))`;case n.DateTimePrimitiveType:return`resultWriter_.WriteStringValue(${m}.ToString("yyyy-MM-ddTHH:mm:ss.FFFFFF'Z'"))`;case n.DatePrimitiveType:return`resultWriter_.WriteStringValue(${m}.ToString("yyyy-MM-dd"))`;case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.Base64PrimitiveType:case n.HexPrimitiveType:case n.XmlPrimitiveType:return`resultWriter_.WriteStringValue(${m})`;case n.OptionalType:{let P=v.base;for(;P instanceof n.TypeReference;)P=P.type;return`\n if (${m}.IsNone) then\n resultWriter_.WriteNullValue()\n else\n ${y(P,`${m}.Value`,C,M,O)}\n `.replace(/\n {14}/gu,"\n").trim()}case n.TypeReference:return y(v.type,m,C,M,O);case n.EnumType:case n.StructType:return`Encode${v.name} ${m} resultWriter_ ${C}`;case n.JsonPrimitiveType:return`${m}.WriteTo(resultWriter_)`;case n.ArrayType:return`\n resultWriter_.WriteStartArray()\n for i${M} in 0..${m}.Length - 1 do\n ${y(v.base,`${m}.[i${M}]`,`${C}`,M+1).replace(/\n/gu,"\n ")}\n resultWriter_.WriteEndArray()\n `.replace(/\n {14}/gu,"\n").trim();default:throw new Error(`BUG: encodeType with ${v.constructor.name}`)}}o.ident=r,o.capitalize=c,o.generateTypeName=d,o.decodeType=p,o.encodeType=y,o.generateStruct=function f(v){return`\ntype ${v.name} = {\n ${v.fields.map(m=>`${c(m.name)}: ${d(m.type)}`).join(";\n ")}\n} with\n static member Create (${v.fields.map(m=>`${r(m.name)}: ${d(m.type)}`).join(", ")}): ${v.name} =\n { ${v.fields.map(m=>`${c(m.name)} = ${r(m.name)}`).join("; ")} }\n\nlet Decode${v.name} (json_: JsonElement) (path_: string): ${v.name} =\n if (json_.ValueKind <> JsonValueKind.Object) then raise (FatalException($"'{path_}' must be an object."))\n ${v.fields.map(m=>`\n let ${m.name}Json_ = decodeJsonElementStrict ${JSON.stringify(m.name)} json_ $"{path_}.${m.name}"\n let ${r(m.name)} =\n ${p(m.type,`${m.name}Json_`,`$"{path_}.${m.name}"`,r(m.name)).replace(/\n/gu,"\n ")}\n `).join("")}\n { ${v.fields.map(m=>`${c(m.name)} = ${r(m.name)}`).join("; ")} }\n\nlet Encode${v.name} (obj_: ${v.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n resultWriter_.WriteStartObject()\n ${v.fields.map(m=>`\n resultWriter_.WritePropertyName(${JSON.stringify(m.name)})\n ${y(m.type,`obj_.${c(m.name)}`,`$"{path_}.${m.name}"`).replace(/\n/gu,"\n ")}`).join("\n")}\n resultWriter_.WriteEndObject()`},o.generateEnum=function b(v){return`\ntype ${v.name} =\n ${v.values.map(({value:m})=>`| ${c(m)}`).join("\n ")}\n\nlet Decode${v.name} (json_: JsonElement) (path_: string): ${v.name} =\n if (json_.ValueKind <> JsonValueKind.String) then raise (FatalException($"'{path_}' must be a string."))\n match json_.GetString() with\n ${v.values.map(({value:m})=>`| "${m}" -> ${v.name}.${c(m)}`).join("\n ")}\n | _ -> raise (FatalException($"'{path_}' must be one of: (${v.values.map(({value:m})=>`'${m}'`).join(", ")})."))\n\nlet Encode${v.name} (obj_: ${v.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n match obj_ with\n ${v.values.map(({value:m})=>`| ${v.name}.${c(m)} -> resultWriter_.WriteStringValue("${m}")`).join("\n ")}\n\n`}},2863:function(U,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(_,u,r,c){void 0===c&&(c=r);var d=Object.getOwnPropertyDescriptor(u,r);(!d||("get"in d?!u.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return u[r]}}),Object.defineProperty(_,c,d)}:function(_,u,r,c){void 0===c&&(c=r),_[c]=u[r]}),h=this&&this.__exportStar||function(_,u){for(var r in _)"default"!==r&&!Object.prototype.hasOwnProperty.call(u,r)&&n(u,_,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(196),o)},9409:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateAndroidClientSource=void 0;const n=a(6676),h=a(7250);o.generateAndroidClientSource=function _(u,r){let c='@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 y of u.enumTypes)c+=` ${(0,h.generateEnum)(y)}`,c+="\n";c+=" open class Error(val message: String? = null)\n",c+=" data class Response<T>(val error: Error?, val data: T?, val stats: CallStats?)\n\n";for(const y of u.structTypes)c+=` ${(0,h.generateClass)(y)}\n`;const d=[],p=new n.ErrorNode("Connection",new n.VoidPrimitiveType);d.push(p.name),c+=` ${(0,h.generateErrorClass)(p)}`;for(const y of u.errors)c+=` ${(0,h.generateErrorClass)(y)}`,d.push(y.name);return d.length>0&&(c+=`\n enum class ErrorType {\n ${d.join(",\n ")};\n\n fun type(): Class<out ApiClient.Error> {\n return when (this) {\n ${d.map(y=>`${y} -> ApiClient.${y}::class.java`).join("\n ")}\n else -> ApiClient.Error::class.java\n }\n }\n }\n\n`),c+=" private val sdkgenIOScope = CoroutineScope(IO + SupervisorJob())\n\n",c+=u.operations.filter(y=>y.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(y=>{let f="";const b=[];b.push("timeoutMillis: Long? = null"),r&&b.push(`callback: ((response: Response<${(0,h.generateKotlinTypeName)(y.returnType)}>) -> Unit)? = null`);const v=y.args.map(m=>`${(0,h.mangle)(m.name)}: ${(0,h.generateKotlinTypeName)(m.type)}`).concat(b);return f+=` fun ${(0,h.mangle)(y.name)}(\n ${v.join(",\n ")}\n ): Deferred<Response<out ${(0,h.generateKotlinTypeName)(y.returnType)}>> = sdkgenIOScope.async {\n`,y.args.length>0?(f+=" val bodyArgs = JsonObject().apply {\n",f+=y.args.map(m=>` ${(0,h.generateJsonAddRepresentation)(m.type,m.name)}`).join("\n"),f+="\n }\n"):f+=" val bodyArgs: JsonObject? = null",f+="\n",f+=` val call = makeRequest("${y.name}", bodyArgs, timeoutMillis)\n`,f+=` val response: Response<${(0,h.generateKotlinTypeName)(y.returnType)}> = handleCallResponse(call)\n`,r&&(f+=" withContext(Dispatchers.Main) { callback?.invoke(response) } \n"),f+=" return@async response\n",f+=" }\n",f}).join("\n"),c+='\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',c+="}\n",c}},7250:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateErrorClass=o.generateClass=o.getAnnotation=o.generateEnum=o.generateJsonAddRepresentation=o.mangle=o.generateKotlinTypeName=void 0;const n=a(6676);function h(y){switch(y.constructor){case n.IntPrimitiveType:case n.UIntPrimitiveType:case n.MoneyPrimitiveType:return"Int";case n.FloatPrimitiveType:return"Double";case n.BigIntPrimitiveType:return"BigInt";case n.DatePrimitiveType:case n.DateTimePrimitiveType:return"Calendar";case n.BoolPrimitiveType:return"Boolean";case n.BytesPrimitiveType:return"ByteArray";case n.StringPrimitiveType:case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:return"String";case n.VoidPrimitiveType:return"Unit";case n.JsonPrimitiveType:return"@RawValue JsonElement";case n.OptionalType:return`${h(y.base)}?`;case n.ArrayType:return`ArrayList<${h(y.base)}>`;case n.StructType:case n.EnumType:return y.name;case n.TypeReference:return h(y.type);default:throw new Error(`BUG: generateKotlinTypeName with ${y.constructor.name}`)}}function _(y){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(y)?`_${y}`:y}function c(y,f){let b="";switch(f&&f!==_(f)&&(b+=` @SerializedName("${f}")\n`),y.constructor){case n.DatePrimitiveType:b+=" @JsonAdapter(DateAdapter::class)\n";break;case n.DateTimePrimitiveType:b+=" @JsonAdapter(DateTimeAdapter::class)\n";break;case n.ArrayType:case n.OptionalType:b+=c(y.base)}return b}o.generateKotlinTypeName=h,o.mangle=_,o.generateJsonAddRepresentation=function u(y,f){switch(y.constructor){case n.StringPrimitiveType:case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:case n.IntPrimitiveType:case n.UIntPrimitiveType:case n.MoneyPrimitiveType:case n.FloatPrimitiveType:case n.BoolPrimitiveType:return`addProperty("${f}", ${_(f)})`;case n.OptionalType:return u(y.base,f);case n.DatePrimitiveType:return`addProperty("${f}", ${_(f)}?.let { DateAdapter.sdf.format(it.time)}) `;case n.DateTimePrimitiveType:return`addProperty("${f}", ${_(f)}?.let { DateTimeAdapter.sdf.format(it.time)})`;case n.ArrayType:case n.StructType:case n.EnumType:case n.TypeReference:case n.JsonPrimitiveType:return`add("${f}", gson.toJsonTree(${_(f)}))`;case n.VoidPrimitiveType:return"";case n.BytesPrimitiveType:return`addProperty("${f}", Base64.encodeToString(${_(f)}, Base64.NO_WRAP))`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${y.constructor.name}`)}},o.generateEnum=function r(y){let f="@Parcelize \n";return f+=` enum class ${y.name} : Parcelable { ${y.values.map(b=>_(b.value)).join(", ")} }\n`,f},o.getAnnotation=c,o.generateClass=function d(y){let f="@Parcelize\n";return f+=` data class ${y.name}(\n${y.fields.map(b=>{let v=c(b.type,b.name);return v+=` var ${_(b.name)}: ${h(b.type)}${b.type.constructor===n.OptionalType?" = null":""}`,v}).join(",\n")}\n ) : Parcelable\n`,f},o.generateErrorClass=function p(y){return`class ${y.name}(message: String) : Error(message)\n`}},7402:function(U,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(_,u,r,c){void 0===c&&(c=r);var d=Object.getOwnPropertyDescriptor(u,r);(!d||("get"in d?!u.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return u[r]}}),Object.defineProperty(_,c,d)}:function(_,u,r,c){void 0===c&&(c=r),_[c]=u[r]}),h=this&&this.__exportStar||function(_,u){for(var r in _)"default"!==r&&!Object.prototype.hasOwnProperty.call(u,r)&&n(u,_,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(9409),o)},1942:function(U,o,a){"use strict";var n=this&&this.__rest||function(dt,$e){var Pe={};for(var Le in dt)Object.prototype.hasOwnProperty.call(dt,Le)&&$e.indexOf(Le)<0&&(Pe[Le]=dt[Le]);if(null!=dt&&"function"==typeof Object.getOwnPropertySymbols){var he=0;for(Le=Object.getOwnPropertySymbols(dt);he<Le.length;he++)$e.indexOf(Le[he])<0&&Object.prototype.propertyIsEnumerable.call(dt,Le[he])&&(Pe[Le[he]]=dt[Le[he]])}return Pe};Object.defineProperty(o,"__esModule",{value:!0}),o.AstRoot=o.FunctionOperation=o.TypeDefinition=o.StructType=o.TypeReference=o.Spread=o.Field=o.EnumType=o.EnumValue=o.ArrayType=o.OptionalType=o.JsonPrimitiveType=o.XmlPrimitiveType=o.Base64PrimitiveType=o.HtmlPrimitiveType=o.HexPrimitiveType=o.UuidPrimitiveType=o.UrlPrimitiveType=o.EmailPrimitiveType=o.CnpjPrimitiveType=o.CpfPrimitiveType=o.DecimalPrimitiveType=o.MoneyPrimitiveType=o.VoidPrimitiveType=o.BytesPrimitiveType=o.BoolPrimitiveType=o.DateTimePrimitiveType=o.DatePrimitiveType=o.BigIntPrimitiveType=o.FloatPrimitiveType=o.UIntPrimitiveType=o.IntPrimitiveType=o.StringPrimitiveType=o.PrimitiveType=o.StatusCodeAnnotation=o.HiddenAnnotation=o.RestAnnotation=o.ArgDescriptionAnnotation=o.ThrowsAnnotation=o.DescriptionAnnotation=o.Annotation=o.ErrorNode=o.Type=o.AstNode=void 0;const h=a(9037);class _{constructor(){this.location=new h.TokenLocation,Object.defineProperty(this,"location",{enumerable:!1})}at($e){return this.location=$e.location,this}atLocation($e){return this.location=$e,this}}o.AstNode=_;class u extends _{toJSON(){const $e=Object.assign({},this);return n($e,["name"])}}o.Type=u,o.ErrorNode=class r extends _{constructor($e,Pe){super(),this.name=$e,this.dataType=Pe,this.annotations=[]}};class c extends _{}o.Annotation=c,o.DescriptionAnnotation=class d extends c{constructor($e){super(),this.text=$e}},o.ThrowsAnnotation=class p extends c{constructor($e){super(),this.error=$e}},o.ArgDescriptionAnnotation=class y extends c{constructor($e,Pe){super(),this.argName=$e,this.text=Pe}},o.RestAnnotation=class f extends c{constructor($e,Pe,Le,he,Qe,Be){super(),this.method=$e,this.path=Pe,this.pathVariables=Le,this.queryVariables=he,this.headers=Qe,this.bodyVariable=Be}},o.HiddenAnnotation=class b extends c{},o.StatusCodeAnnotation=class v extends c{constructor($e){super(),this.statusCode=$e}};class m extends u{toJSON(){return this.name}}o.PrimitiveType=m,o.StringPrimitiveType=class C extends m{constructor(){super(...arguments),this.name="string"}},o.IntPrimitiveType=class M extends m{constructor(){super(...arguments),this.name="int"}},o.UIntPrimitiveType=class O extends m{constructor(){super(...arguments),this.name="uint"}},o.FloatPrimitiveType=class P extends m{constructor(){super(...arguments),this.name="float"}},o.BigIntPrimitiveType=class N extends m{constructor(){super(...arguments),this.name="bigint"}},o.DatePrimitiveType=class Q extends m{constructor(){super(...arguments),this.name="date"}},o.DateTimePrimitiveType=class H extends m{constructor(){super(...arguments),this.name="datetime"}},o.BoolPrimitiveType=class G extends m{constructor(){super(...arguments),this.name="bool"}},o.BytesPrimitiveType=class B extends m{constructor(){super(...arguments),this.name="bytes"}},o.VoidPrimitiveType=class X extends m{constructor(){super(...arguments),this.name="void"}},o.MoneyPrimitiveType=class oe extends m{constructor(){super(...arguments),this.name="money"}},o.DecimalPrimitiveType=class pe extends m{constructor(){super(...arguments),this.name="decimal"}},o.CpfPrimitiveType=class Fe extends m{constructor(){super(...arguments),this.name="cpf"}},o.CnpjPrimitiveType=class it extends m{constructor(){super(...arguments),this.name="cnpj"}},o.EmailPrimitiveType=class z extends m{constructor(){super(...arguments),this.name="email"}},o.UrlPrimitiveType=class q extends m{constructor(){super(...arguments),this.name="url"}},o.UuidPrimitiveType=class V extends m{constructor(){super(...arguments),this.name="uuid"}},o.HexPrimitiveType=class te extends m{constructor(){super(...arguments),this.name="hex"}},o.HtmlPrimitiveType=class Ee extends m{constructor(){super(...arguments),this.name="html"}},o.Base64PrimitiveType=class Oe extends m{constructor(){super(...arguments),this.name="base64"}},o.XmlPrimitiveType=class K extends m{constructor(){super(...arguments),this.name="xml"}},o.JsonPrimitiveType=class ie extends m{constructor(){super(...arguments),this.name="json"}},o.OptionalType=class Ae extends u{constructor($e){super(),this.base=$e}get name(){return`${this.base.name}?`}},o.ArrayType=class $ extends u{constructor($e){super(),this.base=$e}get name(){return`${this.base.name}[]`}},o.EnumValue=class ye extends _{constructor($e){super(),this.value=$e,this.annotations=[],this.struct=null}},o.EnumType=class Ce extends u{constructor($e){super(),this.values=$e}get hasStructValues(){return this.values.some($e=>null!==$e.struct)}},o.Field=class De extends _{constructor($e,Pe,Le=!1){super(),this.name=$e,this.type=Pe,this.secret=Le,this.annotations=[]}},o.Spread=class Ve extends _{constructor($e){super(),this.typeReference=$e}},o.TypeReference=class Se extends u{constructor($e){super(),this.name=$e}},o.StructType=class Ue extends u{constructor($e){super(),this.fieldsAndSpreads=$e,this.fields=[]}},o.TypeDefinition=class ut extends _{constructor($e,Pe){super(),this.name=$e,this.type=Pe,this.annotations=[]}},o.FunctionOperation=class _t extends _{constructor($e,Pe,Le){super(),this.name=$e,this.fieldsAndSpreads=Pe,this.returnType=Le,this.annotations=[],this.args=[]}},o.AstRoot=class bt{constructor($e=[],Pe=[],Le=[]){this.typeDefinitions=$e,this.operations=Pe,this.errors=Le,this.structTypes=[],this.enumTypes=[],this.warnings=[]}}},9747:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.compatibilityIssues=void 0;const n=a(1942);function h(r,c,d,p){var y,f;if(d instanceof n.TypeReference)h(r,c,d.type,p);else if(p instanceof n.TypeReference)h(r,c,d,p.type);else if(d instanceof n.OptionalType||!(p instanceof n.OptionalType))if(d instanceof n.OptionalType&&p instanceof n.OptionalType)h(r,c,d.base,p.base);else{if(d instanceof n.OptionalType&&!(p instanceof n.OptionalType))return c.push(`${r} was optional, but now it isn't. If the client sends a null, it will be invalid. Add the optional annotation back.`),void h(r,c,d.base,p);if(d instanceof n.ArrayType&&p instanceof n.ArrayType)h(r,c,d.base,p.base);else if(d instanceof n.StructType&&p instanceof n.StructType)for(const b of p.fields){const v=d.fields.find(m=>m.name===b.name);if(v)h(`${r}.${v.name}`,c,v.type,b.type);else{if(b.type instanceof n.OptionalType)continue;c.push(`${r}.${b.name} didn't exist before and isn't optional. Make it optional.`)}}else if(!(d instanceof n.UIntPrimitiveType&&p instanceof n.IntPrimitiveType||d instanceof n.IntPrimitiveType&&p instanceof n.FloatPrimitiveType||d instanceof n.MoneyPrimitiveType&&p instanceof n.IntPrimitiveType||d instanceof n.MoneyPrimitiveType&&p instanceof n.UIntPrimitiveType||d instanceof n.UIntPrimitiveType&&p instanceof n.BigIntPrimitiveType||d instanceof n.IntPrimitiveType&&p instanceof n.BigIntPrimitiveType||d instanceof n.MoneyPrimitiveType&&p instanceof n.BigIntPrimitiveType||d instanceof n.BigIntPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.UuidPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.XmlPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.DatePrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.DateTimePrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.CpfPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.CnpjPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.HexPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.HtmlPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.Base64PrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.BytesPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.BytesPrimitiveType&&p instanceof n.Base64PrimitiveType||d instanceof n.UrlPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.EmailPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.DecimalPrimitiveType&&p instanceof n.StringPrimitiveType||d instanceof n.EnumType&&p instanceof n.StringPrimitiveType)){if(d instanceof n.EnumType&&p instanceof n.EnumType){for(const b of d.values){const v=p.values.find(m=>m.value===b.value);v?h(`${r}.${b.value}`,c,null!==(y=b.struct)&&void 0!==y?y:new n.StructType([]),null!==(f=v.struct)&&void 0!==f?f:new n.StructType([])):c.push(`The enum at ${r} used to accept the value "${b.value}" that doesn't exist now. Clients that send it will fail.`)}return}d.constructor.name!==p.constructor.name&&c.push(`${r} was ${d.name} and now it is ${p.name}. They are not compatible.`)}}else h(r,c,d,p.base)}function _(r,c,d,p){var y,f;if(d instanceof n.TypeReference)_(r,c,d.type,p);else if(p instanceof n.TypeReference)_(r,c,d,p.type);else if(!(d instanceof n.OptionalType)||p instanceof n.OptionalType)if(d instanceof n.OptionalType&&p instanceof n.OptionalType)_(r,c,d.base,p.base);else{if(!(d instanceof n.OptionalType)&&p instanceof n.OptionalType)return c.push(`${r} wasn't optional, but now it is. If the client receives a null, it will crash. Remove the optional annotation.`),void _(r,c,d,p.base);if(d instanceof n.ArrayType&&p instanceof n.ArrayType)_(r,c,d.base,p.base);else if(d instanceof n.StructType&&p instanceof n.StructType)for(const b of d.fields){const v=p.fields.find(m=>m.name===b.name);if(v)_(`${r}.${b.name}`,c,b.type,v.type);else{if(b.type instanceof n.OptionalType)continue;c.push(`${r}.${b.name} used to exist with type ${b.type.name}, but it's now missing. Add it back.`)}}else if(!(d instanceof n.IntPrimitiveType&&p instanceof n.UIntPrimitiveType||d instanceof n.FloatPrimitiveType&&p instanceof n.IntPrimitiveType||d instanceof n.IntPrimitiveType&&p instanceof n.MoneyPrimitiveType||d instanceof n.UIntPrimitiveType&&p instanceof n.MoneyPrimitiveType||d instanceof n.BigIntPrimitiveType&&p instanceof n.UIntPrimitiveType||d instanceof n.BigIntPrimitiveType&&p instanceof n.IntPrimitiveType||d instanceof n.BigIntPrimitiveType&&p instanceof n.MoneyPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.BigIntPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.UuidPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.XmlPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.DatePrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.DateTimePrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.CpfPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.CnpjPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.HexPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.HtmlPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.Base64PrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.BytesPrimitiveType||d instanceof n.Base64PrimitiveType&&p instanceof n.BytesPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.UrlPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.EmailPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.DecimalPrimitiveType||d instanceof n.StringPrimitiveType&&p instanceof n.EnumType)){if(d instanceof n.EnumType&&p instanceof n.EnumType){for(const b of p.values){const v=d.values.find(m=>m.value===b.value);v?_(`${r}.${b.value}`,c,null!==(y=v.struct)&&void 0!==y?y:new n.StructType([]),null!==(f=b.struct)&&void 0!==f?f:new n.StructType([])):c.push(`The enum at ${r} now has the value "${b.value}" that didn't exist before. Client will crash if it receives it`)}return}d.constructor.name!==p.constructor.name&&c.push(`${r} was ${d.name} and now it is ${p.name}. They are not compatible.`)}}else _(r,c,d.base,p)}o.compatibilityIssues=function u(r,c){const d=[];for(const p of r.operations){const y=c.operations.find(f=>f.name===p.name);if(y){_(`${p.name}.ret`,d,p.returnType,y.returnType);for(const f of y.args){const b=p.args.find(v=>v.name===f.name);if(b)h(`${p.name}.args.${b.name}`,d,b.type,f.type);else{if(f.type instanceof n.OptionalType)continue;d.push(`${p.name}.args.${f.name} didn't exist before and isn't optional. Make it optional.`)}}}else d.push(`function ${p.name} used to exist, but it's now missing. Add it back.`)}for(const p of r.errors){const y=c.errors.find(f=>f.name===p.name);!y||_(`${p.name}.data`,d,p.dataType,y.dataType)}return d}},8006:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.hasType=void 0;const n=a(3154);class h extends n.Visitor{constructor(r,c){super(r),this.type=c,this.found=!1}visit(r){r.constructor===this.type&&(this.found=!0),super.visit(r)}}o.hasType=function _(u,r){const c=new h(u,r);return c.process(),c.found}},6676:function(U,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(c,d,p,y){void 0===y&&(y=p);var f=Object.getOwnPropertyDescriptor(d,p);(!f||("get"in f?!d.__esModule:f.writable||f.configurable))&&(f={enumerable:!0,get:function(){return d[p]}}),Object.defineProperty(c,y,f)}:function(c,d,p,y){void 0===y&&(y=p),c[y]=d[p]}),h=this&&this.__exportStar||function(c,d){for(var p in c)"default"!==p&&!Object.prototype.hasOwnProperty.call(d,p)&&n(d,c,p)};Object.defineProperty(o,"__esModule",{value:!0}),o.hasType=o.Visitor=o.jsonToAst=o.astToJson=void 0,h(a(1942),o),h(a(9747),o);var _=a(1557);Object.defineProperty(o,"astToJson",{enumerable:!0,get:function(){return _.astToJson}}),Object.defineProperty(o,"jsonToAst",{enumerable:!0,get:function(){return _.jsonToAst}}),h(a(8053),o),h(a(2701),o),h(a(9037),o);var u=a(3154);Object.defineProperty(o,"Visitor",{enumerable:!0,get:function(){return u.Visitor}});var r=a(8006);Object.defineProperty(o,"hasType",{enumerable:!0,get:function(){return r.hasType}})},1557:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.jsonToAst=o.astToJson=void 0;const n=a(1942),h=a(6758),_=a(6569);function u(p){if(p instanceof n.DescriptionAnnotation)return{type:"description",value:p.text};if(p instanceof n.ThrowsAnnotation)return{type:"throws",value:p.error};if(p instanceof n.RestAnnotation)return{type:"rest",value:{bodyVariable:p.bodyVariable,headers:[...p.headers.entries()].sort(([y],[f])=>y.localeCompare(f)),method:p.method,path:p.path,pathVariables:p.pathVariables,queryVariables:[...p.queryVariables].sort((y,f)=>y.localeCompare(f))}};if(p instanceof n.HiddenAnnotation)return{type:"hidden",value:null};if(p instanceof n.StatusCodeAnnotation)return{type:"statusCode",value:p.statusCode};throw new Error(`BUG: annotationToJson with ${p.constructor.name}`)}function r(p){switch(p.type){case"description":return new n.DescriptionAnnotation(p.value);case"throws":return new n.ThrowsAnnotation(p.value);case"rest":{const{method:y,path:f,pathVariables:b,queryVariables:v,headers:m,bodyVariable:C}=p.value;return new n.RestAnnotation(y,f,b,v,new Map(m),C)}case"hidden":return new n.HiddenAnnotation;case"statusCode":return new n.StatusCodeAnnotation(p.value);default:throw new Error(`BUG: annotationFromJson with ${p.type}`)}}o.astToJson=function c(p){var y,f,b,v;const m={},C={};function M(N){return N instanceof n.ArrayType?`${M(N.base)}[]`:N instanceof n.OptionalType?`${M(N.base)}?`:N.name}for(const{name:N,fields:Q}of p.structTypes){if(N in C)throw new Error(`Duplicate struct type ${N}`);C[N]={};const H=C[N];for(const G of Q){H[G.name]=M(G.type);for(const B of G.annotations)if(B instanceof n.DescriptionAnnotation){const X=`type.${N}.${G.name}`;null!==(y=m[X])&&void 0!==y||(m[X]=[]),m[X].push(u(B))}}}for(const{name:N,values:Q}of p.enumTypes){if(N in C)throw new Error(`Duplicate enum type ${N}`);C[N]=Q.map(H=>H.struct?[H.value,H.struct.name]:H.value)}for(const{name:N,type:Q}of p.typeDefinitions)Q instanceof n.StructType||Q instanceof n.EnumType||(C[N]=M(Q));const O={};for(const N of p.operations){const Q={};for(const H of N.args){Q[H.name]=M(H.type);for(const G of H.annotations)if(G instanceof n.DescriptionAnnotation){const B=`fn.${N.name}.${H.name}`;null!==(f=m[B])&&void 0!==f||(m[B]=[]),m[B].push(u(G))}}O[N.name]={args:Q,ret:M(N.returnType)};for(const H of N.annotations){const G=`fn.${N.name}`;null!==(b=m[G])&&void 0!==b||(m[G]=[]),m[G].push(u(H))}}const P=p.errors.map(N=>N.dataType instanceof n.VoidPrimitiveType?N.name:[N.name,N.dataType.name]);for(const N of p.errors)for(const Q of N.annotations){const H=`error.${N.name}`;null!==(v=m[H])&&void 0!==v||(m[H]=[]),m[H].push(u(Q))}return{annotations:m,errors:P,functionTable:O,typeTable:C}},o.jsonToAst=function d(p){var y,f;const b=[],v=[],m=[];function C(P,N){var Q;if("string"==typeof P){const G=_.primitiveToAstClass.get(P);return G?new G:P.endsWith("?")?new n.OptionalType(C(P.slice(0,P.length-1))):P.endsWith("[]")?new n.ArrayType(C(P.slice(0,P.length-2))):new n.TypeReference(P)}if(Array.isArray(P))return new n.EnumType(P.map(G=>{if(Array.isArray(G)){const[B,X]=G,oe=new n.EnumValue(B);return m.push([oe,X]),oe}return new n.EnumValue(G)}));const H=[];for(const G of Object.keys(P)){const B=new n.Field(G,C(P[G]));if(N){const X=`type.${N}.${G}`;for(const oe of null!==(Q=p.annotations[X])&&void 0!==Q?Q:[])B.annotations.push(r(oe))}H.push(B)}return new n.StructType(H)}for(const[P,N]of Object.entries(p.typeTable)){const Q=C(N,P);v.push(new n.TypeDefinition(P,Q))}for(const[P,N]of Object.entries(p.functionTable)){const Q=Object.keys(N.args).map(B=>{var X;const oe=new n.Field(B,C(N.args[B])),pe=`fn.${P}.${B}`;for(const Fe of null!==(X=p.annotations[pe])&&void 0!==X?X:[])oe.annotations.push(r(Fe));return oe}),H=new n.FunctionOperation(P,Q,C(N.ret)),G=`fn.${P}`;for(const B of null!==(y=p.annotations[G])&&void 0!==y?y:[])H.annotations.push(r(B));b.push(H)}for(const[P,N]of m){const Q=null===(f=v.find(H=>H.name===N))||void 0===f?void 0:f.type;Q instanceof n.StructType&&(P.struct=Q)}const M=p.errors.map(P=>{var N;let Q;if(Array.isArray(P)){const[G,B]=P;Q=new n.ErrorNode(G,C(B))}else Q=new n.ErrorNode(P,new n.VoidPrimitiveType);const H=`error.${Q.name}`;for(const G of null!==(N=p.annotations[H])&&void 0!==N?N:[])Q.annotations.push(r(G));return Q}),O=new n.AstRoot(v,b,M);return(0,h.analyse)(O),O}},8053:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Lexer=o.LexerError=void 0;const n=a(9037);class h extends Error{}o.LexerError=h;class _{constructor(r,c="-"){this.source=r,this.filename=c,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 r=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(),r=new n.CurlyOpenSymbolToken;break;case"}":this.nextChar(),r=new n.CurlyCloseSymbolToken;break;case"(":this.nextChar(),r=new n.ParensOpenSymbolToken;break;case")":this.nextChar(),r=new n.ParensCloseSymbolToken;break;case"?":this.nextChar(),r=new n.OptionalSymbolToken;break;case":":this.nextChar(),r=new n.ColonSymbolToken;break;case"=":this.nextChar(),r=new n.EqualSymbolToken;break;case"!":this.nextChar(),r=new n.ExclamationMarkSymbolToken;break;case",":this.nextChar(),r=new n.CommaSymbolToken;break;case"[":"]"===this.nextChar()&&(this.nextChar(),r=new n.ArraySymbolToken);break;case".":"."===this.nextChar()&&"."===this.nextChar()&&(this.nextChar(),r=new n.SpreadSymbolToken);break;case"@":{let c="\\",d=this.startPos+1;for(;"\\"===c[c.length-1];){for(c=c.slice(0,c.length-1).trim();!["\0","\n"].includes(this.nextChar()););c=`${c} ${this.source.substring(d,this.pos).trim()}`.trim(),d=this.pos+1}r=new n.AnnotationToken(c.trim());break}case'"':{const c=[];e:for(;;)switch(this.nextChar()){case"\0":break e;case"\\":switch(this.nextChar()){case"\0":break e;case"n":c.push("\n");break;case"t":c.push("\t");break;default:c.push(this.currentChar())}break;case'"':this.nextChar(),r=new n.StringLiteralToken(c.join(""));break e;default:c.push(this.currentChar())}break}default:if(/[a-zA-Z_]/u.test(this.currentChar())){for(;/[a-zA-Z0-9_]/u.test(this.nextChar()););const c=this.source.substring(this.startPos,this.pos);switch(c){case"error":r=new n.ErrorKeywordToken;break;case"enum":r=new n.EnumKeywordToken;break;case"type":r=new n.TypeKeywordToken;break;case"import":r=new n.ImportKeywordToken;break;case"fn":r=new n.FnKeywordToken;break;case"true":r=new n.TrueKeywordToken;break;case"false":r=new n.FalseKeywordToken;break;default:r=_.PRIMITIVES.has(c)?new n.PrimitiveTypeToken(c):new n.IdentifierToken(c)}}}if(null!==r)return r.location.filename=this.filename,r.location.line=this.startLine,r.location.column=this.startColumn,r;throw"\0"===this.currentChar()?new h(`Unexpected end of file at ${this.filename}`):new h(`Unexpected character ${JSON.stringify(this.currentChar())} at ${this.filename}:${this.line}:${this.column}`)}}o.Lexer=_,_.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"]),_.KEYWORDS=new Set([..._.PRIMITIVES,"error","enum","type","import","get","function","fn","true","false"])},2701:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Parser=o.ParserError=void 0;const n=a(1942),h=a(8053),_=a(7145),u=a(6758),r=a(9037),c=a(6569);class d extends Error{}o.ParserError=d,o.Parser=class p{constructor(f){this.token=null,this.annotations=[],this.warnings=[],this.readFileSync=()=>{throw"Not implemented"};try{this.readFileSync=Object(function(){var m=new Error("Cannot find module 'fs'");throw m.code="MODULE_NOT_FOUND",m}())}catch(v){}const b=Array.isArray(f)?[...f].reverse():[f];this.lexers=b.map(v=>v instanceof h.Lexer?v:new h.Lexer(this.readFileSync(v).toString(),v)),this.nextToken()}nextToken(){for(;this.lexers.length>0;){if(this.token=this.lexers[this.lexers.length-1].nextToken(),this.token)return;this.lexers.pop()}}multiExpect(f){if(!this.token)throw new d(`Expected ${Object.keys(f).map(v=>v.replace("Token","")).join(" or ")}, but found end of file`);const b=this.token.constructor.name;if(b in f)return f[b](this.token);if(f.IdentifierToken){const v=this.token.maybeAsIdentifier();if(v instanceof r.IdentifierToken)return f.IdentifierToken(v)}throw new d(`Expected ${Object.keys(f).map(v=>v.replace("Token","")).join(" or ")} at ${this.token.location}, but found ${this.token}`)}expect(f){if(null===this.token)throw new d(`Expected ${f.name.replace("Token","")}, but found end of file`);if(this.token instanceof f)return this.token;if(f===r.IdentifierToken){const b=this.token.maybeAsIdentifier();if(b instanceof r.IdentifierToken)return b}throw new d(`Expected ${f.name.replace("Token","")} at ${this.token.location}, but found ${this.token}`)}parse(){const f=[],b=[],v=[];for(this.warnings=[];this.token;)this.acceptAnnotations(),this.multiExpect({ErrorKeywordToken:()=>{v.push(this.parseError())},FnKeywordToken:()=>{f.push(this.parseOperation())},ImportKeywordToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const C=this.expect(r.StringLiteralToken),M=C.location.filename.replace(/[^/\\]+$/u,`${C.value}.sdkgen`);this.lexers.push(new h.Lexer(this.readFileSync(M).toString(),M)),this.nextToken()},TypeKeywordToken:()=>{b.push(this.parseTypeDefinition())}});const m=new n.AstRoot(b,f,v);return m.warnings=this.warnings,(0,u.analyse)(m),m}acceptAnnotations(){for(;this.token instanceof r.AnnotationToken;){const f=this.token.value.split(" "),b=this.token.value.slice(f[0].length).trim();switch(f[0]){case"description":this.annotations.push(new n.DescriptionAnnotation(b).at(this.token));break;case"arg":this.annotations.push(new n.ArgDescriptionAnnotation(f[1],this.token.value.slice(f[0].length+1+f[1].length).trim()).at(this.token));break;case"throws":this.annotations.push(new n.ThrowsAnnotation(b).at(this.token));break;case"rest":try{this.annotations.push((0,_.parseRestAnnotation)(b).at(this.token))}catch(v){throw new d(`${v instanceof Error?v.message:v} at ${this.token.location}`)}break;case"hidden":if(""!==b)throw new d("@hidden annotation doesn't take any argument");this.annotations.push((new n.HiddenAnnotation).at(this.token));break;case"statusCode":{const v=parseInt(b,10);if(v.toString()!==b.trim())throw new d("@statusCode annotation takes an integer as argument");this.annotations.push(new n.StatusCodeAnnotation(v).at(this.token));break}default:throw new d(`Unknown annotation '${f[0]}' at ${this.token.location}`)}this.nextToken()}}checkCannotHaveAnnotationsHere(){if(this.annotations.length>0)throw new d(`Cannot have annotations at ${this.annotations[0].location}`)}parseTypeDefinition(){const f=this.expect(r.TypeKeywordToken);this.nextToken();const b=this.expect(r.IdentifierToken),v=b.value;if(!/[A-Z]/u.test(v[0]))throw new d(`The custom type name must start with an uppercase letter, but found ${JSON.stringify(v)} at ${b.location}`);this.nextToken();const{annotations:m}=this;this.annotations=[];const C=this.parseType(),M=new n.TypeDefinition(v,C).at(f);return M.annotations=m,M}parseError(){const f=this.expect(r.ErrorKeywordToken);this.nextToken();const b=this.expect(r.IdentifierToken),v=b.value;if(!/[A-Z]/u.test(v[0]))throw new d(`Error name must start with an uppercase letter, but found ${JSON.stringify(v)} at ${b.location}`);this.nextToken();let m=new n.VoidPrimitiveType;(this.token instanceof r.CurlyOpenSymbolToken||this.token instanceof r.EnumKeywordToken||this.token instanceof r.IdentifierToken||this.token instanceof r.PrimitiveTypeToken)&&(m=this.parseType());const C=new n.ErrorNode(v,m).at(f);return C.annotations=this.annotations,this.annotations=[],C}parseOperation(){let{annotations:f}=this;this.annotations=[],this.expect(r.FnKeywordToken),this.nextToken();const b=this.expect(r.IdentifierToken).value;this.nextToken(),this.expect(r.ParensOpenSymbolToken),this.nextToken();const v=new Set,m=[];let M,C=!1;for(;!C;)this.acceptAnnotations(),this.multiExpect({ParensCloseSymbolToken:N=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),C=!0,M=N},IdentifierToken:()=>{const N=this.parseField();if(v.has(N.name))throw new d(`Cannot redeclare argument '${N.name}'`);v.add(N.name),m.push(N),this.multiExpect({ParensCloseSymbolToken:Q=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),C=!0,M=Q},CommaSymbolToken:()=>this.nextToken()})},SpreadSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const N=this.expect(r.IdentifierToken);if(this.nextToken(),!/[A-Z]/u.test(N.value[0]))throw new d(`Expected a type but found ${JSON.stringify(N.value)} at ${N.location}`);m.push(new n.Spread(new n.TypeReference(N.value).at(N)).at(N)),this.multiExpect({ParensCloseSymbolToken:Q=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),C=!0,M=Q},CommaSymbolToken:()=>this.nextToken()})}});for(const N of f)if(N instanceof n.ArgDescriptionAnnotation){const Q=m.find(H=>H instanceof n.Field&&H.name===N.argName);if(!Q)throw new d(`Argument '${N.argName}' not found, at ${N.location}`);Q.annotations.push(new n.DescriptionAnnotation(N.text).atLocation(N.location))}f=f.filter(N=>!(N instanceof n.ArgDescriptionAnnotation));let O=(new n.VoidPrimitiveType).at(M);this.token instanceof r.ColonSymbolToken&&(this.nextToken(),O=this.parseType());const P=new n.FunctionOperation(b,m,O);return P.annotations=f,P}parseEnum(){this.checkCannotHaveAnnotationsHere();const f=this.expect(r.EnumKeywordToken);this.nextToken(),this.expect(r.CurlyOpenSymbolToken),this.nextToken();const b=new n.EnumType([]).at(f);let v=!1;for(;!v;)this.acceptAnnotations(),this.multiExpect({CurlyCloseSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),v=!0},IdentifierToken:m=>{const C=new n.EnumValue(m.value).at(m);if(C.annotations=this.annotations,this.annotations=[],b.values.push(C),this.nextToken(),!(this.token instanceof r.ParensOpenSymbolToken))return;this.nextToken();const M=new Set,O=[];for(;this.token&&this.token.maybeAsIdentifier()instanceof r.IdentifierToken;){const P=this.parseField();if("tag"===P.name&&(P.name="_tag"),M.has(P.name))throw new d(`Cannot redeclare argument '${P.name}'`);if(M.add(P.name),O.push(P),!(this.token instanceof r.CommaSymbolToken))break;this.nextToken()}C.struct=new n.StructType(O).atLocation(C.location),this.expect(r.ParensCloseSymbolToken),this.nextToken()}});return b}parseField(){const f=this.expect(r.IdentifierToken);this.nextToken(),this.expect(r.ColonSymbolToken),this.nextToken();const{annotations:b}=this;this.annotations=[];const v=this.parseType(),m=new n.Field(f.value,v).at(f);for(m.annotations=b;this.token instanceof r.ExclamationMarkSymbolToken;){if("secret"!==(this.nextToken(),this.expect(r.IdentifierToken).value))throw new d(`Unknown field mark !${this.token.value} at ${this.token.location}`);m.secret=!0,this.nextToken()}return m}parseStruct(){const f=this.expect(r.CurlyOpenSymbolToken);this.nextToken();const b=[],v=new Set;let m=!1;for(;!m;)this.acceptAnnotations(),this.multiExpect({CurlyCloseSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),m=!0},IdentifierToken:()=>{const C=this.parseField();if(v.has(C.name))throw new d(`Cannot redeclare field '${C.name}'`);v.add(C.name),b.push(C)},SpreadSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const C=this.expect(r.IdentifierToken);if(this.nextToken(),!/[A-Z]/u.test(C.value[0]))throw new d(`Expected a type but found ${JSON.stringify(C.value)} at ${C.location}`);b.push(new n.Spread(new n.TypeReference(C.value).at(C)).at(C))}});return new n.StructType(b).at(f)}parseType(){this.checkCannotHaveAnnotationsHere();let f=this.multiExpect({CurlyOpenSymbolToken:()=>this.parseStruct(),EnumKeywordToken:()=>this.parseEnum(),IdentifierToken:b=>{if(this.nextToken(),!/[A-Z]/u.test(b.value[0]))throw new d(`Expected a type but found ${JSON.stringify(b.value)} at ${b.location}`);return new n.TypeReference(b.value).at(b)},PrimitiveTypeToken:b=>{this.nextToken();const v=c.primitiveToAstClass.get(b.value);if(v)return(new v).at(b);throw new d(`BUG! Should handle primitive ${b.value}`)}});for(;this.token instanceof r.ArraySymbolToken||this.token instanceof r.OptionalSymbolToken;)this.multiExpect({ArraySymbolToken:b=>f=new n.ArrayType(f).at(b),OptionalSymbolToken:b=>f=new n.OptionalType(f).at(b)}),this.nextToken();return f}}},7145:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.parseRestAnnotation=void 0;const n=a(1942);function u(c){var d;const p=new RegExp("\\{(?<name>\\w+)\\}","gu"),y=[];let f;for(;null!==(f=p.exec(c));)null!==(d=f.groups)&&void 0!==d&&d.name&&y.push(f.groups.name);return y}o.parseRestAnnotation=function r(c){const d=c.split(" "),p=d[0].toUpperCase();if(!["GET","POST","PUT","DELETE","PATCH"].includes(p))throw new Error(`Unsupported method '${p}'`);let y=d[1];if(!y.startsWith("/"))throw new Error("Invalid path");let f=[];if(y.includes("?")){const[M,...O]=y.split("?");y=M;const P=O.join("?");if(!/^\{\w+\}(?:&\{\w+\})*$/u.test(P))throw new Error("Invalid querystring on path");f=u(P)}const b=u(y),v=d.slice(2).join(" "),m=function h(c){var d;const p=new RegExp('\\[header (?<header>[^()<>@,;:\\\\"/[\\]?={}\\s\\t]+): \\{(?<name>\\w+)\\}\\]',"gu"),y=new Map;let f;for(;null!==(f=p.exec(c));)(null===(d=f.groups)||void 0===d?void 0:d.header)&&f.groups.name&&y.set(f.groups.header.toLowerCase(),f.groups.name);return y}(v),C=function _(c){var d;const p=new RegExp("\\[body \\{(?<name>\\w+)\\}\\]","u").exec(c);return null!==(d=null==p?void 0:p.groups)&&void 0!==d&&d.name?p.groups.name:null}(v);return new n.RestAnnotation(p,y,b,f,m,C)}},7629:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckMultipleDeclarationVisitor=void 0;const n=a(3154),h=a(1942);o.CheckMultipleDeclarationVisitor=class _ extends n.Visitor{constructor(){super(...arguments),this.nameToType=new Map}visit(r){if(r instanceof h.TypeDefinition){const c=this.nameToType.get(r.name);if(c&&JSON.stringify(c)!==JSON.stringify(r.type))throw new n.SemanticError(`Type '${r.name}' at ${r.location} is defined multiple times (also at ${c.location})`);this.nameToType.set(r.name,r.type)}super.visit(r)}}},6153:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.GiveStructAndEnumNamesTransformer=void 0;const n=a(9989),h=a(3154),_=a(1942);o.GiveStructAndEnumNamesTransformer=class u extends n.Transformer{constructor(){super(...arguments),this.path=[],this.names=new Map}transform(c){if(c instanceof _.TypeDefinition)return this.path=[c.name],super.transform(c);if(c instanceof _.ErrorNode)return this.path=[`${c.name}Data`],super.transform(c);if(c instanceof _.FunctionOperation)return this.path=[c.name],super.transform(c);if(c instanceof _.Field)try{return this.path.push(c.name),super.transform(c)}finally{this.path.pop()}else{if(!(c instanceof _.EnumValue)){if(c instanceof _.StructType||c instanceof _.EnumType){c.name=this.path.map(p=>p[0].toUpperCase()+p.slice(1)).join("");const d=this.names.get(c.name);if(d){if(d.type.constructor!==c.constructor||JSON.stringify(d.type)!==JSON.stringify(c))throw new h.SemanticError(`The name of the type '${this.path.join(".")}' at ${c.location} will conflict with '${d.path.join(".")}' at ${d.type.location}`);return d.type}return this.names.set(c.name,{path:[...this.path],type:c}),super.transform(c)}return super.transform(c)}try{return this.path.push(c.value),super.transform(c)}finally{this.path.pop()}}}}},9471:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.MatchTypeDefinitionsVisitor=void 0;const n=a(3154),h=a(1942);o.MatchTypeDefinitionsVisitor=class _ extends n.Visitor{visit(r){if(r instanceof h.TypeReference){const c=this.root.typeDefinitions.find(d=>d.name===r.name);if(void 0===c)throw new n.SemanticError(`Could not find type '${r.name}' at ${r.location}`);r.type=c.type}super.visit(r)}}},4612:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckDontReturnSecretVisitor=void 0;const n=a(3154),h=a(1942);o.CheckDontReturnSecretVisitor=class _ extends n.Visitor{constructor(){super(...arguments),this.isInReturn=!1,this.path=[],this.visited=new Set}visit(r){if(!this.visited.has(r))if(this.visited.add(r),r instanceof h.FunctionOperation)this.isInReturn=!0,this.visited.clear(),this.path.push(`${r.name}(...)`),this.visit(r.returnType),this.path.pop(),this.isInReturn=!1;else if(r instanceof h.TypeReference)this.visit(r.type);else if(r instanceof h.Field){if(this.path.push(r.name),this.isInReturn&&r.secret)throw new n.SemanticError(`Can't return a secret value at ${this.path.join(".")} at ${r.location}`);super.visit(r),this.path.pop()}else super.visit(r)}}},4978:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ExpandSpreadsVisitor=void 0;const n=a(3154),h=a(1942);o.ExpandSpreadsVisitor=class _ extends n.Visitor{constructor(){super(...arguments),this.processed=new Set}expandSpread(r,c){const d=new Map;for(const p of c){let y;if(p instanceof h.Field)y=[p];else{const f=p.typeReference.type;if(!(f instanceof h.StructType))throw new n.SemanticError(`A spread operator can't refer to something that is not a struct, in '${p.typeReference.name}' at ${p.location}.`);this.visit(f),y=f.fields}for(const f of y){const b=d.get(f.name);b?r[b]=f:(d.set(f.name,r.length),r.push(f))}}}visit(r){if(r instanceof h.StructType){if(this.processed.has(r))return;this.processed.add(r)}super.visit(r),r instanceof h.StructType?(this.expandSpread(r.fields,r.fieldsAndSpreads),r.fieldsAndSpreads=[]):r instanceof h.FunctionOperation&&(this.expandSpread(r.args,r.fieldsAndSpreads),r.fieldsAndSpreads=[])}}},9866:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckEmptyStructOrEnumVisitor=void 0;const n=a(3154),h=a(1942);o.CheckEmptyStructOrEnumVisitor=class _ extends n.Visitor{visit(r){if(super.visit(r),r instanceof h.EnumType&&0===r.values.length)throw new n.SemanticError(`Enum '${r.name}' at ${r.location} is empty`);if(r instanceof h.StructType&&0===r.fields.length)throw new n.SemanticError(`Struct '${r.name}' at ${r.location} is empty`)}}},4647:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ValidateRecursiveTypes=void 0;const n=a(3154),h=a(1942);o.ValidateRecursiveTypes=class _ extends n.Visitor{visit(r){if(super.visit(r),r instanceof h.TypeDefinition&&this.isRecursiveType(r,r.type)){if(!(r.type instanceof h.StructType||r.type instanceof h.EnumType))throw new n.SemanticError(`Type '${r.name}' at ${r.location} is recursive but is not an struct`);if(this.isInfinitelyRecursiveType(r,r.type))throw new n.SemanticError(`Type '${r.name}' at ${r.location} is infinitely recursive`)}}isRecursiveType(r,c){return c instanceof h.TypeReference?r.name===c.name:c instanceof h.ArrayType||c instanceof h.OptionalType?this.isRecursiveType(r,c.base):c instanceof h.StructType?c.fields.some(d=>this.isRecursiveType(r,d.type)):c instanceof h.EnumType&&c.values.some(d=>d.struct&&this.isRecursiveType(r,d.struct))}isInfinitelyRecursiveType(r,c){return c instanceof h.TypeReference?c.name===r.name:c instanceof h.StructType?c.fields.some(d=>this.isInfinitelyRecursiveType(r,d.type)):c instanceof h.EnumType&&c.values.every(d=>d.struct&&this.isInfinitelyRecursiveType(r,d.struct))}}},2060:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CollectStructAndEnumTypesVisitor=void 0;const n=a(3154),h=a(1942);o.CollectStructAndEnumTypesVisitor=class _ extends n.Visitor{constructor(){super(...arguments),this.visited=new Set}visit(r){super.visit(r),!this.visited.has(r)&&(this.visited.add(r),r instanceof h.StructType?this.root.structTypes.push(r):r instanceof h.EnumType&&this.root.enumTypes.push(r))}}},4212:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ValidateAnnotationsVisitor=void 0;const n=a(3154),h=a(1942);function u(c){return c instanceof h.TypeReference?u(c.type):c}o.ValidateAnnotationsVisitor=class r extends n.Visitor{visit(d){if(d instanceof h.EnumValue){for(const p of d.annotations)if(!(p instanceof h.DescriptionAnnotation))throw new n.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(d instanceof h.TypeDefinition){for(const p of d.annotations)if(!(p instanceof h.DescriptionAnnotation))throw new n.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(d instanceof h.Field){for(const p of d.annotations)if(!(p instanceof h.DescriptionAnnotation))throw new n.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(d instanceof h.FunctionOperation){for(const p of d.annotations)if(!(p instanceof h.DescriptionAnnotation))if(p instanceof h.ThrowsAnnotation){if(!this.root.errors.some(y=>y.name===p.error))throw new n.SemanticError(`Unknown error type '${p.error}' at ${p.location}`)}else if(p instanceof h.RestAnnotation){const y=[...p.pathVariables,...p.queryVariables,...p.headers.values()];if(y.length!==new Set(y).size)throw new n.SemanticError(`Arguments must appear only once for rest annotation at ${p.location}`);for(const f of y){const b=d.args.find(m=>m.name===f);if(!b)throw new n.SemanticError(`Argument '${f}' not found at ${p.location}`);if(p.pathVariables.includes(f)&&b.type instanceof h.OptionalType)throw new n.SemanticError(`The path argument '${f}' can't be nullable at ${p.location}`);if(!((c=u(b.type instanceof h.OptionalType?b.type.base:b.type))instanceof h.BoolPrimitiveType||c instanceof h.IntPrimitiveType||c instanceof h.UIntPrimitiveType||c instanceof h.BigIntPrimitiveType||c instanceof h.FloatPrimitiveType||c instanceof h.StringPrimitiveType||c instanceof h.DatePrimitiveType||c instanceof h.DateTimePrimitiveType||c instanceof h.MoneyPrimitiveType||c instanceof h.DecimalPrimitiveType||c instanceof h.CpfPrimitiveType||c instanceof h.CnpjPrimitiveType||c instanceof h.UuidPrimitiveType||c instanceof h.HexPrimitiveType||c instanceof h.Base64PrimitiveType||c instanceof h.EnumType))throw new n.SemanticError(`Argument '${f}' can't have type '${b.type.name}' for rest annotation at ${p.location}`)}for(const f of d.args){if(!y.includes(f.name)&&p.bodyVariable!==f.name)throw new n.SemanticError(`Argument '${f.name}' is missing from the rest annotation at ${p.location}`);const b=[...p.pathVariables,...p.queryVariables];if("GET"===p.method&&b.includes(f.name)&&f.secret)throw new n.SemanticError(`Argument marked as secret cannot be used in the path or query parts of a GET endpoint at ${p.location}`)}if("GET"===p.method&&d.returnType instanceof h.VoidPrimitiveType)throw new n.SemanticError(`A GET rest endpoint must return something at ${p.location}`)}else if(!(p instanceof h.HiddenAnnotation))throw new n.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(d instanceof h.ErrorNode){for(const p of d.annotations){if(!(p instanceof h.StatusCodeAnnotation))throw new n.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`);if(p.statusCode<400||p.statusCode>599)throw new n.SemanticError(`Error status code can only be 4xx or 5xx at ${p.location}`)}if(d.annotations.filter(p=>p instanceof h.StatusCodeAnnotation).length>1)throw new n.SemanticError(`Can't provide more than one status code at ${d.location}`)}var c}}},2098:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckDuplicatedMembersOnEnumVisitor=void 0;const n=a(3154),h=a(1942);o.CheckDuplicatedMembersOnEnumVisitor=class _ extends n.Visitor{visit(r){if(super.visit(r),r instanceof h.EnumType&&r.values.length!==new Set(r.values.map(c=>c.value)).size)throw new n.SemanticError(`Enum '${r.name}' at ${r.location} has duplicated members`)}}},6758:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.analyse=void 0;const n=a(7629),h=a(6153),_=a(9471),u=a(4612),r=a(4978),c=a(9866),d=a(4647),p=a(2060),y=a(4212),f=a(2098),b=a(1942);o.analyse=function v(m){m.errors.some(C=>"Fatal"===C.name)||m.errors.push(new b.ErrorNode("Fatal",new b.VoidPrimitiveType)),new n.CheckMultipleDeclarationVisitor(m).process(),new h.GiveStructAndEnumNamesTransformer(m).process(),new _.MatchTypeDefinitionsVisitor(m).process(),new u.CheckDontReturnSecretVisitor(m).process(),new r.ExpandSpreadsVisitor(m).process(),new c.CheckEmptyStructOrEnumVisitor(m).process(),new d.ValidateRecursiveTypes(m).process(),new p.CollectStructAndEnumTypesVisitor(m).process(),new y.ValidateAnnotationsVisitor(m).process(),new f.CheckDuplicatedMembersOnEnumVisitor(m).process()}},9989:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Transformer=o.SemanticError=void 0;const n=a(1942);class h extends Error{}o.SemanticError=h,o.Transformer=class _{constructor(r){this.root=r}process(){this.root.errors=this.root.errors.map(r=>this.transform(r)),this.root.typeDefinitions=this.root.typeDefinitions.map(r=>this.transform(r)),this.root.operations=this.root.operations.map(r=>this.transform(r))}transform(r){return r instanceof n.FunctionOperation?(r.args=r.args.map(c=>this.transform(c)),r.fieldsAndSpreads=r.fieldsAndSpreads.map(c=>this.transform(c)),r.returnType=this.transform(r.returnType)):r instanceof n.Field||r instanceof n.TypeDefinition?r.type=this.transform(r.type):r instanceof n.StructType?(r.fields=r.fields.map(c=>this.transform(c)),r.fieldsAndSpreads=r.fieldsAndSpreads.map(c=>this.transform(c))):r instanceof n.EnumType?r.values=r.values.map(c=>this.transform(c)):r instanceof n.EnumValue?r.struct&&(r.struct=this.transform(r.struct)):r instanceof n.ArrayType||r instanceof n.OptionalType?r.base=this.transform(r.base):r instanceof n.ErrorNode?r.dataType=this.transform(r.dataType):r instanceof n.Spread&&(r.typeReference=this.transform(r.typeReference)),r}}},3154:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Visitor=o.SemanticError=void 0;const n=a(1942);class h extends Error{}o.SemanticError=h,o.Visitor=class _{constructor(r){this.root=r}process(){for(const r of this.root.errors)this.visit(r);for(const r of this.root.typeDefinitions)this.visit(r);for(const r of this.root.operations)this.visit(r)}visit(r){if(r instanceof n.FunctionOperation){for(const c of r.args)this.visit(c);for(const c of r.fieldsAndSpreads)this.visit(c);this.visit(r.returnType)}else if(r instanceof n.Field||r instanceof n.TypeDefinition)this.visit(r.type);else if(r instanceof n.StructType){for(const c of r.fields)this.visit(c);for(const c of r.fieldsAndSpreads)this.visit(c)}else if(r instanceof n.EnumType)for(const c of r.values)this.visit(c);else r instanceof n.EnumValue?r.struct&&this.visit(r.struct):r instanceof n.ArrayType||r instanceof n.OptionalType?this.visit(r.base):r instanceof n.ErrorNode?this.visit(r.dataType):r instanceof n.Spread&&this.visit(r.typeReference)}}},9037:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.PrimitiveTypeToken=o.FalseKeywordToken=o.TrueKeywordToken=o.ErrorKeywordToken=o.FnKeywordToken=o.EnumKeywordToken=o.TypeKeywordToken=o.ImportKeywordToken=o.AnnotationToken=o.SpreadSymbolToken=o.CommaSymbolToken=o.ArraySymbolToken=o.OptionalSymbolToken=o.ColonSymbolToken=o.ParensCloseSymbolToken=o.ParensOpenSymbolToken=o.CurlyCloseSymbolToken=o.CurlyOpenSymbolToken=o.ExclamationMarkSymbolToken=o.EqualSymbolToken=o.StringLiteralToken=o.IdentifierToken=o.Token=o.TokenLocation=void 0;class a{constructor(){this.filename="?",this.line=0,this.column=0}toString(){return`${this.filename}:${this.line}:${this.column}`}}o.TokenLocation=a;class n{constructor(pe=""){this.value=pe,this.location=new a,Object.defineProperty(this,"location",{enumerable:!1})}maybeAsIdentifier(){return this}toString(){const pe=this.constructor.name.replace("Token","");return""===this.value?pe:`${pe}(${JSON.stringify(this.value)})`}}o.Token=n;class h extends n{}o.IdentifierToken=h,o.StringLiteralToken=class _ extends n{},o.EqualSymbolToken=class u extends n{},o.ExclamationMarkSymbolToken=class r extends n{},o.CurlyOpenSymbolToken=class c extends n{},o.CurlyCloseSymbolToken=class d extends n{},o.ParensOpenSymbolToken=class p extends n{},o.ParensCloseSymbolToken=class y extends n{},o.ColonSymbolToken=class f extends n{},o.OptionalSymbolToken=class b extends n{},o.ArraySymbolToken=class v extends n{},o.CommaSymbolToken=class m extends n{},o.SpreadSymbolToken=class C extends n{},o.AnnotationToken=class M extends n{},o.ImportKeywordToken=class O extends n{maybeAsIdentifier(){return new h("import")}},o.TypeKeywordToken=class P extends n{maybeAsIdentifier(){return new h("type")}},o.EnumKeywordToken=class N extends n{maybeAsIdentifier(){return new h("enum")}},o.FnKeywordToken=class Q extends n{maybeAsIdentifier(){return new h("fn")}},o.ErrorKeywordToken=class H extends n{maybeAsIdentifier(){return new h("error")}},o.TrueKeywordToken=class G extends n{maybeAsIdentifier(){return new h("true")}},o.FalseKeywordToken=class B extends n{maybeAsIdentifier(){return new h("false")}},o.PrimitiveTypeToken=class X extends n{maybeAsIdentifier(){return new h(this.value)}}},6569:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.primitiveToAstClass=void 0;const n=a(1942);o.primitiveToAstClass=new Map,o.primitiveToAstClass.set("string",n.StringPrimitiveType),o.primitiveToAstClass.set("int",n.IntPrimitiveType),o.primitiveToAstClass.set("uint",n.UIntPrimitiveType),o.primitiveToAstClass.set("date",n.DatePrimitiveType),o.primitiveToAstClass.set("datetime",n.DateTimePrimitiveType),o.primitiveToAstClass.set("float",n.FloatPrimitiveType),o.primitiveToAstClass.set("bigint",n.BigIntPrimitiveType),o.primitiveToAstClass.set("bool",n.BoolPrimitiveType),o.primitiveToAstClass.set("bytes",n.BytesPrimitiveType),o.primitiveToAstClass.set("money",n.MoneyPrimitiveType),o.primitiveToAstClass.set("decimal",n.DecimalPrimitiveType),o.primitiveToAstClass.set("cpf",n.CpfPrimitiveType),o.primitiveToAstClass.set("cnpj",n.CnpjPrimitiveType),o.primitiveToAstClass.set("email",n.EmailPrimitiveType),o.primitiveToAstClass.set("html",n.HtmlPrimitiveType),o.primitiveToAstClass.set("url",n.UrlPrimitiveType),o.primitiveToAstClass.set("uuid",n.UuidPrimitiveType),o.primitiveToAstClass.set("hex",n.HexPrimitiveType),o.primitiveToAstClass.set("base64",n.Base64PrimitiveType),o.primitiveToAstClass.set("xml",n.XmlPrimitiveType),o.primitiveToAstClass.set("json",n.JsonPrimitiveType),o.primitiveToAstClass.set("void",n.VoidPrimitiveType)},5041:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.AppComponent=void 0;const n=a(655),h=a(3075),_=a(7179),u=a(1823),r=a(2863),c=a(7402),d=a(7295),p=a(2911),y=a(4327),f=n.__importStar(a(5e3)),b=n.__importStar(a(6395)),v=n.__importStar(a(2313)),m=n.__importStar(a(3293)),C=n.__importStar(a(9808)),M=n.__importStar(a(107)),O=n.__importStar(a(7423)),P=n.__importStar(a(1451)),N=n.__importStar(a(3251)),Q=n.__importStar(a(7238)),H=n.__importStar(a(7822)),G=n.__importStar(a(2253)),B=n.__importStar(a(4264)),X=n.__importStar(a(5585));function oe(K,ie){1&K&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275text(1,"Editor Avan\xe7ado"),f.\u0275\u0275elementContainerEnd())}function pe(K,ie){if(1&K&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275elementStart(1,"span",20),f.\u0275\u0275text(2),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementContainerEnd()),2&K){const Ae=f.\u0275\u0275nextContext(2).$implicit;f.\u0275\u0275advance(2),f.\u0275\u0275textInterpolate1("\u25b6\xa0",Ae.function,"")}}function Fe(K,ie){if(1&K){const Ae=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"span",17),f.\u0275\u0275template(1,oe,2,0,"ng-container",18),f.\u0275\u0275template(2,pe,3,1,"ng-container",18),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(3,"button",19),f.\u0275\u0275listener("click",function(){f.\u0275\u0275restoreView(Ae);const ye=f.\u0275\u0275nextContext().$implicit,Ce=f.\u0275\u0275nextContext(2);return f.\u0275\u0275resetView(Ce.closeTab(ye))}),f.\u0275\u0275elementStart(4,"mat-icon"),f.\u0275\u0275text(5,"close"),f.\u0275\u0275elementEnd()()}if(2&K){const Ae=f.\u0275\u0275nextContext().$implicit;f.\u0275\u0275property("ngSwitch",Ae.type),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase","advanced"),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase","simple")}}function it(K,ie){1&K&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275element(1,"app-tab-editor"),f.\u0275\u0275elementContainerEnd())}function z(K,ie){if(1&K&&(f.\u0275\u0275elementContainerStart(0),f.\u0275\u0275element(1,"app-simple-call",21),f.\u0275\u0275elementContainerEnd()),2&K){const Ae=f.\u0275\u0275nextContext().$implicit;f.\u0275\u0275advance(1),f.\u0275\u0275property("fn",Ae.function)}}function q(K,ie){if(1&K&&(f.\u0275\u0275elementStart(0,"mat-tab"),f.\u0275\u0275template(1,Fe,6,3,"ng-template",16),f.\u0275\u0275elementContainerStart(2,17),f.\u0275\u0275template(3,it,2,0,"ng-container",18),f.\u0275\u0275template(4,z,2,1,"ng-container",18),f.\u0275\u0275elementContainerEnd(),f.\u0275\u0275elementEnd()),2&K){const Ae=ie.$implicit;f.\u0275\u0275advance(2),f.\u0275\u0275property("ngSwitch",Ae.type),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase","advanced"),f.\u0275\u0275advance(1),f.\u0275\u0275property("ngSwitchCase","simple")}}function V(K,ie){if(1&K){const Ae=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"button",22),f.\u0275\u0275listener("click",function(){f.\u0275\u0275restoreView(Ae);const ye=f.\u0275\u0275nextContext(2);return f.\u0275\u0275resetView(ye.addAdvancedTab())}),f.\u0275\u0275elementStart(1,"mat-icon"),f.\u0275\u0275text(2,"add_circle"),f.\u0275\u0275elementEnd()()}}function te(K,ie){if(1&K&&(f.\u0275\u0275elementStart(0,"button",23)(1,"mat-icon"),f.\u0275\u0275text(2,"download"),f.\u0275\u0275elementEnd()()),2&K){f.\u0275\u0275nextContext(2);const Ae=f.\u0275\u0275reference(5);f.\u0275\u0275property("matMenuTriggerFor",Ae)}}function Ee(K,ie){if(1&K){const Ae=f.\u0275\u0275getCurrentView();f.\u0275\u0275elementStart(0,"mat-tab-group",11),f.\u0275\u0275listener("selectedIndexChange",function(ye){f.\u0275\u0275restoreView(Ae);const Ce=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(Ce.selected.setValue(ye))}),f.\u0275\u0275elementStart(1,"mat-tab",12)(2,"app-tab-home",13),f.\u0275\u0275listener("runFunction",function(ye){f.\u0275\u0275restoreView(Ae);const Ce=f.\u0275\u0275nextContext();return f.\u0275\u0275resetView(Ce.addSimpleTab(ye))}),f.\u0275\u0275elementEnd()(),f.\u0275\u0275template(3,q,5,3,"mat-tab",14),f.\u0275\u0275elementStart(4,"mat-tab",15),f.\u0275\u0275template(5,V,3,0,"ng-template",16),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(6,"mat-tab",15),f.\u0275\u0275template(7,te,3,1,"ng-template",16),f.\u0275\u0275elementEnd()()}if(2&K){const Ae=f.\u0275\u0275nextContext();f.\u0275\u0275property("selectedIndex",Ae.selected.value),f.\u0275\u0275advance(3),f.\u0275\u0275property("ngForOf",Ae.tabs)}}class Oe{constructor(ie,Ae,$){this.sdkgen=ie,this.domSanitizer=Ae,this.matIconRegistry=$,this.selected=new h.FormControl(0),this.tabs=[{id:0,type:"advanced"}],this.tabIndex=1;for(const ye of["typescript","dot-net","kotlin","swift","dart"])this.matIconRegistry.addSvgIcon(ye,this.domSanitizer.bypassSecurityTrustResourceUrl(`assets/${ye}.svg`))}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(ie=>{this.state=null!=ie?ie:void 0})}ngOnDestroy(){var ie;null===(ie=this.state$)||void 0===ie||ie.unsubscribe()}addSimpleTab(ie){this.tabs.push({id:this.tabIndex++,function:ie,type:"simple"}),this.selected.setValue(this.tabs.length)}addAdvancedTab(){this.tabs.push({id:this.tabIndex++,type:"advanced"}),this.selected.setValue(this.tabs.length)}closeTab(ie){this.tabs.splice(this.tabs.indexOf(ie),1),this.selected.setValue(0)}downloadTarget(ie){if(!this.state)return;let Ae,$;switch(ie){case"typescript_nodeserver":Ae=(0,p.generateNodeServerSource)(this.state.astRoot),$="node-server.ts";break;case"typescript_nodeclient":Ae=(0,p.generateNodeClientSource)(this.state.astRoot),$="node-client.ts";break;case"typescript_web":Ae=(0,p.generateBrowserClientSource)(this.state.astRoot),$="web-client.ts";break;case"typescript_interfaces":Ae=(0,p.generateTypescriptInterfaces)(this.state.astRoot),$="interfaces.ts";break;case"flutter":Ae=(0,u.generateDartClientSource)(this.state.astRoot),$="flutter-client.dart";break;case"csharp_server":Ae=(0,_.generateCSharpServerSource)(this.state.astRoot),$="csharp-server.cs";break;case"fsharp_server":Ae=(0,r.generateFSharpServerSource)(this.state.astRoot),$="fsharp-server.fs";break;case"kotlin_android":Ae=(0,c.generateAndroidClientSource)(this.state.astRoot,!0),$="android-client.kt";break;case"kotlin_android_without_callbacks":Ae=(0,c.generateAndroidClientSource)(this.state.astRoot,!1),$="android-client-no-callbacks.kt";break;case"swift_ios":Ae=(0,d.generateSwiftClientSource)(this.state.astRoot,!1),$="ios-client.swift";break;case"rxswift_ios":Ae=(0,d.generateSwiftClientSource)(this.state.astRoot,!0),$="ios-client-rx.swift"}(0,y.saveAs)(new Blob([Ae],{type:"application/octet-stream"}),$)}}o.AppComponent=Oe,Oe.\u0275fac=function(ie){return new(ie||Oe)(f.\u0275\u0275directiveInject(b.SdkgenService),f.\u0275\u0275directiveInject(v.DomSanitizer),f.\u0275\u0275directiveInject(m.MatIconRegistry))},Oe.\u0275cmp=f.\u0275\u0275defineComponent({type:Oe,selectors:[["app-root"]],decls:46,vars:3,consts:[[2,"width","0","height","0","opacity","0","display","block"],["id","main-tabs","animationDuration","150ms",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",3,"selectedIndex","selectedIndexChange"],["label","Documenta\xe7\xe3o"],[3,"runFunction"],[4,"ngFor","ngForOf"],["disabled",""],["mat-tab-label",""],[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(ie,Ae){1&ie&&(f.\u0275\u0275element(0,"ngx-monaco-editor",0)(1,"app-tab-nav"),f.\u0275\u0275template(2,Ee,8,2,"mat-tab-group",1),f.\u0275\u0275pipe(3,"async"),f.\u0275\u0275elementStart(4,"mat-menu",null,2),f.\u0275\u0275element(6,"div",3),f.\u0275\u0275elementStart(7,"button",4),f.\u0275\u0275text(8,"Cliente"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(9,"button",5),f.\u0275\u0275listener("click",function(){return Ae.downloadTarget("typescript_nodeclient")}),f.\u0275\u0275element(10,"mat-icon",6),f.\u0275\u0275text(11,"Node.js"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(12,"button",5),f.\u0275\u0275listener("click",function(){return Ae.downloadTarget("typescript_web")}),f.\u0275\u0275element(13,"mat-icon",6),f.\u0275\u0275text(14,"Web"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(15,"button",5),f.\u0275\u0275listener("click",function(){return Ae.downloadTarget("flutter")}),f.\u0275\u0275element(16,"mat-icon",7),f.\u0275\u0275text(17,"Flutter"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(18,"button",5),f.\u0275\u0275listener("click",function(){return Ae.downloadTarget("kotlin_android")}),f.\u0275\u0275element(19,"mat-icon",8),f.\u0275\u0275text(20,"Android"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(21,"button",5),f.\u0275\u0275listener("click",function(){return Ae.downloadTarget("kotlin_android_without_callbacks")}),f.\u0275\u0275element(22,"mat-icon",8),f.\u0275\u0275text(23,"Android (sem callbacks)"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(24,"button",5),f.\u0275\u0275listener("click",function(){return Ae.downloadTarget("swift_ios")}),f.\u0275\u0275element(25,"mat-icon",9),f.\u0275\u0275text(26,"iOS"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(27,"button",5),f.\u0275\u0275listener("click",function(){return Ae.downloadTarget("rxswift_ios")}),f.\u0275\u0275element(28,"mat-icon",9),f.\u0275\u0275text(29,"iOS (Rx)"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(30,"button",4),f.\u0275\u0275text(31,"Servidor"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(32,"button",5),f.\u0275\u0275listener("click",function(){return Ae.downloadTarget("typescript_nodeserver")}),f.\u0275\u0275element(33,"mat-icon",6),f.\u0275\u0275text(34,"Node.js"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(35,"button",5),f.\u0275\u0275listener("click",function(){return Ae.downloadTarget("csharp_server")}),f.\u0275\u0275element(36,"mat-icon",10),f.\u0275\u0275text(37,"C#"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(38,"button",5),f.\u0275\u0275listener("click",function(){return Ae.downloadTarget("fsharp_server")}),f.\u0275\u0275element(39,"mat-icon",10),f.\u0275\u0275text(40,"F#"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(41,"button",4),f.\u0275\u0275text(42,"Outros"),f.\u0275\u0275elementEnd(),f.\u0275\u0275elementStart(43,"button",5),f.\u0275\u0275listener("click",function(){return Ae.downloadTarget("typescript_interfaces")}),f.\u0275\u0275element(44,"mat-icon",6),f.\u0275\u0275text(45,"Interfaces"),f.\u0275\u0275elementEnd()()),2&ie&&(f.\u0275\u0275advance(2),f.\u0275\u0275property("ngIf",f.\u0275\u0275pipeBind1(3,1,Ae.sdkgen.state$)))},dependencies:[C.NgForOf,C.NgIf,C.NgSwitch,C.NgSwitchCase,M.MonacoEditorComponent,O.MatButton,m.MatIcon,P.MatMenu,P.MatMenuItem,P.MatMenuTrigger,N.MatTabGroup,N.MatTabLabel,N.MatTab,Q.MatTooltip,H.SimpleCallComponent,G.TabNavComponent,B.TabEditorComponent,X.TabHomeComponent,C.AsyncPipe],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%} #main-tabs>.mat-tab-header .mat-tab-label{text-transform:uppercase;-webkit-user-select:none;user-select:none} #main-tabs>.mat-tab-header .mat-tab-label.mat-ripple:not(#mat-tab-label-0-0){padding-right:0} #main-tabs>.mat-tab-header .mat-tab-label.mat-ripple:not(#mat-tab-label-0-0) button{border-radius:0;display:inline-block;margin-left:10px} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:nth-last-child(-n+2){min-width:0;padding:0 12px;color:unset;opacity:unset} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:nth-last-child(-n+2) button{margin-left:0!important} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:last-child{margin-left:auto} #main-tabs>.mat-tab-header .mat-tab-labels .mat-tab-label:last-child button{padding:0 5px!important;display:block;box-sizing:content-box;margin-right:5px!important} #download-menu-size-flow{width:185px;display:block;max-width:90vw}"]})},6747:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.AppModule=void 0;const n=a(655),h=a(6529),_=a(3075),u=a(7423),r=a(9417),c=a(508),d=a(9694),p=a(3293),y=a(1451),f=a(4999),b=a(3251),v=a(7238),m=a(2313),C=a(6360),M=a(107),O=a(1430),P=a(1017),N=a(2290),Q=a(5041),H=n.__importStar(a(5e3));n.__importStar(a(2290));class B{}o.AppModule=B,B.\u0275fac=function(oe){return new(oe||B)},B.\u0275mod=H.\u0275\u0275defineNgModule({type:B,bootstrap:[Q.AppComponent]}),B.\u0275inj=H.\u0275\u0275defineInjector({providers:[{provide:M.MONACO_PATH,useValue:"assets/vs"}],imports:[m.BrowserModule,_.FormsModule,_.ReactiveFormsModule,M.MonacoEditorModule,C.BrowserAnimationsModule,P.NgxJsonViewerModule,N.ToastrModule.forRoot(),O.AngularSplitModule,h.HttpClientModule,u.MatButtonModule,r.MatChipsModule,d.MatDialogModule,p.MatIconModule,y.MatMenuModule,c.MatRippleModule,f.MatTableModule,b.MatTabsModule,v.MatTooltipModule]})},8495:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ConsoleComponent=void 0;const n=a(655),h=a(9972),_=n.__importStar(a(5e3)),u=n.__importStar(a(9808)),r=n.__importStar(a(1017)),c=n.__importStar(a(7423)),d=n.__importStar(a(3293));function p(C,M){1&C&&(_.\u0275\u0275elementContainerStart(0),_.\u0275\u0275text(1,"info_outline"),_.\u0275\u0275elementContainerEnd())}function y(C,M){1&C&&(_.\u0275\u0275elementContainerStart(0),_.\u0275\u0275text(1,"error"),_.\u0275\u0275elementContainerEnd())}function f(C,M){1&C&&(_.\u0275\u0275elementContainerStart(0),_.\u0275\u0275text(1,"public"),_.\u0275\u0275elementContainerEnd())}function b(C,M){if(1&C&&_.\u0275\u0275element(0,"ngx-json-viewer",6),2&C){const O=_.\u0275\u0275nextContext().$implicit;_.\u0275\u0275property("json",O.details)("expanded",!1)}}function v(C,M){if(1&C&&(_.\u0275\u0275elementStart(0,"li",2)(1,"mat-icon",3),_.\u0275\u0275template(2,p,2,0,"ng-container",4),_.\u0275\u0275template(3,y,2,0,"ng-container",4),_.\u0275\u0275template(4,f,2,0,"ng-container",4),_.\u0275\u0275elementEnd(),_.\u0275\u0275elementStart(5,"span"),_.\u0275\u0275text(6),_.\u0275\u0275elementEnd(),_.\u0275\u0275template(7,b,1,2,"ngx-json-viewer",5),_.\u0275\u0275elementEnd()),2&C){const O=M.$implicit,P=_.\u0275\u0275nextContext();_.\u0275\u0275property("ngClass",O.type),_.\u0275\u0275advance(1),_.\u0275\u0275property("ngSwitch",O.type)("ngClass",O.type),_.\u0275\u0275advance(1),_.\u0275\u0275property("ngSwitchCase",P.itemTypes.INFO),_.\u0275\u0275advance(1),_.\u0275\u0275property("ngSwitchCase",P.itemTypes.ERROR),_.\u0275\u0275advance(1),_.\u0275\u0275property("ngSwitchCase",P.itemTypes.NETWORK),_.\u0275\u0275advance(2),_.\u0275\u0275textInterpolate(O.message),_.\u0275\u0275advance(1),_.\u0275\u0275property("ngIf",O.details)}}class m{constructor(){this.itemTypes=h.ConsoleItemType,this.items=[]}}o.ConsoleComponent=m,m.\u0275fac=function(M){return new(M||m)},m.\u0275cmp=_.\u0275\u0275defineComponent({type:m,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(M,O){1&M&&(_.\u0275\u0275elementStart(0,"header")(1,"strong"),_.\u0275\u0275text(2,"CONSOLE"),_.\u0275\u0275elementEnd(),_.\u0275\u0275element(3,"s"),_.\u0275\u0275elementStart(4,"button",0),_.\u0275\u0275listener("click",function(){return O.items.splice(0,O.items.length)}),_.\u0275\u0275elementStart(5,"mat-icon"),_.\u0275\u0275text(6,"delete"),_.\u0275\u0275elementEnd()()(),_.\u0275\u0275elementStart(7,"ul"),_.\u0275\u0275template(8,v,8,8,"li",1),_.\u0275\u0275elementEnd()),2&M&&(_.\u0275\u0275advance(8),_.\u0275\u0275property("ngForOf",O.items))},dependencies:[u.NgClass,u.NgForOf,u.NgIf,u.NgSwitch,u.NgSwitchCase,r.NgxJsonViewerComponent,c.MatButton,d.MatIcon],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}"]})},9972:(U,o)=>{"use strict";var n;Object.defineProperty(o,"__esModule",{value:!0}),o.ConsoleItemType=void 0,(n=o.ConsoleItemType||(o.ConsoleItemType={})).INFO="info",n.ERROR="error",n.NETWORK="network"},4814:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.DialogAboutComponent=void 0;const n=a(655),h=a(4147),_=n.__importStar(a(5e3)),u=n.__importStar(a(7423)),r=n.__importStar(a(9417)),c=n.__importStar(a(9694)),d=n.__importStar(a(3293));class p{constructor(){this.version=h.version}}o.DialogAboutComponent=p,p.\u0275fac=function(f){return new(f||p)},p.\u0275cmp=_.\u0275\u0275defineComponent({type:p,selectors:[["app-dialog-about"]],decls:20,vars:3,consts:[["mat-dialog-title",""],[3,"selectable"],[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(f,b){1&f&&(_.\u0275\u0275elementStart(0,"header")(1,"h1",0),_.\u0275\u0275text(2,"sdkgen Playground"),_.\u0275\u0275elementEnd(),_.\u0275\u0275elementStart(3,"mat-chip-list",1)(4,"mat-chip",2),_.\u0275\u0275text(5),_.\u0275\u0275elementEnd()(),_.\u0275\u0275element(6,"s"),_.\u0275\u0275elementStart(7,"button",3)(8,"mat-icon"),_.\u0275\u0275text(9,"close"),_.\u0275\u0275elementEnd()()(),_.\u0275\u0275elementStart(10,"p"),_.\u0275\u0275text(11,"Ferramenta para explorar e invocar APIs feitas com sdkgen."),_.\u0275\u0275elementEnd(),_.\u0275\u0275elementStart(12,"p"),_.\u0275\u0275text(13,"Feito com \u2764\ufe0f no Brasil \u{1f1e7}\u{1f1f7}"),_.\u0275\u0275elementEnd(),_.\u0275\u0275elementStart(14,"a",4),_.\u0275\u0275text(15,"Documenta\xe7\xe3o"),_.\u0275\u0275elementEnd(),_.\u0275\u0275elementStart(16,"a",5),_.\u0275\u0275text(17,"C\xf3digo-fonte"),_.\u0275\u0275elementEnd(),_.\u0275\u0275elementStart(18,"a",6),_.\u0275\u0275text(19,"Reportar um problema"),_.\u0275\u0275elementEnd()),2&f&&(_.\u0275\u0275advance(3),_.\u0275\u0275property("selectable",!1),_.\u0275\u0275advance(1),_.\u0275\u0275property("disableRipple",!0),_.\u0275\u0275advance(1),_.\u0275\u0275textInterpolate(b.version))},dependencies:[u.MatButton,u.MatAnchor,r.MatChipList,r.MatChip,c.MatDialogClose,c.MatDialogTitle,d.MatIcon],styles:["header[_ngcontent-%COMP%]{display:flex;border-bottom:1px solid rgba(255,255,255,.2);padding-bottom:5px}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}header[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:20px}a[_ngcontent-%COMP%]:not(:last-child){margin-right:12px}"]})},4211:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.FilterPipe=void 0;const h=a(655).__importStar(a(5e3));class _{transform(r,c){if(!r)return[];if(!c)return r;const d=c.toLocaleLowerCase();return r.filter(p=>JSON.stringify(p).toLocaleLowerCase().includes(d))}}o.FilterPipe=_,_.\u0275fac=function(r){return new(r||_)},_.\u0275pipe=h.\u0275\u0275definePipe({name:"appFilter",type:_,pure:!0})},7120:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ResponsiveService=void 0;const n=a(655),h=n.__importStar(a(5e3)),_=n.__importStar(a(5113));class u{constructor(c){this.observer=c}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)"])}}o.ResponsiveService=u,u.\u0275fac=function(c){return new(c||u)(h.\u0275\u0275inject(_.BreakpointObserver))},u.\u0275prov=h.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})},9435:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.getTypeDoc=o.getTypeLabels=o.getConstructorName=o.primitiveTypesExamples=o.primitiveTypes=void 0;const n=a(6676),h=a(6395);function _(c){switch(c.constructor){case n.StringPrimitiveType:return"StringPrimitiveType";case n.IntPrimitiveType:return"IntPrimitiveType";case n.UIntPrimitiveType:return"UIntPrimitiveType";case n.FloatPrimitiveType:return"FloatPrimitiveType";case n.BigIntPrimitiveType:return"BigIntPrimitiveType";case n.MoneyPrimitiveType:return"MoneyPrimitiveType";case n.DecimalPrimitiveType:return"DecimalPrimitiveType";case n.DatePrimitiveType:return"DatePrimitiveType";case n.DateTimePrimitiveType:return"DateTimePrimitiveType";case n.BoolPrimitiveType:return"BoolPrimitiveType";case n.VoidPrimitiveType:return"VoidPrimitiveType";case n.CpfPrimitiveType:return"CpfPrimitiveType";case n.CnpjPrimitiveType:return"CnpjPrimitiveType";case n.EmailPrimitiveType:return"EmailPrimitiveType";case n.UrlPrimitiveType:return"UrlPrimitiveType";case n.UuidPrimitiveType:return"UuidPrimitiveType";case n.HexPrimitiveType:return"HexPrimitiveType";case n.HtmlPrimitiveType:return"HtmlPrimitiveType";case n.BytesPrimitiveType:return"BytesPrimitiveType";case n.Base64PrimitiveType:return"Base64PrimitiveType";case n.XmlPrimitiveType:return"XmlPrimitiveType";case n.JsonPrimitiveType:return"JsonPrimitiveType";case n.OptionalType:return"OptionalType";case n.EnumType:return"EnumType";case n.ArrayType:return"ArrayType";case n.StructType:return"StructType";default:return c.constructor.name}}o.primitiveTypes={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?."},o.primitiveTypesExamples={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}']},o.getConstructorName=_,o.getTypeLabels=function u(c){const d=[];switch(c.constructor){case n.StringPrimitiveType:case n.IntPrimitiveType:case n.UIntPrimitiveType:case n.FloatPrimitiveType:case n.BigIntPrimitiveType:case n.MoneyPrimitiveType:case n.DecimalPrimitiveType:case n.DatePrimitiveType:case n.DateTimePrimitiveType:case n.BoolPrimitiveType:case n.VoidPrimitiveType:case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.HtmlPrimitiveType:case n.BytesPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:case n.JsonPrimitiveType:d.push("Primitivo");break;case n.OptionalType:d.push("Opcional"),d.push(...u(c.base));break;case n.TypeReference:d.push(...u(c.type));break;case n.ArrayType:d.push("Array"),d.push(...u(c.base));break;case n.EnumType:d.push("Enum");break;default:console.error("No labels for",_(c))}return d},o.getTypeDoc=function r(c){var d,p,y;switch(c.constructor){case n.StringPrimitiveType:case n.IntPrimitiveType:case n.UIntPrimitiveType:case n.FloatPrimitiveType:case n.BigIntPrimitiveType:case n.MoneyPrimitiveType:case n.DecimalPrimitiveType:case n.DatePrimitiveType:case n.DateTimePrimitiveType:case n.BoolPrimitiveType:case n.VoidPrimitiveType:case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.HtmlPrimitiveType:case n.BytesPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:case n.JsonPrimitiveType:return{longDescription:o.primitiveTypes[_(c)],shortDescription:o.primitiveTypes[_(c)],examples:o.primitiveTypesExamples[_(c)]};case n.OptionalType:{const m=r(c.base);return Object.assign(Object.assign({},m),{longDescription:m.longDescription,shortDescription:`(opcional) ${m.shortDescription}`,examples:["null",...null!==(d=m.examples)&&void 0!==d?d:[]]})}case n.TypeReference:return r(c.type);case n.ArrayType:{const m=r(c.base);return Object.assign(Object.assign({},m),{longDescription:m.longDescription,shortDescription:`(array) ${m.shortDescription}`,examples:["[]",...null!==(y=null===(p=m.examples)||void 0===p?void 0:p.map(C=>`[${C}]`))&&void 0!==y?y:[]]})}case n.EnumType:const f=c,b=f.values.slice(0,3),v=b.map(m=>m.struct?`${m.value}: ${JSON.stringify((new h.SdkgenService).buildJsonObject(m.struct.fields),null,2)}`:m.value);return{longDescription:"enum representa um conjunto limitado de possibilidades de valores, similar as enumera\xe7\xf5es em outras linguagens.",shortDescription:`(enum) ${b.map(m=>`${m.value}${m.struct?"(\u2026)":""}`).join(", ")}${b.length>3?"\u2026":""}`,examples:v,isEnum:!0,isStruct:!0,structFields:f.values.map(m=>{var C;return{name:m.value,type:m.struct,description:null===(C=m.annotations.find(M=>M instanceof n.DescriptionAnnotation))||void 0===C?void 0:C.text,secret:!1}})};case n.StructType:return{longDescription:"",shortDescription:`(objeto complexo) ${c.fields.slice(0,3).map(m=>m.name).join(", ")}\u2026`,isStruct:!0,structFields:c.fields.map(m=>{var C;return{name:m.name,description:null===(C=m.annotations.find(M=>M instanceof n.DescriptionAnnotation))||void 0===C?void 0:C.text,type:m.type,secret:m.secret}}),examples:[JSON.stringify((new h.SdkgenService).buildJsonObject(c.fields),null,2)]};default:return{longDescription:"BUG: Unknown Type",shortDescription:"BUG: Unknown Type",examples:[]}}}},6395:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(7156).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SdkgenService=void 0;const tslib_1=__webpack_require__(655),browser_runtime_1=__webpack_require__(4539),parser_1=__webpack_require__(6676),rxjs_1=__webpack_require__(6477),i0=tslib_1.__importStar(__webpack_require__(5e3));class SdkgenService{constructor(){this.state$=new rxjs_1.BehaviorSubject(null)}buildJsonObject(U,o=new Set){const a=n=>{switch(n.constructor){case parser_1.StringPrimitiveType:return"";case parser_1.IntPrimitiveType:case parser_1.UIntPrimitiveType:case parser_1.FloatPrimitiveType:case parser_1.BigIntPrimitiveType:case parser_1.MoneyPrimitiveType:return 0;case parser_1.DecimalPrimitiveType:return"0.00";case parser_1.DatePrimitiveType:return(new Date).toJSON().substring(0,10);case parser_1.DateTimePrimitiveType:return(new Date).toJSON().substring(0,23);case parser_1.BoolPrimitiveType:return Math.random()>.5;case parser_1.VoidPrimitiveType:return null;case parser_1.CpfPrimitiveType:return"000.000.001-91";case parser_1.CnpjPrimitiveType:return"00.000.001/0001-91";case parser_1.EmailPrimitiveType:return"joao@acme.com";case parser_1.UrlPrimitiveType:return"https://www.google.com/";case parser_1.UuidPrimitiveType:return"00000000-0000-0000-0000-000000000000";case parser_1.HexPrimitiveType:return new Array(32).fill(0).map(()=>"0123456789abcdef"[Math.floor(16*Math.random())]).join("");case parser_1.HtmlPrimitiveType:return"<h1>Hello world!</h1>";case parser_1.BytesPrimitiveType:case parser_1.Base64PrimitiveType:return"0a=";case parser_1.XmlPrimitiveType:return"<xml></xml>";case parser_1.JsonPrimitiveType:return{};case parser_1.StructType:return o.has(n.name)?{}:this.buildJsonObject(n.fields,new Set([...o,n.name]));case parser_1.OptionalType:return null;case parser_1.TypeReference:return a(n.type);case parser_1.ArrayType:return[a(n.base),a(n.base),a(n.base)];case parser_1.EnumType:return n.values[0].value;default:return null}};return U.reduce((n,h)=>(n[h.name]=a(h.type),n),{})}getTypeScriptCode(U,o){return`await client.${U}(${JSON.stringify(o,null,2)});\n`}buildKotlinString(U,o=0){const a=n=>{switch(n.constructor){case parser_1.StringPrimitiveType:return'""';case parser_1.IntPrimitiveType:case parser_1.UIntPrimitiveType:case parser_1.FloatPrimitiveType:case parser_1.BigIntPrimitiveType:case parser_1.MoneyPrimitiveType:return 0;case parser_1.DecimalPrimitiveType:return'BigDecimal("0.00")';case parser_1.DatePrimitiveType:case parser_1.DateTimePrimitiveType:return"Calendar.getInstance()";case parser_1.BoolPrimitiveType:return Math.random()>.5?"true":"false";case parser_1.VoidPrimitiveType:return"null";case parser_1.CpfPrimitiveType:return'"000.000.001-91"';case parser_1.CnpjPrimitiveType:return'"00.000.001/0001-91"';case parser_1.EmailPrimitiveType:return'"joao@acme.com"';case parser_1.UrlPrimitiveType:return'"https://www.google.com/"';case parser_1.UuidPrimitiveType:return'"00000000-0000-0000-0000-000000000000"';case parser_1.HexPrimitiveType:return`"${new Array(32).fill(0).map(()=>"0123456789abcdef"[Math.floor(16*Math.random())]).join("")}"`;case parser_1.HtmlPrimitiveType:return'"<h1>Hello world!</h1>"';case parser_1.BytesPrimitiveType:case parser_1.Base64PrimitiveType:return'"0a="';case parser_1.XmlPrimitiveType:return'"<xml></xml>"';case parser_1.JsonPrimitiveType:return"json {}";case parser_1.StructType:return`${n.name}(\n${this.buildKotlinString(n.fields,o+1)}\n${" ".repeat(o+1)})`;case parser_1.OptionalType:return"null";case parser_1.TypeReference:return a(n.type);case parser_1.ArrayType:o++;const h=a(n.base);return o--,`arrayOf(\n${" ".repeat(o+2)}${h},\n${" ".repeat(o+2)}${h}\n${" ".repeat(o+1)})`;case parser_1.EnumType:return`"${n.values[0].value}"`;default:return"<>()"}};return U.map(n=>`${" ".repeat(o+1)}${a(n.type)}`).join(",\n")}getKotlinCode(U,o){return 0===o.length?`client.${U}().await();`:`client.${U}(\n${this.buildKotlinString(o)}\n).await();`}getDartCode(U,o){return'print("todo");'}getSwiftCode(U,o){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===browser_runtime_1.SdkgenErrorWithData?"data = null;":""}\n\n constructor(message${base===browser_runtime_1.SdkgenErrorWithData?", data":""}) {\n super(message${base===browser_runtime_1.SdkgenErrorWithData?", data":""});\n this.message = message;\n ${base===browser_runtime_1.SdkgenErrorWithData?"this.data = data;":""}\n this.toString = () => this.type + ": " + this.message;\n }\n }\n )`)(base)}return"string"==typeof cur?acc[cur]=errorClass(cur,browser_runtime_1.SdkgenError):acc[cur[0]]=errorClass(cur[0],browser_runtime_1.SdkgenErrorWithData),acc},{}),clientInstance=new browser_runtime_1.SdkgenHttpClient(url,ast,errorFns);return new Proxy(clientInstance,{get:(U,o)=>["baseUrl","extra","successHook","errorHook","makeRequest"].includes(o.toString())?clientInstance[o.toString()]:function(){var a=_asyncToGenerator(function*(n){return clientInstance.makeRequest(o.toString(),n)});return function(n){return a.apply(this,arguments)}}()})}}exports.SdkgenService=SdkgenService,SdkgenService.\u0275fac=function U(o){return new(o||SdkgenService)},SdkgenService.\u0275prov=i0.\u0275\u0275defineInjectable({token:SdkgenService,factory:SdkgenService.\u0275fac,providedIn:"root"})},7822:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(7156).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.SimpleCallComponent=void 0;const tslib_1=__webpack_require__(655),forms_1=__webpack_require__(3075),console_types_1=__webpack_require__(9972),code_execution_1=__webpack_require__(8227),i0=tslib_1.__importStar(__webpack_require__(5e3)),i1=tslib_1.__importStar(__webpack_require__(6395)),i2=tslib_1.__importStar(__webpack_require__(3075)),i3=tslib_1.__importStar(__webpack_require__(107)),i4=tslib_1.__importStar(__webpack_require__(1017)),i5=tslib_1.__importStar(__webpack_require__(1430)),i6=tslib_1.__importStar(__webpack_require__(7423)),i7=tslib_1.__importStar(__webpack_require__(3293)),i8=tslib_1.__importStar(__webpack_require__(3251)),i9=tslib_1.__importStar(__webpack_require__(8495));class SimpleCallComponent{constructor(U){this.sdkgen=U,this.editorOptions={theme:"vs-dark",language:"json"},this.code="",this.selected=new forms_1.FormControl(0),this.consoleItems=[]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(U=>{!U||(this.generateFunctionCode(U.astRoot,this.fn),this.client=this.sdkgen.getSdkgenClient(U.url,U.astJson))})}ngOnDestroy(){var U;null===(U=this.state$)||void 0===U||U.unsubscribe()}run(){var _this=this;return _asyncToGenerator(function*(){{const events=_this.consoleItems;eval(code_execution_1.wrapper)}const exec=_this.client[_this.fn](JSON.parse(_this.code));try{_this.response={result:yield exec}}catch(U){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:U.toString()}),delete U.toString,_this.response={error:{type:U.type,message:U.message,data:U.data}}}finally{eval(code_execution_1.unwrap),_this.selected.setValue(1)}})()}generateFunctionCode(U,o){var a;const n=null===(a=U.operations.find(h=>h.name===o))||void 0===a?void 0:a.args;n&&(this.code=JSON.stringify(this.sdkgen.buildJsonObject(n),null,2))}}exports.SimpleCallComponent=SimpleCallComponent,SimpleCallComponent.\u0275fac=function U(o){return new(o||SimpleCallComponent)(i0.\u0275\u0275directiveInject(i1.SdkgenService))},SimpleCallComponent.\u0275cmp=i0.\u0275\u0275defineComponent({type:SimpleCallComponent,selectors:[["app-simple-call"]],inputs:{fn:"fn"},decls:12,vars:7,consts:[["direction","vertical"],["animationDuration","0ms",3,"selectedIndex","selectedIndexChange"],["label","Requisi\xe7\xe3o"],["mat-fab","",1,"run-fab",3,"click"],[3,"options","ngModel","ngModelChange"],["label","Resposta",3,"disabled"],[3,"json"],[3,"size"],[3,"items"]],template:function U(o,a){1&o&&(i0.\u0275\u0275elementStart(0,"as-split",0)(1,"as-split-area")(2,"mat-tab-group",1),i0.\u0275\u0275listener("selectedIndexChange",function(h){return a.selected.setValue(h)}),i0.\u0275\u0275elementStart(3,"mat-tab",2)(4,"button",3),i0.\u0275\u0275listener("click",function(){return a.run()}),i0.\u0275\u0275elementStart(5,"mat-icon"),i0.\u0275\u0275text(6,"play_arrow"),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(7,"ngx-monaco-editor",4),i0.\u0275\u0275listener("ngModelChange",function(h){return a.code=h}),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(8,"mat-tab",5),i0.\u0275\u0275element(9,"ngx-json-viewer",6),i0.\u0275\u0275elementEnd()()(),i0.\u0275\u0275elementStart(10,"as-split-area",7),i0.\u0275\u0275element(11,"app-console",8),i0.\u0275\u0275elementEnd()()),2&o&&(i0.\u0275\u0275advance(2),i0.\u0275\u0275property("selectedIndex",a.selected.value),i0.\u0275\u0275advance(5),i0.\u0275\u0275property("options",a.editorOptions)("ngModel",a.code),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("disabled",!a.response),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("json",a.response),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("size",30),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("items",a.consoleItems))},dependencies:[i2.NgControlStatus,i2.NgModel,i3.MonacoEditorComponent,i4.NgxJsonViewerComponent,i5.SplitComponent,i5.SplitAreaDirective,i6.MatButton,i7.MatIcon,i8.MatTabGroup,i8.MatTab,i9.ConsoleComponent],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}"]})},4264:(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var _asyncToGenerator=__webpack_require__(7156).default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.TabEditorComponent=void 0;const tslib_1=__webpack_require__(655),typescript_generator_1=__webpack_require__(2911),console_types_1=__webpack_require__(9972),code_execution_1=__webpack_require__(8227),i0=tslib_1.__importStar(__webpack_require__(5e3)),i1=tslib_1.__importStar(__webpack_require__(6395)),i2=tslib_1.__importStar(__webpack_require__(3075)),i3=tslib_1.__importStar(__webpack_require__(107)),i4=tslib_1.__importStar(__webpack_require__(1430)),i5=tslib_1.__importStar(__webpack_require__(7423)),i6=tslib_1.__importStar(__webpack_require__(3293)),i7=tslib_1.__importStar(__webpack_require__(8495));class TabEditorComponent{constructor(U){this.sdkgen=U,this.code="",this.editorOptions={theme:"vs-dark",language:"typescript"},this.consoleItems=[{type:console_types_1.ConsoleItemType.INFO,message:"Bem-vindo! A sa\xedda dos seus testes aparecer\xe1 aqui :)"}]}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(U=>{if(!U)return;const o=`${this.patchBrowserClientSource((0,typescript_generator_1.generateBrowserClientSource)(U.astRoot))}\n\ndeclare const client: sdkgen.ApiClient;\n\n`;this.client=this.sdkgen.getSdkgenClient(U.url,U.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 a=monaco.editor.getModels().find(h=>h.uri.toString().endsWith("client.d.ts"));a?a.setValue(o):monaco.editor.createModel(o,"typescript",monaco.Uri.parse("ts:filename/client.d.ts"));const[n]=U.astRoot.operations;this.code=this.sdkgen.getTypeScriptCode(n.name,this.sdkgen.buildJsonObject(n.args))})}ngOnDestroy(){var U;null===(U=this.state$)||void 0===U||U.unsubscribe()}patchBrowserClientSource(U){return`declare namespace sdkgen {\n${U.substring(95,U.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 _asyncToGenerator(function*(){try{yield eval(`\n (async (client, events) => {\n ${code_execution_1.wrapper}\n ${_this.code}\n })\n `)(_this.client,_this.consoleItems).finally(()=>eval(code_execution_1.unwrap))}catch(U){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:U.toString()})}})()}}exports.TabEditorComponent=TabEditorComponent,TabEditorComponent.\u0275fac=function U(o){return new(o||TabEditorComponent)(i0.\u0275\u0275directiveInject(i1.SdkgenService))},TabEditorComponent.\u0275cmp=i0.\u0275\u0275defineComponent({type:TabEditorComponent,selectors:[["app-tab-editor"]],decls:8,vars:4,consts:[["mat-fab","",1,"run-fab",3,"click"],["direction","vertical"],[1,"o-hidden"],[3,"options","ngModel","ngModelChange"],[3,"size"],[3,"items"]],template:function U(o,a){1&o&&(i0.\u0275\u0275elementStart(0,"button",0),i0.\u0275\u0275listener("click",function(){return a.run()}),i0.\u0275\u0275elementStart(1,"mat-icon"),i0.\u0275\u0275text(2,"play_arrow"),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(3,"as-split",1)(4,"as-split-area",2)(5,"ngx-monaco-editor",3),i0.\u0275\u0275listener("ngModelChange",function(h){return a.code=h}),i0.\u0275\u0275elementEnd()(),i0.\u0275\u0275elementStart(6,"as-split-area",4),i0.\u0275\u0275element(7,"app-console",5),i0.\u0275\u0275elementEnd()()),2&o&&(i0.\u0275\u0275advance(5),i0.\u0275\u0275property("options",a.editorOptions)("ngModel",a.code),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("size",30),i0.\u0275\u0275advance(1),i0.\u0275\u0275property("items",a.consoleItems))},dependencies:[i2.NgControlStatus,i2.NgModel,i3.MonacoEditorComponent,i4.SplitComponent,i4.SplitAreaDirective,i5.MatButton,i6.MatIcon,i7.ConsoleComponent],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}"]})},5585:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TabHomeComponent=void 0;const n=a(655),h=a(5e3),_=a(9435),u=a(5281),r=n.__importStar(a(5e3)),c=n.__importStar(a(6395)),d=n.__importStar(a(9694)),p=n.__importStar(a(7120)),y=n.__importStar(a(9808)),f=n.__importStar(a(3075)),b=n.__importStar(a(107)),v=n.__importStar(a(1430)),m=n.__importStar(a(7423)),C=n.__importStar(a(9417)),M=n.__importStar(a(3293)),O=n.__importStar(a(4999)),P=n.__importStar(a(3251)),N=n.__importStar(a(7238)),Q=n.__importStar(a(4211));function H(he,Qe){if(1&he&&(r.\u0275\u0275elementStart(0,"span",8),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&he){const Be=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Be.description)}}const G=function(he){return{active:he}};function B(he,Qe){if(1&he){const Be=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"li",5),r.\u0275\u0275listener("click",function(){const Te=r.\u0275\u0275restoreView(Be).$implicit,ze=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(ze.selectedFunction=Te)}),r.\u0275\u0275elementStart(1,"span",6),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(3,H,2,1,"span",7),r.\u0275\u0275elementEnd()}if(2&he){const Be=Qe.$implicit,Ke=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngClass",r.\u0275\u0275pureFunction1(3,G,(null==Ke.selectedFunction?null:Ke.selectedFunction.name)===Be.name)),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(Be.name),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Be.description)}}function X(he,Qe){1&he&&r.\u0275\u0275element(0,"span")}function oe(he,Qe){if(1&he){const Be=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"span"),r.\u0275\u0275element(1,"br"),r.\u0275\u0275text(2,"\xa0\xa0"),r.\u0275\u0275elementStart(3,"span",37),r.\u0275\u0275text(4),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(5,"span",14),r.\u0275\u0275text(6,":"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(7,"\xa0"),r.\u0275\u0275elementStart(8,"u",15),r.\u0275\u0275listener("click",function(){const Te=r.\u0275\u0275restoreView(Be).$implicit,ze=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(ze.showDocumentation(Te.rawType))}),r.\u0275\u0275text(9),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(10,X,1,0,"span",38),r.\u0275\u0275elementEnd()}if(2&he){const Be=Qe.$implicit,Ke=Qe.index;r.\u0275\u0275nextContext();const Y=r.\u0275\u0275reference(18),Te=r.\u0275\u0275reference(20),ze=r.\u0275\u0275nextContext();r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(Be.name),r.\u0275\u0275advance(4),r.\u0275\u0275property("matTooltip",ze.getTooltip(Be.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Be.type),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Ke!=ze.selectedFunction.args.length-1)("ngIfThen",Y)("ngIfElse",Te)}}function pe(he,Qe){1&he&&r.\u0275\u0275text(0,",")}function Fe(he,Qe){1&he&&r.\u0275\u0275element(0,"br")}function it(he,Qe){if(1&he){const Be=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"u",29),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(Be);const Y=r.\u0275\u0275nextContext().$implicit,Te=r.\u0275\u0275nextContext(3);return r.\u0275\u0275resetView(Te.showDocumentation(Y.dataType))}),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()}if(2&he){const Be=r.\u0275\u0275nextContext().$implicit,Ke=r.\u0275\u0275nextContext(3);r.\u0275\u0275property("matTooltip",Ke.getTooltip(Be.dataType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1("(",Be.dataType.name,")")}}function z(he,Qe){if(1&he&&(r.\u0275\u0275elementStart(0,"mat-chip",42)(1,"span",28),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(3,"i"),r.\u0275\u0275elementStart(4,"span",28),r.\u0275\u0275text(5),r.\u0275\u0275template(6,it,2,2,"u",43),r.\u0275\u0275elementEnd()()),2&he){const Be=Qe.$implicit;r.\u0275\u0275property("disableRipple",!0),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(Be.name),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate1("",Be.type," "),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Be.dataType&&"void"!==Be.dataType.name)}}function q(he,Qe){if(1&he&&(r.\u0275\u0275elementStart(0,"section",39)(1,"mat-chip-list",40),r.\u0275\u0275template(2,z,7,4,"mat-chip",41),r.\u0275\u0275elementEnd()()),2&he){const Be=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("selectable",!1),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",Be.selectedFunction.labels)}}function V(he,Qe){if(1&he&&(r.\u0275\u0275elementStart(0,"p"),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&he){const Be=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Be.selectedFunction.description)}}function te(he,Qe){1&he&&(r.\u0275\u0275elementStart(0,"p",44),r.\u0275\u0275text(1,"N\xe3o h\xe1 descri\xe7\xe3o para esta fun\xe7\xe3o."),r.\u0275\u0275elementEnd())}function Ee(he,Qe){1&he&&(r.\u0275\u0275elementStart(0,"p",44),r.\u0275\u0275text(1,"Esta fun\xe7\xe3o n\xe3o possui argumentos."),r.\u0275\u0275elementEnd())}function Oe(he,Qe){1&he&&(r.\u0275\u0275elementStart(0,"th",54),r.\u0275\u0275text(1,"Nome"),r.\u0275\u0275elementEnd())}function K(he,Qe){if(1&he&&(r.\u0275\u0275elementStart(0,"td",55),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&he){const Be=Qe.$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Be.name)}}function ie(he,Qe){1&he&&(r.\u0275\u0275elementStart(0,"th",54),r.\u0275\u0275text(1,"Tipo"),r.\u0275\u0275elementEnd())}function Ae(he,Qe){if(1&he){const Be=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"td",55)(1,"u",29),r.\u0275\u0275listener("click",function(){const Te=r.\u0275\u0275restoreView(Be).$implicit,ze=r.\u0275\u0275nextContext(3);return r.\u0275\u0275resetView(ze.showDocumentation(Te.rawType))}),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd()()}if(2&he){const Be=Qe.$implicit,Ke=r.\u0275\u0275nextContext(3);r.\u0275\u0275advance(1),r.\u0275\u0275property("matTooltip",Ke.getTooltip(Be.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Be.type)}}function $(he,Qe){1&he&&(r.\u0275\u0275elementStart(0,"th",54),r.\u0275\u0275text(1,"Descri\xe7\xe3o"),r.\u0275\u0275elementEnd())}function ye(he,Qe){if(1&he&&(r.\u0275\u0275elementStart(0,"td",56),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&he){const Be=Qe.$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Be.description||"-")}}function Ce(he,Qe){1&he&&r.\u0275\u0275element(0,"tr",57)}function De(he,Qe){1&he&&r.\u0275\u0275element(0,"tr",58)}function Ve(he,Qe){if(1&he&&(r.\u0275\u0275elementStart(0,"table",45),r.\u0275\u0275elementContainerStart(1,46),r.\u0275\u0275template(2,Oe,2,0,"th",47),r.\u0275\u0275template(3,K,2,1,"td",48),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275elementContainerStart(4,49),r.\u0275\u0275template(5,ie,2,0,"th",47),r.\u0275\u0275template(6,Ae,3,2,"td",48),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275elementContainerStart(7,50),r.\u0275\u0275template(8,$,2,0,"th",47),r.\u0275\u0275template(9,ye,2,1,"td",51),r.\u0275\u0275elementContainerEnd(),r.\u0275\u0275template(10,Ce,1,0,"tr",52),r.\u0275\u0275template(11,De,1,0,"tr",53),r.\u0275\u0275elementEnd()),2&he){const Be=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("dataSource",Be.selectedFunction.args),r.\u0275\u0275advance(10),r.\u0275\u0275property("matHeaderRowDef",Be.argumentsTableColumns),r.\u0275\u0275advance(1),r.\u0275\u0275property("matRowDefColumns",Be.argumentsTableColumns)}}function Se(he,Qe){1&he&&(r.\u0275\u0275elementStart(0,"span",59),r.\u0275\u0275text(1,"Dart"),r.\u0275\u0275elementEnd())}function Ue(he,Qe){1&he&&(r.\u0275\u0275elementStart(0,"span",59),r.\u0275\u0275text(1,"Swift"),r.\u0275\u0275elementEnd())}const ut=function(){return{theme:"vs-dark",language:"javascript"}},_t=function(){return{theme:"vs-dark",language:"kotlin"}},bt=function(){return{theme:"vs-dark",language:"dart"}},dt=function(){return{theme:"vs-dark",language:"swift"}};function $e(he,Qe){if(1&he){const Be=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"article")(1,"header")(2,"h1",9)(3,"span",10)(4,"span",11),r.\u0275\u0275text(5,"fn"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(6,"\xa0"),r.\u0275\u0275elementStart(7,"span",12),r.\u0275\u0275text(8),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(9,"("),r.\u0275\u0275template(10,oe,11,6,"span",13),r.\u0275\u0275text(11,")"),r.\u0275\u0275elementStart(12,"span",14),r.\u0275\u0275text(13,":"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(14,"\xa0"),r.\u0275\u0275elementStart(15,"u",15),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(Be);const Y=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Y.showDocumentation(Y.selectedFunction.returns.rawType))}),r.\u0275\u0275text(16),r.\u0275\u0275elementEnd()(),r.\u0275\u0275template(17,pe,1,0,"ng-template",null,16,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275template(19,Fe,1,0,"ng-template",null,17,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275element(21,"s"),r.\u0275\u0275elementStart(22,"button",18),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(Be);const Y=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Y.addSimpleCallTab())}),r.\u0275\u0275elementStart(23,"mat-icon"),r.\u0275\u0275text(24,"play_arrow"),r.\u0275\u0275elementEnd(),r.\u0275\u0275text(25,"\xa0EXECUTAR "),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275template(26,q,3,2,"section",19),r.\u0275\u0275elementStart(27,"section",9)(28,"h2",20),r.\u0275\u0275text(29,"Descri\xe7\xe3o"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(30,"div",21),r.\u0275\u0275template(31,V,2,1,"p",22),r.\u0275\u0275template(32,te,2,0,"p",23),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(33,"h2",24),r.\u0275\u0275text(34,"Par\xe2metros"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(35,"div",21),r.\u0275\u0275template(36,Ee,2,0,"p",23),r.\u0275\u0275elementStart(37,"div",25),r.\u0275\u0275template(38,Ve,12,3,"table",26),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(39,"h2",27),r.\u0275\u0275text(40,"Retorno"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(41,"div")(42,"p",28)(43,"u",29),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(Be);const Y=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Y.showDocumentation(Y.selectedFunction.returns.rawType))}),r.\u0275\u0275text(44),r.\u0275\u0275elementEnd()()(),r.\u0275\u0275elementStart(45,"h2",30),r.\u0275\u0275text(46,"Exemplo de Requisi\xe7\xe3o"),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(47,"mat-tab-group",31)(48,"mat-tab",32),r.\u0275\u0275element(49,"ngx-monaco-editor",33),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(50,"mat-tab",34),r.\u0275\u0275element(51,"ngx-monaco-editor",33),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(52,"mat-tab",35),r.\u0275\u0275template(53,Se,2,0,"ng-template",36),r.\u0275\u0275element(54,"ngx-monaco-editor",33),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(55,"mat-tab",35),r.\u0275\u0275template(56,Ue,2,0,"ng-template",36),r.\u0275\u0275element(57,"ngx-monaco-editor",33),r.\u0275\u0275elementEnd()()()()}if(2&he){const Be=r.\u0275\u0275nextContext();r.\u0275\u0275advance(8),r.\u0275\u0275textInterpolate(Be.selectedFunction.name),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",Be.selectedFunction.args),r.\u0275\u0275advance(5),r.\u0275\u0275property("matTooltip",Be.getTooltip(Be.selectedFunction.returns.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Be.selectedFunction.returns.type),r.\u0275\u0275advance(10),r.\u0275\u0275property("ngIf",Be.selectedFunction.labels.length>0),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngSwitch",!!Be.selectedFunction.description),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase",!0),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase",!1),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngSwitch",Be.selectedFunction.args.length),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase",0),r.\u0275\u0275advance(7),r.\u0275\u0275property("matTooltip",Be.getTooltip(Be.selectedFunction.returns.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Be.selectedFunction.returns.type),r.\u0275\u0275advance(5),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(20,ut))("ngModel",Be.selectedFunction.examples.typeScript),r.\u0275\u0275advance(2),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(21,_t))("ngModel",Be.selectedFunction.examples.kotlin),r.\u0275\u0275advance(3),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(22,bt))("ngModel",Be.selectedFunction.examples.dart),r.\u0275\u0275advance(3),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(23,dt))("ngModel",Be.selectedFunction.examples.swift)}}const Pe=function(){return{standalone:!0}};class Le{constructor(Qe,Be,Ke){this.sdkgen=Qe,this.dialog=Be,this.responsive=Ke,this.isBelowMd=!1,this.runFunction=new h.EventEmitter,this.searchText="",this.argumentsTableColumns=["name","type","description"],this.editorOptions={theme:"vs-dark",language:"javascript"}}ngOnInit(){this.state$=this.sdkgen.state$.subscribe(Qe=>{!Qe||(this.selectedFunction=void 0,this.fnTable=Qe.astRoot.operations.sort((Be,Ke)=>Be.name.localeCompare(Ke.name)).map(Be=>{var Ke,Y,Te;const ze=Qe.astJson.annotations[`fn.${Be.name}`],je=this.sdkgen.buildJsonObject(Be.args);return null!=ze&&ze.find(We=>"hidden"===We.type)?null:{name:Be.name,description:null===(Ke=null==ze?void 0:ze.find(We=>"description"===We.type))||void 0===Ke?void 0:Ke.value,args:Be.args.map(({name:We,type:ve})=>{var He,ct,xe;return{name:We,description:null===(xe=[...null!==(He=Qe.astJson.annotations[`type.${ve}.${We}`])&&void 0!==He?He:[],...null!==(ct=Qe.astJson.annotations[`fn.${Be.name}.${We}`])&&void 0!==ct?ct:[]].find(ge=>"description"===ge.type))||void 0===xe?void 0:xe.value,type:ve.name,rawType:ve}}),argsStr:Be.args.map(We=>`${We.name}: ${We.type.name}`).join(", "),argsFields:Be.args,returns:{type:Be.returnType.name,rawType:Be.returnType},labels:null!==(Y=null==ze?void 0:ze.filter(We=>["rest","throws"].includes(We.type)).map(We=>{var ve;return"rest"===We.type?{name:"REST",type:`${We.value.method} ${We.value.path}`}:"throws"===We.type?{name:"THROWS",type:We.value,dataType:null===(ve=Qe.astRoot.errors.find(He=>He.name===We.value))||void 0===ve?void 0:ve.dataType}:{name:"?",type:"?"}}))&&void 0!==Y?Y:[],throws:null===(Te=null==ze?void 0:ze.find(We=>"throws"===We.type))||void 0===Te?void 0:Te.value,examples:{typeScript:this.sdkgen.getTypeScriptCode(Be.name,je),kotlin:this.sdkgen.getKotlinCode(Be.name,Be.args),dart:this.sdkgen.getDartCode(Be.name,je),swift:this.sdkgen.getSwiftCode(Be.name,je)}}}).filter(Be=>Boolean(Be)))})}ngOnDestroy(){var Qe,Be;null===(Qe=this.state$)||void 0===Qe||Qe.unsubscribe(),null===(Be=this.responsive$)||void 0===Be||Be.unsubscribe()}ngAfterViewInit(){this.responsive$=this.responsive.isBelowMd().subscribe(Qe=>{this.isBelowMd=Qe.matches})}addSimpleCallTab(){var Qe;this.runFunction.emit(null===(Qe=this.selectedFunction)||void 0===Qe?void 0:Qe.name)}getTooltip(Qe){return(0,_.getTypeDoc)(Qe).shortDescription}showDocumentation(Qe){this.dialog.open(u.TypeDetailsComponent,{position:{right:"0",top:"0",bottom:"0"},data:{type:Qe},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}}o.TabHomeComponent=Le,Le.\u0275fac=function(Qe){return new(Qe||Le)(r.\u0275\u0275directiveInject(c.SdkgenService),r.\u0275\u0275directiveInject(d.MatDialog),r.\u0275\u0275directiveInject(p.ResponsiveService))},Le.\u0275cmp=r.\u0275\u0275defineComponent({type:Le,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"],[3,"ngClass","click",4,"ngFor","ngForOf"],[4,"ngIf"],[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"],[3,"selectable"],["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(Qe,Be){1&Qe&&(r.\u0275\u0275elementStart(0,"as-split",0)(1,"as-split-area",1)(2,"aside")(3,"nav")(4,"form")(5,"input",2),r.\u0275\u0275listener("ngModelChange",function(Y){return Be.searchText=Y}),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(6,"ul"),r.\u0275\u0275template(7,B,4,5,"li",3),r.\u0275\u0275pipe(8,"appFilter"),r.\u0275\u0275elementEnd()()()(),r.\u0275\u0275elementStart(9,"as-split-area"),r.\u0275\u0275template(10,$e,58,24,"article",4),r.\u0275\u0275elementEnd()()),2&Qe&&(r.\u0275\u0275property("direction",Be.isBelowMd?"vertical":"horizontal"),r.\u0275\u0275advance(1),r.\u0275\u0275property("size",Be.isBelowMd?130:350),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngModel",Be.searchText)("ngModelOptions",r.\u0275\u0275pureFunction0(9,Pe)),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind2(8,6,Be.fnTable,Be.searchText)),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf",Be.selectedFunction))},dependencies:[y.NgClass,y.NgForOf,y.NgIf,y.NgSwitch,y.NgSwitchCase,y.NgSwitchDefault,f.\u0275NgNoValidate,f.DefaultValueAccessor,f.NgControlStatus,f.NgControlStatusGroup,f.NgModel,f.NgForm,b.MonacoEditorComponent,v.SplitComponent,v.SplitAreaDirective,m.MatButton,C.MatChipList,C.MatChip,M.MatIcon,O.MatTable,O.MatHeaderCellDef,O.MatHeaderRowDef,O.MatColumnDef,O.MatCellDef,O.MatRowDef,O.MatHeaderCell,O.MatCell,O.MatHeaderRow,O.MatRow,P.MatTabGroup,P.MatTabLabel,P.MatTab,N.MatTooltip,Q.FilterPipe],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}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}"]})},2253:(U,o,a)=>{"use strict";var n=a(7156).default;Object.defineProperty(o,"__esModule",{value:!0}),o.TabNavComponent=void 0;const h=a(655),_=a(3075),u=a(6676),r=a(4814),c=h.__importStar(a(5e3)),d=h.__importStar(a(6395)),p=h.__importStar(a(2290)),y=h.__importStar(a(9694)),f=h.__importStar(a(9808)),b=h.__importStar(a(3075)),v=h.__importStar(a(7423)),m=h.__importStar(a(3293)),C=h.__importStar(a(508));function M(N,Q){1&N&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"mat-icon",6),c.\u0275\u0275text(2,"loop"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementContainerEnd())}function O(N,Q){1&N&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"mat-icon"),c.\u0275\u0275text(2,"arrow_forward"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementContainerEnd())}class P{constructor(Q,H,G){this.sdkgen=Q,this.toastr=H,this.dialog=G,this.loading=!1,this.url=new _.FormControl("")}ngOnInit(){fetch("/ast.json").then(Q=>{Q.ok&&(this.url.setValue(`${window.location.protocol}//${window.location.host}`),this.loadUrl())}).catch(()=>{})}loadUrl(Q){var H=this;return n(function*(){null==Q||Q.preventDefault();try{H.loading=!0,/^https?:\/\//.test(H.url.value)||H.url.setValue(`https://${H.url.value}`);const G=new URL(H.url.value);G.pathname+=(/\/$/u.test(G.pathname)?"":"/")+"ast.json";const B=G.toString();console.debug("astUrl",B);const X=yield fetch(B).then(oe=>oe.ok?oe.json():oe);if(X instanceof Response)throw X instanceof Error?X:new Error(X.statusText);if(!X.errors||!X.functionTable||!X.typeTable)throw new Error("Invalid AST");for(;"undefined"==typeof monaco;)yield new Promise(oe=>setTimeout(oe,250));console.debug("astJson",X),H.sdkgen.state$.next({astJson:X,astRoot:(0,u.jsonToAst)(X),url:H.url.value})}catch(G){H.toastr.error(G instanceof Error?G.message:JSON.stringify(G),"Erro ao carregar AST",{positionClass:"toast-bottom-right"})}finally{H.loading=!1}})()}openAbout(){this.dialog.open(r.DialogAboutComponent)}}o.TabNavComponent=P,P.\u0275fac=function(Q){return new(Q||P)(c.\u0275\u0275directiveInject(d.SdkgenService),c.\u0275\u0275directiveInject(p.ToastrService),c.\u0275\u0275directiveInject(y.MatDialog))},P.\u0275cmp=c.\u0275\u0275defineComponent({type:P,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-icon-button","",3,"click"],[1,"loader"]],template:function(Q,H){1&Q&&(c.\u0275\u0275element(0,"img",0),c.\u0275\u0275elementStart(1,"form",1),c.\u0275\u0275listener("submit",function(B){return H.loadUrl(B)}),c.\u0275\u0275element(2,"input",2),c.\u0275\u0275elementStart(3,"button",3),c.\u0275\u0275template(4,M,3,0,"ng-container",4),c.\u0275\u0275template(5,O,3,0,"ng-container",4),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(6,"button",5),c.\u0275\u0275listener("click",function(){return H.openAbout()}),c.\u0275\u0275elementStart(7,"mat-icon"),c.\u0275\u0275text(8,"info"),c.\u0275\u0275elementEnd()()),2&Q&&(c.\u0275\u0275advance(2),c.\u0275\u0275property("formControl",H.url)("readonly",H.loading),c.\u0275\u0275advance(1),c.\u0275\u0275property("disabled",H.loading)("ngSwitch",H.loading),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase",!0),c.\u0275\u0275advance(1),c.\u0275\u0275property("ngSwitchCase",!1))},dependencies:[f.NgSwitch,f.NgSwitchCase,b.\u0275NgNoValidate,b.DefaultValueAccessor,b.NgControlStatus,b.NgControlStatusGroup,b.NgForm,b.FormControlDirective,v.MatButton,m.MatIcon,C.MatRipple],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}form[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"]})},5281:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TypeDetailsComponent=void 0;const n=a(655),h=a(9694),_=a(9435),u=n.__importStar(a(5e3)),r=n.__importStar(a(9694)),c=n.__importStar(a(9808)),d=n.__importStar(a(7423)),p=n.__importStar(a(9417)),y=n.__importStar(a(3293)),f=n.__importStar(a(4999)),b=n.__importStar(a(7238));function v(V,te){1&V&&(u.\u0275\u0275elementStart(0,"button",6)(1,"mat-icon"),u.\u0275\u0275text(2,"arrow_back"),u.\u0275\u0275elementEnd()())}function m(V,te){if(1&V&&(u.\u0275\u0275elementStart(0,"mat-chip",7),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&V){const Ee=te.$implicit;u.\u0275\u0275property("disableRipple",!0),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(Ee)}}function C(V,te){1&V&&(u.\u0275\u0275elementStart(0,"button",8)(1,"mat-icon"),u.\u0275\u0275text(2,"close"),u.\u0275\u0275elementEnd()())}function M(V,te){1&V&&(u.\u0275\u0275elementStart(0,"th",20),u.\u0275\u0275text(1,"Nome"),u.\u0275\u0275elementEnd())}function O(V,te){if(1&V&&(u.\u0275\u0275elementStart(0,"td",21),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&V){const Ee=te.$implicit;u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(Ee.name)}}function P(V,te){1&V&&(u.\u0275\u0275elementStart(0,"th",20),u.\u0275\u0275text(1,"Tipo"),u.\u0275\u0275elementEnd())}function N(V,te){1&V&&(u.\u0275\u0275elementStart(0,"span"),u.\u0275\u0275text(1,"-"),u.\u0275\u0275elementEnd())}function Q(V,te){if(1&V){const Ee=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"u",25),u.\u0275\u0275listener("click",function(){u.\u0275\u0275restoreView(Ee);const K=u.\u0275\u0275nextContext().$implicit,ie=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(ie.showDocumentation(K.type))}),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()}if(2&V){const Ee=u.\u0275\u0275nextContext().$implicit,Oe=u.\u0275\u0275nextContext(2);u.\u0275\u0275property("matTooltip",Oe.getTooltip(Ee.type)),u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(Ee.type.name)}}function H(V,te){1&V&&(u.\u0275\u0275elementStart(0,"td",22),u.\u0275\u0275template(1,N,2,0,"span",23),u.\u0275\u0275template(2,Q,2,2,"u",24),u.\u0275\u0275elementEnd()),2&V&&(u.\u0275\u0275property("ngSwitch",te.$implicit.type),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngSwitchCase",null))}function G(V,te){1&V&&(u.\u0275\u0275elementStart(0,"th",20),u.\u0275\u0275text(1,"Descri\xe7\xe3o"),u.\u0275\u0275elementEnd())}function B(V,te){if(1&V&&(u.\u0275\u0275elementStart(0,"td",26),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&V){const Ee=te.$implicit;u.\u0275\u0275advance(1),u.\u0275\u0275textInterpolate(Ee.description||"-")}}function X(V,te){1&V&&u.\u0275\u0275element(0,"tr",27)}function oe(V,te){1&V&&u.\u0275\u0275element(0,"tr",28)}const pe=function(){return[]};function Fe(V,te){if(1&V&&(u.\u0275\u0275elementStart(0,"section")(1,"div",9)(2,"table",10),u.\u0275\u0275elementContainerStart(3,11),u.\u0275\u0275template(4,M,2,0,"th",12),u.\u0275\u0275template(5,O,2,1,"td",13),u.\u0275\u0275elementContainerEnd(),u.\u0275\u0275elementContainerStart(6,14),u.\u0275\u0275template(7,P,2,0,"th",12),u.\u0275\u0275template(8,H,3,2,"td",15),u.\u0275\u0275elementContainerEnd(),u.\u0275\u0275elementContainerStart(9,16),u.\u0275\u0275template(10,G,2,0,"th",12),u.\u0275\u0275template(11,B,2,1,"td",17),u.\u0275\u0275elementContainerEnd(),u.\u0275\u0275template(12,X,1,0,"tr",18),u.\u0275\u0275template(13,oe,1,0,"tr",19),u.\u0275\u0275elementEnd()()()),2&V){const Ee=u.\u0275\u0275nextContext();let Oe;u.\u0275\u0275advance(2),u.\u0275\u0275property("dataSource",null!==(Oe=null==Ee.typeDoc?null:Ee.typeDoc.structFields)&&void 0!==Oe?Oe:u.\u0275\u0275pureFunction0(3,pe)),u.\u0275\u0275advance(10),u.\u0275\u0275property("matHeaderRowDef",Ee.argumentsTableColumns),u.\u0275\u0275advance(1),u.\u0275\u0275property("matRowDefColumns",Ee.argumentsTableColumns)}}function it(V,te){if(1&V&&(u.\u0275\u0275elementStart(0,"li")(1,"code",1),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd()()),2&V){const Ee=te.$implicit;u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(Ee)}}function z(V,te){if(1&V&&(u.\u0275\u0275elementStart(0,"section")(1,"h3"),u.\u0275\u0275text(2,"Exemplos"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(3,"ul"),u.\u0275\u0275template(4,it,3,1,"li",29),u.\u0275\u0275elementEnd()()),2&V){const Ee=u.\u0275\u0275nextContext();u.\u0275\u0275advance(4),u.\u0275\u0275property("ngForOf",null==Ee.typeDoc?null:Ee.typeDoc.examples)}}class q{constructor(te,Ee,Oe){this.dialogRef=te,this.data=Ee,this.dialog=Oe,this.labels=[],this.argumentsTableColumns=["name","type","description"]}ngOnInit(){this.labels=(0,_.getTypeLabels)(this.data.type),this.typeDoc=(0,_.getTypeDoc)(this.data.type)}getTooltip(te){return(0,_.getTypeDoc)(te).shortDescription}showDocumentation(te){this.dialog.open(q,{position:{right:"0"},data:{type:te,subdialog:!0},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}}o.TypeDetailsComponent=q,q.\u0275fac=function(te){return new(te||q)(u.\u0275\u0275directiveInject(r.MatDialogRef),u.\u0275\u0275directiveInject(h.MAT_DIALOG_DATA),u.\u0275\u0275directiveInject(r.MatDialog))},q.\u0275cmp=u.\u0275\u0275defineComponent({type:q,selectors:[["app-type-details"]],decls:11,vars:8,consts:[["class","back-button","mat-icon-button","","mat-dialog-close","","tabindex","-1",4,"ngIf"],[1,"mono"],[3,"selectable"],["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(te,Ee){1&te&&(u.\u0275\u0275elementStart(0,"h1"),u.\u0275\u0275template(1,v,3,0,"button",0),u.\u0275\u0275elementStart(2,"span",1),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(4,"mat-chip-list",2),u.\u0275\u0275template(5,m,2,2,"mat-chip",3),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(6,C,3,0,"button",4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(7,"p"),u.\u0275\u0275text(8),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(9,Fe,14,4,"section",5),u.\u0275\u0275template(10,z,5,1,"section",5)),2&te&&(u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",Ee.data.subdialog),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(Ee.data.type.name),u.\u0275\u0275advance(1),u.\u0275\u0275property("selectable",!1),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngForOf",Ee.labels),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",!Ee.data.subdialog),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(null==Ee.typeDoc?null:Ee.typeDoc.longDescription),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",(null==Ee.typeDoc?null:Ee.typeDoc.isStruct)&&(null==Ee.typeDoc?null:Ee.typeDoc.structFields)),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",null==Ee.typeDoc||null==Ee.typeDoc.examples?null:Ee.typeDoc.examples.length))},dependencies:[c.NgForOf,c.NgIf,c.NgSwitch,c.NgSwitchCase,c.NgSwitchDefault,d.MatButton,p.MatChipList,p.MatChip,r.MatDialogClose,y.MatIcon,f.MatTable,f.MatHeaderCellDef,f.MatHeaderRowDef,f.MatColumnDef,f.MatCellDef,f.MatRowDef,f.MatHeaderCell,f.MatCell,f.MatHeaderRow,f.MatRow,b.MatTooltip],styles:["h1[_ngcontent-%COMP%]{font-weight:200;word-break:break-all;word-wrap:break-word}h1[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%]{display:inline-block;margin-left:10px;-webkit-user-select:none;user-select:none}h1[_ngcontent-%COMP%] mat-chip-list[_ngcontent-%COMP%] mat-chip[_ngcontent-%COMP%]{text-transform:uppercase}h1[_ngcontent-%COMP%] mat-chip-list[_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}"]})},8227:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.unwrap=o.wrapper=void 0,o.wrapper='\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.___originalConsoleLog = console.log;\n console.log = function() {\n const event = { type: "info", message: Array.prototype.map.call(arguments, x => typeof x === "object" ? JSON.stringify(x) : x.toString()).join(" ") };\n events.push(event);\n return ___originalConsoleLog.apply(this, arguments);\n }\n\n window.___originalConsoleError = console.error;\n console.error = function() {\n //if (typeof arguments[0] === "string") {\n const event = { type: "error", message: Array.prototype.map.call(arguments, x => typeof x === "object" ? JSON.stringify(x) : x.toString()).join(" ") };\n events.push(event);\n //}\n return ___originalConsoleError.apply(this, arguments);\n }\n',o.unwrap="\n XMLHttpRequest.prototype.open = window.___originalXmlHttpRequestOpen;\n console.log = window.___originalConsoleLog;\n console.error = window.___originalConsoleError;\n"},2340:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.environment=void 0,o.environment={production:!0}},4431:(U,o,a)=>{"use strict";const _=a(655).__importStar(a(2313)),u=a(5e3),r=a(6747);a(2340).environment.production&&(0,u.enableProdMode)(),_.platformBrowser().bootstrapModule(r.AppModule).catch(d=>console.error(d))},4327:function(U,o){var h;void 0!==(h=function(){"use strict";function u(f,b,v){var m=new XMLHttpRequest;m.open("GET",f),m.responseType="blob",m.onload=function(){y(m.response,b,v)},m.onerror=function(){console.error("could not download file")},m.send()}function r(f){var b=new XMLHttpRequest;b.open("HEAD",f,!1);try{b.send()}catch(v){}return 200<=b.status&&299>=b.status}function c(f){try{f.dispatchEvent(new MouseEvent("click"))}catch(v){var b=document.createEvent("MouseEvents");b.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),f.dispatchEvent(b)}}var d="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,p=d.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),y=d.saveAs||("object"!=typeof window||window!==d?function(){}:"download"in HTMLAnchorElement.prototype&&!p?function(f,b,v){var m=d.URL||d.webkitURL,C=document.createElement("a");C.download=b=b||f.name||"download",C.rel="noopener","string"==typeof f?(C.href=f,C.origin===location.origin?c(C):r(C.href)?u(f,b,v):c(C,C.target="_blank")):(C.href=m.createObjectURL(f),setTimeout(function(){m.revokeObjectURL(C.href)},4e4),setTimeout(function(){c(C)},0))}:"msSaveOrOpenBlob"in navigator?function(f,b,v){if(b=b||f.name||"download","string"!=typeof f)navigator.msSaveOrOpenBlob(function _(f,b){return void 0===b?b={autoBom:!1}:"object"!=typeof b&&(console.warn("Deprecated: Expected third argument to be a object"),b={autoBom:!b}),b.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(f.type)?new Blob(["\ufeff",f],{type:f.type}):f}(f,v),b);else if(r(f))u(f,b,v);else{var m=document.createElement("a");m.href=f,m.target="_blank",setTimeout(function(){c(m)})}}:function(f,b,v,m){if((m=m||open("","_blank"))&&(m.document.title=m.document.body.innerText="downloading..."),"string"==typeof f)return u(f,b,v);var C="application/octet-stream"===f.type,M=/constructor/i.test(d.HTMLElement)||d.safari,O=/CriOS\/[\d]+/.test(navigator.userAgent);if((O||C&&M||p)&&"undefined"!=typeof FileReader){var P=new FileReader;P.onloadend=function(){var H=P.result;H=O?H:H.replace(/^data:[^;]*;/,"data:attachment/file;"),m?m.location.href=H:location=H,m=null},P.readAsDataURL(f)}else{var N=d.URL||d.webkitURL,Q=N.createObjectURL(f);m?m.location=Q:location.href=Q,m=null,setTimeout(function(){N.revokeObjectURL(Q)},4e4)}});d.saveAs=y.saveAs=y,U.exports=y}.apply(o,[]))&&(U.exports=h)},6477:function(U,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(mi,In,Tn,qn){void 0===qn&&(qn=Tn),Object.defineProperty(mi,qn,{enumerable:!0,get:function(){return In[Tn]}})}:function(mi,In,Tn,qn){void 0===qn&&(qn=Tn),mi[qn]=In[Tn]}),h=this&&this.__exportStar||function(mi,In){for(var Tn in mi)"default"!==Tn&&!Object.prototype.hasOwnProperty.call(In,Tn)&&n(In,mi,Tn)};Object.defineProperty(o,"__esModule",{value:!0}),o.interval=o.iif=o.generate=o.fromEventPattern=o.fromEvent=o.from=o.forkJoin=o.empty=o.defer=o.connectable=o.concat=o.combineLatest=o.bindNodeCallback=o.bindCallback=o.UnsubscriptionError=o.TimeoutError=o.SequenceError=o.ObjectUnsubscribedError=o.NotFoundError=o.EmptyError=o.ArgumentOutOfRangeError=o.firstValueFrom=o.lastValueFrom=o.isObservable=o.identity=o.noop=o.pipe=o.NotificationKind=o.Notification=o.Subscriber=o.Subscription=o.Scheduler=o.VirtualAction=o.VirtualTimeScheduler=o.animationFrameScheduler=o.animationFrame=o.queueScheduler=o.queue=o.asyncScheduler=o.async=o.asapScheduler=o.asap=o.AsyncSubject=o.ReplaySubject=o.BehaviorSubject=o.Subject=o.animationFrames=o.observable=o.ConnectableObservable=o.Observable=void 0,o.filter=o.expand=o.exhaustMap=o.exhaustAll=o.exhaust=o.every=o.endWith=o.elementAt=o.distinctUntilKeyChanged=o.distinctUntilChanged=o.distinct=o.dematerialize=o.delayWhen=o.delay=o.defaultIfEmpty=o.debounceTime=o.debounce=o.count=o.connect=o.concatWith=o.concatMapTo=o.concatMap=o.concatAll=o.combineLatestWith=o.combineLatestAll=o.combineAll=o.catchError=o.bufferWhen=o.bufferToggle=o.bufferTime=o.bufferCount=o.buffer=o.auditTime=o.audit=o.config=o.NEVER=o.EMPTY=o.scheduled=o.zip=o.using=o.timer=o.throwError=o.range=o.race=o.partition=o.pairs=o.onErrorResumeNext=o.of=o.never=o.merge=void 0,o.switchMapTo=o.switchMap=o.switchAll=o.subscribeOn=o.startWith=o.skipWhile=o.skipUntil=o.skipLast=o.skip=o.single=o.shareReplay=o.share=o.sequenceEqual=o.scan=o.sampleTime=o.sample=o.refCount=o.retryWhen=o.retry=o.repeatWhen=o.repeat=o.reduce=o.raceWith=o.publishReplay=o.publishLast=o.publishBehavior=o.publish=o.pluck=o.pairwise=o.observeOn=o.multicast=o.min=o.mergeWith=o.mergeScan=o.mergeMapTo=o.mergeMap=o.flatMap=o.mergeAll=o.max=o.materialize=o.mapTo=o.map=o.last=o.isEmpty=o.ignoreElements=o.groupBy=o.first=o.findIndex=o.find=o.finalize=void 0,o.zipWith=o.zipAll=o.withLatestFrom=o.windowWhen=o.windowToggle=o.windowTime=o.windowCount=o.window=o.toArray=o.timestamp=o.timeoutWith=o.timeout=o.timeInterval=o.throwIfEmpty=o.throttleTime=o.throttle=o.tap=o.takeWhile=o.takeUntil=o.takeLast=o.take=o.switchScan=void 0;var _=a(5821);Object.defineProperty(o,"Observable",{enumerable:!0,get:function(){return _.Observable}});var u=a(6686);Object.defineProperty(o,"ConnectableObservable",{enumerable:!0,get:function(){return u.ConnectableObservable}});var r=a(1689);Object.defineProperty(o,"observable",{enumerable:!0,get:function(){return r.observable}});var c=a(2946);Object.defineProperty(o,"animationFrames",{enumerable:!0,get:function(){return c.animationFrames}});var d=a(3768);Object.defineProperty(o,"Subject",{enumerable:!0,get:function(){return d.Subject}});var p=a(5482);Object.defineProperty(o,"BehaviorSubject",{enumerable:!0,get:function(){return p.BehaviorSubject}});var y=a(3406);Object.defineProperty(o,"ReplaySubject",{enumerable:!0,get:function(){return y.ReplaySubject}});var f=a(7606);Object.defineProperty(o,"AsyncSubject",{enumerable:!0,get:function(){return f.AsyncSubject}});var b=a(1212);Object.defineProperty(o,"asap",{enumerable:!0,get:function(){return b.asap}}),Object.defineProperty(o,"asapScheduler",{enumerable:!0,get:function(){return b.asapScheduler}});var v=a(4006);Object.defineProperty(o,"async",{enumerable:!0,get:function(){return v.async}}),Object.defineProperty(o,"asyncScheduler",{enumerable:!0,get:function(){return v.asyncScheduler}});var m=a(5668);Object.defineProperty(o,"queue",{enumerable:!0,get:function(){return m.queue}}),Object.defineProperty(o,"queueScheduler",{enumerable:!0,get:function(){return m.queueScheduler}});var C=a(1906);Object.defineProperty(o,"animationFrame",{enumerable:!0,get:function(){return C.animationFrame}}),Object.defineProperty(o,"animationFrameScheduler",{enumerable:!0,get:function(){return C.animationFrameScheduler}});var M=a(2018);Object.defineProperty(o,"VirtualTimeScheduler",{enumerable:!0,get:function(){return M.VirtualTimeScheduler}}),Object.defineProperty(o,"VirtualAction",{enumerable:!0,get:function(){return M.VirtualAction}});var O=a(2716);Object.defineProperty(o,"Scheduler",{enumerable:!0,get:function(){return O.Scheduler}});var P=a(6448);Object.defineProperty(o,"Subscription",{enumerable:!0,get:function(){return P.Subscription}});var N=a(7052);Object.defineProperty(o,"Subscriber",{enumerable:!0,get:function(){return N.Subscriber}});var Q=a(7262);Object.defineProperty(o,"Notification",{enumerable:!0,get:function(){return Q.Notification}}),Object.defineProperty(o,"NotificationKind",{enumerable:!0,get:function(){return Q.NotificationKind}});var H=a(1471);Object.defineProperty(o,"pipe",{enumerable:!0,get:function(){return H.pipe}});var G=a(31);Object.defineProperty(o,"noop",{enumerable:!0,get:function(){return G.noop}});var B=a(7884);Object.defineProperty(o,"identity",{enumerable:!0,get:function(){return B.identity}});var X=a(4341);Object.defineProperty(o,"isObservable",{enumerable:!0,get:function(){return X.isObservable}});var oe=a(5257);Object.defineProperty(o,"lastValueFrom",{enumerable:!0,get:function(){return oe.lastValueFrom}});var pe=a(5754);Object.defineProperty(o,"firstValueFrom",{enumerable:!0,get:function(){return pe.firstValueFrom}});var Fe=a(4769);Object.defineProperty(o,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return Fe.ArgumentOutOfRangeError}});var it=a(8915);Object.defineProperty(o,"EmptyError",{enumerable:!0,get:function(){return it.EmptyError}});var z=a(5477);Object.defineProperty(o,"NotFoundError",{enumerable:!0,get:function(){return z.NotFoundError}});var q=a(3965);Object.defineProperty(o,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return q.ObjectUnsubscribedError}});var V=a(1551);Object.defineProperty(o,"SequenceError",{enumerable:!0,get:function(){return V.SequenceError}});var te=a(5001);Object.defineProperty(o,"TimeoutError",{enumerable:!0,get:function(){return te.TimeoutError}});var Ee=a(4970);Object.defineProperty(o,"UnsubscriptionError",{enumerable:!0,get:function(){return Ee.UnsubscriptionError}});var Oe=a(7532);Object.defineProperty(o,"bindCallback",{enumerable:!0,get:function(){return Oe.bindCallback}});var K=a(3488);Object.defineProperty(o,"bindNodeCallback",{enumerable:!0,get:function(){return K.bindNodeCallback}});var ie=a(6892);Object.defineProperty(o,"combineLatest",{enumerable:!0,get:function(){return ie.combineLatest}});var Ae=a(509);Object.defineProperty(o,"concat",{enumerable:!0,get:function(){return Ae.concat}});var $=a(9190);Object.defineProperty(o,"connectable",{enumerable:!0,get:function(){return $.connectable}});var ye=a(9954);Object.defineProperty(o,"defer",{enumerable:!0,get:function(){return ye.defer}});var Ce=a(7406);Object.defineProperty(o,"empty",{enumerable:!0,get:function(){return Ce.empty}});var De=a(7928);Object.defineProperty(o,"forkJoin",{enumerable:!0,get:function(){return De.forkJoin}});var Ve=a(4996);Object.defineProperty(o,"from",{enumerable:!0,get:function(){return Ve.from}});var Se=a(2579);Object.defineProperty(o,"fromEvent",{enumerable:!0,get:function(){return Se.fromEvent}});var Ue=a(3975);Object.defineProperty(o,"fromEventPattern",{enumerable:!0,get:function(){return Ue.fromEventPattern}});var ut=a(4318);Object.defineProperty(o,"generate",{enumerable:!0,get:function(){return ut.generate}});var _t=a(3140);Object.defineProperty(o,"iif",{enumerable:!0,get:function(){return _t.iif}});var bt=a(1836);Object.defineProperty(o,"interval",{enumerable:!0,get:function(){return bt.interval}});var dt=a(9248);Object.defineProperty(o,"merge",{enumerable:!0,get:function(){return dt.merge}});var $e=a(2818);Object.defineProperty(o,"never",{enumerable:!0,get:function(){return $e.never}});var Pe=a(9677);Object.defineProperty(o,"of",{enumerable:!0,get:function(){return Pe.of}});var Le=a(9978);Object.defineProperty(o,"onErrorResumeNext",{enumerable:!0,get:function(){return Le.onErrorResumeNext}});var he=a(5519);Object.defineProperty(o,"pairs",{enumerable:!0,get:function(){return he.pairs}});var Qe=a(8221);Object.defineProperty(o,"partition",{enumerable:!0,get:function(){return Qe.partition}});var Be=a(8181);Object.defineProperty(o,"race",{enumerable:!0,get:function(){return Be.race}});var Ke=a(4622);Object.defineProperty(o,"range",{enumerable:!0,get:function(){return Ke.range}});var Y=a(338);Object.defineProperty(o,"throwError",{enumerable:!0,get:function(){return Y.throwError}});var Te=a(3271);Object.defineProperty(o,"timer",{enumerable:!0,get:function(){return Te.timer}});var ze=a(924);Object.defineProperty(o,"using",{enumerable:!0,get:function(){return ze.using}});var je=a(4842);Object.defineProperty(o,"zip",{enumerable:!0,get:function(){return je.zip}});var We=a(9341);Object.defineProperty(o,"scheduled",{enumerable:!0,get:function(){return We.scheduled}});var ve=a(7406);Object.defineProperty(o,"EMPTY",{enumerable:!0,get:function(){return ve.EMPTY}});var He=a(2818);Object.defineProperty(o,"NEVER",{enumerable:!0,get:function(){return He.NEVER}}),h(a(5256),o);var ct=a(3570);Object.defineProperty(o,"config",{enumerable:!0,get:function(){return ct.config}});var xe=a(4815);Object.defineProperty(o,"audit",{enumerable:!0,get:function(){return xe.audit}});var W=a(9034);Object.defineProperty(o,"auditTime",{enumerable:!0,get:function(){return W.auditTime}});var ge=a(8544);Object.defineProperty(o,"buffer",{enumerable:!0,get:function(){return ge.buffer}});var de=a(3999);Object.defineProperty(o,"bufferCount",{enumerable:!0,get:function(){return de.bufferCount}});var ke=a(1392);Object.defineProperty(o,"bufferTime",{enumerable:!0,get:function(){return ke.bufferTime}});var tt=a(555);Object.defineProperty(o,"bufferToggle",{enumerable:!0,get:function(){return tt.bufferToggle}});var mt=a(7274);Object.defineProperty(o,"bufferWhen",{enumerable:!0,get:function(){return mt.bufferWhen}});var Ft=a(6e3);Object.defineProperty(o,"catchError",{enumerable:!0,get:function(){return Ft.catchError}});var At=a(8996);Object.defineProperty(o,"combineAll",{enumerable:!0,get:function(){return At.combineAll}});var Yt=a(8931);Object.defineProperty(o,"combineLatestAll",{enumerable:!0,get:function(){return Yt.combineLatestAll}});var Nt=a(8947);Object.defineProperty(o,"combineLatestWith",{enumerable:!0,get:function(){return Nt.combineLatestWith}});var rt=a(739);Object.defineProperty(o,"concatAll",{enumerable:!0,get:function(){return rt.concatAll}});var Je=a(4659);Object.defineProperty(o,"concatMap",{enumerable:!0,get:function(){return Je.concatMap}});var be=a(2993);Object.defineProperty(o,"concatMapTo",{enumerable:!0,get:function(){return be.concatMapTo}});var me=a(5898);Object.defineProperty(o,"concatWith",{enumerable:!0,get:function(){return me.concatWith}});var ae=a(9725);Object.defineProperty(o,"connect",{enumerable:!0,get:function(){return ae.connect}});var le=a(1814);Object.defineProperty(o,"count",{enumerable:!0,get:function(){return le.count}});var j=a(9784);Object.defineProperty(o,"debounce",{enumerable:!0,get:function(){return j.debounce}});var we=a(7061);Object.defineProperty(o,"debounceTime",{enumerable:!0,get:function(){return we.debounceTime}});var vt=a(926);Object.defineProperty(o,"defaultIfEmpty",{enumerable:!0,get:function(){return vt.defaultIfEmpty}});var Ge=a(2096);Object.defineProperty(o,"delay",{enumerable:!0,get:function(){return Ge.delay}});var yt=a(3264);Object.defineProperty(o,"delayWhen",{enumerable:!0,get:function(){return yt.delayWhen}});var ee=a(533);Object.defineProperty(o,"dematerialize",{enumerable:!0,get:function(){return ee.dematerialize}});var Ie=a(5045);Object.defineProperty(o,"distinct",{enumerable:!0,get:function(){return Ie.distinct}});var at=a(5794);Object.defineProperty(o,"distinctUntilChanged",{enumerable:!0,get:function(){return at.distinctUntilChanged}});var Dt=a(8589);Object.defineProperty(o,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return Dt.distinctUntilKeyChanged}});var Ht=a(1069);Object.defineProperty(o,"elementAt",{enumerable:!0,get:function(){return Ht.elementAt}});var rn=a(4312);Object.defineProperty(o,"endWith",{enumerable:!0,get:function(){return rn.endWith}});var Xt=a(9098);Object.defineProperty(o,"every",{enumerable:!0,get:function(){return Xt.every}});var vn=a(5429);Object.defineProperty(o,"exhaust",{enumerable:!0,get:function(){return vn.exhaust}});var qe=a(1399);Object.defineProperty(o,"exhaustAll",{enumerable:!0,get:function(){return qe.exhaustAll}});var Ye=a(5183);Object.defineProperty(o,"exhaustMap",{enumerable:!0,get:function(){return Ye.exhaustMap}});var _e=a(8678);Object.defineProperty(o,"expand",{enumerable:!0,get:function(){return _e.expand}});var et=a(4270);Object.defineProperty(o,"filter",{enumerable:!0,get:function(){return et.filter}});var lt=a(1587);Object.defineProperty(o,"finalize",{enumerable:!0,get:function(){return lt.finalize}});var It=a(2265);Object.defineProperty(o,"find",{enumerable:!0,get:function(){return It.find}});var Lt=a(8195);Object.defineProperty(o,"findIndex",{enumerable:!0,get:function(){return Lt.findIndex}});var Wt=a(8012);Object.defineProperty(o,"first",{enumerable:!0,get:function(){return Wt.first}});var yn=a(4075);Object.defineProperty(o,"groupBy",{enumerable:!0,get:function(){return yn.groupBy}});var gn=a(4041);Object.defineProperty(o,"ignoreElements",{enumerable:!0,get:function(){return gn.ignoreElements}});var Hn=a(6478);Object.defineProperty(o,"isEmpty",{enumerable:!0,get:function(){return Hn.isEmpty}});var ue=a(5126);Object.defineProperty(o,"last",{enumerable:!0,get:function(){return ue.last}});var Ze=a(752);Object.defineProperty(o,"map",{enumerable:!0,get:function(){return Ze.map}});var ne=a(2182);Object.defineProperty(o,"mapTo",{enumerable:!0,get:function(){return ne.mapTo}});var Ne=a(119);Object.defineProperty(o,"materialize",{enumerable:!0,get:function(){return Ne.materialize}});var ft=a(9329);Object.defineProperty(o,"max",{enumerable:!0,get:function(){return ft.max}});var Tt=a(3917);Object.defineProperty(o,"mergeAll",{enumerable:!0,get:function(){return Tt.mergeAll}});var xt=a(1463);Object.defineProperty(o,"flatMap",{enumerable:!0,get:function(){return xt.flatMap}});var Kt=a(3010);Object.defineProperty(o,"mergeMap",{enumerable:!0,get:function(){return Kt.mergeMap}});var Ut=a(929);Object.defineProperty(o,"mergeMapTo",{enumerable:!0,get:function(){return Ut.mergeMapTo}});var _n=a(2816);Object.defineProperty(o,"mergeScan",{enumerable:!0,get:function(){return _n.mergeScan}});var dn=a(9684);Object.defineProperty(o,"mergeWith",{enumerable:!0,get:function(){return dn.mergeWith}});var ln=a(6250);Object.defineProperty(o,"min",{enumerable:!0,get:function(){return ln.min}});var nn=a(9872);Object.defineProperty(o,"multicast",{enumerable:!0,get:function(){return nn.multicast}});var zn=a(4928);Object.defineProperty(o,"observeOn",{enumerable:!0,get:function(){return zn.observeOn}});var cn=a(9526);Object.defineProperty(o,"pairwise",{enumerable:!0,get:function(){return cn.pairwise}});var On=a(5199);Object.defineProperty(o,"pluck",{enumerable:!0,get:function(){return On.pluck}});var kn=a(955);Object.defineProperty(o,"publish",{enumerable:!0,get:function(){return kn.publish}});var En=a(6750);Object.defineProperty(o,"publishBehavior",{enumerable:!0,get:function(){return En.publishBehavior}});var Nn=a(1003);Object.defineProperty(o,"publishLast",{enumerable:!0,get:function(){return Nn.publishLast}});var Ti=a(5530);Object.defineProperty(o,"publishReplay",{enumerable:!0,get:function(){return Ti.publishReplay}});var wi=a(2992);Object.defineProperty(o,"raceWith",{enumerable:!0,get:function(){return wi.raceWith}});var bi=a(8587);Object.defineProperty(o,"reduce",{enumerable:!0,get:function(){return bi.reduce}});var Ln=a(8408);Object.defineProperty(o,"repeat",{enumerable:!0,get:function(){return Ln.repeat}});var Ni=a(7032);Object.defineProperty(o,"repeatWhen",{enumerable:!0,get:function(){return Ni.repeatWhen}});var Wi=a(6069);Object.defineProperty(o,"retry",{enumerable:!0,get:function(){return Wi.retry}});var Ci=a(5131);Object.defineProperty(o,"retryWhen",{enumerable:!0,get:function(){return Ci.retryWhen}});var Gi=a(904);Object.defineProperty(o,"refCount",{enumerable:!0,get:function(){return Gi.refCount}});var Ki=a(2531);Object.defineProperty(o,"sample",{enumerable:!0,get:function(){return Ki.sample}});var cr=a(306);Object.defineProperty(o,"sampleTime",{enumerable:!0,get:function(){return cr.sampleTime}});var Jr=a(251);Object.defineProperty(o,"scan",{enumerable:!0,get:function(){return Jr.scan}});var Xn=a(9788);Object.defineProperty(o,"sequenceEqual",{enumerable:!0,get:function(){return Xn.sequenceEqual}});var ur=a(3222);Object.defineProperty(o,"share",{enumerable:!0,get:function(){return ur.share}});var Xr=a(2186);Object.defineProperty(o,"shareReplay",{enumerable:!0,get:function(){return Xr.shareReplay}});var Li=a(695);Object.defineProperty(o,"single",{enumerable:!0,get:function(){return Li.single}});var dr=a(4975);Object.defineProperty(o,"skip",{enumerable:!0,get:function(){return dr.skip}});var Di=a(728);Object.defineProperty(o,"skipLast",{enumerable:!0,get:function(){return Di.skipLast}});var Or=a(7409);Object.defineProperty(o,"skipUntil",{enumerable:!0,get:function(){return Or.skipUntil}});var Yi=a(385);Object.defineProperty(o,"skipWhile",{enumerable:!0,get:function(){return Yi.skipWhile}});var Qi=a(4930);Object.defineProperty(o,"startWith",{enumerable:!0,get:function(){return Qi.startWith}});var Hr=a(1698);Object.defineProperty(o,"subscribeOn",{enumerable:!0,get:function(){return Hr.subscribeOn}});var Mi=a(8044);Object.defineProperty(o,"switchAll",{enumerable:!0,get:function(){return Mi.switchAll}});var fr=a(986);Object.defineProperty(o,"switchMap",{enumerable:!0,get:function(){return fr.switchMap}});var Ei=a(9309);Object.defineProperty(o,"switchMapTo",{enumerable:!0,get:function(){return Ei.switchMapTo}});var Ar=a(9499);Object.defineProperty(o,"switchScan",{enumerable:!0,get:function(){return Ar.switchScan}});var Si=a(1333);Object.defineProperty(o,"take",{enumerable:!0,get:function(){return Si.take}});var Zi=a(3534);Object.defineProperty(o,"takeLast",{enumerable:!0,get:function(){return Zi.takeLast}});var ni=a(5716);Object.defineProperty(o,"takeUntil",{enumerable:!0,get:function(){return ni.takeUntil}});var Ji=a(9928);Object.defineProperty(o,"takeWhile",{enumerable:!0,get:function(){return Ji.takeWhile}});var ji=a(6821);Object.defineProperty(o,"tap",{enumerable:!0,get:function(){return ji.tap}});var Ii=a(4330);Object.defineProperty(o,"throttle",{enumerable:!0,get:function(){return Ii.throttle}});var hr=a(4029);Object.defineProperty(o,"throttleTime",{enumerable:!0,get:function(){return hr.throttleTime}});var Xi=a(9194);Object.defineProperty(o,"throwIfEmpty",{enumerable:!0,get:function(){return Xi.throwIfEmpty}});var Bi=a(5904);Object.defineProperty(o,"timeInterval",{enumerable:!0,get:function(){return Bi.timeInterval}});var hi=a(5001);Object.defineProperty(o,"timeout",{enumerable:!0,get:function(){return hi.timeout}});var Vi=a(8308);Object.defineProperty(o,"timeoutWith",{enumerable:!0,get:function(){return Vi.timeoutWith}});var pr=a(250);Object.defineProperty(o,"timestamp",{enumerable:!0,get:function(){return pr.timestamp}});var mr=a(2976);Object.defineProperty(o,"toArray",{enumerable:!0,get:function(){return mr.toArray}});var Wn=a(9374);Object.defineProperty(o,"window",{enumerable:!0,get:function(){return Wn.window}});var qi=a(8427);Object.defineProperty(o,"windowCount",{enumerable:!0,get:function(){return qi.windowCount}});var pi=a(2358);Object.defineProperty(o,"windowTime",{enumerable:!0,get:function(){return pi.windowTime}});var Oi=a(6464);Object.defineProperty(o,"windowToggle",{enumerable:!0,get:function(){return Oi.windowToggle}});var gr=a(5424);Object.defineProperty(o,"windowWhen",{enumerable:!0,get:function(){return gr.windowWhen}});var Pr=a(135);Object.defineProperty(o,"withLatestFrom",{enumerable:!0,get:function(){return Pr.withLatestFrom}});var bn=a(8101);Object.defineProperty(o,"zipAll",{enumerable:!0,get:function(){return bn.zipAll}});var vr=a(9411);Object.defineProperty(o,"zipWith",{enumerable:!0,get:function(){return vr.zipWith}})},7606:function(U,o,a){"use strict";var u,n=this&&this.__extends||(u=function(r,c){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var y in p)Object.prototype.hasOwnProperty.call(p,y)&&(d[y]=p[y])})(r,c)},function(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=r}u(r,c),r.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsyncSubject=void 0;var _=function(u){function r(){var c=null!==u&&u.apply(this,arguments)||this;return c._value=null,c._hasValue=!1,c._isComplete=!1,c}return n(r,u),r.prototype._checkFinalizedStatuses=function(c){var d=this,y=d._hasValue,f=d._value,v=d.isStopped,m=d._isComplete;d.hasError?c.error(d.thrownError):(v||m)&&(y&&c.next(f),c.complete())},r.prototype.next=function(c){this.isStopped||(this._value=c,this._hasValue=!0)},r.prototype.complete=function(){var c=this,d=c._hasValue,p=c._value;c._isComplete||(this._isComplete=!0,d&&u.prototype.next.call(this,p),u.prototype.complete.call(this))},r}(a(3768).Subject);o.AsyncSubject=_},5482:function(U,o,a){"use strict";var u,n=this&&this.__extends||(u=function(r,c){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var y in p)Object.prototype.hasOwnProperty.call(p,y)&&(d[y]=p[y])})(r,c)},function(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=r}u(r,c),r.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)});Object.defineProperty(o,"__esModule",{value:!0}),o.BehaviorSubject=void 0;var _=function(u){function r(c){var d=u.call(this)||this;return d._value=c,d}return n(r,u),Object.defineProperty(r.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),r.prototype._subscribe=function(c){var d=u.prototype._subscribe.call(this,c);return!d.closed&&c.next(this._value),d},r.prototype.getValue=function(){var c=this,y=c._value;if(c.hasError)throw c.thrownError;return this._throwIfClosed(),y},r.prototype.next=function(c){u.prototype.next.call(this,this._value=c)},r}(a(3768).Subject);o.BehaviorSubject=_},7262:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.observeNotification=o.Notification=o.NotificationKind=void 0;var p,n=a(7406),h=a(9677),_=a(338),u=a(7104);(p=o.NotificationKind||(o.NotificationKind={})).NEXT="N",p.ERROR="E",p.COMPLETE="C";var c=function(){function p(y,f,b){this.kind=y,this.value=f,this.error=b,this.hasValue="N"===y}return p.prototype.observe=function(y){return d(this,y)},p.prototype.do=function(y,f,b){var v=this,m=v.kind,M=v.error;return"N"===m?null==y?void 0:y(v.value):"E"===m?null==f?void 0:f(M):null==b?void 0:b()},p.prototype.accept=function(y,f,b){var v;return u.isFunction(null===(v=y)||void 0===v?void 0:v.next)?this.observe(y):this.do(y,f,b)},p.prototype.toObservable=function(){var y=this,f=y.kind,v=y.error,m="N"===f?h.of(y.value):"E"===f?_.throwError(function(){return v}):"C"===f?n.EMPTY:0;if(!m)throw new TypeError("Unexpected notification kind "+f);return m},p.createNext=function(y){return new p("N",y)},p.createError=function(y){return new p("E",void 0,y)},p.createComplete=function(){return p.completeNotification},p.completeNotification=new p("C"),p}();function d(p,y){var f,b,v,C=p.kind,M=p.value,O=p.error;if("string"!=typeof C)throw new TypeError('Invalid notification, missing "kind"');"N"===C?null===(f=y.next)||void 0===f||f.call(y,M):"E"===C?null===(b=y.error)||void 0===b||b.call(y,O):null===(v=y.complete)||void 0===v||v.call(y)}o.Notification=c,o.observeNotification=d},6941:(U,o)=>{"use strict";function h(_,u,r){return{kind:_,value:u,error:r}}Object.defineProperty(o,"__esModule",{value:!0}),o.createNotification=o.nextNotification=o.errorNotification=o.COMPLETE_NOTIFICATION=void 0,o.COMPLETE_NOTIFICATION=h("C",void 0,void 0),o.errorNotification=function a(_){return h("E",void 0,_)},o.nextNotification=function n(_){return h("N",_,void 0)},o.createNotification=h},5821:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Observable=void 0;var n=a(7052),h=a(6448),_=a(1689),u=a(1471),r=a(3570),c=a(7104),d=a(5808),p=function(){function v(m){m&&(this._subscribe=m)}return v.prototype.lift=function(m){var C=new v;return C.source=this,C.operator=m,C},v.prototype.subscribe=function(m,C,M){var O=this,P=function b(v){return v&&v instanceof n.Subscriber||function f(v){return v&&c.isFunction(v.next)&&c.isFunction(v.error)&&c.isFunction(v.complete)}(v)&&h.isSubscription(v)}(m)?m:new n.SafeSubscriber(m,C,M);return d.errorContext(function(){var Q=O.operator,H=O.source;P.add(Q?Q.call(P,H):H?O._subscribe(P):O._trySubscribe(P))}),P},v.prototype._trySubscribe=function(m){try{return this._subscribe(m)}catch(C){m.error(C)}},v.prototype.forEach=function(m,C){var M=this;return new(C=y(C))(function(O,P){var N=new n.SafeSubscriber({next:function(Q){try{m(Q)}catch(H){P(H),N.unsubscribe()}},error:P,complete:O});M.subscribe(N)})},v.prototype._subscribe=function(m){var C;return null===(C=this.source)||void 0===C?void 0:C.subscribe(m)},v.prototype[_.observable]=function(){return this},v.prototype.pipe=function(){for(var m=[],C=0;C<arguments.length;C++)m[C]=arguments[C];return u.pipeFromArray(m)(this)},v.prototype.toPromise=function(m){var C=this;return new(m=y(m))(function(M,O){var P;C.subscribe(function(N){return P=N},function(N){return O(N)},function(){return M(P)})})},v.create=function(m){return new v(m)},v}();function y(v){var m;return null!==(m=null!=v?v:r.config.Promise)&&void 0!==m?m:Promise}o.Observable=p},3406:function(U,o,a){"use strict";var r,n=this&&this.__extends||(r=function(c,d){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,y){p.__proto__=y}||function(p,y){for(var f in y)Object.prototype.hasOwnProperty.call(y,f)&&(p[f]=y[f])})(c,d)},function(c,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function p(){this.constructor=c}r(c,d),c.prototype=null===d?Object.create(d):(p.prototype=d.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.ReplaySubject=void 0;var h=a(3768),_=a(8354),u=function(r){function c(d,p,y){void 0===d&&(d=1/0),void 0===p&&(p=1/0),void 0===y&&(y=_.dateTimestampProvider);var f=r.call(this)||this;return f._bufferSize=d,f._windowTime=p,f._timestampProvider=y,f._buffer=[],f._infiniteTimeWindow=!0,f._infiniteTimeWindow=p===1/0,f._bufferSize=Math.max(1,d),f._windowTime=Math.max(1,p),f}return n(c,r),c.prototype.next=function(d){var p=this,f=p._buffer,b=p._infiniteTimeWindow,v=p._timestampProvider,m=p._windowTime;p.isStopped||(f.push(d),!b&&f.push(v.now()+m)),this._trimBuffer(),r.prototype.next.call(this,d)},c.prototype._subscribe=function(d){this._throwIfClosed(),this._trimBuffer();for(var p=this._innerSubscribe(d),f=this._infiniteTimeWindow,v=this._buffer.slice(),m=0;m<v.length&&!d.closed;m+=f?1:2)d.next(v[m]);return this._checkFinalizedStatuses(d),p},c.prototype._trimBuffer=function(){var d=this,p=d._bufferSize,y=d._timestampProvider,f=d._buffer,b=d._infiniteTimeWindow,v=(b?1:2)*p;if(p<1/0&&v<f.length&&f.splice(0,f.length-v),!b){for(var m=y.now(),C=0,M=1;M<f.length&&f[M]<=m;M+=2)C=M;C&&f.splice(0,C+1)}},c}(h.Subject);o.ReplaySubject=u},2716:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.Scheduler=void 0;var n=a(8354),h=function(){function _(u,r){void 0===r&&(r=_.now),this.schedulerActionCtor=u,this.now=r}return _.prototype.schedule=function(u,r,c){return void 0===r&&(r=0),new this.schedulerActionCtor(this,u).schedule(c,r)},_.now=n.dateTimestampProvider.now,_}();o.Scheduler=h},3768:function(U,o,a){"use strict";var f,n=this&&this.__extends||(f=function(b,v){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,C){m.__proto__=C}||function(m,C){for(var M in C)Object.prototype.hasOwnProperty.call(C,M)&&(m[M]=C[M])})(b,v)},function(b,v){if("function"!=typeof v&&null!==v)throw new TypeError("Class extends value "+String(v)+" is not a constructor or null");function m(){this.constructor=b}f(b,v),b.prototype=null===v?Object.create(v):(m.prototype=v.prototype,new m)}),h=this&&this.__values||function(f){var b="function"==typeof Symbol&&Symbol.iterator,v=b&&f[b],m=0;if(v)return v.call(f);if(f&&"number"==typeof f.length)return{next:function(){return f&&m>=f.length&&(f=void 0),{value:f&&f[m++],done:!f}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.AnonymousSubject=o.Subject=void 0;var _=a(5821),u=a(6448),r=a(3965),c=a(5137),d=a(5808),p=function(f){function b(){var v=f.call(this)||this;return v.closed=!1,v.currentObservers=null,v.observers=[],v.isStopped=!1,v.hasError=!1,v.thrownError=null,v}return n(b,f),b.prototype.lift=function(v){var m=new y(this,this);return m.operator=v,m},b.prototype._throwIfClosed=function(){if(this.closed)throw new r.ObjectUnsubscribedError},b.prototype.next=function(v){var m=this;d.errorContext(function(){var C,M;if(m._throwIfClosed(),!m.isStopped){m.currentObservers||(m.currentObservers=Array.from(m.observers));try{for(var O=h(m.currentObservers),P=O.next();!P.done;P=O.next())P.value.next(v)}catch(Q){C={error:Q}}finally{try{P&&!P.done&&(M=O.return)&&M.call(O)}finally{if(C)throw C.error}}}})},b.prototype.error=function(v){var m=this;d.errorContext(function(){if(m._throwIfClosed(),!m.isStopped){m.hasError=m.isStopped=!0,m.thrownError=v;for(var C=m.observers;C.length;)C.shift().error(v)}})},b.prototype.complete=function(){var v=this;d.errorContext(function(){if(v._throwIfClosed(),!v.isStopped){v.isStopped=!0;for(var m=v.observers;m.length;)m.shift().complete()}})},b.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(b.prototype,"observed",{get:function(){var v;return(null===(v=this.observers)||void 0===v?void 0:v.length)>0},enumerable:!1,configurable:!0}),b.prototype._trySubscribe=function(v){return this._throwIfClosed(),f.prototype._trySubscribe.call(this,v)},b.prototype._subscribe=function(v){return this._throwIfClosed(),this._checkFinalizedStatuses(v),this._innerSubscribe(v)},b.prototype._innerSubscribe=function(v){var m=this,C=this,P=C.observers;return C.hasError||C.isStopped?u.EMPTY_SUBSCRIPTION:(this.currentObservers=null,P.push(v),new u.Subscription(function(){m.currentObservers=null,c.arrRemove(P,v)}))},b.prototype._checkFinalizedStatuses=function(v){var m=this,O=m.isStopped;m.hasError?v.error(m.thrownError):O&&v.complete()},b.prototype.asObservable=function(){var v=new _.Observable;return v.source=this,v},b.create=function(v,m){return new y(v,m)},b}(_.Observable);o.Subject=p;var y=function(f){function b(v,m){var C=f.call(this)||this;return C.destination=v,C.source=m,C}return n(b,f),b.prototype.next=function(v){var m,C;null===(C=null===(m=this.destination)||void 0===m?void 0:m.next)||void 0===C||C.call(m,v)},b.prototype.error=function(v){var m,C;null===(C=null===(m=this.destination)||void 0===m?void 0:m.error)||void 0===C||C.call(m,v)},b.prototype.complete=function(){var v,m;null===(m=null===(v=this.destination)||void 0===v?void 0:v.complete)||void 0===m||m.call(v)},b.prototype._subscribe=function(v){var m,C;return null!==(C=null===(m=this.source)||void 0===m?void 0:m.subscribe(v))&&void 0!==C?C:u.EMPTY_SUBSCRIPTION},b}(p);o.AnonymousSubject=y},7052:function(U,o,a){"use strict";var N,n=this&&this.__extends||(N=function(Q,H){return(N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(G,B){G.__proto__=B}||function(G,B){for(var X in B)Object.prototype.hasOwnProperty.call(B,X)&&(G[X]=B[X])})(Q,H)},function(Q,H){if("function"!=typeof H&&null!==H)throw new TypeError("Class extends value "+String(H)+" is not a constructor or null");function G(){this.constructor=Q}N(Q,H),Q.prototype=null===H?Object.create(H):(G.prototype=H.prototype,new G)});Object.defineProperty(o,"__esModule",{value:!0}),o.EMPTY_OBSERVER=o.SafeSubscriber=o.Subscriber=void 0;var h=a(7104),_=a(6448),u=a(3570),r=a(4709),c=a(31),d=a(6941),p=a(3914),y=a(5808),f=function(N){function Q(H){var G=N.call(this)||this;return G.isStopped=!1,H?(G.destination=H,_.isSubscription(H)&&H.add(G)):G.destination=o.EMPTY_OBSERVER,G}return n(Q,N),Q.create=function(H,G,B){return new C(H,G,B)},Q.prototype.next=function(H){this.isStopped?P(d.nextNotification(H),this):this._next(H)},Q.prototype.error=function(H){this.isStopped?P(d.errorNotification(H),this):(this.isStopped=!0,this._error(H))},Q.prototype.complete=function(){this.isStopped?P(d.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},Q.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,N.prototype.unsubscribe.call(this),this.destination=null)},Q.prototype._next=function(H){this.destination.next(H)},Q.prototype._error=function(H){try{this.destination.error(H)}finally{this.unsubscribe()}},Q.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Q}(_.Subscription);o.Subscriber=f;var b=Function.prototype.bind;function v(N,Q){return b.call(N,Q)}var m=function(){function N(Q){this.partialObserver=Q}return N.prototype.next=function(Q){var H=this.partialObserver;if(H.next)try{H.next(Q)}catch(G){M(G)}},N.prototype.error=function(Q){var H=this.partialObserver;if(H.error)try{H.error(Q)}catch(G){M(G)}else M(Q)},N.prototype.complete=function(){var Q=this.partialObserver;if(Q.complete)try{Q.complete()}catch(H){M(H)}},N}(),C=function(N){function Q(H,G,B){var oe,pe,X=N.call(this)||this;return h.isFunction(H)||!H?oe={next:null!=H?H:void 0,error:null!=G?G:void 0,complete:null!=B?B:void 0}:X&&u.config.useDeprecatedNextContext?((pe=Object.create(H)).unsubscribe=function(){return X.unsubscribe()},oe={next:H.next&&v(H.next,pe),error:H.error&&v(H.error,pe),complete:H.complete&&v(H.complete,pe)}):oe=H,X.destination=new m(oe),X}return n(Q,N),Q}(f);function M(N){u.config.useDeprecatedSynchronousErrorHandling?y.captureError(N):r.reportUnhandledError(N)}function P(N,Q){var H=u.config.onStoppedNotification;H&&p.timeoutProvider.setTimeout(function(){return H(N,Q)})}o.SafeSubscriber=C,o.EMPTY_OBSERVER={closed:!0,next:c.noop,error:function O(N){throw N},complete:c.noop}},6448:function(U,o,a){"use strict";var n=this&&this.__values||function(f){var b="function"==typeof Symbol&&Symbol.iterator,v=b&&f[b],m=0;if(v)return v.call(f);if(f&&"number"==typeof f.length)return{next:function(){return f&&m>=f.length&&(f=void 0),{value:f&&f[m++],done:!f}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")},h=this&&this.__read||function(f,b){var v="function"==typeof Symbol&&f[Symbol.iterator];if(!v)return f;var C,O,m=v.call(f),M=[];try{for(;(void 0===b||b-- >0)&&!(C=m.next()).done;)M.push(C.value)}catch(P){O={error:P}}finally{try{C&&!C.done&&(v=m.return)&&v.call(m)}finally{if(O)throw O.error}}return M},_=this&&this.__spreadArray||function(f,b){for(var v=0,m=b.length,C=f.length;v<m;v++,C++)f[C]=b[v];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.isSubscription=o.EMPTY_SUBSCRIPTION=o.Subscription=void 0;var u=a(7104),r=a(4970),c=a(5137),d=function(){function f(b){this.initialTeardown=b,this.closed=!1,this._parentage=null,this._finalizers=null}return f.prototype.unsubscribe=function(){var b,v,m,C,M;if(!this.closed){this.closed=!0;var O=this._parentage;if(O)if(this._parentage=null,Array.isArray(O))try{for(var P=n(O),N=P.next();!N.done;N=P.next())N.value.remove(this)}catch(pe){b={error:pe}}finally{try{N&&!N.done&&(v=P.return)&&v.call(P)}finally{if(b)throw b.error}}else O.remove(this);var H=this.initialTeardown;if(u.isFunction(H))try{H()}catch(pe){M=pe instanceof r.UnsubscriptionError?pe.errors:[pe]}var G=this._finalizers;if(G){this._finalizers=null;try{for(var B=n(G),X=B.next();!X.done;X=B.next()){var oe=X.value;try{y(oe)}catch(pe){M=null!=M?M:[],pe instanceof r.UnsubscriptionError?M=_(_([],h(M)),h(pe.errors)):M.push(pe)}}}catch(pe){m={error:pe}}finally{try{X&&!X.done&&(C=B.return)&&C.call(B)}finally{if(m)throw m.error}}}if(M)throw new r.UnsubscriptionError(M)}},f.prototype.add=function(b){var v;if(b&&b!==this)if(this.closed)y(b);else{if(b instanceof f){if(b.closed||b._hasParent(this))return;b._addParent(this)}(this._finalizers=null!==(v=this._finalizers)&&void 0!==v?v:[]).push(b)}},f.prototype._hasParent=function(b){var v=this._parentage;return v===b||Array.isArray(v)&&v.includes(b)},f.prototype._addParent=function(b){var v=this._parentage;this._parentage=Array.isArray(v)?(v.push(b),v):v?[v,b]:b},f.prototype._removeParent=function(b){var v=this._parentage;v===b?this._parentage=null:Array.isArray(v)&&c.arrRemove(v,b)},f.prototype.remove=function(b){var v=this._finalizers;v&&c.arrRemove(v,b),b instanceof f&&b._removeParent(this)},f.EMPTY=((b=new f).closed=!0,b),f;var b}();function y(f){u.isFunction(f)?f():f.unsubscribe()}o.Subscription=d,o.EMPTY_SUBSCRIPTION=d.EMPTY,o.isSubscription=function p(f){return f instanceof d||f&&"closed"in f&&u.isFunction(f.remove)&&u.isFunction(f.add)&&u.isFunction(f.unsubscribe)}},3570:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.config=void 0,o.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},5754:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.firstValueFrom=void 0;var n=a(8915),h=a(7052);o.firstValueFrom=function _(u,r){var c="object"==typeof r;return new Promise(function(d,p){var y=new h.SafeSubscriber({next:function(f){d(f),y.unsubscribe()},error:p,complete:function(){c?d(r.defaultValue):p(new n.EmptyError)}});u.subscribe(y)})}},5257:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.lastValueFrom=void 0;var n=a(8915);o.lastValueFrom=function h(_,u){var r="object"==typeof u;return new Promise(function(c,d){var y,p=!1;_.subscribe({next:function(f){y=f,p=!0},error:d,complete:function(){p?c(y):r?c(u.defaultValue):d(new n.EmptyError)}})})}},6686:function(U,o,a){"use strict";var p,n=this&&this.__extends||(p=function(y,f){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,v){b.__proto__=v}||function(b,v){for(var m in v)Object.prototype.hasOwnProperty.call(v,m)&&(b[m]=v[m])})(y,f)},function(y,f){if("function"!=typeof f&&null!==f)throw new TypeError("Class extends value "+String(f)+" is not a constructor or null");function b(){this.constructor=y}p(y,f),y.prototype=null===f?Object.create(f):(b.prototype=f.prototype,new b)});Object.defineProperty(o,"__esModule",{value:!0}),o.ConnectableObservable=void 0;var h=a(5821),_=a(6448),u=a(904),r=a(3173),c=a(9216),d=function(p){function y(f,b){var v=p.call(this)||this;return v.source=f,v.subjectFactory=b,v._subject=null,v._refCount=0,v._connection=null,c.hasLift(f)&&(v.lift=f.lift),v}return n(y,p),y.prototype._subscribe=function(f){return this.getSubject().subscribe(f)},y.prototype.getSubject=function(){var f=this._subject;return(!f||f.isStopped)&&(this._subject=this.subjectFactory()),this._subject},y.prototype._teardown=function(){this._refCount=0;var f=this._connection;this._subject=this._connection=null,null==f||f.unsubscribe()},y.prototype.connect=function(){var f=this,b=this._connection;if(!b){b=this._connection=new _.Subscription;var v=this.getSubject();b.add(this.source.subscribe(r.createOperatorSubscriber(v,void 0,function(){f._teardown(),v.complete()},function(m){f._teardown(),v.error(m)},function(){return f._teardown()}))),b.closed&&(this._connection=null,b=_.Subscription.EMPTY)}return b},y.prototype.refCount=function(){return u.refCount()(this)},y}(h.Observable);o.ConnectableObservable=d},7532:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.bindCallback=void 0;var n=a(4832);o.bindCallback=function h(_,u,r){return n.bindCallbackInternals(!1,_,u,r)}},4832:function(U,o,a){"use strict";var n=this&&this.__read||function(f,b){var v="function"==typeof Symbol&&f[Symbol.iterator];if(!v)return f;var C,O,m=v.call(f),M=[];try{for(;(void 0===b||b-- >0)&&!(C=m.next()).done;)M.push(C.value)}catch(P){O={error:P}}finally{try{C&&!C.done&&(v=m.return)&&v.call(m)}finally{if(O)throw O.error}}return M},h=this&&this.__spreadArray||function(f,b){for(var v=0,m=b.length,C=f.length;v<m;v++,C++)f[C]=b[v];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.bindCallbackInternals=void 0;var _=a(1875),u=a(5821),r=a(1698),c=a(5280),d=a(4928),p=a(7606);o.bindCallbackInternals=function y(f,b,v,m){if(v){if(!_.isScheduler(v))return function(){for(var C=[],M=0;M<arguments.length;M++)C[M]=arguments[M];return y(f,b,m).apply(this,C).pipe(c.mapOneOrManyArgs(v))};m=v}return m?function(){for(var C=[],M=0;M<arguments.length;M++)C[M]=arguments[M];return y(f,b).apply(this,C).pipe(r.subscribeOn(m),d.observeOn(m))}:function(){for(var C=this,M=[],O=0;O<arguments.length;O++)M[O]=arguments[O];var P=new p.AsyncSubject,N=!0;return new u.Observable(function(Q){var H=P.subscribe(Q);if(N){N=!1;var G=!1,B=!1;b.apply(C,h(h([],n(M)),[function(){for(var X=[],oe=0;oe<arguments.length;oe++)X[oe]=arguments[oe];if(f){var pe=X.shift();if(null!=pe)return void P.error(pe)}P.next(1<X.length?X:X[0]),B=!0,G&&P.complete()}])),B&&P.complete(),G=!0}return H})}}},3488:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.bindNodeCallback=void 0;var n=a(4832);o.bindNodeCallback=function h(_,u,r){return n.bindCallbackInternals(!0,_,u,r)}},6892:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatestInit=o.combineLatest=void 0;var n=a(5821),h=a(9923),_=a(4996),u=a(7884),r=a(5280),c=a(1642),d=a(7598),p=a(3173),y=a(2590);function b(m,C,M){return void 0===M&&(M=u.identity),function(O){v(C,function(){for(var P=m.length,N=new Array(P),Q=P,H=P,G=function(X){v(C,function(){var oe=_.from(m[X],C),pe=!1;oe.subscribe(p.createOperatorSubscriber(O,function(Fe){N[X]=Fe,pe||(pe=!0,H--),H||O.next(M(N.slice()))},function(){--Q||O.complete()}))},O)},B=0;B<P;B++)G(B)},O)}}function v(m,C,M){m?y.executeSchedule(M,m,C):C()}o.combineLatest=function f(){for(var m=[],C=0;C<arguments.length;C++)m[C]=arguments[C];var M=c.popScheduler(m),O=c.popResultSelector(m),P=h.argsArgArrayOrObject(m),N=P.args,Q=P.keys;if(0===N.length)return _.from([],M);var H=new n.Observable(b(N,M,Q?function(G){return d.createObject(Q,G)}:u.identity));return O?H.pipe(r.mapOneOrManyArgs(O)):H},o.combineLatestInit=b},509:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concat=void 0;var n=a(739),h=a(1642),_=a(4996);o.concat=function u(){for(var r=[],c=0;c<arguments.length;c++)r[c]=arguments[c];return n.concatAll()(_.from(r,h.popScheduler(r)))}},9190:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.connectable=void 0;var n=a(3768),h=a(5821),_=a(9954),u={connector:function(){return new n.Subject},resetOnDisconnect:!0};o.connectable=function r(c,d){void 0===d&&(d=u);var p=null,y=d.connector,f=d.resetOnDisconnect,b=void 0===f||f,v=y(),m=new h.Observable(function(C){return v.subscribe(C)});return m.connect=function(){return(!p||p.closed)&&(p=_.defer(function(){return c}).subscribe(v),b&&p.add(function(){return v=y()})),p},m}},9954:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.defer=void 0;var n=a(5821),h=a(8767);o.defer=function _(u){return new n.Observable(function(r){h.innerFrom(u()).subscribe(r)})}},2946:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.animationFrames=void 0;var n=a(5821),h=a(1038),_=a(6343);function r(d){return new n.Observable(function(p){var y=d||h.performanceTimestampProvider,f=y.now(),b=0,v=function(){p.closed||(b=_.animationFrameProvider.requestAnimationFrame(function(m){b=0;var C=y.now();p.next({timestamp:d?C:m,elapsed:C-f}),v()}))};return v(),function(){b&&_.animationFrameProvider.cancelAnimationFrame(b)}})}o.animationFrames=function u(d){return d?r(d):c};var c=r()},7406:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.empty=o.EMPTY=void 0;var n=a(5821);o.EMPTY=new n.Observable(function(u){return u.complete()}),o.empty=function h(u){return u?function _(u){return new n.Observable(function(r){return u.schedule(function(){return r.complete()})})}(u):o.EMPTY}},7928:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.forkJoin=void 0;var n=a(5821),h=a(9923),_=a(8767),u=a(1642),r=a(3173),c=a(5280),d=a(7598);o.forkJoin=function p(){for(var y=[],f=0;f<arguments.length;f++)y[f]=arguments[f];var b=u.popResultSelector(y),v=h.argsArgArrayOrObject(y),m=v.args,C=v.keys,M=new n.Observable(function(O){var P=m.length;if(P)for(var N=new Array(P),Q=P,H=P,G=function(X){var oe=!1;_.innerFrom(m[X]).subscribe(r.createOperatorSubscriber(O,function(pe){oe||(oe=!0,H--),N[X]=pe},function(){return Q--},void 0,function(){(!Q||!oe)&&(H||O.next(C?d.createObject(C,N):N),O.complete())}))},B=0;B<P;B++)G(B);else O.complete()});return b?M.pipe(c.mapOneOrManyArgs(b)):M}},4996:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.from=void 0;var n=a(9341),h=a(8767);o.from=function _(u,r){return r?n.scheduled(u,r):h.innerFrom(u)}},2579:function(U,o,a){"use strict";var n=this&&this.__read||function(O,P){var N="function"==typeof Symbol&&O[Symbol.iterator];if(!N)return O;var H,B,Q=N.call(O),G=[];try{for(;(void 0===P||P-- >0)&&!(H=Q.next()).done;)G.push(H.value)}catch(X){B={error:X}}finally{try{H&&!H.done&&(N=Q.return)&&N.call(Q)}finally{if(B)throw B.error}}return G};Object.defineProperty(o,"__esModule",{value:!0}),o.fromEvent=void 0;var h=a(8767),_=a(5821),u=a(3010),r=a(697),c=a(7104),d=a(5280),p=["addListener","removeListener"],y=["addEventListener","removeEventListener"],f=["on","off"];function v(O,P){return function(N){return function(Q){return O[N](P,Q)}}}o.fromEvent=function b(O,P,N,Q){if(c.isFunction(N)&&(Q=N,N=void 0),Q)return b(O,P,N).pipe(d.mapOneOrManyArgs(Q));var H=n(function M(O){return c.isFunction(O.addEventListener)&&c.isFunction(O.removeEventListener)}(O)?y.map(function(X){return function(oe){return O[X](P,oe,N)}}):function m(O){return c.isFunction(O.addListener)&&c.isFunction(O.removeListener)}(O)?p.map(v(O,P)):function C(O){return c.isFunction(O.on)&&c.isFunction(O.off)}(O)?f.map(v(O,P)):[],2),G=H[0],B=H[1];if(!G&&r.isArrayLike(O))return u.mergeMap(function(X){return b(X,P,N)})(h.innerFrom(O));if(!G)throw new TypeError("Invalid event target");return new _.Observable(function(X){var oe=function(){for(var pe=[],Fe=0;Fe<arguments.length;Fe++)pe[Fe]=arguments[Fe];return X.next(1<pe.length?pe:pe[0])};return G(oe),function(){return B(oe)}})}},3975:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.fromEventPattern=void 0;var n=a(5821),h=a(7104),_=a(5280);o.fromEventPattern=function u(r,c,d){return d?u(r,c).pipe(_.mapOneOrManyArgs(d)):new n.Observable(function(p){var y=function(){for(var b=[],v=0;v<arguments.length;v++)b[v]=arguments[v];return p.next(1===b.length?b[0]:b)},f=r(y);return h.isFunction(c)?function(){return c(y,f)}:void 0})}},5107:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.fromSubscribable=void 0;var n=a(5821);o.fromSubscribable=function h(_){return new n.Observable(function(u){return _.subscribe(u)})}},4318:function(U,o,a){"use strict";var n=this&&this.__generator||function(d,p){var f,b,v,m,y={label:0,sent:function(){if(1&v[0])throw v[1];return v[1]},trys:[],ops:[]};return m={next:C(0),throw:C(1),return:C(2)},"function"==typeof Symbol&&(m[Symbol.iterator]=function(){return this}),m;function C(O){return function(P){return function M(O){if(f)throw new TypeError("Generator is already executing.");for(;y;)try{if(f=1,b&&(v=2&O[0]?b.return:O[0]?b.throw||((v=b.return)&&v.call(b),0):b.next)&&!(v=v.call(b,O[1])).done)return v;switch(b=0,v&&(O=[2&O[0],v.value]),O[0]){case 0:case 1:v=O;break;case 4:return y.label++,{value:O[1],done:!1};case 5:y.label++,b=O[1],O=[0];continue;case 7:O=y.ops.pop(),y.trys.pop();continue;default:if(!(v=(v=y.trys).length>0&&v[v.length-1])&&(6===O[0]||2===O[0])){y=0;continue}if(3===O[0]&&(!v||O[1]>v[0]&&O[1]<v[3])){y.label=O[1];break}if(6===O[0]&&y.label<v[1]){y.label=v[1],v=O;break}if(v&&y.label<v[2]){y.label=v[2],y.ops.push(O);break}v[2]&&y.ops.pop(),y.trys.pop();continue}O=p.call(d,y)}catch(P){O=[6,P],b=0}finally{f=v=0}if(5&O[0])throw O[1];return{value:O[0]?O[1]:void 0,done:!0}}([O,P])}}};Object.defineProperty(o,"__esModule",{value:!0}),o.generate=void 0;var h=a(7884),_=a(1875),u=a(9954),r=a(9049);o.generate=function c(d,p,y,f,b){var v,m,C,M;function O(){var P;return n(this,function(N){switch(N.label){case 0:P=M,N.label=1;case 1:return!p||p(P)?[4,C(P)]:[3,4];case 2:N.sent(),N.label=3;case 3:return P=y(P),[3,1];case 4:return[2]}})}return 1===arguments.length?(M=(v=d).initialState,p=v.condition,y=v.iterate,C=void 0===(m=v.resultSelector)?h.identity:m,b=v.scheduler):(M=d,!f||_.isScheduler(f)?(C=h.identity,b=f):C=f),u.defer(b?function(){return r.scheduleIterable(O(),b)}:O)}},3140:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.iif=void 0;var n=a(9954);o.iif=function h(_,u,r){return n.defer(function(){return _()?u:r})}},8767:function(U,o,a){"use strict";var n=this&&this.__awaiter||function(oe,pe,Fe,it){return new(Fe||(Fe=Promise))(function(q,V){function te(K){try{Oe(it.next(K))}catch(ie){V(ie)}}function Ee(K){try{Oe(it.throw(K))}catch(ie){V(ie)}}function Oe(K){K.done?q(K.value):function z(q){return q instanceof Fe?q:new Fe(function(V){V(q)})}(K.value).then(te,Ee)}Oe((it=it.apply(oe,pe||[])).next())})},h=this&&this.__generator||function(oe,pe){var it,z,q,V,Fe={label:0,sent:function(){if(1&q[0])throw q[1];return q[1]},trys:[],ops:[]};return V={next:te(0),throw:te(1),return:te(2)},"function"==typeof Symbol&&(V[Symbol.iterator]=function(){return this}),V;function te(Oe){return function(K){return function Ee(Oe){if(it)throw new TypeError("Generator is already executing.");for(;Fe;)try{if(it=1,z&&(q=2&Oe[0]?z.return:Oe[0]?z.throw||((q=z.return)&&q.call(z),0):z.next)&&!(q=q.call(z,Oe[1])).done)return q;switch(z=0,q&&(Oe=[2&Oe[0],q.value]),Oe[0]){case 0:case 1:q=Oe;break;case 4:return Fe.label++,{value:Oe[1],done:!1};case 5:Fe.label++,z=Oe[1],Oe=[0];continue;case 7:Oe=Fe.ops.pop(),Fe.trys.pop();continue;default:if(!(q=(q=Fe.trys).length>0&&q[q.length-1])&&(6===Oe[0]||2===Oe[0])){Fe=0;continue}if(3===Oe[0]&&(!q||Oe[1]>q[0]&&Oe[1]<q[3])){Fe.label=Oe[1];break}if(6===Oe[0]&&Fe.label<q[1]){Fe.label=q[1],q=Oe;break}if(q&&Fe.label<q[2]){Fe.label=q[2],Fe.ops.push(Oe);break}q[2]&&Fe.ops.pop(),Fe.trys.pop();continue}Oe=pe.call(oe,Fe)}catch(K){Oe=[6,K],z=0}finally{it=q=0}if(5&Oe[0])throw Oe[1];return{value:Oe[0]?Oe[1]:void 0,done:!0}}([Oe,K])}}},_=this&&this.__asyncValues||function(oe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Fe,pe=oe[Symbol.asyncIterator];return pe?pe.call(oe):(oe="function"==typeof u?u(oe):oe[Symbol.iterator](),Fe={},it("next"),it("throw"),it("return"),Fe[Symbol.asyncIterator]=function(){return this},Fe);function it(q){Fe[q]=oe[q]&&function(V){return new Promise(function(te,Ee){!function z(q,V,te,Ee){Promise.resolve(Ee).then(function(Oe){q({value:Oe,done:te})},V)}(te,Ee,(V=oe[q](V)).done,V.value)})}}},u=this&&this.__values||function(oe){var pe="function"==typeof Symbol&&Symbol.iterator,Fe=pe&&oe[pe],it=0;if(Fe)return Fe.call(oe);if(oe&&"number"==typeof oe.length)return{next:function(){return oe&&it>=oe.length&&(oe=void 0),{value:oe&&oe[it++],done:!oe}}};throw new TypeError(pe?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.fromReadableStreamLike=o.fromAsyncIterable=o.fromIterable=o.fromPromise=o.fromArrayLike=o.fromInteropObservable=o.innerFrom=void 0;var r=a(697),c=a(5050),d=a(5821),p=a(7454),y=a(6175),f=a(6870),b=a(5431),v=a(7128),m=a(7104),C=a(4709),M=a(1689);function P(oe){return new d.Observable(function(pe){var Fe=oe[M.observable]();if(m.isFunction(Fe.subscribe))return Fe.subscribe(pe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function N(oe){return new d.Observable(function(pe){for(var Fe=0;Fe<oe.length&&!pe.closed;Fe++)pe.next(oe[Fe]);pe.complete()})}function Q(oe){return new d.Observable(function(pe){oe.then(function(Fe){pe.closed||(pe.next(Fe),pe.complete())},function(Fe){return pe.error(Fe)}).then(null,C.reportUnhandledError)})}function H(oe){return new d.Observable(function(pe){var Fe,it;try{for(var z=u(oe),q=z.next();!q.done;q=z.next())if(pe.next(q.value),pe.closed)return}catch(te){Fe={error:te}}finally{try{q&&!q.done&&(it=z.return)&&it.call(z)}finally{if(Fe)throw Fe.error}}pe.complete()})}function G(oe){return new d.Observable(function(pe){(function X(oe,pe){var Fe,it,z,q;return n(this,void 0,void 0,function(){var te;return h(this,function(Ee){switch(Ee.label){case 0:Ee.trys.push([0,5,6,11]),Fe=_(oe),Ee.label=1;case 1:return[4,Fe.next()];case 2:if((it=Ee.sent()).done)return[3,4];if(pe.next(it.value),pe.closed)return[2];Ee.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return te=Ee.sent(),z={error:te},[3,11];case 6:return Ee.trys.push([6,,9,10]),it&&!it.done&&(q=Fe.return)?[4,q.call(Fe)]:[3,8];case 7:Ee.sent(),Ee.label=8;case 8:return[3,10];case 9:if(z)throw z.error;return[7];case 10:return[7];case 11:return pe.complete(),[2]}})})})(oe,pe).catch(function(Fe){return pe.error(Fe)})})}function B(oe){return G(v.readableStreamLikeToAsyncGenerator(oe))}o.innerFrom=function O(oe){if(oe instanceof d.Observable)return oe;if(null!=oe){if(p.isInteropObservable(oe))return P(oe);if(r.isArrayLike(oe))return N(oe);if(c.isPromise(oe))return Q(oe);if(y.isAsyncIterable(oe))return G(oe);if(b.isIterable(oe))return H(oe);if(v.isReadableStreamLike(oe))return B(oe)}throw f.createInvalidObservableTypeError(oe)},o.fromInteropObservable=P,o.fromArrayLike=N,o.fromPromise=Q,o.fromIterable=H,o.fromAsyncIterable=G,o.fromReadableStreamLike=B},1836:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.interval=void 0;var n=a(4006),h=a(3271);o.interval=function _(u,r){return void 0===u&&(u=0),void 0===r&&(r=n.asyncScheduler),u<0&&(u=0),h.timer(u,u,r)}},9248:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.merge=void 0;var n=a(3917),h=a(8767),_=a(7406),u=a(1642),r=a(4996);o.merge=function c(){for(var d=[],p=0;p<arguments.length;p++)d[p]=arguments[p];var y=u.popScheduler(d),f=u.popNumber(d,1/0),b=d;return b.length?1===b.length?h.innerFrom(b[0]):n.mergeAll(f)(r.from(b,y)):_.EMPTY}},2818:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.never=o.NEVER=void 0;var n=a(5821),h=a(31);o.NEVER=new n.Observable(h.noop),o.never=function _(){return o.NEVER}},9677:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.of=void 0;var n=a(1642),h=a(4996);o.of=function _(){for(var u=[],r=0;r<arguments.length;r++)u[r]=arguments[r];var c=n.popScheduler(u);return h.from(u,c)}},9978:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.onErrorResumeNext=void 0;var n=a(7406),h=a(2158),_=a(3531);o.onErrorResumeNext=function u(){for(var r=[],c=0;c<arguments.length;c++)r[c]=arguments[c];return h.onErrorResumeNext(_.argsOrArgArray(r))(n.EMPTY)}},5519:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pairs=void 0;var n=a(4996);o.pairs=function h(_,u){return n.from(Object.entries(_),u)}},8221:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.partition=void 0;var n=a(963),h=a(4270),_=a(8767);o.partition=function u(r,c,d){return[h.filter(c,d)(_.innerFrom(r)),h.filter(n.not(c,d))(_.innerFrom(r))]}},8181:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.raceInit=o.race=void 0;var n=a(5821),h=a(8767),_=a(3531),u=a(3173);function c(d){return function(p){for(var y=[],f=function(v){y.push(h.innerFrom(d[v]).subscribe(u.createOperatorSubscriber(p,function(m){if(y){for(var C=0;C<y.length;C++)C!==v&&y[C].unsubscribe();y=null}p.next(m)})))},b=0;y&&!p.closed&&b<d.length;b++)f(b)}}o.race=function r(){for(var d=[],p=0;p<arguments.length;p++)d[p]=arguments[p];return 1===(d=_.argsOrArgArray(d)).length?h.innerFrom(d[0]):new n.Observable(c(d))},o.raceInit=c},4622:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.range=void 0;var n=a(5821),h=a(7406);o.range=function _(u,r,c){if(null==r&&(r=u,u=0),r<=0)return h.EMPTY;var d=r+u;return new n.Observable(c?function(p){var y=u;return c.schedule(function(){y<d?(p.next(y++),this.schedule()):p.complete()})}:function(p){for(var y=u;y<d&&!p.closed;)p.next(y++);p.complete()})}},338:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throwError=void 0;var n=a(5821),h=a(7104);o.throwError=function _(u,r){var c=h.isFunction(u)?u:function(){return u},d=function(p){return p.error(c())};return new n.Observable(r?function(p){return r.schedule(d,0,p)}:d)}},3271:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timer=void 0;var n=a(5821),h=a(4006),_=a(1875),u=a(7323);o.timer=function r(c,d,p){void 0===c&&(c=0),void 0===p&&(p=h.async);var y=-1;return null!=d&&(_.isScheduler(d)?p=d:y=d),new n.Observable(function(f){var b=u.isValidDate(c)?+c-p.now():c;b<0&&(b=0);var v=0;return p.schedule(function(){f.closed||(f.next(v++),0<=y?this.schedule(void 0,y):f.complete())},b)})}},924:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.using=void 0;var n=a(5821),h=a(8767),_=a(7406);o.using=function u(r,c){return new n.Observable(function(d){var p=r(),y=c(p);return(y?h.innerFrom(y):_.EMPTY).subscribe(d),function(){p&&p.unsubscribe()}})}},4842:function(U,o,a){"use strict";var n=this&&this.__read||function(f,b){var v="function"==typeof Symbol&&f[Symbol.iterator];if(!v)return f;var C,O,m=v.call(f),M=[];try{for(;(void 0===b||b-- >0)&&!(C=m.next()).done;)M.push(C.value)}catch(P){O={error:P}}finally{try{C&&!C.done&&(v=m.return)&&v.call(m)}finally{if(O)throw O.error}}return M},h=this&&this.__spreadArray||function(f,b){for(var v=0,m=b.length,C=f.length;v<m;v++,C++)f[C]=b[v];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.zip=void 0;var _=a(5821),u=a(8767),r=a(3531),c=a(7406),d=a(3173),p=a(1642);o.zip=function y(){for(var f=[],b=0;b<arguments.length;b++)f[b]=arguments[b];var v=p.popResultSelector(f),m=r.argsOrArgArray(f);return m.length?new _.Observable(function(C){var M=m.map(function(){return[]}),O=m.map(function(){return!1});C.add(function(){M=O=null});for(var P=function(Q){u.innerFrom(m[Q]).subscribe(d.createOperatorSubscriber(C,function(H){if(M[Q].push(H),M.every(function(B){return B.length})){var G=M.map(function(B){return B.shift()});C.next(v?v.apply(void 0,h([],n(G))):G),M.some(function(B,X){return!B.length&&O[X]})&&C.complete()}},function(){O[Q]=!0,!M[Q].length&&C.complete()}))},N=0;!C.closed&&N<m.length;N++)P(N);return function(){M=O=null}}):c.EMPTY}},3173:function(U,o,a){"use strict";var r,n=this&&this.__extends||(r=function(c,d){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,y){p.__proto__=y}||function(p,y){for(var f in y)Object.prototype.hasOwnProperty.call(y,f)&&(p[f]=y[f])})(c,d)},function(c,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function p(){this.constructor=c}r(c,d),c.prototype=null===d?Object.create(d):(p.prototype=d.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.OperatorSubscriber=o.createOperatorSubscriber=void 0;var h=a(7052);o.createOperatorSubscriber=function _(r,c,d,p,y){return new u(r,c,d,p,y)};var u=function(r){function c(d,p,y,f,b,v){var m=r.call(this,d)||this;return m.onFinalize=b,m.shouldUnsubscribe=v,m._next=p?function(C){try{p(C)}catch(M){d.error(M)}}:r.prototype._next,m._error=f?function(C){try{f(C)}catch(M){d.error(M)}finally{this.unsubscribe()}}:r.prototype._error,m._complete=y?function(){try{y()}catch(C){d.error(C)}finally{this.unsubscribe()}}:r.prototype._complete,m}return n(c,r),c.prototype.unsubscribe=function(){var d;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var p=this.closed;r.prototype.unsubscribe.call(this),!p&&(null===(d=this.onFinalize)||void 0===d||d.call(this))}},c}(h.Subscriber);o.OperatorSubscriber=u},4815:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.audit=void 0;var n=a(9216),h=a(8767),_=a(3173);o.audit=function u(r){return n.operate(function(c,d){var p=!1,y=null,f=null,b=!1,v=function(){if(null==f||f.unsubscribe(),f=null,p){p=!1;var C=y;y=null,d.next(C)}b&&d.complete()},m=function(){f=null,b&&d.complete()};c.subscribe(_.createOperatorSubscriber(d,function(C){p=!0,y=C,f||h.innerFrom(r(C)).subscribe(f=_.createOperatorSubscriber(d,v,m))},function(){b=!0,(!p||!f||f.closed)&&d.complete()}))})}},9034:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.auditTime=void 0;var n=a(4006),h=a(4815),_=a(3271);o.auditTime=function u(r,c){return void 0===c&&(c=n.asyncScheduler),h.audit(function(){return _.timer(r,c)})}},8544:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.buffer=void 0;var n=a(9216),h=a(31),_=a(3173);o.buffer=function u(r){return n.operate(function(c,d){var p=[];return c.subscribe(_.createOperatorSubscriber(d,function(y){return p.push(y)},function(){d.next(p),d.complete()})),r.subscribe(_.createOperatorSubscriber(d,function(){var y=p;p=[],d.next(y)},h.noop)),function(){p=null}})}},3999:function(U,o,a){"use strict";var n=this&&this.__values||function(c){var d="function"==typeof Symbol&&Symbol.iterator,p=d&&c[d],y=0;if(p)return p.call(c);if(c&&"number"==typeof c.length)return{next:function(){return c&&y>=c.length&&(c=void 0),{value:c&&c[y++],done:!c}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.bufferCount=void 0;var h=a(9216),_=a(3173),u=a(5137);o.bufferCount=function r(c,d){return void 0===d&&(d=null),d=null!=d?d:c,h.operate(function(p,y){var f=[],b=0;p.subscribe(_.createOperatorSubscriber(y,function(v){var m,C,M,O,P=null;b++%d==0&&f.push([]);try{for(var N=n(f),Q=N.next();!Q.done;Q=N.next())(H=Q.value).push(v),c<=H.length&&(P=null!=P?P:[]).push(H)}catch(X){m={error:X}}finally{try{Q&&!Q.done&&(C=N.return)&&C.call(N)}finally{if(m)throw m.error}}if(P)try{for(var G=n(P),B=G.next();!B.done;B=G.next()){var H;u.arrRemove(f,H=B.value),y.next(H)}}catch(X){M={error:X}}finally{try{B&&!B.done&&(O=G.return)&&O.call(G)}finally{if(M)throw M.error}}},function(){var v,m;try{for(var C=n(f),M=C.next();!M.done;M=C.next())y.next(M.value)}catch(P){v={error:P}}finally{try{M&&!M.done&&(m=C.return)&&m.call(C)}finally{if(v)throw v.error}}y.complete()},void 0,function(){f=null}))})}},1392:function(U,o,a){"use strict";var n=this&&this.__values||function(f){var b="function"==typeof Symbol&&Symbol.iterator,v=b&&f[b],m=0;if(v)return v.call(f);if(f&&"number"==typeof f.length)return{next:function(){return f&&m>=f.length&&(f=void 0),{value:f&&f[m++],done:!f}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.bufferTime=void 0;var h=a(6448),_=a(9216),u=a(3173),r=a(5137),c=a(4006),d=a(1642),p=a(2590);o.bufferTime=function y(f){for(var b,v,m=[],C=1;C<arguments.length;C++)m[C-1]=arguments[C];var M=null!==(b=d.popScheduler(m))&&void 0!==b?b:c.asyncScheduler,O=null!==(v=m[0])&&void 0!==v?v:null,P=m[1]||1/0;return _.operate(function(N,Q){var H=[],G=!1,B=function(pe){var Fe=pe.buffer;pe.subs.unsubscribe(),r.arrRemove(H,pe),Q.next(Fe),G&&X()},X=function(){if(H){var pe=new h.Subscription;Q.add(pe);var it={buffer:[],subs:pe};H.push(it),p.executeSchedule(pe,M,function(){return B(it)},f)}};null!==O&&O>=0?p.executeSchedule(Q,M,X,O,!0):G=!0,X();var oe=u.createOperatorSubscriber(Q,function(pe){var Fe,it,z=H.slice();try{for(var q=n(z),V=q.next();!V.done;V=q.next()){var te=V.value,Ee=te.buffer;Ee.push(pe),P<=Ee.length&&B(te)}}catch(Oe){Fe={error:Oe}}finally{try{V&&!V.done&&(it=q.return)&&it.call(q)}finally{if(Fe)throw Fe.error}}},function(){for(;null!=H&&H.length;)Q.next(H.shift().buffer);null==oe||oe.unsubscribe(),Q.complete(),Q.unsubscribe()},void 0,function(){return H=null});N.subscribe(oe)})}},555:function(U,o,a){"use strict";var n=this&&this.__values||function(y){var f="function"==typeof Symbol&&Symbol.iterator,b=f&&y[f],v=0;if(b)return b.call(y);if(y&&"number"==typeof y.length)return{next:function(){return y&&v>=y.length&&(y=void 0),{value:y&&y[v++],done:!y}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.bufferToggle=void 0;var h=a(6448),_=a(9216),u=a(8767),r=a(3173),c=a(31),d=a(5137);o.bufferToggle=function p(y,f){return _.operate(function(b,v){var m=[];u.innerFrom(y).subscribe(r.createOperatorSubscriber(v,function(C){var M=[];m.push(M);var O=new h.Subscription;O.add(u.innerFrom(f(C)).subscribe(r.createOperatorSubscriber(v,function(){d.arrRemove(m,M),v.next(M),O.unsubscribe()},c.noop)))},c.noop)),b.subscribe(r.createOperatorSubscriber(v,function(C){var M,O;try{for(var P=n(m),N=P.next();!N.done;N=P.next())N.value.push(C)}catch(H){M={error:H}}finally{try{N&&!N.done&&(O=P.return)&&O.call(P)}finally{if(M)throw M.error}}},function(){for(;m.length>0;)v.next(m.shift());v.complete()}))})}},7274:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.bufferWhen=void 0;var n=a(9216),h=a(31),_=a(3173),u=a(8767);o.bufferWhen=function r(c){return n.operate(function(d,p){var y=null,f=null,b=function(){null==f||f.unsubscribe();var v=y;y=[],v&&p.next(v),u.innerFrom(c()).subscribe(f=_.createOperatorSubscriber(p,b,h.noop))};b(),d.subscribe(_.createOperatorSubscriber(p,function(v){return null==y?void 0:y.push(v)},function(){y&&p.next(y),p.complete()},void 0,function(){return y=f=null}))})}},6e3:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.catchError=void 0;var n=a(8767),h=a(3173),_=a(9216);o.catchError=function u(r){return _.operate(function(c,d){var f,p=null,y=!1;p=c.subscribe(h.createOperatorSubscriber(d,void 0,void 0,function(b){f=n.innerFrom(r(b,u(r)(c))),p?(p.unsubscribe(),p=null,f.subscribe(d)):y=!0})),y&&(p.unsubscribe(),p=null,f.subscribe(d))})}},8996:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.combineAll=void 0;var n=a(8931);o.combineAll=n.combineLatestAll},5538:function(U,o,a){"use strict";var n=this&&this.__read||function(f,b){var v="function"==typeof Symbol&&f[Symbol.iterator];if(!v)return f;var C,O,m=v.call(f),M=[];try{for(;(void 0===b||b-- >0)&&!(C=m.next()).done;)M.push(C.value)}catch(P){O={error:P}}finally{try{C&&!C.done&&(v=m.return)&&v.call(m)}finally{if(O)throw O.error}}return M},h=this&&this.__spreadArray||function(f,b){for(var v=0,m=b.length,C=f.length;v<m;v++,C++)f[C]=b[v];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatest=void 0;var _=a(6892),u=a(9216),r=a(3531),c=a(5280),d=a(1471),p=a(1642);o.combineLatest=function y(){for(var f=[],b=0;b<arguments.length;b++)f[b]=arguments[b];var v=p.popResultSelector(f);return v?d.pipe(y.apply(void 0,h([],n(f))),c.mapOneOrManyArgs(v)):u.operate(function(m,C){_.combineLatestInit(h([m],n(r.argsOrArgArray(f))))(C)})}},8931:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatestAll=void 0;var n=a(6892),h=a(1277);o.combineLatestAll=function _(u){return h.joinAllInternals(n.combineLatest,u)}},8947:function(U,o,a){"use strict";var n=this&&this.__read||function(r,c){var d="function"==typeof Symbol&&r[Symbol.iterator];if(!d)return r;var y,b,p=d.call(r),f=[];try{for(;(void 0===c||c-- >0)&&!(y=p.next()).done;)f.push(y.value)}catch(v){b={error:v}}finally{try{y&&!y.done&&(d=p.return)&&d.call(p)}finally{if(b)throw b.error}}return f},h=this&&this.__spreadArray||function(r,c){for(var d=0,p=c.length,y=r.length;d<p;d++,y++)r[y]=c[d];return r};Object.defineProperty(o,"__esModule",{value:!0}),o.combineLatestWith=void 0;var _=a(5538);o.combineLatestWith=function u(){for(var r=[],c=0;c<arguments.length;c++)r[c]=arguments[c];return _.combineLatest.apply(void 0,h([],n(r)))}},4656:function(U,o,a){"use strict";var n=this&&this.__read||function(p,y){var f="function"==typeof Symbol&&p[Symbol.iterator];if(!f)return p;var v,C,b=f.call(p),m=[];try{for(;(void 0===y||y-- >0)&&!(v=b.next()).done;)m.push(v.value)}catch(M){C={error:M}}finally{try{v&&!v.done&&(f=b.return)&&f.call(b)}finally{if(C)throw C.error}}return m},h=this&&this.__spreadArray||function(p,y){for(var f=0,b=y.length,v=p.length;f<b;f++,v++)p[v]=y[f];return p};Object.defineProperty(o,"__esModule",{value:!0}),o.concat=void 0;var _=a(9216),u=a(739),r=a(1642),c=a(4996);o.concat=function d(){for(var p=[],y=0;y<arguments.length;y++)p[y]=arguments[y];var f=r.popScheduler(p);return _.operate(function(b,v){u.concatAll()(c.from(h([b],n(p)),f)).subscribe(v)})}},739:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concatAll=void 0;var n=a(3917);o.concatAll=function h(){return n.mergeAll(1)}},4659:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concatMap=void 0;var n=a(3010),h=a(7104);o.concatMap=function _(u,r){return h.isFunction(r)?n.mergeMap(u,r,1):n.mergeMap(u,1)}},2993:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.concatMapTo=void 0;var n=a(4659),h=a(7104);o.concatMapTo=function _(u,r){return h.isFunction(r)?n.concatMap(function(){return u},r):n.concatMap(function(){return u})}},5898:function(U,o,a){"use strict";var n=this&&this.__read||function(r,c){var d="function"==typeof Symbol&&r[Symbol.iterator];if(!d)return r;var y,b,p=d.call(r),f=[];try{for(;(void 0===c||c-- >0)&&!(y=p.next()).done;)f.push(y.value)}catch(v){b={error:v}}finally{try{y&&!y.done&&(d=p.return)&&d.call(p)}finally{if(b)throw b.error}}return f},h=this&&this.__spreadArray||function(r,c){for(var d=0,p=c.length,y=r.length;d<p;d++,y++)r[y]=c[d];return r};Object.defineProperty(o,"__esModule",{value:!0}),o.concatWith=void 0;var _=a(4656);o.concatWith=function u(){for(var r=[],c=0;c<arguments.length;c++)r[c]=arguments[c];return _.concat.apply(void 0,h([],n(r)))}},9725:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.connect=void 0;var n=a(3768),h=a(8767),_=a(9216),u=a(5107),r={connector:function(){return new n.Subject}};o.connect=function c(d,p){void 0===p&&(p=r);var y=p.connector;return _.operate(function(f,b){var v=y();h.innerFrom(d(u.fromSubscribable(v))).subscribe(b),b.add(f.subscribe(v))})}},1814:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.count=void 0;var n=a(8587);o.count=function h(_){return n.reduce(function(u,r,c){return!_||_(r,c)?u+1:u},0)}},9784:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.debounce=void 0;var n=a(9216),h=a(31),_=a(3173),u=a(8767);o.debounce=function r(c){return n.operate(function(d,p){var y=!1,f=null,b=null,v=function(){if(null==b||b.unsubscribe(),b=null,y){y=!1;var m=f;f=null,p.next(m)}};d.subscribe(_.createOperatorSubscriber(p,function(m){null==b||b.unsubscribe(),y=!0,f=m,b=_.createOperatorSubscriber(p,v,h.noop),u.innerFrom(c(m)).subscribe(b)},function(){v(),p.complete()},void 0,function(){f=b=null}))})}},7061:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.debounceTime=void 0;var n=a(4006),h=a(9216),_=a(3173);o.debounceTime=function u(r,c){return void 0===c&&(c=n.asyncScheduler),h.operate(function(d,p){var y=null,f=null,b=null,v=function(){if(y){y.unsubscribe(),y=null;var C=f;f=null,p.next(C)}};function m(){var C=b+r,M=c.now();if(M<C)return y=this.schedule(void 0,C-M),void p.add(y);v()}d.subscribe(_.createOperatorSubscriber(p,function(C){f=C,b=c.now(),y||(y=c.schedule(m,r),p.add(y))},function(){v(),p.complete()},void 0,function(){f=y=null}))})}},926:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.defaultIfEmpty=void 0;var n=a(9216),h=a(3173);o.defaultIfEmpty=function _(u){return n.operate(function(r,c){var d=!1;r.subscribe(h.createOperatorSubscriber(c,function(p){d=!0,c.next(p)},function(){d||c.next(u),c.complete()}))})}},2096:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.delay=void 0;var n=a(4006),h=a(3264),_=a(3271);o.delay=function u(r,c){void 0===c&&(c=n.asyncScheduler);var d=_.timer(r,c);return h.delayWhen(function(){return d})}},3264:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.delayWhen=void 0;var n=a(509),h=a(1333),_=a(4041),u=a(2182),r=a(3010);o.delayWhen=function c(d,p){return p?function(y){return n.concat(p.pipe(h.take(1),_.ignoreElements()),y.pipe(c(d)))}:r.mergeMap(function(y,f){return d(y,f).pipe(h.take(1),u.mapTo(y))})}},533:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.dematerialize=void 0;var n=a(7262),h=a(9216),_=a(3173);o.dematerialize=function u(){return h.operate(function(r,c){r.subscribe(_.createOperatorSubscriber(c,function(d){return n.observeNotification(d,c)}))})}},5045:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.distinct=void 0;var n=a(9216),h=a(3173),_=a(31);o.distinct=function u(r,c){return n.operate(function(d,p){var y=new Set;d.subscribe(h.createOperatorSubscriber(p,function(f){var b=r?r(f):f;y.has(b)||(y.add(b),p.next(f))})),null==c||c.subscribe(h.createOperatorSubscriber(p,function(){return y.clear()},_.noop))})}},5794:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.distinctUntilChanged=void 0;var n=a(7884),h=a(9216),_=a(3173);function r(c,d){return c===d}o.distinctUntilChanged=function u(c,d){return void 0===d&&(d=n.identity),c=null!=c?c:r,h.operate(function(p,y){var f,b=!0;p.subscribe(_.createOperatorSubscriber(y,function(v){var m=d(v);(b||!c(f,m))&&(b=!1,f=m,y.next(v))}))})}},8589:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.distinctUntilKeyChanged=void 0;var n=a(5794);o.distinctUntilKeyChanged=function h(_,u){return n.distinctUntilChanged(function(r,c){return u?u(r[_],c[_]):r[_]===c[_]})}},1069:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.elementAt=void 0;var n=a(4769),h=a(4270),_=a(9194),u=a(926),r=a(1333);o.elementAt=function c(d,p){if(d<0)throw new n.ArgumentOutOfRangeError;var y=arguments.length>=2;return function(f){return f.pipe(h.filter(function(b,v){return v===d}),r.take(1),y?u.defaultIfEmpty(p):_.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},4312:function(U,o,a){"use strict";var n=this&&this.__read||function(c,d){var p="function"==typeof Symbol&&c[Symbol.iterator];if(!p)return c;var f,v,y=p.call(c),b=[];try{for(;(void 0===d||d-- >0)&&!(f=y.next()).done;)b.push(f.value)}catch(m){v={error:m}}finally{try{f&&!f.done&&(p=y.return)&&p.call(y)}finally{if(v)throw v.error}}return b},h=this&&this.__spreadArray||function(c,d){for(var p=0,y=d.length,f=c.length;p<y;p++,f++)c[f]=d[p];return c};Object.defineProperty(o,"__esModule",{value:!0}),o.endWith=void 0;var _=a(509),u=a(9677);o.endWith=function r(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];return function(p){return _.concat(p,u.of.apply(void 0,h([],n(c))))}}},9098:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.every=void 0;var n=a(9216),h=a(3173);o.every=function _(u,r){return n.operate(function(c,d){var p=0;c.subscribe(h.createOperatorSubscriber(d,function(y){u.call(r,y,p++,c)||(d.next(!1),d.complete())},function(){d.next(!0),d.complete()}))})}},5429:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaust=void 0;var n=a(1399);o.exhaust=n.exhaustAll},1399:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaustAll=void 0;var n=a(5183),h=a(7884);o.exhaustAll=function _(){return n.exhaustMap(h.identity)}},5183:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaustMap=void 0;var n=a(752),h=a(8767),_=a(9216),u=a(3173);o.exhaustMap=function r(c,d){return d?function(p){return p.pipe(r(function(y,f){return h.innerFrom(c(y,f)).pipe(n.map(function(b,v){return d(y,b,f,v)}))}))}:_.operate(function(p,y){var f=0,b=null,v=!1;p.subscribe(u.createOperatorSubscriber(y,function(m){b||(b=u.createOperatorSubscriber(y,void 0,function(){b=null,v&&y.complete()}),h.innerFrom(c(m,f++)).subscribe(b))},function(){v=!0,!b&&y.complete()}))})}},8678:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.expand=void 0;var n=a(9216),h=a(8457);o.expand=function _(u,r,c){return void 0===r&&(r=1/0),r=(r||0)<1?1/0:r,n.operate(function(d,p){return h.mergeInternals(d,p,u,r,void 0,!0,c)})}},4270:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.filter=void 0;var n=a(9216),h=a(3173);o.filter=function _(u,r){return n.operate(function(c,d){var p=0;c.subscribe(h.createOperatorSubscriber(d,function(y){return u.call(r,y,p++)&&d.next(y)}))})}},1587:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.finalize=void 0;var n=a(9216);o.finalize=function h(_){return n.operate(function(u,r){try{u.subscribe(r)}finally{r.add(_)}})}},2265:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createFind=o.find=void 0;var n=a(9216),h=a(3173);function u(r,c,d){var p="index"===d;return function(y,f){var b=0;y.subscribe(h.createOperatorSubscriber(f,function(v){var m=b++;r.call(c,v,m,y)&&(f.next(p?m:v),f.complete())},function(){f.next(p?-1:void 0),f.complete()}))}}o.find=function _(r,c){return n.operate(u(r,c,"value"))},o.createFind=u},8195:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.findIndex=void 0;var n=a(9216),h=a(2265);o.findIndex=function _(u,r){return n.operate(h.createFind(u,r,"index"))}},8012:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.first=void 0;var n=a(8915),h=a(4270),_=a(1333),u=a(926),r=a(9194),c=a(7884);o.first=function d(p,y){var f=arguments.length>=2;return function(b){return b.pipe(p?h.filter(function(v,m){return p(v,m,b)}):c.identity,_.take(1),f?u.defaultIfEmpty(y):r.throwIfEmpty(function(){return new n.EmptyError}))}}},1463:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.flatMap=void 0;var n=a(3010);o.flatMap=n.mergeMap},4075:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.groupBy=void 0;var n=a(5821),h=a(8767),_=a(3768),u=a(9216),r=a(3173);o.groupBy=function c(d,p,y,f){return u.operate(function(b,v){var m;p&&"function"!=typeof p?(y=p.duration,m=p.element,f=p.connector):m=p;var C=new Map,M=function(G){C.forEach(G),G(v)},O=function(G){return M(function(B){return B.error(G)})},P=0,N=!1,Q=new r.OperatorSubscriber(v,function(G){try{var B=d(G),X=C.get(B);if(!X){C.set(B,X=f?f():new _.Subject);var oe=function H(G,B){var X=new n.Observable(function(oe){P++;var pe=B.subscribe(oe);return function(){pe.unsubscribe(),0==--P&&N&&Q.unsubscribe()}});return X.key=G,X}(B,X);if(v.next(oe),y){var pe=r.createOperatorSubscriber(X,function(){X.complete(),null==pe||pe.unsubscribe()},void 0,void 0,function(){return C.delete(B)});Q.add(h.innerFrom(y(oe)).subscribe(pe))}}X.next(m?m(G):G)}catch(Fe){O(Fe)}},function(){return M(function(G){return G.complete()})},O,function(){return C.clear()},function(){return N=!0,0===P});b.subscribe(Q)})}},4041:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ignoreElements=void 0;var n=a(9216),h=a(3173),_=a(31);o.ignoreElements=function u(){return n.operate(function(r,c){r.subscribe(h.createOperatorSubscriber(c,_.noop))})}},6478:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isEmpty=void 0;var n=a(9216),h=a(3173);o.isEmpty=function _(){return n.operate(function(u,r){u.subscribe(h.createOperatorSubscriber(r,function(){r.next(!1),r.complete()},function(){r.next(!0),r.complete()}))})}},1277:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.joinAllInternals=void 0;var n=a(7884),h=a(5280),_=a(1471),u=a(3010),r=a(2976);o.joinAllInternals=function c(d,p){return _.pipe(r.toArray(),u.mergeMap(function(y){return d(y)}),p?h.mapOneOrManyArgs(p):n.identity)}},5126:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.last=void 0;var n=a(8915),h=a(4270),_=a(3534),u=a(9194),r=a(926),c=a(7884);o.last=function d(p,y){var f=arguments.length>=2;return function(b){return b.pipe(p?h.filter(function(v,m){return p(v,m,b)}):c.identity,_.takeLast(1),f?r.defaultIfEmpty(y):u.throwIfEmpty(function(){return new n.EmptyError}))}}},752:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.map=void 0;var n=a(9216),h=a(3173);o.map=function _(u,r){return n.operate(function(c,d){var p=0;c.subscribe(h.createOperatorSubscriber(d,function(y){d.next(u.call(r,y,p++))}))})}},2182:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mapTo=void 0;var n=a(752);o.mapTo=function h(_){return n.map(function(){return _})}},119:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.materialize=void 0;var n=a(7262),h=a(9216),_=a(3173);o.materialize=function u(){return h.operate(function(r,c){r.subscribe(_.createOperatorSubscriber(c,function(d){c.next(n.Notification.createNext(d))},function(){c.next(n.Notification.createComplete()),c.complete()},function(d){c.next(n.Notification.createError(d)),c.complete()}))})}},9329:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.max=void 0;var n=a(8587),h=a(7104);o.max=function _(u){return n.reduce(h.isFunction(u)?function(r,c){return u(r,c)>0?r:c}:function(r,c){return r>c?r:c})}},8789:function(U,o,a){"use strict";var n=this&&this.__read||function(y,f){var b="function"==typeof Symbol&&y[Symbol.iterator];if(!b)return y;var m,M,v=b.call(y),C=[];try{for(;(void 0===f||f-- >0)&&!(m=v.next()).done;)C.push(m.value)}catch(O){M={error:O}}finally{try{m&&!m.done&&(b=v.return)&&b.call(v)}finally{if(M)throw M.error}}return C},h=this&&this.__spreadArray||function(y,f){for(var b=0,v=f.length,m=y.length;b<v;b++,m++)y[m]=f[b];return y};Object.defineProperty(o,"__esModule",{value:!0}),o.merge=void 0;var _=a(9216),u=a(3531),r=a(3917),c=a(1642),d=a(4996);o.merge=function p(){for(var y=[],f=0;f<arguments.length;f++)y[f]=arguments[f];var b=c.popScheduler(y),v=c.popNumber(y,1/0);return y=u.argsOrArgArray(y),_.operate(function(m,C){r.mergeAll(v)(d.from(h([m],n(y)),b)).subscribe(C)})}},3917:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeAll=void 0;var n=a(3010),h=a(7884);o.mergeAll=function _(u){return void 0===u&&(u=1/0),n.mergeMap(h.identity,u)}},8457:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeInternals=void 0;var n=a(8767),h=a(2590),_=a(3173);o.mergeInternals=function u(r,c,d,p,y,f,b,v){var m=[],C=0,M=0,O=!1,P=function(){O&&!m.length&&!C&&c.complete()},N=function(H){return C<p?Q(H):m.push(H)},Q=function(H){f&&c.next(H),C++;var G=!1;n.innerFrom(d(H,M++)).subscribe(_.createOperatorSubscriber(c,function(B){null==y||y(B),f?N(B):c.next(B)},function(){G=!0},void 0,function(){if(G)try{C--;for(var B=function(){var X=m.shift();b?h.executeSchedule(c,b,function(){return Q(X)}):Q(X)};m.length&&C<p;)B();P()}catch(X){c.error(X)}}))};return r.subscribe(_.createOperatorSubscriber(c,N,function(){O=!0,P()})),function(){null==v||v()}}},3010:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeMap=void 0;var n=a(752),h=a(8767),_=a(9216),u=a(8457),r=a(7104);o.mergeMap=function c(d,p,y){return void 0===y&&(y=1/0),r.isFunction(p)?c(function(f,b){return n.map(function(v,m){return p(f,v,b,m)})(h.innerFrom(d(f,b)))},y):("number"==typeof p&&(y=p),_.operate(function(f,b){return u.mergeInternals(f,b,d,y)}))}},929:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeMapTo=void 0;var n=a(3010),h=a(7104);o.mergeMapTo=function _(u,r,c){return void 0===c&&(c=1/0),h.isFunction(r)?n.mergeMap(function(){return u},r,c):("number"==typeof r&&(c=r),n.mergeMap(function(){return u},c))}},2816:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.mergeScan=void 0;var n=a(9216),h=a(8457);o.mergeScan=function _(u,r,c){return void 0===c&&(c=1/0),n.operate(function(d,p){var y=r;return h.mergeInternals(d,p,function(f,b){return u(y,f,b)},c,function(f){y=f},!1,void 0,function(){return y=null})})}},9684:function(U,o,a){"use strict";var n=this&&this.__read||function(r,c){var d="function"==typeof Symbol&&r[Symbol.iterator];if(!d)return r;var y,b,p=d.call(r),f=[];try{for(;(void 0===c||c-- >0)&&!(y=p.next()).done;)f.push(y.value)}catch(v){b={error:v}}finally{try{y&&!y.done&&(d=p.return)&&d.call(p)}finally{if(b)throw b.error}}return f},h=this&&this.__spreadArray||function(r,c){for(var d=0,p=c.length,y=r.length;d<p;d++,y++)r[y]=c[d];return r};Object.defineProperty(o,"__esModule",{value:!0}),o.mergeWith=void 0;var _=a(8789);o.mergeWith=function u(){for(var r=[],c=0;c<arguments.length;c++)r[c]=arguments[c];return _.merge.apply(void 0,h([],n(r)))}},6250:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.min=void 0;var n=a(8587),h=a(7104);o.min=function _(u){return n.reduce(h.isFunction(u)?function(r,c){return u(r,c)<0?r:c}:function(r,c){return r<c?r:c})}},9872:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.multicast=void 0;var n=a(6686),h=a(7104),_=a(9725);o.multicast=function u(r,c){var d=h.isFunction(r)?r:function(){return r};return h.isFunction(c)?_.connect(c,{connector:d}):function(p){return new n.ConnectableObservable(p,d)}}},4928:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.observeOn=void 0;var n=a(2590),h=a(9216),_=a(3173);o.observeOn=function u(r,c){return void 0===c&&(c=0),h.operate(function(d,p){d.subscribe(_.createOperatorSubscriber(p,function(y){return n.executeSchedule(p,r,function(){return p.next(y)},c)},function(){return n.executeSchedule(p,r,function(){return p.complete()},c)},function(y){return n.executeSchedule(p,r,function(){return p.error(y)},c)}))})}},2158:function(U,o,a){"use strict";var n=this&&this.__read||function(y,f){var b="function"==typeof Symbol&&y[Symbol.iterator];if(!b)return y;var m,M,v=b.call(y),C=[];try{for(;(void 0===f||f-- >0)&&!(m=v.next()).done;)C.push(m.value)}catch(O){M={error:O}}finally{try{m&&!m.done&&(b=v.return)&&b.call(v)}finally{if(M)throw M.error}}return C},h=this&&this.__spreadArray||function(y,f){for(var b=0,v=f.length,m=y.length;b<v;b++,m++)y[m]=f[b];return y};Object.defineProperty(o,"__esModule",{value:!0}),o.onErrorResumeNext=void 0;var _=a(9216),u=a(8767),r=a(3531),c=a(3173),d=a(31);o.onErrorResumeNext=function p(){for(var y=[],f=0;f<arguments.length;f++)y[f]=arguments[f];var b=r.argsOrArgArray(y);return _.operate(function(v,m){var C=h([v],n(b)),M=function(){if(!m.closed)if(C.length>0){var O=void 0;try{O=u.innerFrom(C.shift())}catch(N){return void M()}var P=c.createOperatorSubscriber(m,void 0,d.noop,d.noop);O.subscribe(P),P.add(M)}else m.complete()};M()})}},9526:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pairwise=void 0;var n=a(9216),h=a(3173);o.pairwise=function _(){return n.operate(function(u,r){var c,d=!1;u.subscribe(h.createOperatorSubscriber(r,function(p){var y=c;c=p,d&&r.next([y,p]),d=!0}))})}},5199:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pluck=void 0;var n=a(752);o.pluck=function h(){for(var _=[],u=0;u<arguments.length;u++)_[u]=arguments[u];var r=_.length;if(0===r)throw new Error("list of properties cannot be empty.");return n.map(function(c){for(var d=c,p=0;p<r;p++){var y=null==d?void 0:d[_[p]];if(void 0===y)return;d=y}return d})}},955:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publish=void 0;var n=a(3768),h=a(9872),_=a(9725);o.publish=function u(r){return r?function(c){return _.connect(r)(c)}:function(c){return h.multicast(new n.Subject)(c)}}},6750:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publishBehavior=void 0;var n=a(5482),h=a(6686);o.publishBehavior=function _(u){return function(r){var c=new n.BehaviorSubject(u);return new h.ConnectableObservable(r,function(){return c})}}},1003:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publishLast=void 0;var n=a(7606),h=a(6686);o.publishLast=function _(){return function(u){var r=new n.AsyncSubject;return new h.ConnectableObservable(u,function(){return r})}}},5530:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.publishReplay=void 0;var n=a(3406),h=a(9872),_=a(7104);o.publishReplay=function u(r,c,d,p){d&&!_.isFunction(d)&&(p=d);var y=_.isFunction(d)?d:void 0;return function(f){return h.multicast(new n.ReplaySubject(r,c,p),y)(f)}}},2992:function(U,o,a){"use strict";var n=this&&this.__read||function(d,p){var y="function"==typeof Symbol&&d[Symbol.iterator];if(!y)return d;var b,m,f=y.call(d),v=[];try{for(;(void 0===p||p-- >0)&&!(b=f.next()).done;)v.push(b.value)}catch(C){m={error:C}}finally{try{b&&!b.done&&(y=f.return)&&y.call(f)}finally{if(m)throw m.error}}return v},h=this&&this.__spreadArray||function(d,p){for(var y=0,f=p.length,b=d.length;y<f;y++,b++)d[b]=p[y];return d};Object.defineProperty(o,"__esModule",{value:!0}),o.raceWith=void 0;var _=a(8181),u=a(9216),r=a(7884);o.raceWith=function c(){for(var d=[],p=0;p<arguments.length;p++)d[p]=arguments[p];return d.length?u.operate(function(y,f){_.raceInit(h([y],n(d)))(f)}):r.identity}},8587:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.reduce=void 0;var n=a(3049),h=a(9216);o.reduce=function _(u,r){return h.operate(n.scanInternals(u,r,arguments.length>=2,!1,!0))}},904:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.refCount=void 0;var n=a(9216),h=a(3173);o.refCount=function _(){return n.operate(function(u,r){var c=null;u._refCount++;var d=h.createOperatorSubscriber(r,void 0,void 0,void 0,function(){if(!u||u._refCount<=0||0<--u._refCount)c=null;else{var p=u._connection,y=c;c=null,p&&(!y||p===y)&&p.unsubscribe(),r.unsubscribe()}});u.subscribe(d),d.closed||(c=u.connect())})}},8408:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.repeat=void 0;var n=a(7406),h=a(9216),_=a(3173),u=a(8767),r=a(3271);o.repeat=function c(d){var p,f,y=1/0;return null!=d&&("object"==typeof d?(y=void 0===(p=d.count)?1/0:p,f=d.delay):y=d),y<=0?function(){return n.EMPTY}:h.operate(function(b,v){var C,m=0,M=function(){if(null==C||C.unsubscribe(),C=null,null!=f){var P="number"==typeof f?r.timer(f):u.innerFrom(f(m)),N=_.createOperatorSubscriber(v,function(){N.unsubscribe(),O()});P.subscribe(N)}else O()},O=function(){var P=!1;C=b.subscribe(_.createOperatorSubscriber(v,void 0,function(){++m<y?C?M():P=!0:v.complete()})),P&&M()};O()})}},7032:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.repeatWhen=void 0;var n=a(3768),h=a(9216),_=a(3173);o.repeatWhen=function u(r){return h.operate(function(c,d){var p,f,y=!1,b=!1,v=!1,m=function(){return v&&b&&(d.complete(),!0)},M=function(){v=!1,p=c.subscribe(_.createOperatorSubscriber(d,void 0,function(){v=!0,!m()&&(f||(f=new n.Subject,r(f).subscribe(_.createOperatorSubscriber(d,function(){p?M():y=!0},function(){b=!0,m()}))),f).next()})),y&&(p.unsubscribe(),p=null,y=!1,M())};M()})}},6069:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.retry=void 0;var n=a(9216),h=a(3173),_=a(7884),u=a(3271),r=a(8767);o.retry=function c(d){var p;void 0===d&&(d=1/0);var y=(p=d&&"object"==typeof d?d:{count:d}).count,f=void 0===y?1/0:y,b=p.delay,v=p.resetOnSuccess,m=void 0!==v&&v;return f<=0?_.identity:n.operate(function(C,M){var P,O=0,N=function(){var Q=!1;P=C.subscribe(h.createOperatorSubscriber(M,function(H){m&&(O=0),M.next(H)},void 0,function(H){if(O++<f){var G=function(){P?(P.unsubscribe(),P=null,N()):Q=!0};if(null!=b){var B="number"==typeof b?u.timer(b):r.innerFrom(b(H,O)),X=h.createOperatorSubscriber(M,function(){X.unsubscribe(),G()},function(){M.complete()});B.subscribe(X)}else G()}else M.error(H)})),Q&&(P.unsubscribe(),P=null,N())};N()})}},5131:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.retryWhen=void 0;var n=a(3768),h=a(9216),_=a(3173);o.retryWhen=function u(r){return h.operate(function(c,d){var p,f,y=!1,b=function(){p=c.subscribe(_.createOperatorSubscriber(d,void 0,void 0,function(v){f||(f=new n.Subject,r(f).subscribe(_.createOperatorSubscriber(d,function(){return p?b():y=!0}))),f&&f.next(v)})),y&&(p.unsubscribe(),p=null,y=!1,b())};b()})}},2531:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.sample=void 0;var n=a(9216),h=a(31),_=a(3173);o.sample=function u(r){return n.operate(function(c,d){var p=!1,y=null;c.subscribe(_.createOperatorSubscriber(d,function(f){p=!0,y=f})),r.subscribe(_.createOperatorSubscriber(d,function(){if(p){p=!1;var f=y;y=null,d.next(f)}},h.noop))})}},306:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.sampleTime=void 0;var n=a(4006),h=a(2531),_=a(1836);o.sampleTime=function u(r,c){return void 0===c&&(c=n.asyncScheduler),h.sample(_.interval(r,c))}},251:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scan=void 0;var n=a(9216),h=a(3049);o.scan=function _(u,r){return n.operate(h.scanInternals(u,r,arguments.length>=2,!0))}},3049:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scanInternals=void 0;var n=a(3173);o.scanInternals=function h(_,u,r,c,d){return function(p,y){var f=r,b=u,v=0;p.subscribe(n.createOperatorSubscriber(y,function(m){var C=v++;b=f?_(b,m,C):(f=!0,m),c&&y.next(b)},d&&function(){f&&y.next(b),y.complete()}))}}},9788:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.sequenceEqual=void 0;var n=a(9216),h=a(3173);o.sequenceEqual=function _(r,c){return void 0===c&&(c=function(d,p){return d===p}),n.operate(function(d,p){var y={buffer:[],complete:!1},f={buffer:[],complete:!1},b=function(m){p.next(m),p.complete()},v=function(m,C){var M=h.createOperatorSubscriber(p,function(O){var P=C.buffer;0===P.length?C.complete?b(!1):m.buffer.push(O):!c(O,P.shift())&&b(!1)},function(){m.complete=!0,C.complete&&b(0===C.buffer.length),null==M||M.unsubscribe()});return M};d.subscribe(v(y,f)),r.subscribe(v(f,y))})}},3222:function(U,o,a){"use strict";var n=this&&this.__read||function(y,f){var b="function"==typeof Symbol&&y[Symbol.iterator];if(!b)return y;var m,M,v=b.call(y),C=[];try{for(;(void 0===f||f-- >0)&&!(m=v.next()).done;)C.push(m.value)}catch(O){M={error:O}}finally{try{m&&!m.done&&(b=v.return)&&b.call(v)}finally{if(M)throw M.error}}return C},h=this&&this.__spreadArray||function(y,f){for(var b=0,v=f.length,m=y.length;b<v;b++,m++)y[m]=f[b];return y};Object.defineProperty(o,"__esModule",{value:!0}),o.share=void 0;var _=a(8767),u=a(3768),r=a(7052),c=a(9216);function p(y,f){for(var b=[],v=2;v<arguments.length;v++)b[v-2]=arguments[v];if(!0!==f){if(!1!==f){var m=new r.SafeSubscriber({next:function(){m.unsubscribe(),y()}});return f.apply(void 0,h([],n(b))).subscribe(m)}}else y()}o.share=function d(y){void 0===y&&(y={});var f=y.connector,b=void 0===f?function(){return new u.Subject}:f,v=y.resetOnError,m=void 0===v||v,C=y.resetOnComplete,M=void 0===C||C,O=y.resetOnRefCountZero,P=void 0===O||O;return function(N){var Q,H,G,B=0,X=!1,oe=!1,pe=function(){null==H||H.unsubscribe(),H=void 0},Fe=function(){pe(),Q=G=void 0,X=oe=!1},it=function(){var z=Q;Fe(),null==z||z.unsubscribe()};return c.operate(function(z,q){B++,!oe&&!X&&pe();var V=G=null!=G?G:b();q.add(function(){0==--B&&!oe&&!X&&(H=p(it,P))}),V.subscribe(q),!Q&&B>0&&(Q=new r.SafeSubscriber({next:function(te){return V.next(te)},error:function(te){oe=!0,pe(),H=p(Fe,m,te),V.error(te)},complete:function(){X=!0,pe(),H=p(Fe,M),V.complete()}}),_.innerFrom(z).subscribe(Q))})(N)}}},2186:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.shareReplay=void 0;var n=a(3406),h=a(3222);o.shareReplay=function _(u,r,c){var d,p,y,f,b=!1;return u&&"object"==typeof u?(f=void 0===(d=u.bufferSize)?1/0:d,r=void 0===(p=u.windowTime)?1/0:p,b=void 0!==(y=u.refCount)&&y,c=u.scheduler):f=null!=u?u:1/0,h.share({connector:function(){return new n.ReplaySubject(f,r,c)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:b})}},695:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.single=void 0;var n=a(8915),h=a(1551),_=a(5477),u=a(9216),r=a(3173);o.single=function c(d){return u.operate(function(p,y){var b,f=!1,v=!1,m=0;p.subscribe(r.createOperatorSubscriber(y,function(C){v=!0,(!d||d(C,m++,p))&&(f&&y.error(new h.SequenceError("Too many matching values")),f=!0,b=C)},function(){f?(y.next(b),y.complete()):y.error(v?new _.NotFoundError("No matching values"):new n.EmptyError)}))})}},4975:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skip=void 0;var n=a(4270);o.skip=function h(_){return n.filter(function(u,r){return _<=r})}},728:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skipLast=void 0;var n=a(7884),h=a(9216),_=a(3173);o.skipLast=function u(r){return r<=0?n.identity:h.operate(function(c,d){var p=new Array(r),y=0;return c.subscribe(_.createOperatorSubscriber(d,function(f){var b=y++;if(b<r)p[b]=f;else{var v=b%r,m=p[v];p[v]=f,d.next(m)}})),function(){p=null}})}},7409:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skipUntil=void 0;var n=a(9216),h=a(3173),_=a(8767),u=a(31);o.skipUntil=function r(c){return n.operate(function(d,p){var y=!1,f=h.createOperatorSubscriber(p,function(){null==f||f.unsubscribe(),y=!0},u.noop);_.innerFrom(c).subscribe(f),d.subscribe(h.createOperatorSubscriber(p,function(b){return y&&p.next(b)}))})}},385:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.skipWhile=void 0;var n=a(9216),h=a(3173);o.skipWhile=function _(u){return n.operate(function(r,c){var d=!1,p=0;r.subscribe(h.createOperatorSubscriber(c,function(y){return(d||(d=!u(y,p++)))&&c.next(y)}))})}},4930:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.startWith=void 0;var n=a(509),h=a(1642),_=a(9216);o.startWith=function u(){for(var r=[],c=0;c<arguments.length;c++)r[c]=arguments[c];var d=h.popScheduler(r);return _.operate(function(p,y){(d?n.concat(r,p,d):n.concat(r,p)).subscribe(y)})}},1698:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.subscribeOn=void 0;var n=a(9216);o.subscribeOn=function h(_,u){return void 0===u&&(u=0),n.operate(function(r,c){c.add(_.schedule(function(){return r.subscribe(c)},u))})}},8044:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchAll=void 0;var n=a(986),h=a(7884);o.switchAll=function _(){return n.switchMap(h.identity)}},986:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchMap=void 0;var n=a(8767),h=a(9216),_=a(3173);o.switchMap=function u(r,c){return h.operate(function(d,p){var y=null,f=0,b=!1,v=function(){return b&&!y&&p.complete()};d.subscribe(_.createOperatorSubscriber(p,function(m){null==y||y.unsubscribe();var C=0,M=f++;n.innerFrom(r(m,M)).subscribe(y=_.createOperatorSubscriber(p,function(O){return p.next(c?c(m,O,M,C++):O)},function(){y=null,v()}))},function(){b=!0,v()}))})}},9309:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchMapTo=void 0;var n=a(986),h=a(7104);o.switchMapTo=function _(u,r){return h.isFunction(r)?n.switchMap(function(){return u},r):n.switchMap(function(){return u})}},9499:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.switchScan=void 0;var n=a(986),h=a(9216);o.switchScan=function _(u,r){return h.operate(function(c,d){var p=r;return n.switchMap(function(y,f){return u(p,y,f)},function(y,f){return p=f,f})(c).subscribe(d),function(){p=null}})}},1333:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.take=void 0;var n=a(7406),h=a(9216),_=a(3173);o.take=function u(r){return r<=0?function(){return n.EMPTY}:h.operate(function(c,d){var p=0;c.subscribe(_.createOperatorSubscriber(d,function(y){++p<=r&&(d.next(y),r<=p&&d.complete())}))})}},3534:function(U,o,a){"use strict";var n=this&&this.__values||function(c){var d="function"==typeof Symbol&&Symbol.iterator,p=d&&c[d],y=0;if(p)return p.call(c);if(c&&"number"==typeof c.length)return{next:function(){return c&&y>=c.length&&(c=void 0),{value:c&&c[y++],done:!c}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.takeLast=void 0;var h=a(7406),_=a(9216),u=a(3173);o.takeLast=function r(c){return c<=0?function(){return h.EMPTY}:_.operate(function(d,p){var y=[];d.subscribe(u.createOperatorSubscriber(p,function(f){y.push(f),c<y.length&&y.shift()},function(){var f,b;try{for(var v=n(y),m=v.next();!m.done;m=v.next())p.next(m.value)}catch(M){f={error:M}}finally{try{m&&!m.done&&(b=v.return)&&b.call(v)}finally{if(f)throw f.error}}p.complete()},void 0,function(){y=null}))})}},5716:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.takeUntil=void 0;var n=a(9216),h=a(3173),_=a(8767),u=a(31);o.takeUntil=function r(c){return n.operate(function(d,p){_.innerFrom(c).subscribe(h.createOperatorSubscriber(p,function(){return p.complete()},u.noop)),!p.closed&&d.subscribe(p)})}},9928:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.takeWhile=void 0;var n=a(9216),h=a(3173);o.takeWhile=function _(u,r){return void 0===r&&(r=!1),n.operate(function(c,d){var p=0;c.subscribe(h.createOperatorSubscriber(d,function(y){var f=u(y,p++);(f||r)&&d.next(y),!f&&d.complete()}))})}},6821:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.tap=void 0;var n=a(7104),h=a(9216),_=a(3173),u=a(7884);o.tap=function r(c,d,p){var y=n.isFunction(c)||d||p?{next:c,error:d,complete:p}:c;return y?h.operate(function(f,b){var v;null===(v=y.subscribe)||void 0===v||v.call(y);var m=!0;f.subscribe(_.createOperatorSubscriber(b,function(C){var M;null===(M=y.next)||void 0===M||M.call(y,C),b.next(C)},function(){var C;m=!1,null===(C=y.complete)||void 0===C||C.call(y),b.complete()},function(C){var M;m=!1,null===(M=y.error)||void 0===M||M.call(y,C),b.error(C)},function(){var C,M;m&&(null===(C=y.unsubscribe)||void 0===C||C.call(y)),null===(M=y.finalize)||void 0===M||M.call(y)}))}):u.identity}},4330:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throttle=o.defaultThrottleConfig=void 0;var n=a(9216),h=a(3173),_=a(8767);o.defaultThrottleConfig={leading:!0,trailing:!1},o.throttle=function u(r,c){return void 0===c&&(c=o.defaultThrottleConfig),n.operate(function(d,p){var y=c.leading,f=c.trailing,b=!1,v=null,m=null,C=!1,M=function(){null==m||m.unsubscribe(),m=null,f&&(N(),C&&p.complete())},O=function(){m=null,C&&p.complete()},P=function(Q){return m=_.innerFrom(r(Q)).subscribe(h.createOperatorSubscriber(p,M,O))},N=function(){if(b){b=!1;var Q=v;v=null,p.next(Q),!C&&P(Q)}};d.subscribe(h.createOperatorSubscriber(p,function(Q){b=!0,v=Q,(!m||m.closed)&&(y?N():P(Q))},function(){C=!0,(!(f&&b&&m)||m.closed)&&p.complete()}))})}},4029:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throttleTime=void 0;var n=a(4006),h=a(4330),_=a(3271);o.throttleTime=function u(r,c,d){void 0===c&&(c=n.asyncScheduler),void 0===d&&(d=h.defaultThrottleConfig);var p=_.timer(r,c);return h.throttle(function(){return p},d)}},9194:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.throwIfEmpty=void 0;var n=a(8915),h=a(9216),_=a(3173);function r(){return new n.EmptyError}o.throwIfEmpty=function u(c){return void 0===c&&(c=r),h.operate(function(d,p){var y=!1;d.subscribe(_.createOperatorSubscriber(p,function(f){y=!0,p.next(f)},function(){return y?p.complete():p.error(c())}))})}},5904:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TimeInterval=o.timeInterval=void 0;var n=a(4006),h=a(9216),_=a(3173);o.timeInterval=function u(c){return void 0===c&&(c=n.asyncScheduler),h.operate(function(d,p){var y=c.now();d.subscribe(_.createOperatorSubscriber(p,function(f){var b=c.now(),v=b-y;y=b,p.next(new r(f,v))}))})};var r=function c(d,p){this.value=d,this.interval=p};o.TimeInterval=r},5001:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timeout=o.TimeoutError=void 0;var n=a(4006),h=a(7323),_=a(9216),u=a(8767),r=a(9703),c=a(3173),d=a(2590);function y(f){throw new o.TimeoutError(f)}o.TimeoutError=r.createErrorClass(function(f){return function(v){void 0===v&&(v=null),f(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=v}}),o.timeout=function p(f,b){var v=h.isValidDate(f)?{first:f}:"number"==typeof f?{each:f}:f,m=v.first,C=v.each,M=v.with,O=void 0===M?y:M,P=v.scheduler,N=void 0===P?null!=b?b:n.asyncScheduler:P,Q=v.meta,H=void 0===Q?null:Q;if(null==m&&null==C)throw new TypeError("No timeout provided.");return _.operate(function(G,B){var X,oe,pe=null,Fe=0,it=function(z){oe=d.executeSchedule(B,N,function(){try{X.unsubscribe(),u.innerFrom(O({meta:H,lastValue:pe,seen:Fe})).subscribe(B)}catch(q){B.error(q)}},z)};X=G.subscribe(c.createOperatorSubscriber(B,function(z){null==oe||oe.unsubscribe(),Fe++,B.next(pe=z),C>0&&it(C)},void 0,void 0,function(){null!=oe&&oe.closed||null==oe||oe.unsubscribe(),pe=null})),!Fe&&it(null!=m?"number"==typeof m?m:+m-N.now():C)})}},8308:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timeoutWith=void 0;var n=a(4006),h=a(7323),_=a(5001);o.timeoutWith=function u(r,c,d){var p,y,f;if(d=null!=d?d:n.async,h.isValidDate(r)?p=r:"number"==typeof r&&(y=r),!c)throw new TypeError("No observable provided to switch to");if(f=function(){return c},null==p&&null==y)throw new TypeError("No timeout provided.");return _.timeout({first:p,each:y,scheduler:d,with:f})}},250:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.timestamp=void 0;var n=a(8354),h=a(752);o.timestamp=function _(u){return void 0===u&&(u=n.dateTimestampProvider),h.map(function(r){return{value:r,timestamp:u.now()}})}},2976:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.toArray=void 0;var n=a(8587),h=a(9216),_=function(r,c){return r.push(c),r};o.toArray=function u(){return h.operate(function(r,c){n.reduce(_,[])(r).subscribe(c)})}},9374:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.window=void 0;var n=a(3768),h=a(9216),_=a(3173),u=a(31);o.window=function r(c){return h.operate(function(d,p){var y=new n.Subject;p.next(y.asObservable());var f=function(b){y.error(b),p.error(b)};return d.subscribe(_.createOperatorSubscriber(p,function(b){return null==y?void 0:y.next(b)},function(){y.complete(),p.complete()},f)),c.subscribe(_.createOperatorSubscriber(p,function(){y.complete(),p.next(y=new n.Subject)},u.noop,f)),function(){null==y||y.unsubscribe(),y=null}})}},8427:function(U,o,a){"use strict";var n=this&&this.__values||function(c){var d="function"==typeof Symbol&&Symbol.iterator,p=d&&c[d],y=0;if(p)return p.call(c);if(c&&"number"==typeof c.length)return{next:function(){return c&&y>=c.length&&(c=void 0),{value:c&&c[y++],done:!c}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.windowCount=void 0;var h=a(3768),_=a(9216),u=a(3173);o.windowCount=function r(c,d){void 0===d&&(d=0);var p=d>0?d:c;return _.operate(function(y,f){var b=[new h.Subject],m=0;f.next(b[0].asObservable()),y.subscribe(u.createOperatorSubscriber(f,function(C){var M,O;try{for(var P=n(b),N=P.next();!N.done;N=P.next())N.value.next(C)}catch(B){M={error:B}}finally{try{N&&!N.done&&(O=P.return)&&O.call(P)}finally{if(M)throw M.error}}var H=m-c+1;if(H>=0&&H%p==0&&b.shift().complete(),++m%p==0){var G=new h.Subject;b.push(G),f.next(G.asObservable())}},function(){for(;b.length>0;)b.shift().complete();f.complete()},function(C){for(;b.length>0;)b.shift().error(C);f.error(C)},function(){b=null}))})}},2358:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.windowTime=void 0;var n=a(3768),h=a(4006),_=a(6448),u=a(9216),r=a(3173),c=a(5137),d=a(1642),p=a(2590);o.windowTime=function y(f){for(var b,v,m=[],C=1;C<arguments.length;C++)m[C-1]=arguments[C];var M=null!==(b=d.popScheduler(m))&&void 0!==b?b:h.asyncScheduler,O=null!==(v=m[0])&&void 0!==v?v:null,P=m[1]||1/0;return u.operate(function(N,Q){var H=[],G=!1,B=function(Fe){var z=Fe.subs;Fe.window.complete(),z.unsubscribe(),c.arrRemove(H,Fe),G&&X()},X=function(){if(H){var Fe=new _.Subscription;Q.add(Fe);var it=new n.Subject,z={window:it,subs:Fe,seen:0};H.push(z),Q.next(it.asObservable()),p.executeSchedule(Fe,M,function(){return B(z)},f)}};null!==O&&O>=0?p.executeSchedule(Q,M,X,O,!0):G=!0,X();var oe=function(Fe){return H.slice().forEach(Fe)},pe=function(Fe){oe(function(it){return Fe(it.window)}),Fe(Q),Q.unsubscribe()};return N.subscribe(r.createOperatorSubscriber(Q,function(Fe){oe(function(it){it.window.next(Fe),P<=++it.seen&&B(it)})},function(){return pe(function(Fe){return Fe.complete()})},function(Fe){return pe(function(it){return it.error(Fe)})})),function(){H=null}})}},6464:function(U,o,a){"use strict";var n=this&&this.__values||function(f){var b="function"==typeof Symbol&&Symbol.iterator,v=b&&f[b],m=0;if(v)return v.call(f);if(f&&"number"==typeof f.length)return{next:function(){return f&&m>=f.length&&(f=void 0),{value:f&&f[m++],done:!f}}};throw new TypeError(b?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(o,"__esModule",{value:!0}),o.windowToggle=void 0;var h=a(3768),_=a(6448),u=a(9216),r=a(8767),c=a(3173),d=a(31),p=a(5137);o.windowToggle=function y(f,b){return u.operate(function(v,m){var C=[],M=function(O){for(;0<C.length;)C.shift().error(O);m.error(O)};r.innerFrom(f).subscribe(c.createOperatorSubscriber(m,function(O){var P=new h.Subject;C.push(P);var H,N=new _.Subscription;try{H=r.innerFrom(b(O))}catch(G){return void M(G)}m.next(P.asObservable()),N.add(H.subscribe(c.createOperatorSubscriber(m,function(){p.arrRemove(C,P),P.complete(),N.unsubscribe()},d.noop,M)))},d.noop)),v.subscribe(c.createOperatorSubscriber(m,function(O){var P,N,Q=C.slice();try{for(var H=n(Q),G=H.next();!G.done;G=H.next())G.value.next(O)}catch(X){P={error:X}}finally{try{G&&!G.done&&(N=H.return)&&N.call(H)}finally{if(P)throw P.error}}},function(){for(;0<C.length;)C.shift().complete();m.complete()},M,function(){for(;0<C.length;)C.shift().unsubscribe()}))})}},5424:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.windowWhen=void 0;var n=a(3768),h=a(9216),_=a(3173),u=a(8767);o.windowWhen=function r(c){return h.operate(function(d,p){var y,f,b=function(m){y.error(m),p.error(m)},v=function(){var m;null==f||f.unsubscribe(),null==y||y.complete(),y=new n.Subject,p.next(y.asObservable());try{m=u.innerFrom(c())}catch(C){return void b(C)}m.subscribe(f=_.createOperatorSubscriber(p,v,v,b))};v(),d.subscribe(_.createOperatorSubscriber(p,function(m){return y.next(m)},function(){y.complete(),p.complete()},b,function(){null==f||f.unsubscribe(),y=null}))})}},135:function(U,o,a){"use strict";var n=this&&this.__read||function(f,b){var v="function"==typeof Symbol&&f[Symbol.iterator];if(!v)return f;var C,O,m=v.call(f),M=[];try{for(;(void 0===b||b-- >0)&&!(C=m.next()).done;)M.push(C.value)}catch(P){O={error:P}}finally{try{C&&!C.done&&(v=m.return)&&v.call(m)}finally{if(O)throw O.error}}return M},h=this&&this.__spreadArray||function(f,b){for(var v=0,m=b.length,C=f.length;v<m;v++,C++)f[C]=b[v];return f};Object.defineProperty(o,"__esModule",{value:!0}),o.withLatestFrom=void 0;var _=a(9216),u=a(3173),r=a(8767),c=a(7884),d=a(31),p=a(1642);o.withLatestFrom=function y(){for(var f=[],b=0;b<arguments.length;b++)f[b]=arguments[b];var v=p.popResultSelector(f);return _.operate(function(m,C){for(var M=f.length,O=new Array(M),P=f.map(function(){return!1}),N=!1,Q=function(G){r.innerFrom(f[G]).subscribe(u.createOperatorSubscriber(C,function(B){O[G]=B,!N&&!P[G]&&(P[G]=!0,(N=P.every(c.identity))&&(P=null))},d.noop))},H=0;H<M;H++)Q(H);m.subscribe(u.createOperatorSubscriber(C,function(G){if(N){var B=h([G],n(O));C.next(v?v.apply(void 0,h([],n(B))):B)}}))})}},5573:function(U,o,a){"use strict";var n=this&&this.__read||function(c,d){var p="function"==typeof Symbol&&c[Symbol.iterator];if(!p)return c;var f,v,y=p.call(c),b=[];try{for(;(void 0===d||d-- >0)&&!(f=y.next()).done;)b.push(f.value)}catch(m){v={error:m}}finally{try{f&&!f.done&&(p=y.return)&&p.call(y)}finally{if(v)throw v.error}}return b},h=this&&this.__spreadArray||function(c,d){for(var p=0,y=d.length,f=c.length;p<y;p++,f++)c[f]=d[p];return c};Object.defineProperty(o,"__esModule",{value:!0}),o.zip=void 0;var _=a(4842),u=a(9216);o.zip=function r(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];return u.operate(function(p,y){_.zip.apply(void 0,h([p],n(c))).subscribe(y)})}},8101:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.zipAll=void 0;var n=a(4842),h=a(1277);o.zipAll=function _(u){return h.joinAllInternals(n.zip,u)}},9411:function(U,o,a){"use strict";var n=this&&this.__read||function(r,c){var d="function"==typeof Symbol&&r[Symbol.iterator];if(!d)return r;var y,b,p=d.call(r),f=[];try{for(;(void 0===c||c-- >0)&&!(y=p.next()).done;)f.push(y.value)}catch(v){b={error:v}}finally{try{y&&!y.done&&(d=p.return)&&d.call(p)}finally{if(b)throw b.error}}return f},h=this&&this.__spreadArray||function(r,c){for(var d=0,p=c.length,y=r.length;d<p;d++,y++)r[y]=c[d];return r};Object.defineProperty(o,"__esModule",{value:!0}),o.zipWith=void 0;var _=a(5573);o.zipWith=function u(){for(var r=[],c=0;c<arguments.length;c++)r[c]=arguments[c];return _.zip.apply(void 0,h([],n(r)))}},9611:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleArray=void 0;var n=a(5821);o.scheduleArray=function h(_,u){return new n.Observable(function(r){var c=0;return u.schedule(function(){c===_.length?r.complete():(r.next(_[c++]),r.closed||this.schedule())})})}},3009:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleAsyncIterable=void 0;var n=a(5821),h=a(2590);o.scheduleAsyncIterable=function _(u,r){if(!u)throw new Error("Iterable cannot be null");return new n.Observable(function(c){h.executeSchedule(c,r,function(){var d=u[Symbol.asyncIterator]();h.executeSchedule(c,r,function(){d.next().then(function(p){p.done?c.complete():c.next(p.value)})},0,!0)})})}},9049:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleIterable=void 0;var n=a(5821),h=a(4260),_=a(7104),u=a(2590);o.scheduleIterable=function r(c,d){return new n.Observable(function(p){var y;return u.executeSchedule(p,d,function(){y=c[h.iterator](),u.executeSchedule(p,d,function(){var f,b,v;try{b=(f=y.next()).value,v=f.done}catch(m){return void p.error(m)}v?p.complete():p.next(b)},0,!0)}),function(){return _.isFunction(null==y?void 0:y.return)&&y.return()}})}},7767:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleObservable=void 0;var n=a(8767),h=a(4928),_=a(1698);o.scheduleObservable=function u(r,c){return n.innerFrom(r).pipe(_.subscribeOn(c),h.observeOn(c))}},2247:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.schedulePromise=void 0;var n=a(8767),h=a(4928),_=a(1698);o.schedulePromise=function u(r,c){return n.innerFrom(r).pipe(_.subscribeOn(c),h.observeOn(c))}},3958:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduleReadableStreamLike=void 0;var n=a(3009),h=a(7128);o.scheduleReadableStreamLike=function _(u,r){return n.scheduleAsyncIterable(h.readableStreamLikeToAsyncGenerator(u),r)}},9341:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.scheduled=void 0;var n=a(7767),h=a(2247),_=a(9611),u=a(9049),r=a(3009),c=a(7454),d=a(5050),p=a(697),y=a(5431),f=a(6175),b=a(6870),v=a(7128),m=a(3958);o.scheduled=function C(M,O){if(null!=M){if(c.isInteropObservable(M))return n.scheduleObservable(M,O);if(p.isArrayLike(M))return _.scheduleArray(M,O);if(d.isPromise(M))return h.schedulePromise(M,O);if(f.isAsyncIterable(M))return r.scheduleAsyncIterable(M,O);if(y.isIterable(M))return u.scheduleIterable(M,O);if(v.isReadableStreamLike(M))return m.scheduleReadableStreamLike(M,O)}throw b.createInvalidObservableTypeError(M)}},1394:function(U,o,a){"use strict";var u,n=this&&this.__extends||(u=function(r,c){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var y in p)Object.prototype.hasOwnProperty.call(p,y)&&(d[y]=p[y])})(r,c)},function(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=r}u(r,c),r.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)});Object.defineProperty(o,"__esModule",{value:!0}),o.Action=void 0;var _=function(u){function r(c,d){return u.call(this)||this}return n(r,u),r.prototype.schedule=function(c,d){return void 0===d&&(d=0),this},r}(a(6448).Subscription);o.Action=_},275:function(U,o,a){"use strict";var r,n=this&&this.__extends||(r=function(c,d){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,y){p.__proto__=y}||function(p,y){for(var f in y)Object.prototype.hasOwnProperty.call(y,f)&&(p[f]=y[f])})(c,d)},function(c,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function p(){this.constructor=c}r(c,d),c.prototype=null===d?Object.create(d):(p.prototype=d.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.AnimationFrameAction=void 0;var h=a(4723),_=a(6343),u=function(r){function c(d,p){var y=r.call(this,d,p)||this;return y.scheduler=d,y.work=p,y}return n(c,r),c.prototype.requestAsyncId=function(d,p,y){return void 0===y&&(y=0),null!==y&&y>0?r.prototype.requestAsyncId.call(this,d,p,y):(d.actions.push(this),d._scheduled||(d._scheduled=_.animationFrameProvider.requestAnimationFrame(function(){return d.flush(void 0)})))},c.prototype.recycleAsyncId=function(d,p,y){var f;if(void 0===y&&(y=0),null!=y?y>0:this.delay>0)return r.prototype.recycleAsyncId.call(this,d,p,y);var b=d.actions;null!=p&&(null===(f=b[b.length-1])||void 0===f?void 0:f.id)!==p&&(_.animationFrameProvider.cancelAnimationFrame(p),d._scheduled=void 0)},c}(h.AsyncAction);o.AnimationFrameAction=u},3625:function(U,o,a){"use strict";var u,n=this&&this.__extends||(u=function(r,c){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var y in p)Object.prototype.hasOwnProperty.call(p,y)&&(d[y]=p[y])})(r,c)},function(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=r}u(r,c),r.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)});Object.defineProperty(o,"__esModule",{value:!0}),o.AnimationFrameScheduler=void 0;var _=function(u){function r(){return null!==u&&u.apply(this,arguments)||this}return n(r,u),r.prototype.flush=function(c){this._active=!0;var d=this._scheduled;this._scheduled=void 0;var y,p=this.actions;c=c||p.shift();do{if(y=c.execute(c.state,c.delay))break}while((c=p[0])&&c.id===d&&p.shift());if(this._active=!1,y){for(;(c=p[0])&&c.id===d&&p.shift();)c.unsubscribe();throw y}},r}(a(6216).AsyncScheduler);o.AnimationFrameScheduler=_},7046:function(U,o,a){"use strict";var r,n=this&&this.__extends||(r=function(c,d){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,y){p.__proto__=y}||function(p,y){for(var f in y)Object.prototype.hasOwnProperty.call(y,f)&&(p[f]=y[f])})(c,d)},function(c,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function p(){this.constructor=c}r(c,d),c.prototype=null===d?Object.create(d):(p.prototype=d.prototype,new p)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsapAction=void 0;var h=a(4723),_=a(7766),u=function(r){function c(d,p){var y=r.call(this,d,p)||this;return y.scheduler=d,y.work=p,y}return n(c,r),c.prototype.requestAsyncId=function(d,p,y){return void 0===y&&(y=0),null!==y&&y>0?r.prototype.requestAsyncId.call(this,d,p,y):(d.actions.push(this),d._scheduled||(d._scheduled=_.immediateProvider.setImmediate(d.flush.bind(d,void 0))))},c.prototype.recycleAsyncId=function(d,p,y){var f;if(void 0===y&&(y=0),null!=y?y>0:this.delay>0)return r.prototype.recycleAsyncId.call(this,d,p,y);var b=d.actions;null!=p&&(null===(f=b[b.length-1])||void 0===f?void 0:f.id)!==p&&(_.immediateProvider.clearImmediate(p),d._scheduled=void 0)},c}(h.AsyncAction);o.AsapAction=u},3706:function(U,o,a){"use strict";var u,n=this&&this.__extends||(u=function(r,c){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var y in p)Object.prototype.hasOwnProperty.call(p,y)&&(d[y]=p[y])})(r,c)},function(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=r}u(r,c),r.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsapScheduler=void 0;var _=function(u){function r(){return null!==u&&u.apply(this,arguments)||this}return n(r,u),r.prototype.flush=function(c){this._active=!0;var d=this._scheduled;this._scheduled=void 0;var y,p=this.actions;c=c||p.shift();do{if(y=c.execute(c.state,c.delay))break}while((c=p[0])&&c.id===d&&p.shift());if(this._active=!1,y){for(;(c=p[0])&&c.id===d&&p.shift();)c.unsubscribe();throw y}},r}(a(6216).AsyncScheduler);o.AsapScheduler=_},4723:function(U,o,a){"use strict";var c,n=this&&this.__extends||(c=function(d,p){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,f){y.__proto__=f}||function(y,f){for(var b in f)Object.prototype.hasOwnProperty.call(f,b)&&(y[b]=f[b])})(d,p)},function(d,p){if("function"!=typeof p&&null!==p)throw new TypeError("Class extends value "+String(p)+" is not a constructor or null");function y(){this.constructor=d}c(d,p),d.prototype=null===p?Object.create(p):(y.prototype=p.prototype,new y)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsyncAction=void 0;var h=a(1394),_=a(2444),u=a(5137),r=function(c){function d(p,y){var f=c.call(this,p,y)||this;return f.scheduler=p,f.work=y,f.pending=!1,f}return n(d,c),d.prototype.schedule=function(p,y){var f;if(void 0===y&&(y=0),this.closed)return this;this.state=p;var b=this.id,v=this.scheduler;return null!=b&&(this.id=this.recycleAsyncId(v,b,y)),this.pending=!0,this.delay=y,this.id=null!==(f=this.id)&&void 0!==f?f:this.requestAsyncId(v,this.id,y),this},d.prototype.requestAsyncId=function(p,y,f){return void 0===f&&(f=0),_.intervalProvider.setInterval(p.flush.bind(p,this),f)},d.prototype.recycleAsyncId=function(p,y,f){if(void 0===f&&(f=0),null!=f&&this.delay===f&&!1===this.pending)return y;null!=y&&_.intervalProvider.clearInterval(y)},d.prototype.execute=function(p,y){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var f=this._execute(p,y);if(f)return f;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},d.prototype._execute=function(p,y){var b,f=!1;try{this.work(p)}catch(v){f=!0,b=v||new Error("Scheduled action threw falsy error")}if(f)return this.unsubscribe(),b},d.prototype.unsubscribe=function(){if(!this.closed){var y=this.id,f=this.scheduler,b=f.actions;this.work=this.state=this.scheduler=null,this.pending=!1,u.arrRemove(b,this),null!=y&&(this.id=this.recycleAsyncId(f,y,null)),this.delay=null,c.prototype.unsubscribe.call(this)}},d}(h.Action);o.AsyncAction=r},6216:function(U,o,a){"use strict";var u,n=this&&this.__extends||(u=function(r,c){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var y in p)Object.prototype.hasOwnProperty.call(p,y)&&(d[y]=p[y])})(r,c)},function(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=r}u(r,c),r.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)});Object.defineProperty(o,"__esModule",{value:!0}),o.AsyncScheduler=void 0;var h=a(2716),_=function(u){function r(c,d){void 0===d&&(d=h.Scheduler.now);var p=u.call(this,c,d)||this;return p.actions=[],p._active=!1,p}return n(r,u),r.prototype.flush=function(c){var d=this.actions;if(this._active)d.push(c);else{var p;this._active=!0;do{if(p=c.execute(c.state,c.delay))break}while(c=d.shift());if(this._active=!1,p){for(;c=d.shift();)c.unsubscribe();throw p}}},r}(h.Scheduler);o.AsyncScheduler=_},4954:function(U,o,a){"use strict";var u,n=this&&this.__extends||(u=function(r,c){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var y in p)Object.prototype.hasOwnProperty.call(p,y)&&(d[y]=p[y])})(r,c)},function(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=r}u(r,c),r.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)});Object.defineProperty(o,"__esModule",{value:!0}),o.QueueAction=void 0;var _=function(u){function r(c,d){var p=u.call(this,c,d)||this;return p.scheduler=c,p.work=d,p}return n(r,u),r.prototype.schedule=function(c,d){return void 0===d&&(d=0),d>0?u.prototype.schedule.call(this,c,d):(this.delay=d,this.state=c,this.scheduler.flush(this),this)},r.prototype.execute=function(c,d){return d>0||this.closed?u.prototype.execute.call(this,c,d):this._execute(c,d)},r.prototype.requestAsyncId=function(c,d,p){return void 0===p&&(p=0),null!=p&&p>0||null==p&&this.delay>0?u.prototype.requestAsyncId.call(this,c,d,p):(c.flush(this),0)},r}(a(4723).AsyncAction);o.QueueAction=_},345:function(U,o,a){"use strict";var u,n=this&&this.__extends||(u=function(r,c){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var y in p)Object.prototype.hasOwnProperty.call(p,y)&&(d[y]=p[y])})(r,c)},function(r,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function d(){this.constructor=r}u(r,c),r.prototype=null===c?Object.create(c):(d.prototype=c.prototype,new d)});Object.defineProperty(o,"__esModule",{value:!0}),o.QueueScheduler=void 0;var _=function(u){function r(){return null!==u&&u.apply(this,arguments)||this}return n(r,u),r}(a(6216).AsyncScheduler);o.QueueScheduler=_},2018:function(U,o,a){"use strict";var d,n=this&&this.__extends||(d=function(p,y){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,b){f.__proto__=b}||function(f,b){for(var v in b)Object.prototype.hasOwnProperty.call(b,v)&&(f[v]=b[v])})(p,y)},function(p,y){if("function"!=typeof y&&null!==y)throw new TypeError("Class extends value "+String(y)+" is not a constructor or null");function f(){this.constructor=p}d(p,y),p.prototype=null===y?Object.create(y):(f.prototype=y.prototype,new f)});Object.defineProperty(o,"__esModule",{value:!0}),o.VirtualAction=o.VirtualTimeScheduler=void 0;var h=a(4723),_=a(6448),r=function(d){function p(y,f){void 0===y&&(y=c),void 0===f&&(f=1/0);var b=d.call(this,y,function(){return b.frame})||this;return b.maxFrames=f,b.frame=0,b.index=-1,b}return n(p,d),p.prototype.flush=function(){for(var v,m,f=this.actions,b=this.maxFrames;(m=f[0])&&m.delay<=b&&(f.shift(),this.frame=m.delay,!(v=m.execute(m.state,m.delay))););if(v){for(;m=f.shift();)m.unsubscribe();throw v}},p.frameTimeFactor=10,p}(a(6216).AsyncScheduler);o.VirtualTimeScheduler=r;var c=function(d){function p(y,f,b){void 0===b&&(b=y.index+=1);var v=d.call(this,y,f)||this;return v.scheduler=y,v.work=f,v.index=b,v.active=!0,v.index=y.index=b,v}return n(p,d),p.prototype.schedule=function(y,f){if(void 0===f&&(f=0),Number.isFinite(f)){if(!this.id)return d.prototype.schedule.call(this,y,f);this.active=!1;var b=new p(this.scheduler,this.work);return this.add(b),b.schedule(y,f)}return _.Subscription.EMPTY},p.prototype.requestAsyncId=function(y,f,b){void 0===b&&(b=0),this.delay=y.frame+b;var v=y.actions;return v.push(this),v.sort(p.sortActions),1},p.prototype.recycleAsyncId=function(y,f,b){void 0===b&&(b=0)},p.prototype._execute=function(y,f){if(!0===this.active)return d.prototype._execute.call(this,y,f)},p.sortActions=function(y,f){return y.delay===f.delay?y.index===f.index?0:y.index>f.index?1:-1:y.delay>f.delay?1:-1},p}(h.AsyncAction);o.VirtualAction=c},1906:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.animationFrame=o.animationFrameScheduler=void 0;var n=a(275),h=a(3625);o.animationFrameScheduler=new h.AnimationFrameScheduler(n.AnimationFrameAction),o.animationFrame=o.animationFrameScheduler},6343:function(U,o,a){"use strict";var n=this&&this.__read||function(u,r){var c="function"==typeof Symbol&&u[Symbol.iterator];if(!c)return u;var p,f,d=c.call(u),y=[];try{for(;(void 0===r||r-- >0)&&!(p=d.next()).done;)y.push(p.value)}catch(b){f={error:b}}finally{try{p&&!p.done&&(c=d.return)&&c.call(d)}finally{if(f)throw f.error}}return y},h=this&&this.__spreadArray||function(u,r){for(var c=0,d=r.length,p=u.length;c<d;c++,p++)u[p]=r[c];return u};Object.defineProperty(o,"__esModule",{value:!0}),o.animationFrameProvider=void 0;var _=a(6448);o.animationFrameProvider={schedule:function(u){var r=requestAnimationFrame,c=cancelAnimationFrame,d=o.animationFrameProvider.delegate;d&&(r=d.requestAnimationFrame,c=d.cancelAnimationFrame);var p=r(function(y){c=void 0,u(y)});return new _.Subscription(function(){return null==c?void 0:c(p)})},requestAnimationFrame:function(){for(var u=[],r=0;r<arguments.length;r++)u[r]=arguments[r];var c=o.animationFrameProvider.delegate;return((null==c?void 0:c.requestAnimationFrame)||requestAnimationFrame).apply(void 0,h([],n(u)))},cancelAnimationFrame:function(){for(var u=[],r=0;r<arguments.length;r++)u[r]=arguments[r];var c=o.animationFrameProvider.delegate;return((null==c?void 0:c.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,h([],n(u)))},delegate:void 0}},1212:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.asap=o.asapScheduler=void 0;var n=a(7046),h=a(3706);o.asapScheduler=new h.AsapScheduler(n.AsapAction),o.asap=o.asapScheduler},4006:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.async=o.asyncScheduler=void 0;var n=a(4723),h=a(6216);o.asyncScheduler=new h.AsyncScheduler(n.AsyncAction),o.async=o.asyncScheduler},8354:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.dateTimestampProvider=void 0,o.dateTimestampProvider={now:function(){return(o.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},7766:function(U,o,a){"use strict";var n=this&&this.__read||function(c,d){var p="function"==typeof Symbol&&c[Symbol.iterator];if(!p)return c;var f,v,y=p.call(c),b=[];try{for(;(void 0===d||d-- >0)&&!(f=y.next()).done;)b.push(f.value)}catch(m){v={error:m}}finally{try{f&&!f.done&&(p=y.return)&&p.call(y)}finally{if(v)throw v.error}}return b},h=this&&this.__spreadArray||function(c,d){for(var p=0,y=d.length,f=c.length;p<y;p++,f++)c[f]=d[p];return c};Object.defineProperty(o,"__esModule",{value:!0}),o.immediateProvider=void 0;var _=a(349),u=_.Immediate.setImmediate,r=_.Immediate.clearImmediate;o.immediateProvider={setImmediate:function(){for(var c=[],d=0;d<arguments.length;d++)c[d]=arguments[d];var p=o.immediateProvider.delegate;return((null==p?void 0:p.setImmediate)||u).apply(void 0,h([],n(c)))},clearImmediate:function(c){var d=o.immediateProvider.delegate;return((null==d?void 0:d.clearImmediate)||r)(c)},delegate:void 0}},2444:function(U,o){"use strict";var a=this&&this.__read||function(h,_){var u="function"==typeof Symbol&&h[Symbol.iterator];if(!u)return h;var c,p,r=u.call(h),d=[];try{for(;(void 0===_||_-- >0)&&!(c=r.next()).done;)d.push(c.value)}catch(y){p={error:y}}finally{try{c&&!c.done&&(u=r.return)&&u.call(r)}finally{if(p)throw p.error}}return d},n=this&&this.__spreadArray||function(h,_){for(var u=0,r=_.length,c=h.length;u<r;u++,c++)h[c]=_[u];return h};Object.defineProperty(o,"__esModule",{value:!0}),o.intervalProvider=void 0,o.intervalProvider={setInterval:function(h,_){for(var u=[],r=2;r<arguments.length;r++)u[r-2]=arguments[r];var c=o.intervalProvider.delegate;return null!=c&&c.setInterval?c.setInterval.apply(c,n([h,_],a(u))):setInterval.apply(void 0,n([h,_],a(u)))},clearInterval:function(h){var _=o.intervalProvider.delegate;return((null==_?void 0:_.clearInterval)||clearInterval)(h)},delegate:void 0}},1038:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.performanceTimestampProvider=void 0,o.performanceTimestampProvider={now:function(){return(o.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},5668:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.queue=o.queueScheduler=void 0;var n=a(4954),h=a(345);o.queueScheduler=new h.QueueScheduler(n.QueueAction),o.queue=o.queueScheduler},3914:function(U,o){"use strict";var a=this&&this.__read||function(h,_){var u="function"==typeof Symbol&&h[Symbol.iterator];if(!u)return h;var c,p,r=u.call(h),d=[];try{for(;(void 0===_||_-- >0)&&!(c=r.next()).done;)d.push(c.value)}catch(y){p={error:y}}finally{try{c&&!c.done&&(u=r.return)&&u.call(r)}finally{if(p)throw p.error}}return d},n=this&&this.__spreadArray||function(h,_){for(var u=0,r=_.length,c=h.length;u<r;u++,c++)h[c]=_[u];return h};Object.defineProperty(o,"__esModule",{value:!0}),o.timeoutProvider=void 0,o.timeoutProvider={setTimeout:function(h,_){for(var u=[],r=2;r<arguments.length;r++)u[r-2]=arguments[r];var c=o.timeoutProvider.delegate;return null!=c&&c.setTimeout?c.setTimeout.apply(c,n([h,_],a(u))):setTimeout.apply(void 0,n([h,_],a(u)))},clearTimeout:function(h){var _=o.timeoutProvider.delegate;return((null==_?void 0:_.clearTimeout)||clearTimeout)(h)},delegate:void 0}},4260:(U,o)=>{"use strict";function a(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(o,"__esModule",{value:!0}),o.iterator=o.getSymbolIterator=void 0,o.getSymbolIterator=a,o.iterator=a()},1689:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.observable=void 0,o.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},5256:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0})},4769:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ArgumentOutOfRangeError=void 0;var n=a(9703);o.ArgumentOutOfRangeError=n.createErrorClass(function(h){return function(){h(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},8915:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.EmptyError=void 0;var n=a(9703);o.EmptyError=n.createErrorClass(function(h){return function(){h(this),this.name="EmptyError",this.message="no elements in sequence"}})},349:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.TestTools=o.Immediate=void 0;var n,a=1,h={};function _(u){return u in h&&(delete h[u],!0)}o.Immediate={setImmediate:function(u){var r=a++;return h[r]=!0,n||(n=Promise.resolve()),n.then(function(){return _(r)&&u()}),r},clearImmediate:function(u){_(u)}},o.TestTools={pending:function(){return Object.keys(h).length}}},5477:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.NotFoundError=void 0;var n=a(9703);o.NotFoundError=n.createErrorClass(function(h){return function(u){h(this),this.name="NotFoundError",this.message=u}})},3965:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ObjectUnsubscribedError=void 0;var n=a(9703);o.ObjectUnsubscribedError=n.createErrorClass(function(h){return function(){h(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},1551:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.SequenceError=void 0;var n=a(9703);o.SequenceError=n.createErrorClass(function(h){return function(u){h(this),this.name="SequenceError",this.message=u}})},4970:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.UnsubscriptionError=void 0;var n=a(9703);o.UnsubscriptionError=n.createErrorClass(function(h){return function(u){h(this),this.message=u?u.length+" errors occurred during unsubscription:\n"+u.map(function(r,c){return c+1+") "+r.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=u}})},1642:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.popNumber=o.popScheduler=o.popResultSelector=void 0;var n=a(7104),h=a(1875);function _(d){return d[d.length-1]}o.popResultSelector=function u(d){return n.isFunction(_(d))?d.pop():void 0},o.popScheduler=function r(d){return h.isScheduler(_(d))?d.pop():void 0},o.popNumber=function c(d,p){return"number"==typeof _(d)?d.pop():p}},9923:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.argsArgArrayOrObject=void 0;var a=Array.isArray,n=Object.getPrototypeOf,h=Object.prototype,_=Object.keys;o.argsArgArrayOrObject=function u(c){if(1===c.length){var d=c[0];if(a(d))return{args:d,keys:null};if(function r(c){return c&&"object"==typeof c&&n(c)===h}(d)){var p=_(d);return{args:p.map(function(y){return d[y]}),keys:p}}}return{args:c,keys:null}}},3531:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.argsOrArgArray=void 0;var a=Array.isArray;o.argsOrArgArray=function n(h){return 1===h.length&&a(h[0])?h[0]:h}},5137:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.arrRemove=void 0,o.arrRemove=function a(n,h){if(n){var _=n.indexOf(h);0<=_&&n.splice(_,1)}}},9703:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createErrorClass=void 0,o.createErrorClass=function a(n){var _=n(function(u){Error.call(u),u.stack=(new Error).stack});return _.prototype=Object.create(Error.prototype),_.prototype.constructor=_,_}},7598:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createObject=void 0,o.createObject=function a(n,h){return n.reduce(function(_,u,r){return _[u]=h[r],_},{})}},5808:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.captureError=o.errorContext=void 0;var n=a(3570),h=null;o.errorContext=function _(r){if(n.config.useDeprecatedSynchronousErrorHandling){var c=!h;if(c&&(h={errorThrown:!1,error:null}),r(),c){var d=h;if(h=null,d.errorThrown)throw d.error}}else r()},o.captureError=function u(r){n.config.useDeprecatedSynchronousErrorHandling&&h&&(h.errorThrown=!0,h.error=r)}},2590:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.executeSchedule=void 0,o.executeSchedule=function a(n,h,_,u,r){void 0===u&&(u=0),void 0===r&&(r=!1);var c=h.schedule(function(){_(),r?n.add(this.schedule(null,u)):this.unsubscribe()},u);if(n.add(c),!r)return c}},7884:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.identity=void 0,o.identity=function a(n){return n}},697:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isArrayLike=void 0,o.isArrayLike=function(a){return a&&"number"==typeof a.length&&"function"!=typeof a}},6175:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isAsyncIterable=void 0;var n=a(7104);o.isAsyncIterable=function h(_){return Symbol.asyncIterator&&n.isFunction(null==_?void 0:_[Symbol.asyncIterator])}},7323:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isValidDate=void 0,o.isValidDate=function a(n){return n instanceof Date&&!isNaN(n)}},7104:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isFunction=void 0,o.isFunction=function a(n){return"function"==typeof n}},7454:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isInteropObservable=void 0;var n=a(1689),h=a(7104);o.isInteropObservable=function _(u){return h.isFunction(u[n.observable])}},5431:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isIterable=void 0;var n=a(4260),h=a(7104);o.isIterable=function _(u){return h.isFunction(null==u?void 0:u[n.iterator])}},4341:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isObservable=void 0;var n=a(5821),h=a(7104);o.isObservable=function _(u){return!!u&&(u instanceof n.Observable||h.isFunction(u.lift)&&h.isFunction(u.subscribe))}},5050:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isPromise=void 0;var n=a(7104);o.isPromise=function h(_){return n.isFunction(null==_?void 0:_.then)}},7128:function(U,o,a){"use strict";var n=this&&this.__generator||function(d,p){var f,b,v,m,y={label:0,sent:function(){if(1&v[0])throw v[1];return v[1]},trys:[],ops:[]};return m={next:C(0),throw:C(1),return:C(2)},"function"==typeof Symbol&&(m[Symbol.iterator]=function(){return this}),m;function C(O){return function(P){return function M(O){if(f)throw new TypeError("Generator is already executing.");for(;y;)try{if(f=1,b&&(v=2&O[0]?b.return:O[0]?b.throw||((v=b.return)&&v.call(b),0):b.next)&&!(v=v.call(b,O[1])).done)return v;switch(b=0,v&&(O=[2&O[0],v.value]),O[0]){case 0:case 1:v=O;break;case 4:return y.label++,{value:O[1],done:!1};case 5:y.label++,b=O[1],O=[0];continue;case 7:O=y.ops.pop(),y.trys.pop();continue;default:if(!(v=(v=y.trys).length>0&&v[v.length-1])&&(6===O[0]||2===O[0])){y=0;continue}if(3===O[0]&&(!v||O[1]>v[0]&&O[1]<v[3])){y.label=O[1];break}if(6===O[0]&&y.label<v[1]){y.label=v[1],v=O;break}if(v&&y.label<v[2]){y.label=v[2],y.ops.push(O);break}v[2]&&y.ops.pop(),y.trys.pop();continue}O=p.call(d,y)}catch(P){O=[6,P],b=0}finally{f=v=0}if(5&O[0])throw O[1];return{value:O[0]?O[1]:void 0,done:!0}}([O,P])}}},h=this&&this.__await||function(d){return this instanceof h?(this.v=d,this):new h(d)},_=this&&this.__asyncGenerator||function(d,p,y){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var b,f=y.apply(d,p||[]),v=[];return b={},m("next"),m("throw"),m("return"),b[Symbol.asyncIterator]=function(){return this},b;function m(Q){f[Q]&&(b[Q]=function(H){return new Promise(function(G,B){v.push([Q,H,G,B])>1||C(Q,H)})})}function C(Q,H){try{!function M(Q){Q.value instanceof h?Promise.resolve(Q.value.v).then(O,P):N(v[0][2],Q)}(f[Q](H))}catch(G){N(v[0][3],G)}}function O(Q){C("next",Q)}function P(Q){C("throw",Q)}function N(Q,H){Q(H),v.shift(),v.length&&C(v[0][0],v[0][1])}};Object.defineProperty(o,"__esModule",{value:!0}),o.isReadableStreamLike=o.readableStreamLikeToAsyncGenerator=void 0;var u=a(7104);o.readableStreamLikeToAsyncGenerator=function r(d){return _(this,arguments,function(){var y,f,b;return n(this,function(m){switch(m.label){case 0:y=d.getReader(),m.label=1;case 1:m.trys.push([1,,9,10]),m.label=2;case 2:return[4,h(y.read())];case 3:return f=m.sent(),b=f.value,f.done?[4,h(void 0)]:[3,5];case 4:return[2,m.sent()];case 5:return[4,h(b)];case 6:return[4,m.sent()];case 7:return m.sent(),[3,2];case 8:return[3,10];case 9:return y.releaseLock(),[7];case 10:return[2]}})})},o.isReadableStreamLike=function c(d){return u.isFunction(null==d?void 0:d.getReader)}},1875:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isScheduler=void 0;var n=a(7104);o.isScheduler=function h(_){return _&&n.isFunction(_.schedule)}},9216:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.operate=o.hasLift=void 0;var n=a(7104);function h(u){return n.isFunction(null==u?void 0:u.lift)}o.hasLift=h,o.operate=function _(u){return function(r){if(h(r))return r.lift(function(c){try{return u(c,this)}catch(d){this.error(d)}});throw new TypeError("Unable to lift unknown Observable type")}}},5280:function(U,o,a){"use strict";var n=this&&this.__read||function(d,p){var y="function"==typeof Symbol&&d[Symbol.iterator];if(!y)return d;var b,m,f=y.call(d),v=[];try{for(;(void 0===p||p-- >0)&&!(b=f.next()).done;)v.push(b.value)}catch(C){m={error:C}}finally{try{b&&!b.done&&(y=f.return)&&y.call(f)}finally{if(m)throw m.error}}return v},h=this&&this.__spreadArray||function(d,p){for(var y=0,f=p.length,b=d.length;y<f;y++,b++)d[b]=p[y];return d};Object.defineProperty(o,"__esModule",{value:!0}),o.mapOneOrManyArgs=void 0;var _=a(752),u=Array.isArray;o.mapOneOrManyArgs=function c(d){return _.map(function(p){return function r(d,p){return u(p)?d.apply(void 0,h([],n(p))):d(p)}(d,p)})}},31:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.noop=void 0,o.noop=function a(){}},963:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.not=void 0,o.not=function a(n,h){return function(_,u){return!n.call(h,_,u)}}},1471:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.pipeFromArray=o.pipe=void 0;var n=a(7884);function _(u){return 0===u.length?n.identity:1===u.length?u[0]:function(c){return u.reduce(function(d,p){return p(d)},c)}}o.pipe=function h(){for(var u=[],r=0;r<arguments.length;r++)u[r]=arguments[r];return _(u)},o.pipeFromArray=_},4709:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.reportUnhandledError=void 0;var n=a(3570),h=a(3914);o.reportUnhandledError=function _(u){h.timeoutProvider.setTimeout(function(){var r=n.config.onUnhandledError;if(!r)throw u;r(u)})}},6870:(U,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.createInvalidObservableTypeError=void 0,o.createInvalidObservableTypeError=function a(n){return new TypeError("You provided "+(null!==n&&"object"==typeof n?"an invalid object":"'"+n+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},1135:(U,o,a)=>{"use strict";a.d(o,{X:()=>h});var n=a(7579);class h extends n.x{constructor(u){super(),this._value=u}get value(){return this.getValue()}_subscribe(u){const r=super._subscribe(u);return!r.closed&&u.next(this._value),r}getValue(){const{hasError:u,thrownError:r,_value:c}=this;if(u)throw r;return this._throwIfClosed(),c}next(u){super.next(this._value=u)}}},8306:(U,o,a)=>{"use strict";a.d(o,{y:()=>f});var n=a(930),h=a(727),_=a(8822),u=a(4671);var d=a(2416),p=a(576),y=a(2806);let f=(()=>{class C{constructor(O){O&&(this._subscribe=O)}lift(O){const P=new C;return P.source=this,P.operator=O,P}subscribe(O,P,N){const Q=function m(C){return C&&C instanceof n.Lv||function v(C){return C&&(0,p.m)(C.next)&&(0,p.m)(C.error)&&(0,p.m)(C.complete)}(C)&&(0,h.Nn)(C)}(O)?O:new n.Hp(O,P,N);return(0,y.x)(()=>{const{operator:H,source:G}=this;Q.add(H?H.call(Q,G):G?this._subscribe(Q):this._trySubscribe(Q))}),Q}_trySubscribe(O){try{return this._subscribe(O)}catch(P){O.error(P)}}forEach(O,P){return new(P=b(P))((N,Q)=>{const H=new n.Hp({next:G=>{try{O(G)}catch(B){Q(B),H.unsubscribe()}},error:Q,complete:N});this.subscribe(H)})}_subscribe(O){var P;return null===(P=this.source)||void 0===P?void 0:P.subscribe(O)}[_.L](){return this}pipe(...O){return function c(C){return 0===C.length?u.y:1===C.length?C[0]:function(O){return C.reduce((P,N)=>N(P),O)}}(O)(this)}toPromise(O){return new(O=b(O))((P,N)=>{let Q;this.subscribe(H=>Q=H,H=>N(H),()=>P(Q))})}}return C.create=M=>new C(M),C})();function b(C){var M;return null!==(M=null!=C?C:d.v.Promise)&&void 0!==M?M:Promise}},7579:(U,o,a)=>{"use strict";a.d(o,{x:()=>d});var n=a(8306),h=a(727);const u=(0,a(3888).d)(y=>function(){y(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var r=a(8737),c=a(2806);let d=(()=>{class y extends n.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(b){const v=new p(this,this);return v.operator=b,v}_throwIfClosed(){if(this.closed)throw new u}next(b){(0,c.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const v of this.currentObservers)v.next(b)}})}error(b){(0,c.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=b;const{observers:v}=this;for(;v.length;)v.shift().error(b)}})}complete(){(0,c.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:b}=this;for(;b.length;)b.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var b;return(null===(b=this.observers)||void 0===b?void 0:b.length)>0}_trySubscribe(b){return this._throwIfClosed(),super._trySubscribe(b)}_subscribe(b){return this._throwIfClosed(),this._checkFinalizedStatuses(b),this._innerSubscribe(b)}_innerSubscribe(b){const{hasError:v,isStopped:m,observers:C}=this;return v||m?h.Lc:(this.currentObservers=null,C.push(b),new h.w0(()=>{this.currentObservers=null,(0,r.P)(C,b)}))}_checkFinalizedStatuses(b){const{hasError:v,thrownError:m,isStopped:C}=this;v?b.error(m):C&&b.complete()}asObservable(){const b=new n.y;return b.source=this,b}}return y.create=(f,b)=>new p(f,b),y})();class p extends d{constructor(f,b){super(),this.destination=f,this.source=b}next(f){var b,v;null===(v=null===(b=this.destination)||void 0===b?void 0:b.next)||void 0===v||v.call(b,f)}error(f){var b,v;null===(v=null===(b=this.destination)||void 0===b?void 0:b.error)||void 0===v||v.call(b,f)}complete(){var f,b;null===(b=null===(f=this.destination)||void 0===f?void 0:f.complete)||void 0===b||b.call(f)}_subscribe(f){var b,v;return null!==(v=null===(b=this.source)||void 0===b?void 0:b.subscribe(f))&&void 0!==v?v:h.Lc}}},930:(U,o,a)=>{"use strict";a.d(o,{Hp:()=>O,Lv:()=>v});var n=a(576),h=a(727),_=a(2416),u=a(7849),r=a(5032);const c=y("C",void 0,void 0);function y(G,B,X){return{kind:G,value:B,error:X}}var f=a(3410),b=a(2806);class v extends h.w0{constructor(B){super(),this.isStopped=!1,B?(this.destination=B,(0,h.Nn)(B)&&B.add(this)):this.destination=H}static create(B,X,oe){return new O(B,X,oe)}next(B){this.isStopped?Q(function p(G){return y("N",G,void 0)}(B),this):this._next(B)}error(B){this.isStopped?Q(function d(G){return y("E",void 0,G)}(B),this):(this.isStopped=!0,this._error(B))}complete(){this.isStopped?Q(c,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(B){this.destination.next(B)}_error(B){try{this.destination.error(B)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const m=Function.prototype.bind;function C(G,B){return m.call(G,B)}class M{constructor(B){this.partialObserver=B}next(B){const{partialObserver:X}=this;if(X.next)try{X.next(B)}catch(oe){P(oe)}}error(B){const{partialObserver:X}=this;if(X.error)try{X.error(B)}catch(oe){P(oe)}else P(B)}complete(){const{partialObserver:B}=this;if(B.complete)try{B.complete()}catch(X){P(X)}}}class O extends v{constructor(B,X,oe){let pe;if(super(),(0,n.m)(B)||!B)pe={next:null!=B?B:void 0,error:null!=X?X:void 0,complete:null!=oe?oe:void 0};else{let Fe;this&&_.v.useDeprecatedNextContext?(Fe=Object.create(B),Fe.unsubscribe=()=>this.unsubscribe(),pe={next:B.next&&C(B.next,Fe),error:B.error&&C(B.error,Fe),complete:B.complete&&C(B.complete,Fe)}):pe=B}this.destination=new M(pe)}}function P(G){_.v.useDeprecatedSynchronousErrorHandling?(0,b.O)(G):(0,u.h)(G)}function Q(G,B){const{onStoppedNotification:X}=_.v;X&&f.z.setTimeout(()=>X(G,B))}const H={closed:!0,next:r.Z,error:function N(G){throw G},complete:r.Z}},727:(U,o,a)=>{"use strict";a.d(o,{Lc:()=>c,w0:()=>r,Nn:()=>d});var n=a(576);const _=(0,a(3888).d)(y=>function(b){y(this),this.message=b?`${b.length} errors occurred during unsubscription:\n${b.map((v,m)=>`${m+1}) ${v.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=b});var u=a(8737);class r{constructor(f){this.initialTeardown=f,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let f;if(!this.closed){this.closed=!0;const{_parentage:b}=this;if(b)if(this._parentage=null,Array.isArray(b))for(const C of b)C.remove(this);else b.remove(this);const{initialTeardown:v}=this;if((0,n.m)(v))try{v()}catch(C){f=C instanceof _?C.errors:[C]}const{_finalizers:m}=this;if(m){this._finalizers=null;for(const C of m)try{p(C)}catch(M){f=null!=f?f:[],M instanceof _?f=[...f,...M.errors]:f.push(M)}}if(f)throw new _(f)}}add(f){var b;if(f&&f!==this)if(this.closed)p(f);else{if(f instanceof r){if(f.closed||f._hasParent(this))return;f._addParent(this)}(this._finalizers=null!==(b=this._finalizers)&&void 0!==b?b:[]).push(f)}}_hasParent(f){const{_parentage:b}=this;return b===f||Array.isArray(b)&&b.includes(f)}_addParent(f){const{_parentage:b}=this;this._parentage=Array.isArray(b)?(b.push(f),b):b?[b,f]:f}_removeParent(f){const{_parentage:b}=this;b===f?this._parentage=null:Array.isArray(b)&&(0,u.P)(b,f)}remove(f){const{_finalizers:b}=this;b&&(0,u.P)(b,f),f instanceof r&&f._removeParent(this)}}r.EMPTY=(()=>{const y=new r;return y.closed=!0,y})();const c=r.EMPTY;function d(y){return y instanceof r||y&&"closed"in y&&(0,n.m)(y.remove)&&(0,n.m)(y.add)&&(0,n.m)(y.unsubscribe)}function p(y){(0,n.m)(y)?y():y.unsubscribe()}},2416:(U,o,a)=>{"use strict";a.d(o,{v:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(U,o,a)=>{"use strict";a.d(o,{a:()=>f});var n=a(8306),h=a(4742),_=a(2076),u=a(4671),r=a(3268),c=a(3269),d=a(1810),p=a(5403),y=a(9672);function f(...m){const C=(0,c.yG)(m),M=(0,c.jO)(m),{args:O,keys:P}=(0,h.D)(m);if(0===O.length)return(0,_.D)([],C);const N=new n.y(function b(m,C,M=u.y){return O=>{v(C,()=>{const{length:P}=m,N=new Array(P);let Q=P,H=P;for(let G=0;G<P;G++)v(C,()=>{const B=(0,_.D)(m[G],C);let X=!1;B.subscribe((0,p.x)(O,oe=>{N[G]=oe,X||(X=!0,H--),H||O.next(M(N.slice()))},()=>{--Q||O.complete()}))},O)},O)}}(O,C,P?Q=>(0,d.n)(P,Q):u.y));return M?N.pipe((0,r.Z)(M)):N}function v(m,C,M){m?(0,y.f)(M,m,C):C()}},7272:(U,o,a)=>{"use strict";a.d(o,{z:()=>r});var n=a(8189),_=a(3269),u=a(2076);function r(...c){return function h(){return(0,n.J)(1)}()((0,u.D)(c,(0,_.yG)(c)))}},515:(U,o,a)=>{"use strict";a.d(o,{E:()=>h});const h=new(a(8306).y)(r=>r.complete())},4128:(U,o,a)=>{"use strict";a.d(o,{D:()=>p});var n=a(8306),h=a(4742),_=a(8421),u=a(3269),r=a(5403),c=a(3268),d=a(1810);function p(...y){const f=(0,u.jO)(y),{args:b,keys:v}=(0,h.D)(y),m=new n.y(C=>{const{length:M}=b;if(!M)return void C.complete();const O=new Array(M);let P=M,N=M;for(let Q=0;Q<M;Q++){let H=!1;(0,_.Xf)(b[Q]).subscribe((0,r.x)(C,G=>{H||(H=!0,N--),O[Q]=G},()=>P--,void 0,()=>{(!P||!H)&&(N||C.next(v?(0,d.n)(v,O):O),C.complete())}))}});return f?m.pipe((0,c.Z)(f)):m}},2076:(U,o,a)=>{"use strict";a.d(o,{D:()=>oe});var n=a(8421),h=a(9672),_=a(4482),u=a(5403);function r(pe,Fe=0){return(0,_.e)((it,z)=>{it.subscribe((0,u.x)(z,q=>(0,h.f)(z,pe,()=>z.next(q),Fe),()=>(0,h.f)(z,pe,()=>z.complete(),Fe),q=>(0,h.f)(z,pe,()=>z.error(q),Fe)))})}function c(pe,Fe=0){return(0,_.e)((it,z)=>{z.add(pe.schedule(()=>it.subscribe(z),Fe))})}var y=a(8306),b=a(2202),v=a(576);function C(pe,Fe){if(!pe)throw new Error("Iterable cannot be null");return new y.y(it=>{(0,h.f)(it,Fe,()=>{const z=pe[Symbol.asyncIterator]();(0,h.f)(it,Fe,()=>{z.next().then(q=>{q.done?it.complete():it.next(q.value)})},0,!0)})})}var M=a(3670),O=a(8239),P=a(1144),N=a(6495),Q=a(2206),H=a(4532),G=a(3260);function oe(pe,Fe){return Fe?function X(pe,Fe){if(null!=pe){if((0,M.c)(pe))return function d(pe,Fe){return(0,n.Xf)(pe).pipe(c(Fe),r(Fe))}(pe,Fe);if((0,P.z)(pe))return function f(pe,Fe){return new y.y(it=>{let z=0;return Fe.schedule(function(){z===pe.length?it.complete():(it.next(pe[z++]),it.closed||this.schedule())})})}(pe,Fe);if((0,O.t)(pe))return function p(pe,Fe){return(0,n.Xf)(pe).pipe(c(Fe),r(Fe))}(pe,Fe);if((0,Q.D)(pe))return C(pe,Fe);if((0,N.T)(pe))return function m(pe,Fe){return new y.y(it=>{let z;return(0,h.f)(it,Fe,()=>{z=pe[b.h](),(0,h.f)(it,Fe,()=>{let q,V;try{({value:q,done:V}=z.next())}catch(te){return void it.error(te)}V?it.complete():it.next(q)},0,!0)}),()=>(0,v.m)(null==z?void 0:z.return)&&z.return()})}(pe,Fe);if((0,G.L)(pe))return function B(pe,Fe){return C((0,G.Q)(pe),Fe)}(pe,Fe)}throw(0,H.z)(pe)}(pe,Fe):(0,n.Xf)(pe)}},4968:(U,o,a)=>{"use strict";a.d(o,{R:()=>f});var n=a(8421),h=a(8306),_=a(5577),u=a(1144),r=a(576),c=a(3268);const d=["addListener","removeListener"],p=["addEventListener","removeEventListener"],y=["on","off"];function f(M,O,P,N){if((0,r.m)(P)&&(N=P,P=void 0),N)return f(M,O,P).pipe((0,c.Z)(N));const[Q,H]=function C(M){return(0,r.m)(M.addEventListener)&&(0,r.m)(M.removeEventListener)}(M)?p.map(G=>B=>M[G](O,B,P)):function v(M){return(0,r.m)(M.addListener)&&(0,r.m)(M.removeListener)}(M)?d.map(b(M,O)):function m(M){return(0,r.m)(M.on)&&(0,r.m)(M.off)}(M)?y.map(b(M,O)):[];if(!Q&&(0,u.z)(M))return(0,_.z)(G=>f(G,O,P))((0,n.Xf)(M));if(!Q)throw new TypeError("Invalid event target");return new h.y(G=>{const B=(...X)=>G.next(1<X.length?X:X[0]);return Q(B),()=>H(B)})}function b(M,O){return P=>N=>M[P](O,N)}},8421:(U,o,a)=>{"use strict";a.d(o,{Xf:()=>m});var n=a(655),h=a(1144),_=a(8239),u=a(8306),r=a(3670),c=a(2206),d=a(4532),p=a(6495),y=a(3260),f=a(576),b=a(7849),v=a(8822);function m(G){if(G instanceof u.y)return G;if(null!=G){if((0,r.c)(G))return function C(G){return new u.y(B=>{const X=G[v.L]();if((0,f.m)(X.subscribe))return X.subscribe(B);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(G);if((0,h.z)(G))return function M(G){return new u.y(B=>{for(let X=0;X<G.length&&!B.closed;X++)B.next(G[X]);B.complete()})}(G);if((0,_.t)(G))return function O(G){return new u.y(B=>{G.then(X=>{B.closed||(B.next(X),B.complete())},X=>B.error(X)).then(null,b.h)})}(G);if((0,c.D)(G))return N(G);if((0,p.T)(G))return function P(G){return new u.y(B=>{for(const X of G)if(B.next(X),B.closed)return;B.complete()})}(G);if((0,y.L)(G))return function Q(G){return N((0,y.Q)(G))}(G)}throw(0,d.z)(G)}function N(G){return new u.y(B=>{(function H(G,B){var X,oe,pe,Fe;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(X=(0,n.__asyncValues)(G);!(oe=yield X.next()).done;)if(B.next(oe.value),B.closed)return}catch(it){pe={error:it}}finally{try{oe&&!oe.done&&(Fe=X.return)&&(yield Fe.call(X))}finally{if(pe)throw pe.error}}B.complete()})})(G,B).catch(X=>B.error(X))})}},6451:(U,o,a)=>{"use strict";a.d(o,{T:()=>c});var n=a(8189),h=a(8421),_=a(515),u=a(3269),r=a(2076);function c(...d){const p=(0,u.yG)(d),y=(0,u._6)(d,1/0),f=d;return f.length?1===f.length?(0,h.Xf)(f[0]):(0,n.J)(y)((0,r.D)(f,p)):_.E}},9646:(U,o,a)=>{"use strict";a.d(o,{of:()=>_});var n=a(3269),h=a(2076);function _(...u){const r=(0,n.yG)(u);return(0,h.D)(u,r)}},5963:(U,o,a)=>{"use strict";a.d(o,{H:()=>r});var n=a(8306),h=a(4986),_=a(3532);function r(c=0,d,p=h.P){let y=-1;return null!=d&&((0,_.K)(d)?p=d:y=d),new n.y(f=>{let b=function u(c){return c instanceof Date&&!isNaN(c)}(c)?+c-p.now():c;b<0&&(b=0);let v=0;return p.schedule(function(){f.closed||(f.next(v++),0<=y?this.schedule(void 0,y):f.complete())},b)})}},5403:(U,o,a)=>{"use strict";a.d(o,{x:()=>h});var n=a(930);function h(u,r,c,d,p){return new _(u,r,c,d,p)}class _ extends n.Lv{constructor(r,c,d,p,y,f){super(r),this.onFinalize=y,this.shouldUnsubscribe=f,this._next=c?function(b){try{c(b)}catch(v){r.error(v)}}:super._next,this._error=p?function(b){try{p(b)}catch(v){r.error(v)}finally{this.unsubscribe()}}:super._error,this._complete=d?function(){try{d()}catch(b){r.error(b)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:c}=this;super.unsubscribe(),!c&&(null===(r=this.onFinalize)||void 0===r||r.call(this))}}}},8372:(U,o,a)=>{"use strict";a.d(o,{b:()=>u});var n=a(4986),h=a(4482),_=a(5403);function u(r,c=n.z){return(0,h.e)((d,p)=>{let y=null,f=null,b=null;const v=()=>{if(y){y.unsubscribe(),y=null;const C=f;f=null,p.next(C)}};function m(){const C=b+r,M=c.now();if(M<C)return y=this.schedule(void 0,C-M),void p.add(y);v()}d.subscribe((0,_.x)(p,C=>{f=C,b=c.now(),y||(y=c.schedule(m,r),p.add(y))},()=>{v(),p.complete()},void 0,()=>{f=y=null}))})}},1884:(U,o,a)=>{"use strict";a.d(o,{x:()=>u});var n=a(4671),h=a(4482),_=a(5403);function u(c,d=n.y){return c=null!=c?c:r,(0,h.e)((p,y)=>{let f,b=!0;p.subscribe((0,_.x)(y,v=>{const m=d(v);(b||!c(f,m))&&(b=!1,f=m,y.next(v))}))})}function r(c,d){return c===d}},9300:(U,o,a)=>{"use strict";a.d(o,{h:()=>_});var n=a(4482),h=a(5403);function _(u,r){return(0,n.e)((c,d)=>{let p=0;c.subscribe((0,h.x)(d,y=>u.call(r,y,p++)&&d.next(y)))})}},4004:(U,o,a)=>{"use strict";a.d(o,{U:()=>_});var n=a(4482),h=a(5403);function _(u,r){return(0,n.e)((c,d)=>{let p=0;c.subscribe((0,h.x)(d,y=>{d.next(u.call(r,y,p++))}))})}},8189:(U,o,a)=>{"use strict";a.d(o,{J:()=>_});var n=a(5577),h=a(4671);function _(u=1/0){return(0,n.z)(h.y,u)}},5577:(U,o,a)=>{"use strict";a.d(o,{z:()=>p});var n=a(4004),h=a(8421),_=a(4482),u=a(9672),r=a(5403),d=a(576);function p(y,f,b=1/0){return(0,d.m)(f)?p((v,m)=>(0,n.U)((C,M)=>f(v,C,m,M))((0,h.Xf)(y(v,m))),b):("number"==typeof f&&(b=f),(0,_.e)((v,m)=>function c(y,f,b,v,m,C,M,O){const P=[];let N=0,Q=0,H=!1;const G=()=>{H&&!P.length&&!N&&f.complete()},B=oe=>N<v?X(oe):P.push(oe),X=oe=>{C&&f.next(oe),N++;let pe=!1;(0,h.Xf)(b(oe,Q++)).subscribe((0,r.x)(f,Fe=>{null==m||m(Fe),C?B(Fe):f.next(Fe)},()=>{pe=!0},void 0,()=>{if(pe)try{for(N--;P.length&&N<v;){const Fe=P.shift();M?(0,u.f)(f,M,()=>X(Fe)):X(Fe)}G()}catch(Fe){f.error(Fe)}}))};return y.subscribe((0,r.x)(f,B,()=>{H=!0,G()})),()=>{null==O||O()}}(v,m,y,b)))}},3099:(U,o,a)=>{"use strict";a.d(o,{B:()=>r});var n=a(8421),h=a(7579),_=a(930),u=a(4482);function r(d={}){const{connector:p=(()=>new h.x),resetOnError:y=!0,resetOnComplete:f=!0,resetOnRefCountZero:b=!0}=d;return v=>{let m,C,M,O=0,P=!1,N=!1;const Q=()=>{null==C||C.unsubscribe(),C=void 0},H=()=>{Q(),m=M=void 0,P=N=!1},G=()=>{const B=m;H(),null==B||B.unsubscribe()};return(0,u.e)((B,X)=>{O++,!N&&!P&&Q();const oe=M=null!=M?M:p();X.add(()=>{O--,0===O&&!N&&!P&&(C=c(G,b))}),oe.subscribe(X),!m&&O>0&&(m=new _.Hp({next:pe=>oe.next(pe),error:pe=>{N=!0,Q(),C=c(H,y,pe),oe.error(pe)},complete:()=>{P=!0,Q(),C=c(H,f),oe.complete()}}),(0,n.Xf)(B).subscribe(m))})(v)}}function c(d,p,...y){if(!0===p)return void d();if(!1===p)return;const f=new _.Hp({next:()=>{f.unsubscribe(),d()}});return p(...y).subscribe(f)}},5684:(U,o,a)=>{"use strict";a.d(o,{T:()=>h});var n=a(9300);function h(_){return(0,n.h)((u,r)=>_<=r)}},8675:(U,o,a)=>{"use strict";a.d(o,{O:()=>u});var n=a(7272),h=a(3269),_=a(4482);function u(...r){const c=(0,h.yG)(r);return(0,_.e)((d,p)=>{(c?(0,n.z)(r,d,c):(0,n.z)(r,d)).subscribe(p)})}},3900:(U,o,a)=>{"use strict";a.d(o,{w:()=>u});var n=a(8421),h=a(4482),_=a(5403);function u(r,c){return(0,h.e)((d,p)=>{let y=null,f=0,b=!1;const v=()=>b&&!y&&p.complete();d.subscribe((0,_.x)(p,m=>{null==y||y.unsubscribe();let C=0;const M=f++;(0,n.Xf)(r(m,M)).subscribe(y=(0,_.x)(p,O=>p.next(c?c(m,O,M,C++):O),()=>{y=null,v()}))},()=>{b=!0,v()}))})}},5698:(U,o,a)=>{"use strict";a.d(o,{q:()=>u});var n=a(515),h=a(4482),_=a(5403);function u(r){return r<=0?()=>n.E:(0,h.e)((c,d)=>{let p=0;c.subscribe((0,_.x)(d,y=>{++p<=r&&(d.next(y),r<=p&&d.complete())}))})}},2722:(U,o,a)=>{"use strict";a.d(o,{R:()=>r});var n=a(4482),h=a(5403),_=a(8421),u=a(5032);function r(c){return(0,n.e)((d,p)=>{(0,_.Xf)(c).subscribe((0,h.x)(p,()=>p.complete(),u.Z)),!p.closed&&d.subscribe(p)})}},8505:(U,o,a)=>{"use strict";a.d(o,{b:()=>r});var n=a(576),h=a(4482),_=a(5403),u=a(4671);function r(c,d,p){const y=(0,n.m)(c)||d||p?{next:c,error:d,complete:p}:c;return y?(0,h.e)((f,b)=>{var v;null===(v=y.subscribe)||void 0===v||v.call(y);let m=!0;f.subscribe((0,_.x)(b,C=>{var M;null===(M=y.next)||void 0===M||M.call(y,C),b.next(C)},()=>{var C;m=!1,null===(C=y.complete)||void 0===C||C.call(y),b.complete()},C=>{var M;m=!1,null===(M=y.error)||void 0===M||M.call(y,C),b.error(C)},()=>{var C,M;m&&(null===(C=y.unsubscribe)||void 0===C||C.call(y)),null===(M=y.finalize)||void 0===M||M.call(y)}))}):u.y}},4408:(U,o,a)=>{"use strict";a.d(o,{o:()=>r});var n=a(727);class h extends n.w0{constructor(d,p){super()}schedule(d,p=0){return this}}const _={setInterval(c,d,...p){const{delegate:y}=_;return null!=y&&y.setInterval?y.setInterval(c,d,...p):setInterval(c,d,...p)},clearInterval(c){const{delegate:d}=_;return((null==d?void 0:d.clearInterval)||clearInterval)(c)},delegate:void 0};var u=a(8737);class r extends h{constructor(d,p){super(d,p),this.scheduler=d,this.work=p,this.pending=!1}schedule(d,p=0){var y;if(this.closed)return this;this.state=d;const f=this.id,b=this.scheduler;return null!=f&&(this.id=this.recycleAsyncId(b,f,p)),this.pending=!0,this.delay=p,this.id=null!==(y=this.id)&&void 0!==y?y:this.requestAsyncId(b,this.id,p),this}requestAsyncId(d,p,y=0){return _.setInterval(d.flush.bind(d,this),y)}recycleAsyncId(d,p,y=0){if(null!=y&&this.delay===y&&!1===this.pending)return p;null!=p&&_.clearInterval(p)}execute(d,p){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const y=this._execute(d,p);if(y)return y;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(d,p){let f,y=!1;try{this.work(d)}catch(b){y=!0,f=b||new Error("Scheduled action threw falsy error")}if(y)return this.unsubscribe(),f}unsubscribe(){if(!this.closed){const{id:d,scheduler:p}=this,{actions:y}=p;this.work=this.state=this.scheduler=null,this.pending=!1,(0,u.P)(y,this),null!=d&&(this.id=this.recycleAsyncId(p,d,null)),this.delay=null,super.unsubscribe()}}}},640:(U,o,a)=>{"use strict";a.d(o,{v:()=>_});const n={now:()=>(n.delegate||Date).now(),delegate:void 0};class h{constructor(r,c=h.now){this.schedulerActionCtor=r,this.now=c}schedule(r,c=0,d){return new this.schedulerActionCtor(this,r).schedule(d,c)}}h.now=n.now;class _ extends h{constructor(r,c=h.now){super(r,c),this.actions=[],this._active=!1}flush(r){const{actions:c}=this;if(this._active)return void c.push(r);let d;this._active=!0;do{if(d=r.execute(r.state,r.delay))break}while(r=c.shift());if(this._active=!1,d){for(;r=c.shift();)r.unsubscribe();throw d}}}},3101:(U,o,a)=>{"use strict";a.d(o,{E:()=>C});var n=a(4408);let _,h=1;const u={};function r(O){return O in u&&(delete u[O],!0)}const c={setImmediate(O){const P=h++;return u[P]=!0,_||(_=Promise.resolve()),_.then(()=>r(P)&&O()),P},clearImmediate(O){r(O)}},{setImmediate:p,clearImmediate:y}=c,f={setImmediate(...O){const{delegate:P}=f;return((null==P?void 0:P.setImmediate)||p)(...O)},clearImmediate(O){const{delegate:P}=f;return((null==P?void 0:P.clearImmediate)||y)(O)},delegate:void 0};var v=a(640);const C=new class m extends v.v{flush(P){this._active=!0;const N=this._scheduled;this._scheduled=void 0;const{actions:Q}=this;let H;P=P||Q.shift();do{if(H=P.execute(P.state,P.delay))break}while((P=Q[0])&&P.id===N&&Q.shift());if(this._active=!1,H){for(;(P=Q[0])&&P.id===N&&Q.shift();)P.unsubscribe();throw H}}}(class b extends n.o{constructor(P,N){super(P,N),this.scheduler=P,this.work=N}requestAsyncId(P,N,Q=0){return null!==Q&&Q>0?super.requestAsyncId(P,N,Q):(P.actions.push(this),P._scheduled||(P._scheduled=f.setImmediate(P.flush.bind(P,void 0))))}recycleAsyncId(P,N,Q=0){var H;if(null!=Q?Q>0:this.delay>0)return super.recycleAsyncId(P,N,Q);const{actions:G}=P;null!=N&&(null===(H=G[G.length-1])||void 0===H?void 0:H.id)!==N&&(f.clearImmediate(N),P._scheduled=void 0)}})},4986:(U,o,a)=>{"use strict";a.d(o,{P:()=>u,z:()=>_});var n=a(4408);const _=new(a(640).v)(n.o),u=_},3410:(U,o,a)=>{"use strict";a.d(o,{z:()=>n});const n={setTimeout(h,_,...u){const{delegate:r}=n;return null!=r&&r.setTimeout?r.setTimeout(h,_,...u):setTimeout(h,_,...u)},clearTimeout(h){const{delegate:_}=n;return((null==_?void 0:_.clearTimeout)||clearTimeout)(h)},delegate:void 0}},2202:(U,o,a)=>{"use strict";a.d(o,{h:()=>h});const h=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(U,o,a)=>{"use strict";a.d(o,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(U,o,a)=>{"use strict";a.d(o,{_6:()=>c,jO:()=>u,yG:()=>r});var n=a(576),h=a(3532);function _(d){return d[d.length-1]}function u(d){return(0,n.m)(_(d))?d.pop():void 0}function r(d){return(0,h.K)(_(d))?d.pop():void 0}function c(d,p){return"number"==typeof _(d)?d.pop():p}},4742:(U,o,a)=>{"use strict";a.d(o,{D:()=>r});const{isArray:n}=Array,{getPrototypeOf:h,prototype:_,keys:u}=Object;function r(d){if(1===d.length){const p=d[0];if(n(p))return{args:p,keys:null};if(function c(d){return d&&"object"==typeof d&&h(d)===_}(p)){const y=u(p);return{args:y.map(f=>p[f]),keys:y}}}return{args:d,keys:null}}},8737:(U,o,a)=>{"use strict";function n(h,_){if(h){const u=h.indexOf(_);0<=u&&h.splice(u,1)}}a.d(o,{P:()=>n})},3888:(U,o,a)=>{"use strict";function n(h){const u=h(r=>{Error.call(r),r.stack=(new Error).stack});return u.prototype=Object.create(Error.prototype),u.prototype.constructor=u,u}a.d(o,{d:()=>n})},1810:(U,o,a)=>{"use strict";function n(h,_){return h.reduce((u,r,c)=>(u[r]=_[c],u),{})}a.d(o,{n:()=>n})},2806:(U,o,a)=>{"use strict";a.d(o,{O:()=>u,x:()=>_});var n=a(2416);let h=null;function _(r){if(n.v.useDeprecatedSynchronousErrorHandling){const c=!h;if(c&&(h={errorThrown:!1,error:null}),r(),c){const{errorThrown:d,error:p}=h;if(h=null,d)throw p}}else r()}function u(r){n.v.useDeprecatedSynchronousErrorHandling&&h&&(h.errorThrown=!0,h.error=r)}},9672:(U,o,a)=>{"use strict";function n(h,_,u,r=0,c=!1){const d=_.schedule(function(){u(),c?h.add(this.schedule(null,r)):this.unsubscribe()},r);if(h.add(d),!c)return d}a.d(o,{f:()=>n})},4671:(U,o,a)=>{"use strict";function n(h){return h}a.d(o,{y:()=>n})},1144:(U,o,a)=>{"use strict";a.d(o,{z:()=>n});const n=h=>h&&"number"==typeof h.length&&"function"!=typeof h},2206:(U,o,a)=>{"use strict";a.d(o,{D:()=>h});var n=a(576);function h(_){return Symbol.asyncIterator&&(0,n.m)(null==_?void 0:_[Symbol.asyncIterator])}},576:(U,o,a)=>{"use strict";function n(h){return"function"==typeof h}a.d(o,{m:()=>n})},3670:(U,o,a)=>{"use strict";a.d(o,{c:()=>_});var n=a(8822),h=a(576);function _(u){return(0,h.m)(u[n.L])}},6495:(U,o,a)=>{"use strict";a.d(o,{T:()=>_});var n=a(2202),h=a(576);function _(u){return(0,h.m)(null==u?void 0:u[n.h])}},8239:(U,o,a)=>{"use strict";a.d(o,{t:()=>h});var n=a(576);function h(_){return(0,n.m)(null==_?void 0:_.then)}},3260:(U,o,a)=>{"use strict";a.d(o,{L:()=>u,Q:()=>_});var n=a(655),h=a(576);function _(r){return(0,n.__asyncGenerator)(this,arguments,function*(){const d=r.getReader();try{for(;;){const{value:p,done:y}=yield(0,n.__await)(d.read());if(y)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(p)}}finally{d.releaseLock()}})}function u(r){return(0,h.m)(null==r?void 0:r.getReader)}},3532:(U,o,a)=>{"use strict";a.d(o,{K:()=>h});var n=a(576);function h(_){return _&&(0,n.m)(_.schedule)}},4482:(U,o,a)=>{"use strict";a.d(o,{e:()=>_});var n=a(576);function _(u){return r=>{if(function h(u){return(0,n.m)(null==u?void 0:u.lift)}(r))return r.lift(function(c){try{return u(c,this)}catch(d){this.error(d)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(U,o,a)=>{"use strict";a.d(o,{Z:()=>u});var n=a(4004);const{isArray:h}=Array;function u(r){return(0,n.U)(c=>function _(r,c){return h(c)?r(...c):r(c)}(r,c))}},5032:(U,o,a)=>{"use strict";function n(){}a.d(o,{Z:()=>n})},7849:(U,o,a)=>{"use strict";a.d(o,{h:()=>_});var n=a(2416),h=a(3410);function _(u){h.z.setTimeout(()=>{const{onUnhandledError:r}=n.v;if(!r)throw u;r(u)})}},4532:(U,o,a)=>{"use strict";function n(h){return new TypeError(`You provided ${null!==h&&"object"==typeof h?"an invalid object":`'${h}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}a.d(o,{z:()=>n})},3642:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateRxMethod=o.generateMethodSignature=o.generateErrorClass=o.generateClass=o.generateErrorType=o.generateEnum=o.generateJsonRepresentation=o.mangle=o.generateSwiftTypeName=void 0;const n=a(6676);function h(m){switch(m.constructor){case n.IntPrimitiveType:return"Int";case n.UIntPrimitiveType:return"UInt";case n.MoneyPrimitiveType:return"Int64";case n.FloatPrimitiveType:return"Double";case n.BigIntPrimitiveType:return"Decimal";case n.DatePrimitiveType:case n.DateTimePrimitiveType:return"Date";case n.BoolPrimitiveType:return"Bool";case n.BytesPrimitiveType:return"Data";case n.StringPrimitiveType:case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.UrlPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:return"String";case n.VoidPrimitiveType:return"Void";case n.JsonPrimitiveType:return"AnyCodable";case n.OptionalType:return`${h(m.base)}?`;case n.ArrayType:return`[${h(m.base)}]`;case n.StructType:case n.EnumType:return`API.${m.name}`;case n.TypeReference:return h(m.type);default:throw new Error(`BUG: generateSwiftTypeName with ${m.constructor.name}`)}}function _(m){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(m)?`_${m}`:m}function u(m,C){switch(m.constructor){case n.StringPrimitiveType:case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:case n.IntPrimitiveType:case n.UIntPrimitiveType:case n.MoneyPrimitiveType:case n.FloatPrimitiveType:case n.BoolPrimitiveType:return`${C}`;case n.OptionalType:return`${C} == nil ? nil : ${u(m.base,`${C}!`)}`;case n.DatePrimitiveType:return`SdkgenHelper.encodeDate(date: ${C})`;case n.DateTimePrimitiveType:return`SdkgenHelper.encodeDateTime(date: ${C})`;case n.EnumType:return`${C}.rawValue`;case n.TypeReference:return`${u(m.type,`${C}`)}`;case n.StructType:return`${C}.toJSON()`;case n.ArrayType:return`${C}.map({ return ${u(m.base,"$0")} })`;case n.JsonPrimitiveType:return`try? ${C}.toJson()`;case n.VoidPrimitiveType:return"nil";case n.BytesPrimitiveType:return`${C}.base64EncodedString()`;default:throw new Error(`BUG: No result found for generateJsonRepresentation with ${m.constructor.name}`)}}o.generateSwiftTypeName=h,o.mangle=_,o.generateJsonRepresentation=u,o.generateEnum=function r(m){let C=` public enum ${m.name}: String, Codable {\n`;return C+=m.values.map(M=>` case ${_(M.value)} = "${M.value}"`).join("\n"),C+="\n }\n",C},o.generateErrorType=function c(m){let C=" public enum ErrorType: String, Codable {\n";return C+=m.map(M=>` case ${_(M)} = "${M}"`).join("\n"),C+="\n }\n",C},o.generateClass=function y(m){return` public struct ${m.name}: Codable {\n${m.fields.map(C=>` var ${_(C.name)}: ${h(C.type)}`).join("\n")}\n\n${function d(m){let C=" init(";return C+=m.fields.map(M=>`${_(M.name)}: ${h(M.type)}`).join(", "),C+=") {\n",C+=m.fields.map(M=>` self.${_(M.name)} = ${_(M.name)}`).join("\n"),C+="\n }\n",C}(m)}\n${function p(m){let C=" func toJSON() -> [String: Any] {\n";return C+=" var json = [String: Any]()\n",C+=m.fields.map(M=>` json["${_(M.name)}"] = ${u(M.type,M.name)}`).join("\n"),C+="\n return json",C+="\n }\n",C}(m)}\n }\n`},o.generateErrorClass=function f(){return" 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"},o.generateMethodSignature=function b(m){const C=m.args.map(M=>`${_(M.name)}: ${h(M.type)}`).concat(["timeoutSeconds: Double?",`callback: ((_ result: ${m.returnType instanceof n.VoidPrimitiveType?"API.Result<API.NoReply>":`API.Result<${h(m.returnType)}>`}) -> Void)?`]);return` func ${_(m.name)}(${C.join(", ")})`},o.generateRxMethod=function v(m){const C=m.args.map(O=>`${_(O.name)}: ${h(O.type)}`).concat(["timeoutSeconds: Double? = nil"]);let M=` static func ${_(m.name)}(${C.join(", ")}) -> ${m.returnType instanceof n.VoidPrimitiveType?"Observable<API.Result<API.NoReply>>":`Observable<API.Result<${h(m.returnType)}>>`} {\n`;return M+=" return Observable.create { observer -> Disposable in\n",M+=` API.calls.${_(m.name)}(${m.args.map(O=>`${_(O.name)}: ${_(O.name)}`).concat(["timeoutSeconds: timeoutSeconds"]).join(", ")}) { result in \n`,M+=" observer.on(.next(result))\n",M+=" observer.on(.completed)\n",M+=" }\n",M+=" return Disposables.create()\n",M+=" }\n",M+=" }\n",M}},7295:function(U,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(_,u,r,c){void 0===c&&(c=r);var d=Object.getOwnPropertyDescriptor(u,r);(!d||("get"in d?!u.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return u[r]}}),Object.defineProperty(_,c,d)}:function(_,u,r,c){void 0===c&&(c=r),_[c]=u[r]}),h=this&&this.__exportStar||function(_,u){for(var r in _)"default"!==r&&!Object.prototype.hasOwnProperty.call(u,r)&&n(u,_,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(7636),o)},7636:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateSwiftClientSource=void 0;const n=a(6676),h=a(3642);o.generateSwiftClientSource=function _(u,r){let c="import Foundation\nimport SdkgenRuntime\n";c+=r?"import RxSwift\nimport RxCocoa\n\n":"\n",c+="protocol APICallsProtocol {\n",c+=u.operations.filter(y=>y.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(y=>`${(0,h.generateMethodSignature)(y)}`).join("\n"),c+="\n}\n\n",c+='class API: SdkgenResponse {\n\n static var calls: APICallsProtocol = 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 y of u.enumTypes)c+=(0,h.generateEnum)(y),c+="\n";for(const y of u.structTypes)c+=(0,h.generateClass)(y),c+="\n";const d=[],p=new n.ErrorNode("Connection",new n.VoidPrimitiveType);d.push(p.name);for(const y of u.errors)d.push(y.name);return d.length>0&&(c+=(0,h.generateErrorType)(d),c+="\n"),c+=(0,h.generateErrorClass)(),c+="\n",c+=" public enum Result<T> {\n case success(T)\n case failure(Failure)\n }\n\n",c+=" public class Calls: SdkgenHttpClient, APICallsProtocol {\n\n override init(baseUrl: String) {\n super.init(baseUrl: baseUrl)\n }\n\n",c+=u.operations.filter(y=>y.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(y=>{let f="";return f+=` ${(0,h.generateMethodSignature)(y)} {\n`,y.args.length>0?(f+=" var jsonArgs = [String: Any]()\n",f+=y.args.map(b=>` jsonArgs["${(0,h.mangle)(b.name)}"] = ${(0,h.generateJsonRepresentation)(b.type,(0,h.mangle)(b.name))}`).join("\n")):f+=" let jsonArgs = [String: Any]()",f+="\n\n",f+=` request("${y.name}", jsonArgs, timeoutSeconds, completion: { (value: ${y.returnType instanceof n.VoidPrimitiveType?"API.NoReply":(0,h.generateSwiftTypeName)(y.returnType)}) in\n`,f+=" callback?(API.Result.success(value))\n",f+=" }, onError: { error in\n",f+=" callback?(API.Result.failure(API.Failure(message: error.message, code: error.code, type: error.type)))\n",f+=" })",f+="\n }\n",f}).join("\n"),c+=" }\n",c+="}\n",r&&(c+="\n",c+="extension API: ReactiveCompatible {}\n\n",c+="extension Reactive where Base: API {\n",c+=u.operations.filter(y=>y.annotations.every(f=>!(f instanceof n.HiddenAnnotation))).map(y=>`${(0,h.generateRxMethod)(y)}`).join("\n"),c+="}\n"),c}},8173:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateBrowserClientSource=void 0;const n=a(6676),h=a(5596);o.generateBrowserClientSource=function _(u){let r="";r+=`/* eslint-disable */\nimport { SdkgenError${u.errors.some(d=>!(d.dataType instanceof n.VoidPrimitiveType))?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/browser-runtime";\n`,(0,n.hasType)(u,n.DecimalPrimitiveType)&&(r+='import { Decimal } from "decimal.js-light";\n'),r+="\n";for(const d of u.enumTypes)r+=(0,h.generateTypescriptEnum)(d),r+="\n";for(const d of u.structTypes)r+=(0,h.generateTypescriptInterface)(d,!0),r+="\n";for(const d of u.errors)r+=(0,h.generateTypescriptErrorClass)(d,!0),r+="\n";return r+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${u.operations.filter(d=>d.annotations.every(p=>!(p instanceof n.HiddenAnnotation))).map(d=>`\n ${d.name}(args${0===d.args.length?"?":""}: {${d.args.map(p=>`${p.name}${p.type.name.endsWith("?")?"?":""}: ${(0,h.generateTypescriptTypeName)(p.type,!0)}`).join(", ")}}): Promise<${(0,h.generateTypescriptTypeName)(d.returnType,!0)}> { return this.makeRequest("${d.name}", args || {}); }`).join("")}\n}\n\n`,r+=`const errClasses = {\n${u.errors.map(d=>` ${d.name}`).join(",\n")}\n};\n\n`,r+=`const astJson = ${JSON.stringify((0,n.astToJson)(u),null,4).replace(new RegExp('"(?<key>\\w+)":',"gu"),"$<key>:")} as const;\n`,r}},5596:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.clearForLogging=o.generateTypescriptErrorClass=o.generateTypescriptEnum=o.generateTypescriptInterface=o.generateTypescriptTypeName=void 0;const n=a(6676);function h(d,p){switch(d.constructor){case n.IntPrimitiveType:case n.UIntPrimitiveType:case n.MoneyPrimitiveType:case n.FloatPrimitiveType:return"number";case n.BigIntPrimitiveType:return"bigint";case n.DecimalPrimitiveType:return"Decimal";case n.DatePrimitiveType:case n.DateTimePrimitiveType:return"Date";case n.BoolPrimitiveType:return"boolean";case n.BytesPrimitiveType:return p?"ArrayBuffer":"Buffer";case n.StringPrimitiveType:case n.CpfPrimitiveType:case n.CnpjPrimitiveType:case n.EmailPrimitiveType:case n.HtmlPrimitiveType:case n.UrlPrimitiveType:case n.UuidPrimitiveType:case n.HexPrimitiveType:case n.Base64PrimitiveType:case n.XmlPrimitiveType:return"string";case n.VoidPrimitiveType:return"void";case n.JsonPrimitiveType:return"any";case n.OptionalType:return`${h(d.base,p)} | null`;case n.ArrayType:{const{base:y}=d,f=h(y,p);return y instanceof n.OptionalType?`(${f})[]`:`${f}[]`}case n.StructType:case n.EnumType:return d.name;case n.TypeReference:return h(d.type,p);default:throw new Error(`BUG: generateTypescriptTypeName with ${d.constructor.name}`)}}o.generateTypescriptTypeName=h,o.generateTypescriptInterface=function _(d,p){return`export interface ${d.name} {\n${d.fields.map(y=>` ${y.name}: ${h(y.type,p)}`).join("\n")}\n}\n`},o.generateTypescriptEnum=function u(d){return d.hasStructValues?`export type ${d.name} = ${d.values.map(p=>p.struct?`({tag: "${p.value}"} & ${p.struct.name})`:`{tag: "${p.value}"}`).join(" | ")};\n`:`export type ${d.name} = ${d.values.map(p=>`"${p.value}"`).join(" | ")};\n`},o.generateTypescriptErrorClass=function r(d,p){return`export class ${d.name} extends ${d.dataType instanceof n.VoidPrimitiveType?"SdkgenError":`SdkgenErrorWithData<${h(d.dataType,p)}>`} {}\n`},o.clearForLogging=function c(d,p){switch(p.constructor){case n.TypeReference:return c(d,p.type);case n.OptionalType:{const y=c(d,p.base);return y?`if (${d} !== null && ${d} !== undefined) { ${y} }`:""}case n.ArrayType:{const y=c("el",p.base);return y?`for (const el of ${d}) { ${y} }`:""}case n.StructType:{const y=[];for(const f of p.fields)if(f.secret)y.push(`${d}.${f.name} = "<secret>";`);else{const b=c(`${d}.${f.name}`,f.type);b&&y.push(b)}return y.join(" ")}default:return""}}},2911:function(U,o,a){"use strict";var n=this&&this.__createBinding||(Object.create?function(_,u,r,c){void 0===c&&(c=r);var d=Object.getOwnPropertyDescriptor(u,r);(!d||("get"in d?!u.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return u[r]}}),Object.defineProperty(_,c,d)}:function(_,u,r,c){void 0===c&&(c=r),_[c]=u[r]}),h=this&&this.__exportStar||function(_,u){for(var r in _)"default"!==r&&!Object.prototype.hasOwnProperty.call(u,r)&&n(u,_,r)};Object.defineProperty(o,"__esModule",{value:!0}),h(a(8173),o),h(a(7538),o),h(a(1727),o),h(a(615),o)},7538:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateTypescriptInterfaces=void 0;const n=a(5596);o.generateTypescriptInterfaces=function h(_){let u="";for(const r of _.enumTypes)u+=(0,n.generateTypescriptEnum)(r);u+="\n";for(const r of _.structTypes)u+=(0,n.generateTypescriptInterface)(r,!1),u+="\n";return u}},1727:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateNodeClientSource=void 0;const n=a(6676),h=a(5596);o.generateNodeClientSource=function _(u){let r="";const c=u.errors.some(p=>!(p.dataType instanceof n.VoidPrimitiveType));r+=`/* eslint-disable */\nimport { Context, Fatal${u.errors.filter(p=>"Fatal"!==p.name).some(p=>p.dataType instanceof n.VoidPrimitiveType)?", SdkgenError":""}${c?", SdkgenErrorWithData":""}, SdkgenHttpClient } from "@sdkgen/node-runtime";\nimport { PartialDeep } from "type-fest";\nexport { Fatal } from "@sdkgen/node-runtime";\n`,(0,n.hasType)(u,n.DecimalPrimitiveType)&&(r+='import { Decimal } from "decimal.js";\n'),r+="\n";for(const p of u.enumTypes)r+=(0,h.generateTypescriptEnum)(p),r+="\n";for(const p of u.structTypes)r+=(0,h.generateTypescriptInterface)(p,!1),r+="\n";for(const p of u.errors)"Fatal"!==p.name&&(r+=(0,h.generateTypescriptErrorClass)(p,!1),r+="\n");return r+=`export class ApiClient extends SdkgenHttpClient {\n constructor(baseUrl: string) {\n super(baseUrl, astJson, errClasses);\n }\n${u.operations.filter(p=>p.annotations.every(y=>!(y instanceof n.HiddenAnnotation))).map(p=>`\n ${p.name}(ctx: PartialDeep<Context> | null, args: {${p.args.map(y=>`${y.name}${y.type.name.endsWith("?")?"?":""}: ${(0,h.generateTypescriptTypeName)(y.type,!1)}`).join(", ")}}): Promise<${(0,h.generateTypescriptTypeName)(p.returnType,!1)}> { return this.makeRequest(ctx, "${p.name}", args); }`).join("")}\n}\n\n`,r+=`const errClasses = {\n${u.errors.map(p=>` ${p.name}`).join(",\n")}\n};\n\n`,r+=`const astJson = ${JSON.stringify((0,n.astToJson)(u),null,4).replace(new RegExp('"(?<key>\\w+)":',"gu"),"$<key>:")} as const;\n`,r}},615:(U,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.generateNodeServerSource=void 0;const n=a(6676),h=a(5596);o.generateNodeServerSource=function _(u){let r="";const c=u.errors.some(p=>!(p.dataType instanceof n.VoidPrimitiveType));r+=`/* eslint-disable */\nimport { BaseApiConfig, Context, Fatal${u.errors.filter(p=>"Fatal"!==p.name).some(p=>p.dataType instanceof n.VoidPrimitiveType)?", SdkgenError":""}${c?", SdkgenErrorWithData":""} } from "@sdkgen/node-runtime";\nexport { Fatal } from "@sdkgen/node-runtime";\n`,(0,n.hasType)(u,n.DecimalPrimitiveType)&&(r+='import { Decimal } from "decimal.js";\n'),r+="\n";for(const p of u.enumTypes)r+=(0,h.generateTypescriptEnum)(p),r+="\n";for(const p of u.structTypes)r+=(0,h.generateTypescriptInterface)(p,!1),r+="\n";for(const p of u.errors)"Fatal"!==p.name&&(r+=(0,h.generateTypescriptErrorClass)(p,!1),r+="\n");return r+=`export class ApiConfig<ExtraContextT> extends BaseApiConfig<ExtraContextT> {\n declare fn: {${u.operations.map(p=>`\n ${p.name}: (ctx: Context & ExtraContextT, args: {${p.args.map(y=>`${y.name}: ${(0,h.generateTypescriptTypeName)(y.type,!1)}`).join(", ")}}) => Promise<${(0,h.generateTypescriptTypeName)(p.returnType,!1)}>`).join("")}\n }\n\n astJson = ${JSON.stringify((0,n.astToJson)(u),null,4).replace(new RegExp('"(?<key>\\w+)":',"gu"),"$<key>:").replace(/\n/gu,"\n ")} as const\n}\n\nexport const api = new ApiConfig<{}>();\n`,r}},655:(U,o,a)=>{"use strict";a.r(o),a.d(o,{__assign:()=>_,__asyncDelegator:()=>Q,__asyncGenerator:()=>N,__asyncValues:()=>H,__await:()=>P,__awaiter:()=>p,__classPrivateFieldGet:()=>pe,__classPrivateFieldIn:()=>it,__classPrivateFieldSet:()=>Fe,__createBinding:()=>f,__decorate:()=>r,__exportStar:()=>b,__extends:()=>h,__generator:()=>y,__importDefault:()=>oe,__importStar:()=>X,__makeTemplateObject:()=>G,__metadata:()=>d,__param:()=>c,__read:()=>m,__rest:()=>u,__spread:()=>C,__spreadArray:()=>O,__spreadArrays:()=>M,__values:()=>v});var n=function(z,q){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(V,te){V.__proto__=te}||function(V,te){for(var Ee in te)Object.prototype.hasOwnProperty.call(te,Ee)&&(V[Ee]=te[Ee])})(z,q)};function h(z,q){if("function"!=typeof q&&null!==q)throw new TypeError("Class extends value "+String(q)+" is not a constructor or null");function V(){this.constructor=z}n(z,q),z.prototype=null===q?Object.create(q):(V.prototype=q.prototype,new V)}var _=function(){return _=Object.assign||function(q){for(var V,te=1,Ee=arguments.length;te<Ee;te++)for(var Oe in V=arguments[te])Object.prototype.hasOwnProperty.call(V,Oe)&&(q[Oe]=V[Oe]);return q},_.apply(this,arguments)};function u(z,q){var V={};for(var te in z)Object.prototype.hasOwnProperty.call(z,te)&&q.indexOf(te)<0&&(V[te]=z[te]);if(null!=z&&"function"==typeof Object.getOwnPropertySymbols){var Ee=0;for(te=Object.getOwnPropertySymbols(z);Ee<te.length;Ee++)q.indexOf(te[Ee])<0&&Object.prototype.propertyIsEnumerable.call(z,te[Ee])&&(V[te[Ee]]=z[te[Ee]])}return V}function r(z,q,V,te){var K,Ee=arguments.length,Oe=Ee<3?q:null===te?te=Object.getOwnPropertyDescriptor(q,V):te;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)Oe=Reflect.decorate(z,q,V,te);else for(var ie=z.length-1;ie>=0;ie--)(K=z[ie])&&(Oe=(Ee<3?K(Oe):Ee>3?K(q,V,Oe):K(q,V))||Oe);return Ee>3&&Oe&&Object.defineProperty(q,V,Oe),Oe}function c(z,q){return function(V,te){q(V,te,z)}}function d(z,q){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(z,q)}function p(z,q,V,te){return new(V||(V=Promise))(function(Oe,K){function ie(ye){try{$(te.next(ye))}catch(Ce){K(Ce)}}function Ae(ye){try{$(te.throw(ye))}catch(Ce){K(Ce)}}function $(ye){ye.done?Oe(ye.value):function Ee(Oe){return Oe instanceof V?Oe:new V(function(K){K(Oe)})}(ye.value).then(ie,Ae)}$((te=te.apply(z,q||[])).next())})}function y(z,q){var te,Ee,Oe,K,V={label:0,sent:function(){if(1&Oe[0])throw Oe[1];return Oe[1]},trys:[],ops:[]};return K={next:ie(0),throw:ie(1),return:ie(2)},"function"==typeof Symbol&&(K[Symbol.iterator]=function(){return this}),K;function ie($){return function(ye){return function Ae($){if(te)throw new TypeError("Generator is already executing.");for(;K&&(K=0,$[0]&&(V=0)),V;)try{if(te=1,Ee&&(Oe=2&$[0]?Ee.return:$[0]?Ee.throw||((Oe=Ee.return)&&Oe.call(Ee),0):Ee.next)&&!(Oe=Oe.call(Ee,$[1])).done)return Oe;switch(Ee=0,Oe&&($=[2&$[0],Oe.value]),$[0]){case 0:case 1:Oe=$;break;case 4:return V.label++,{value:$[1],done:!1};case 5:V.label++,Ee=$[1],$=[0];continue;case 7:$=V.ops.pop(),V.trys.pop();continue;default:if(!(Oe=(Oe=V.trys).length>0&&Oe[Oe.length-1])&&(6===$[0]||2===$[0])){V=0;continue}if(3===$[0]&&(!Oe||$[1]>Oe[0]&&$[1]<Oe[3])){V.label=$[1];break}if(6===$[0]&&V.label<Oe[1]){V.label=Oe[1],Oe=$;break}if(Oe&&V.label<Oe[2]){V.label=Oe[2],V.ops.push($);break}Oe[2]&&V.ops.pop(),V.trys.pop();continue}$=q.call(z,V)}catch(ye){$=[6,ye],Ee=0}finally{te=Oe=0}if(5&$[0])throw $[1];return{value:$[0]?$[1]:void 0,done:!0}}([$,ye])}}}var f=Object.create?function(z,q,V,te){void 0===te&&(te=V);var Ee=Object.getOwnPropertyDescriptor(q,V);(!Ee||("get"in Ee?!q.__esModule:Ee.writable||Ee.configurable))&&(Ee={enumerable:!0,get:function(){return q[V]}}),Object.defineProperty(z,te,Ee)}:function(z,q,V,te){void 0===te&&(te=V),z[te]=q[V]};function b(z,q){for(var V in z)"default"!==V&&!Object.prototype.hasOwnProperty.call(q,V)&&f(q,z,V)}function v(z){var q="function"==typeof Symbol&&Symbol.iterator,V=q&&z[q],te=0;if(V)return V.call(z);if(z&&"number"==typeof z.length)return{next:function(){return z&&te>=z.length&&(z=void 0),{value:z&&z[te++],done:!z}}};throw new TypeError(q?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(z,q){var V="function"==typeof Symbol&&z[Symbol.iterator];if(!V)return z;var Ee,K,te=V.call(z),Oe=[];try{for(;(void 0===q||q-- >0)&&!(Ee=te.next()).done;)Oe.push(Ee.value)}catch(ie){K={error:ie}}finally{try{Ee&&!Ee.done&&(V=te.return)&&V.call(te)}finally{if(K)throw K.error}}return Oe}function C(){for(var z=[],q=0;q<arguments.length;q++)z=z.concat(m(arguments[q]));return z}function M(){for(var z=0,q=0,V=arguments.length;q<V;q++)z+=arguments[q].length;var te=Array(z),Ee=0;for(q=0;q<V;q++)for(var Oe=arguments[q],K=0,ie=Oe.length;K<ie;K++,Ee++)te[Ee]=Oe[K];return te}function O(z,q,V){if(V||2===arguments.length)for(var Oe,te=0,Ee=q.length;te<Ee;te++)(Oe||!(te in q))&&(Oe||(Oe=Array.prototype.slice.call(q,0,te)),Oe[te]=q[te]);return z.concat(Oe||Array.prototype.slice.call(q))}function P(z){return this instanceof P?(this.v=z,this):new P(z)}function N(z,q,V){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ee,te=V.apply(z,q||[]),Oe=[];return Ee={},K("next"),K("throw"),K("return"),Ee[Symbol.asyncIterator]=function(){return this},Ee;function K(De){te[De]&&(Ee[De]=function(Ve){return new Promise(function(Se,Ue){Oe.push([De,Ve,Se,Ue])>1||ie(De,Ve)})})}function ie(De,Ve){try{!function Ae(De){De.value instanceof P?Promise.resolve(De.value.v).then($,ye):Ce(Oe[0][2],De)}(te[De](Ve))}catch(Se){Ce(Oe[0][3],Se)}}function $(De){ie("next",De)}function ye(De){ie("throw",De)}function Ce(De,Ve){De(Ve),Oe.shift(),Oe.length&&ie(Oe[0][0],Oe[0][1])}}function Q(z){var q,V;return q={},te("next"),te("throw",function(Ee){throw Ee}),te("return"),q[Symbol.iterator]=function(){return this},q;function te(Ee,Oe){q[Ee]=z[Ee]?function(K){return(V=!V)?{value:P(z[Ee](K)),done:"return"===Ee}:Oe?Oe(K):K}:Oe}}function H(z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var V,q=z[Symbol.asyncIterator];return q?q.call(z):(z=v(z),V={},te("next"),te("throw"),te("return"),V[Symbol.asyncIterator]=function(){return this},V);function te(Oe){V[Oe]=z[Oe]&&function(K){return new Promise(function(ie,Ae){!function Ee(Oe,K,ie,Ae){Promise.resolve(Ae).then(function($){Oe({value:$,done:ie})},K)}(ie,Ae,(K=z[Oe](K)).done,K.value)})}}}function G(z,q){return Object.defineProperty?Object.defineProperty(z,"raw",{value:q}):z.raw=q,z}var B=Object.create?function(z,q){Object.defineProperty(z,"default",{enumerable:!0,value:q})}:function(z,q){z.default=q};function X(z){if(z&&z.__esModule)return z;var q={};if(null!=z)for(var V in z)"default"!==V&&Object.prototype.hasOwnProperty.call(z,V)&&f(q,z,V);return B(q,z),q}function oe(z){return z&&z.__esModule?z:{default:z}}function pe(z,q,V,te){if("a"===V&&!te)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof q?z!==q||!te:!q.has(z))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===V?te:"a"===V?te.call(z):te?te.value:q.get(z)}function Fe(z,q,V,te,Ee){if("m"===te)throw new TypeError("Private method is not writable");if("a"===te&&!Ee)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof q?z!==q||!Ee:!q.has(z))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===te?Ee.call(z,V):Ee?Ee.value=V:q.set(z,V),V}function it(z,q){if(null===q||"object"!=typeof q&&"function"!=typeof q)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof z?q===z:z.has(q)}},7156:U=>{function o(n,h,_,u,r,c,d){try{var p=n[c](d),y=p.value}catch(f){return void _(f)}p.done?h(y):Promise.resolve(y).then(u,r)}U.exports=function a(n){return function(){var h=this,_=arguments;return new Promise(function(u,r){var c=n.apply(h,_);function d(y){o(c,u,r,d,p,"next",y)}function p(y){o(c,u,r,d,p,"throw",y)}d(void 0)})}},U.exports.__esModule=!0,U.exports.default=U.exports},1777:(U,o,a)=>{"use strict";a.d(o,{F4:()=>f,IO:()=>M,LC:()=>h,SB:()=>y,X$:()=>u,ZE:()=>Q,ZN:()=>N,_j:()=>n,eR:()=>b,jt:()=>r,k1:()=>H,l3:()=>_,oB:()=>p,pV:()=>m,ru:()=>c,vP:()=>d});class n{}class h{}const _="*";function u(G,B){return{type:7,name:G,definitions:B,options:{}}}function r(G,B=null){return{type:4,styles:B,timings:G}}function c(G,B=null){return{type:3,steps:G,options:B}}function d(G,B=null){return{type:2,steps:G,options:B}}function p(G){return{type:6,styles:G,offset:null}}function y(G,B,X){return{type:0,name:G,styles:B,options:X}}function f(G){return{type:5,steps:G}}function b(G,B,X=null){return{type:1,expr:G,animation:B,options:X}}function m(G=null){return{type:9,options:G}}function M(G,B,X=null){return{type:11,selector:G,animation:B,options:X}}function P(G){Promise.resolve(null).then(G)}class N{constructor(B=0,X=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=B+X}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(B=>B()),this._onDoneFns=[])}onStart(B){this._originalOnStartFns.push(B),this._onStartFns.push(B)}onDone(B){this._originalOnDoneFns.push(B),this._onDoneFns.push(B)}onDestroy(B){this._onDestroyFns.push(B)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){P(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(B=>B()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(B=>B()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(B){this._position=this.totalTime?B*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(B){const X="start"==B?this._onStartFns:this._onDoneFns;X.forEach(oe=>oe()),X.length=0}}class Q{constructor(B){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=B;let X=0,oe=0,pe=0;const Fe=this.players.length;0==Fe?P(()=>this._onFinish()):this.players.forEach(it=>{it.onDone(()=>{++X==Fe&&this._onFinish()}),it.onDestroy(()=>{++oe==Fe&&this._onDestroy()}),it.onStart(()=>{++pe==Fe&&this._onStart()})}),this.totalTime=this.players.reduce((it,z)=>Math.max(it,z.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(B=>B()),this._onDoneFns=[])}init(){this.players.forEach(B=>B.init())}onStart(B){this._onStartFns.push(B)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(B=>B()),this._onStartFns=[])}onDone(B){this._onDoneFns.push(B)}onDestroy(B){this._onDestroyFns.push(B)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(B=>B.play())}pause(){this.players.forEach(B=>B.pause())}restart(){this.players.forEach(B=>B.restart())}finish(){this._onFinish(),this.players.forEach(B=>B.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(B=>B.destroy()),this._onDestroyFns.forEach(B=>B()),this._onDestroyFns=[])}reset(){this.players.forEach(B=>B.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(B){const X=B*this.totalTime;this.players.forEach(oe=>{const pe=oe.totalTime?Math.min(1,X/oe.totalTime):1;oe.setPosition(pe)})}getPosition(){const B=this.players.reduce((X,oe)=>null===X||oe.totalTime>X.totalTime?oe:X,null);return null!=B?B.getPosition():0}beforeDestroy(){this.players.forEach(B=>{B.beforeDestroy&&B.beforeDestroy()})}triggerCallback(B){const X="start"==B?this._onStartFns:this._onDoneFns;X.forEach(oe=>oe()),X.length=0}}const H="!"},5664:(U,o,a)=>{"use strict";a.d(o,{$s:()=>z,Em:()=>Oe,X6:()=>Te,ic:()=>ie,kH:()=>At,qV:()=>Pe,qm:()=>Je,rt:()=>be,tE:()=>Ft,yG:()=>ze});var n=a(9808),h=a(5e3),_=a(925),u=a(7579),r=a(727),c=a(1135),d=a(9646),p=a(1159),y=a(8505),f=a(8372),b=a(9300),v=a(4004),m=a(5698),C=a(5684),M=a(1884),O=a(2722),P=a(3191),N=a(7144),Q=a(5113);function X(me,ae){return(me.getAttribute(ae)||"").match(/\S+/g)||[]}const pe="cdk-describedby-message",Fe="cdk-describedby-host";let it=0,z=(()=>{class me{constructor(le,j){this._platform=j,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+it++,this._document=le,this._id=(0,h.inject)(h.APP_ID)+"-"+it++}describe(le,j,we){if(!this._canBeDescribed(le,j))return;const vt=q(j,we);"string"!=typeof j?(V(j,this._id),this._messageRegistry.set(vt,{messageElement:j,referenceCount:0})):this._messageRegistry.has(vt)||this._createMessageElement(j,we),this._isElementDescribedByMessage(le,vt)||this._addMessageReference(le,vt)}removeDescription(le,j,we){var vt;if(!j||!this._isElementNode(le))return;const Ge=q(j,we);if(this._isElementDescribedByMessage(le,Ge)&&this._removeMessageReference(le,Ge),"string"==typeof j){const yt=this._messageRegistry.get(Ge);yt&&0===yt.referenceCount&&this._deleteMessageElement(Ge)}0===(null===(vt=this._messagesContainer)||void 0===vt?void 0:vt.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var le;const j=this._document.querySelectorAll(`[${Fe}="${this._id}"]`);for(let we=0;we<j.length;we++)this._removeCdkDescribedByReferenceIds(j[we]),j[we].removeAttribute(Fe);null===(le=this._messagesContainer)||void 0===le||le.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(le,j){const we=this._document.createElement("div");V(we,this._id),we.textContent=le,j&&we.setAttribute("role",j),this._createMessagesContainer(),this._messagesContainer.appendChild(we),this._messageRegistry.set(q(le,j),{messageElement:we,referenceCount:0})}_deleteMessageElement(le){var j,we;null===(we=null===(j=this._messageRegistry.get(le))||void 0===j?void 0:j.messageElement)||void 0===we||we.remove(),this._messageRegistry.delete(le)}_createMessagesContainer(){if(this._messagesContainer)return;const le="cdk-describedby-message-container",j=this._document.querySelectorAll(`.${le}[platform="server"]`);for(let vt=0;vt<j.length;vt++)j[vt].remove();const we=this._document.createElement("div");we.style.visibility="hidden",we.classList.add(le),we.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&we.setAttribute("platform","server"),this._document.body.appendChild(we),this._messagesContainer=we}_removeCdkDescribedByReferenceIds(le){const j=X(le,"aria-describedby").filter(we=>0!=we.indexOf(pe));le.setAttribute("aria-describedby",j.join(" "))}_addMessageReference(le,j){const we=this._messageRegistry.get(j);(function G(me,ae,le){const j=X(me,ae);j.some(we=>we.trim()==le.trim())||(j.push(le.trim()),me.setAttribute(ae,j.join(" ")))})(le,"aria-describedby",we.messageElement.id),le.setAttribute(Fe,this._id),we.referenceCount++}_removeMessageReference(le,j){const we=this._messageRegistry.get(j);we.referenceCount--,function B(me,ae,le){const we=X(me,ae).filter(vt=>vt!=le.trim());we.length?me.setAttribute(ae,we.join(" ")):me.removeAttribute(ae)}(le,"aria-describedby",we.messageElement.id),le.removeAttribute(Fe)}_isElementDescribedByMessage(le,j){const we=X(le,"aria-describedby"),vt=this._messageRegistry.get(j),Ge=vt&&vt.messageElement.id;return!!Ge&&-1!=we.indexOf(Ge)}_canBeDescribed(le,j){if(!this._isElementNode(le))return!1;if(j&&"object"==typeof j)return!0;const we=null==j?"":`${j}`.trim(),vt=le.getAttribute("aria-label");return!(!we||vt&&vt.trim()===we)}_isElementNode(le){return le.nodeType===this._document.ELEMENT_NODE}}return me.\u0275fac=function(le){return new(le||me)(h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(_.t4))},me.\u0275prov=h.\u0275\u0275defineInjectable({token:me,factory:me.\u0275fac,providedIn:"root"}),me})();function q(me,ae){return"string"==typeof me?`${ae||""}/${me}`:me}function V(me,ae){me.id||(me.id=`${pe}-${ae}-${it++}`)}class Oe extends class te{constructor(ae){this._items=ae,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new u.x,this._typeaheadSubscription=r.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=le=>le.disabled,this._pressedLetters=[],this.tabOut=new u.x,this.change=new u.x,ae instanceof h.QueryList&&ae.changes.subscribe(le=>{if(this._activeItem){const we=le.toArray().indexOf(this._activeItem);we>-1&&we!==this._activeItemIndex&&(this._activeItemIndex=we)}})}skipPredicate(ae){return this._skipPredicateFn=ae,this}withWrap(ae=!0){return this._wrap=ae,this}withVerticalOrientation(ae=!0){return this._vertical=ae,this}withHorizontalOrientation(ae){return this._horizontal=ae,this}withAllowedModifierKeys(ae){return this._allowedModifierKeys=ae,this}withTypeAhead(ae=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,y.b)(le=>this._pressedLetters.push(le)),(0,f.b)(ae),(0,b.h)(()=>this._pressedLetters.length>0),(0,v.U)(()=>this._pressedLetters.join(""))).subscribe(le=>{const j=this._getItemsArray();for(let we=1;we<j.length+1;we++){const vt=(this._activeItemIndex+we)%j.length,Ge=j[vt];if(!this._skipPredicateFn(Ge)&&0===Ge.getLabel().toUpperCase().trim().indexOf(le)){this.setActiveItem(vt);break}}this._pressedLetters=[]}),this}withHomeAndEnd(ae=!0){return this._homeAndEnd=ae,this}setActiveItem(ae){const le=this._activeItem;this.updateActiveItem(ae),this._activeItem!==le&&this.change.next(this._activeItemIndex)}onKeydown(ae){const le=ae.keyCode,we=["altKey","ctrlKey","metaKey","shiftKey"].every(vt=>!ae[vt]||this._allowedModifierKeys.indexOf(vt)>-1);switch(le){case p.Mf:return void this.tabOut.next();case p.JH:if(this._vertical&&we){this.setNextItemActive();break}return;case p.LH:if(this._vertical&&we){this.setPreviousItemActive();break}return;case p.SV:if(this._horizontal&&we){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case p.oh:if(this._horizontal&&we){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case p.Sd:if(this._homeAndEnd&&we){this.setFirstItemActive();break}return;case p.uR:if(this._homeAndEnd&&we){this.setLastItemActive();break}return;default:return void((we||(0,p.Vb)(ae,"shiftKey"))&&(ae.key&&1===ae.key.length?this._letterKeyStream.next(ae.key.toLocaleUpperCase()):(le>=p.A&&le<=p.Z||le>=p.xE&&le<=p.aO)&&this._letterKeyStream.next(String.fromCharCode(le))))}this._pressedLetters=[],ae.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(ae){const le=this._getItemsArray(),j="number"==typeof ae?ae:le.indexOf(ae),we=le[j];this._activeItem=null==we?null:we,this._activeItemIndex=j}_setActiveItemByDelta(ae){this._wrap?this._setActiveInWrapMode(ae):this._setActiveInDefaultMode(ae)}_setActiveInWrapMode(ae){const le=this._getItemsArray();for(let j=1;j<=le.length;j++){const we=(this._activeItemIndex+ae*j+le.length)%le.length;if(!this._skipPredicateFn(le[we]))return void this.setActiveItem(we)}}_setActiveInDefaultMode(ae){this._setActiveItemByIndex(this._activeItemIndex+ae,ae)}_setActiveItemByIndex(ae,le){const j=this._getItemsArray();if(j[ae]){for(;this._skipPredicateFn(j[ae]);)if(!j[ae+=le])return;this.setActiveItem(ae)}}_getItemsArray(){return this._items instanceof h.QueryList?this._items.toArray():this._items}}{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(ae){return this._origin=ae,this}setActiveItem(ae){super.setActiveItem(ae),this.activeItem&&this.activeItem.focus(this._origin)}}let ie=(()=>{class me{constructor(le){this._platform=le}isDisabled(le){return le.hasAttribute("disabled")}isVisible(le){return function $(me){return!!(me.offsetWidth||me.offsetHeight||"function"==typeof me.getClientRects&&me.getClientRects().length)}(le)&&"visible"===getComputedStyle(le).visibility}isTabbable(le){if(!this._platform.isBrowser)return!1;const j=function Ae(me){try{return me.frameElement}catch(ae){return null}}(function dt(me){return me.ownerDocument&&me.ownerDocument.defaultView||window}(le));if(j&&(-1===ut(j)||!this.isVisible(j)))return!1;let we=le.nodeName.toLowerCase(),vt=ut(le);return le.hasAttribute("contenteditable")?-1!==vt:!("iframe"===we||"object"===we||this._platform.WEBKIT&&this._platform.IOS&&!function _t(me){let ae=me.nodeName.toLowerCase(),le="input"===ae&&me.type;return"text"===le||"password"===le||"select"===ae||"textarea"===ae}(le))&&("audio"===we?!!le.hasAttribute("controls")&&-1!==vt:"video"===we?-1!==vt&&(null!==vt||this._platform.FIREFOX||le.hasAttribute("controls")):le.tabIndex>=0)}isFocusable(le,j){return function bt(me){return!function Ce(me){return function Ve(me){return"input"==me.nodeName.toLowerCase()}(me)&&"hidden"==me.type}(me)&&(function ye(me){let ae=me.nodeName.toLowerCase();return"input"===ae||"select"===ae||"button"===ae||"textarea"===ae}(me)||function De(me){return function Se(me){return"a"==me.nodeName.toLowerCase()}(me)&&me.hasAttribute("href")}(me)||me.hasAttribute("contenteditable")||Ue(me))}(le)&&!this.isDisabled(le)&&((null==j?void 0:j.ignoreVisibility)||this.isVisible(le))}}return me.\u0275fac=function(le){return new(le||me)(h.\u0275\u0275inject(_.t4))},me.\u0275prov=h.\u0275\u0275defineInjectable({token:me,factory:me.\u0275fac,providedIn:"root"}),me})();function Ue(me){if(!me.hasAttribute("tabindex")||void 0===me.tabIndex)return!1;let ae=me.getAttribute("tabindex");return!(!ae||isNaN(parseInt(ae,10)))}function ut(me){if(!Ue(me))return null;const ae=parseInt(me.getAttribute("tabindex")||"",10);return isNaN(ae)?-1:ae}class $e{constructor(ae,le,j,we,vt=!1){this._element=ae,this._checker=le,this._ngZone=j,this._document=we,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,vt||this.attachAnchors()}get enabled(){return this._enabled}set enabled(ae){this._enabled=ae,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ae,this._startAnchor),this._toggleAnchorTabIndex(ae,this._endAnchor))}destroy(){const ae=this._startAnchor,le=this._endAnchor;ae&&(ae.removeEventListener("focus",this.startAnchorListener),ae.remove()),le&&(le.removeEventListener("focus",this.endAnchorListener),le.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(ae){return new Promise(le=>{this._executeOnStable(()=>le(this.focusInitialElement(ae)))})}focusFirstTabbableElementWhenReady(ae){return new Promise(le=>{this._executeOnStable(()=>le(this.focusFirstTabbableElement(ae)))})}focusLastTabbableElementWhenReady(ae){return new Promise(le=>{this._executeOnStable(()=>le(this.focusLastTabbableElement(ae)))})}_getRegionBoundary(ae){const le=this._element.querySelectorAll(`[cdk-focus-region-${ae}], [cdkFocusRegion${ae}], [cdk-focus-${ae}]`);return"start"==ae?le.length?le[0]:this._getFirstTabbableElement(this._element):le.length?le[le.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(ae){const le=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(le){if(!this._checker.isFocusable(le)){const j=this._getFirstTabbableElement(le);return null==j||j.focus(ae),!!j}return le.focus(ae),!0}return this.focusFirstTabbableElement(ae)}focusFirstTabbableElement(ae){const le=this._getRegionBoundary("start");return le&&le.focus(ae),!!le}focusLastTabbableElement(ae){const le=this._getRegionBoundary("end");return le&&le.focus(ae),!!le}hasAttached(){return this._hasAttached}_getFirstTabbableElement(ae){if(this._checker.isFocusable(ae)&&this._checker.isTabbable(ae))return ae;const le=ae.children;for(let j=0;j<le.length;j++){const we=le[j].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(le[j]):null;if(we)return we}return null}_getLastTabbableElement(ae){if(this._checker.isFocusable(ae)&&this._checker.isTabbable(ae))return ae;const le=ae.children;for(let j=le.length-1;j>=0;j--){const we=le[j].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(le[j]):null;if(we)return we}return null}_createAnchor(){const ae=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,ae),ae.classList.add("cdk-visually-hidden"),ae.classList.add("cdk-focus-trap-anchor"),ae.setAttribute("aria-hidden","true"),ae}_toggleAnchorTabIndex(ae,le){ae?le.setAttribute("tabindex","0"):le.removeAttribute("tabindex")}toggleAnchors(ae){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(ae,this._startAnchor),this._toggleAnchorTabIndex(ae,this._endAnchor))}_executeOnStable(ae){this._ngZone.isStable?ae():this._ngZone.onStable.pipe((0,m.q)(1)).subscribe(ae)}}let Pe=(()=>{class me{constructor(le,j,we){this._checker=le,this._ngZone=j,this._document=we}create(le,j=!1){return new $e(le,this._checker,this._ngZone,this._document,j)}}return me.\u0275fac=function(le){return new(le||me)(h.\u0275\u0275inject(ie),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(n.DOCUMENT))},me.\u0275prov=h.\u0275\u0275defineInjectable({token:me,factory:me.\u0275fac,providedIn:"root"}),me})();function Te(me){return 0===me.buttons||0===me.offsetX&&0===me.offsetY}function ze(me){const ae=me.touches&&me.touches[0]||me.changedTouches&&me.changedTouches[0];return!(!ae||-1!==ae.identifier||null!=ae.radiusX&&1!==ae.radiusX||null!=ae.radiusY&&1!==ae.radiusY)}const je=new h.InjectionToken("cdk-input-modality-detector-options"),We={ignoreKeys:[p.zL,p.jx,p.b2,p.MW,p.JU]},He=(0,_.i$)({passive:!0,capture:!0});let ct=(()=>{class me{constructor(le,j,we,vt){this._platform=le,this._mostRecentTarget=null,this._modality=new c.X(null),this._lastTouchMs=0,this._onKeydown=Ge=>{var yt,ee;null!==(ee=null===(yt=this._options)||void 0===yt?void 0:yt.ignoreKeys)&&void 0!==ee&&ee.some(Ie=>Ie===Ge.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,_.sA)(Ge))},this._onMousedown=Ge=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Te(Ge)?"keyboard":"mouse"),this._mostRecentTarget=(0,_.sA)(Ge))},this._onTouchstart=Ge=>{ze(Ge)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,_.sA)(Ge))},this._options=Object.assign(Object.assign({},We),vt),this.modalityDetected=this._modality.pipe((0,C.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,M.x)()),le.isBrowser&&j.runOutsideAngular(()=>{we.addEventListener("keydown",this._onKeydown,He),we.addEventListener("mousedown",this._onMousedown,He),we.addEventListener("touchstart",this._onTouchstart,He)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,He),document.removeEventListener("mousedown",this._onMousedown,He),document.removeEventListener("touchstart",this._onTouchstart,He))}}return me.\u0275fac=function(le){return new(le||me)(h.\u0275\u0275inject(_.t4),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(je,8))},me.\u0275prov=h.\u0275\u0275defineInjectable({token:me,factory:me.\u0275fac,providedIn:"root"}),me})();const tt=new h.InjectionToken("cdk-focus-monitor-default-options"),mt=(0,_.i$)({passive:!0,capture:!0});let Ft=(()=>{class me{constructor(le,j,we,vt,Ge){this._ngZone=le,this._platform=j,this._inputModalityDetector=we,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 u.x,this._rootNodeFocusAndBlurListener=yt=>{for(let Ie=(0,_.sA)(yt);Ie;Ie=Ie.parentElement)"focus"===yt.type?this._onFocus(yt,Ie):this._onBlur(yt,Ie)},this._document=vt,this._detectionMode=(null==Ge?void 0:Ge.detectionMode)||0}monitor(le,j=!1){const we=(0,P.fI)(le);if(!this._platform.isBrowser||1!==we.nodeType)return(0,d.of)(null);const vt=(0,_.kV)(we)||this._getDocument(),Ge=this._elementInfo.get(we);if(Ge)return j&&(Ge.checkChildren=!0),Ge.subject;const yt={checkChildren:j,subject:new u.x,rootNode:vt};return this._elementInfo.set(we,yt),this._registerGlobalListeners(yt),yt.subject}stopMonitoring(le){const j=(0,P.fI)(le),we=this._elementInfo.get(j);we&&(we.subject.complete(),this._setClasses(j),this._elementInfo.delete(j),this._removeGlobalListeners(we))}focusVia(le,j,we){const vt=(0,P.fI)(le);vt===this._getDocument().activeElement?this._getClosestElementsInfo(vt).forEach(([yt,ee])=>this._originChanged(yt,j,ee)):(this._setOrigin(j),"function"==typeof vt.focus&&vt.focus(we))}ngOnDestroy(){this._elementInfo.forEach((le,j)=>this.stopMonitoring(j))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(le){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(le)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:le&&this._isLastInteractionFromInputLabel(le)?"mouse":"program"}_shouldBeAttributedToTouch(le){return 1===this._detectionMode||!(null==le||!le.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(le,j){le.classList.toggle("cdk-focused",!!j),le.classList.toggle("cdk-touch-focused","touch"===j),le.classList.toggle("cdk-keyboard-focused","keyboard"===j),le.classList.toggle("cdk-mouse-focused","mouse"===j),le.classList.toggle("cdk-program-focused","program"===j)}_setOrigin(le,j=!1){this._ngZone.runOutsideAngular(()=>{this._origin=le,this._originFromTouchInteraction="touch"===le&&j,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(le,j){const we=this._elementInfo.get(j),vt=(0,_.sA)(le);!we||!we.checkChildren&&j!==vt||this._originChanged(j,this._getFocusOrigin(vt),we)}_onBlur(le,j){const we=this._elementInfo.get(j);!we||we.checkChildren&&le.relatedTarget instanceof Node&&j.contains(le.relatedTarget)||(this._setClasses(j),this._emitOrigin(we,null))}_emitOrigin(le,j){le.subject.observers.length&&this._ngZone.run(()=>le.subject.next(j))}_registerGlobalListeners(le){if(!this._platform.isBrowser)return;const j=le.rootNode,we=this._rootNodeFocusListenerCount.get(j)||0;we||this._ngZone.runOutsideAngular(()=>{j.addEventListener("focus",this._rootNodeFocusAndBlurListener,mt),j.addEventListener("blur",this._rootNodeFocusAndBlurListener,mt)}),this._rootNodeFocusListenerCount.set(j,we+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,O.R)(this._stopInputModalityDetector)).subscribe(vt=>{this._setOrigin(vt,!0)}))}_removeGlobalListeners(le){const j=le.rootNode;if(this._rootNodeFocusListenerCount.has(j)){const we=this._rootNodeFocusListenerCount.get(j);we>1?this._rootNodeFocusListenerCount.set(j,we-1):(j.removeEventListener("focus",this._rootNodeFocusAndBlurListener,mt),j.removeEventListener("blur",this._rootNodeFocusAndBlurListener,mt),this._rootNodeFocusListenerCount.delete(j))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(le,j,we){this._setClasses(le,j),this._emitOrigin(we,j),this._lastFocusOrigin=j}_getClosestElementsInfo(le){const j=[];return this._elementInfo.forEach((we,vt)=>{(vt===le||we.checkChildren&&vt.contains(le))&&j.push([vt,we])}),j}_isLastInteractionFromInputLabel(le){const{_mostRecentTarget:j,mostRecentModality:we}=this._inputModalityDetector;if("mouse"!==we||!j||j===le||"INPUT"!==le.nodeName&&"TEXTAREA"!==le.nodeName||le.disabled)return!1;const vt=le.labels;if(vt)for(let Ge=0;Ge<vt.length;Ge++)if(vt[Ge].contains(j))return!0;return!1}}return me.\u0275fac=function(le){return new(le||me)(h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(_.t4),h.\u0275\u0275inject(ct),h.\u0275\u0275inject(n.DOCUMENT,8),h.\u0275\u0275inject(tt,8))},me.\u0275prov=h.\u0275\u0275defineInjectable({token:me,factory:me.\u0275fac,providedIn:"root"}),me})(),At=(()=>{class me{constructor(le,j){this._elementRef=le,this._focusMonitor=j,this.cdkFocusChange=new h.EventEmitter}ngAfterViewInit(){const le=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(le,1===le.nodeType&&le.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(j=>this.cdkFocusChange.emit(j))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return me.\u0275fac=function(le){return new(le||me)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(Ft))},me.\u0275dir=h.\u0275\u0275defineDirective({type:me,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),me})();const Yt="cdk-high-contrast-black-on-white",Nt="cdk-high-contrast-white-on-black",rt="cdk-high-contrast-active";let Je=(()=>{class me{constructor(le,j){this._platform=le,this._document=j,this._breakpointSubscription=(0,h.inject)(Q.BreakpointObserver).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const le=this._document.createElement("div");le.style.backgroundColor="rgb(1,2,3)",le.style.position="absolute",this._document.body.appendChild(le);const j=this._document.defaultView||window,we=j&&j.getComputedStyle?j.getComputedStyle(le):null,vt=(we&&we.backgroundColor||"").replace(/ /g,"");switch(le.remove(),vt){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const le=this._document.body.classList;le.remove(rt,Yt,Nt),this._hasCheckedHighContrastMode=!0;const j=this.getHighContrastMode();1===j?le.add(rt,Yt):2===j&&le.add(rt,Nt)}}}return me.\u0275fac=function(le){return new(le||me)(h.\u0275\u0275inject(_.t4),h.\u0275\u0275inject(n.DOCUMENT))},me.\u0275prov=h.\u0275\u0275defineInjectable({token:me,factory:me.\u0275fac,providedIn:"root"}),me})(),be=(()=>{class me{constructor(le){le._applyBodyHighContrastModeCssClasses()}}return me.\u0275fac=function(le){return new(le||me)(h.\u0275\u0275inject(Je))},me.\u0275mod=h.\u0275\u0275defineNgModule({type:me}),me.\u0275inj=h.\u0275\u0275defineInjector({imports:[N.Q8]}),me})()},226:(U,o,a)=>{"use strict";a.d(o,{Is:()=>d,vT:()=>y});var n=a(5e3),h=a(9808);const _=new n.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function u(){return(0,n.inject)(h.DOCUMENT)}}),r=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let d=(()=>{class f{constructor(v){if(this.value="ltr",this.change=new n.EventEmitter,v){const C=v.documentElement?v.documentElement.dir:null;this.value=function c(f){const b=(null==f?void 0:f.toLowerCase())||"";return"auto"===b&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?r.test(navigator.language)?"rtl":"ltr":"rtl"===b?"rtl":"ltr"}((v.body?v.body.dir:null)||C||"ltr")}}ngOnDestroy(){this.change.complete()}}return f.\u0275fac=function(v){return new(v||f)(n.\u0275\u0275inject(_,8))},f.\u0275prov=n.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),y=(()=>{class f{}return f.\u0275fac=function(v){return new(v||f)},f.\u0275mod=n.\u0275\u0275defineNgModule({type:f}),f.\u0275inj=n.\u0275\u0275defineInjector({}),f})()},3191:(U,o,a)=>{"use strict";a.d(o,{Eq:()=>r,HM:()=>c,Ig:()=>h,fI:()=>d,su:()=>_,t6:()=>u});var n=a(5e3);function h(y){return null!=y&&"false"!=`${y}`}function _(y,f=0){return u(y)?Number(y):f}function u(y){return!isNaN(parseFloat(y))&&!isNaN(Number(y))}function r(y){return Array.isArray(y)?y:[y]}function c(y){return null==y?"":"string"==typeof y?y:`${y}px`}function d(y){return y instanceof n.ElementRef?y.nativeElement:y}},449:(U,o,a)=>{"use strict";a.d(o,{Ov:()=>p,Z9:()=>u,eX:()=>d,k:()=>b,o2:()=>_,yy:()=>c});var n=a(7579),h=a(5e3);class _{}function u(v){return v&&"function"==typeof v.connect}class c{applyChanges(m,C,M,O,P){m.forEachOperation((N,Q,H)=>{let G,B;if(null==N.previousIndex){const X=M(N,Q,H);G=C.createEmbeddedView(X.templateRef,X.context,X.index),B=1}else null==H?(C.remove(Q),B=3):(G=C.get(Q),C.move(G,H),B=2);P&&P({context:null==G?void 0:G.context,operation:B,record:N})})}detach(){}}class d{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(m,C,M,O,P){m.forEachOperation((N,Q,H)=>{let G,B;null==N.previousIndex?(G=this._insertView(()=>M(N,Q,H),H,C,O(N)),B=G?1:0):null==H?(this._detachAndCacheView(Q,C),B=3):(G=this._moveView(Q,H,C,O(N)),B=2),P&&P({context:null==G?void 0:G.context,operation:B,record:N})})}detach(){for(const m of this._viewCache)m.destroy();this._viewCache=[]}_insertView(m,C,M,O){const P=this._insertViewFromCache(C,M);if(P)return void(P.context.$implicit=O);const N=m();return M.createEmbeddedView(N.templateRef,N.context,N.index)}_detachAndCacheView(m,C){const M=C.detach(m);this._maybeCacheView(M,C)}_moveView(m,C,M,O){const P=M.get(m);return M.move(P,C),P.context.$implicit=O,P}_maybeCacheView(m,C){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(m);else{const M=C.indexOf(m);-1===M?m.destroy():C.remove(M)}}_insertViewFromCache(m,C){const M=this._viewCache.pop();return M&&C.insert(M,m),M||null}}class p{constructor(m=!1,C,M=!0,O){this._multiple=m,this._emitChanges=M,this.compareWith=O,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new n.x,C&&C.length&&(m?C.forEach(P=>this._markSelected(P)):this._markSelected(C[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...m){this._verifyValueAssignment(m),m.forEach(M=>this._markSelected(M));const C=this._hasQueuedChanges();return this._emitChangeEvent(),C}deselect(...m){this._verifyValueAssignment(m),m.forEach(M=>this._unmarkSelected(M));const C=this._hasQueuedChanges();return this._emitChangeEvent(),C}setSelection(...m){this._verifyValueAssignment(m);const C=this.selected,M=new Set(m);m.forEach(P=>this._markSelected(P)),C.filter(P=>!M.has(P)).forEach(P=>this._unmarkSelected(P));const O=this._hasQueuedChanges();return this._emitChangeEvent(),O}toggle(m){return this.isSelected(m)?this.deselect(m):this.select(m)}clear(m=!0){this._unmarkAll();const C=this._hasQueuedChanges();return m&&this._emitChangeEvent(),C}isSelected(m){if(this.compareWith){for(const C of this._selection)if(this.compareWith(C,m))return!0;return!1}return this._selection.has(m)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(m){this._multiple&&this.selected&&this._selected.sort(m)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(m){this.isSelected(m)||(this._multiple||this._unmarkAll(),this.isSelected(m)||this._selection.add(m),this._emitChanges&&this._selectedToEmit.push(m))}_unmarkSelected(m){this.isSelected(m)&&(this._selection.delete(m),this._emitChanges&&this._deselectedToEmit.push(m))}_unmarkAll(){this.isEmpty()||this._selection.forEach(m=>this._unmarkSelected(m))}_verifyValueAssignment(m){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}const b=new h.InjectionToken("_ViewRepeater")},1159:(U,o,a)=>{"use strict";a.d(o,{A:()=>Ce,JH:()=>H,JU:()=>c,K5:()=>r,LH:()=>N,L_:()=>v,MW:()=>ge,Mf:()=>_,SV:()=>Q,Sd:()=>O,Vb:()=>kn,Z:()=>W,ZH:()=>h,aO:()=>K,b2:()=>On,hY:()=>b,jx:()=>d,oh:()=>P,uR:()=>M,xE:()=>pe,yY:()=>oe,zL:()=>p});const h=8,_=9,r=13,c=16,d=17,p=18,b=27,v=32,M=35,O=36,P=37,N=38,Q=39,H=40,oe=46,pe=48,K=57,Ce=65,W=90,ge=91,On=224;function kn(En,...Nn){return Nn.length?Nn.some(Ti=>En[Ti]):En.altKey||En.shiftKey||En.ctrlKey||En.metaKey}},5113:(U,o,a)=>{"use strict";a.r(o),a.d(o,{BreakpointObserver:()=>H,Breakpoints:()=>B,LayoutModule:()=>C,MediaMatcher:()=>P});var n=a(5e3),h=a(3191),_=a(7579),u=a(9841),r=a(7272),c=a(8306),d=a(5698),p=a(5684),y=a(8372),f=a(4004),b=a(8675),v=a(2722),m=a(925);let C=(()=>{class X{}return X.\u0275fac=function(pe){return new(pe||X)},X.\u0275mod=n.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=n.\u0275\u0275defineInjector({}),X})();const M=new Set;let O,P=(()=>{class X{constructor(pe){this._platform=pe,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Q}matchMedia(pe){return(this._platform.WEBKIT||this._platform.BLINK)&&function N(X){if(!M.has(X))try{O||(O=document.createElement("style"),O.setAttribute("type","text/css"),document.head.appendChild(O)),O.sheet&&(O.sheet.insertRule(`@media ${X} {body{ }}`,0),M.add(X))}catch(oe){console.error(oe)}}(pe),this._matchMedia(pe)}}return X.\u0275fac=function(pe){return new(pe||X)(n.\u0275\u0275inject(m.t4))},X.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac,providedIn:"root"}),X})();function Q(X){return{matches:"all"===X||""===X,media:X,addListener:()=>{},removeListener:()=>{}}}let H=(()=>{class X{constructor(pe,Fe){this._mediaMatcher=pe,this._zone=Fe,this._queries=new Map,this._destroySubject=new _.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(pe){return G((0,h.Eq)(pe)).some(it=>this._registerQuery(it).mql.matches)}observe(pe){const it=G((0,h.Eq)(pe)).map(q=>this._registerQuery(q).observable);let z=(0,u.a)(it);return z=(0,r.z)(z.pipe((0,d.q)(1)),z.pipe((0,p.T)(1),(0,y.b)(0))),z.pipe((0,f.U)(q=>{const V={matches:!1,breakpoints:{}};return q.forEach(({matches:te,query:Ee})=>{V.matches=V.matches||te,V.breakpoints[Ee]=te}),V}))}_registerQuery(pe){if(this._queries.has(pe))return this._queries.get(pe);const Fe=this._mediaMatcher.matchMedia(pe),z={observable:new c.y(q=>{const V=te=>this._zone.run(()=>q.next(te));return Fe.addListener(V),()=>{Fe.removeListener(V)}}).pipe((0,b.O)(Fe),(0,f.U)(({matches:q})=>({query:pe,matches:q})),(0,v.R)(this._destroySubject)),mql:Fe};return this._queries.set(pe,z),z}}return X.\u0275fac=function(pe){return new(pe||X)(n.\u0275\u0275inject(P),n.\u0275\u0275inject(n.NgZone))},X.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac,providedIn:"root"}),X})();function G(X){return X.map(oe=>oe.split(",")).reduce((oe,pe)=>oe.concat(pe)).map(oe=>oe.trim())}const B={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},7144:(U,o,a)=>{"use strict";a.d(o,{Q8:()=>y,wD:()=>p});var n=a(3191),h=a(5e3),_=a(8306),u=a(7579),r=a(8372);let c=(()=>{class f{create(v){return"undefined"==typeof MutationObserver?null:new MutationObserver(v)}}return f.\u0275fac=function(v){return new(v||f)},f.\u0275prov=h.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),d=(()=>{class f{constructor(v){this._mutationObserverFactory=v,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((v,m)=>this._cleanupObserver(m))}observe(v){const m=(0,n.fI)(v);return new _.y(C=>{const O=this._observeElement(m).subscribe(C);return()=>{O.unsubscribe(),this._unobserveElement(m)}})}_observeElement(v){if(this._observedElements.has(v))this._observedElements.get(v).count++;else{const m=new u.x,C=this._mutationObserverFactory.create(M=>m.next(M));C&&C.observe(v,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(v,{observer:C,stream:m,count:1})}return this._observedElements.get(v).stream}_unobserveElement(v){this._observedElements.has(v)&&(this._observedElements.get(v).count--,this._observedElements.get(v).count||this._cleanupObserver(v))}_cleanupObserver(v){if(this._observedElements.has(v)){const{observer:m,stream:C}=this._observedElements.get(v);m&&m.disconnect(),C.complete(),this._observedElements.delete(v)}}}return f.\u0275fac=function(v){return new(v||f)(h.\u0275\u0275inject(c))},f.\u0275prov=h.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),p=(()=>{class f{constructor(v,m,C){this._contentObserver=v,this._elementRef=m,this._ngZone=C,this.event=new h.EventEmitter,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(v){this._disabled=(0,n.Ig)(v),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(v){this._debounce=(0,n.su)(v),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const v=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?v.pipe((0,r.b)(this.debounce)):v).subscribe(this.event)})}_unsubscribe(){var v;null===(v=this._currentSubscription)||void 0===v||v.unsubscribe()}}return f.\u0275fac=function(v){return new(v||f)(h.\u0275\u0275directiveInject(d),h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(h.NgZone))},f.\u0275dir=h.\u0275\u0275defineDirective({type:f,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),f})(),y=(()=>{class f{}return f.\u0275fac=function(v){return new(v||f)},f.\u0275mod=h.\u0275\u0275defineNgModule({type:f}),f.\u0275inj=h.\u0275\u0275defineInjector({providers:[c]}),f})()},1314:(U,o,a)=>{"use strict";a.d(o,{Iu:()=>z,U8:()=>Qe,X_:()=>B,Xj:()=>q,aV:()=>_t});var n=a(495),h=a(9808),_=a(5e3),u=a(3191),r=a(925),c=a(226),d=a(7429),p=a(7579),y=a(727),f=a(6451),b=a(5698),v=a(2722);const m=(0,r.Mq)();class C{constructor(Y,Te){this._viewportRuler=Y,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=Te}attach(){}enable(){if(this._canBeEnabled()){const Y=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=Y.style.left||"",this._previousHTMLStyles.top=Y.style.top||"",Y.style.left=(0,u.HM)(-this._previousScrollPosition.left),Y.style.top=(0,u.HM)(-this._previousScrollPosition.top),Y.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const Y=this._document.documentElement,ze=Y.style,je=this._document.body.style,We=ze.scrollBehavior||"",ve=je.scrollBehavior||"";this._isEnabled=!1,ze.left=this._previousHTMLStyles.left,ze.top=this._previousHTMLStyles.top,Y.classList.remove("cdk-global-scrollblock"),m&&(ze.scrollBehavior=je.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),m&&(ze.scrollBehavior=We,je.scrollBehavior=ve)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Te=this._document.body,ze=this._viewportRuler.getViewportSize();return Te.scrollHeight>ze.height||Te.scrollWidth>ze.width}}class O{constructor(Y,Te,ze,je){this._scrollDispatcher=Y,this._ngZone=Te,this._viewportRuler=ze,this._config=je,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(Y){this._overlayRef=Y}enable(){if(this._scrollSubscription)return;const Y=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=Y.subscribe(()=>{const Te=this._viewportRuler.getViewportScrollPosition().top;Math.abs(Te-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=Y.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class P{enable(){}disable(){}attach(){}}function N(Ke,Y){return Y.some(Te=>Ke.bottom<Te.top||Ke.top>Te.bottom||Ke.right<Te.left||Ke.left>Te.right)}function Q(Ke,Y){return Y.some(Te=>Ke.top<Te.top||Ke.bottom>Te.bottom||Ke.left<Te.left||Ke.right>Te.right)}class H{constructor(Y,Te,ze,je){this._scrollDispatcher=Y,this._viewportRuler=Te,this._ngZone=ze,this._config=je,this._scrollSubscription=null}attach(Y){this._overlayRef=Y}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 Te=this._overlayRef.overlayElement.getBoundingClientRect(),{width:ze,height:je}=this._viewportRuler.getViewportSize();N(Te,[{width:ze,height:je,bottom:je,right:ze,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 G=(()=>{class Ke{constructor(Te,ze,je,We){this._scrollDispatcher=Te,this._viewportRuler=ze,this._ngZone=je,this.noop=()=>new P,this.close=ve=>new O(this._scrollDispatcher,this._ngZone,this._viewportRuler,ve),this.block=()=>new C(this._viewportRuler,this._document),this.reposition=ve=>new H(this._scrollDispatcher,this._viewportRuler,this._ngZone,ve),this._document=We}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(_.\u0275\u0275inject(n.mF),_.\u0275\u0275inject(n.rL),_.\u0275\u0275inject(_.NgZone),_.\u0275\u0275inject(h.DOCUMENT))},Ke.\u0275prov=_.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})();class B{constructor(Y){if(this.scrollStrategy=new P,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Y){const Te=Object.keys(Y);for(const ze of Te)void 0!==Y[ze]&&(this[ze]=Y[ze])}}}class pe{constructor(Y,Te){this.connectionPair=Y,this.scrollableViewProperties=Te}}class z{constructor(Y,Te,ze,je,We,ve,He,ct,xe,W=!1){this._portalOutlet=Y,this._host=Te,this._pane=ze,this._config=je,this._ngZone=We,this._keyboardDispatcher=ve,this._document=He,this._location=ct,this._outsideClickDispatcher=xe,this._animationsDisabled=W,this._backdropElement=null,this._backdropClick=new p.x,this._attachments=new p.x,this._detachments=new p.x,this._locationChanges=y.w0.EMPTY,this._backdropClickHandler=ge=>this._backdropClick.next(ge),this._backdropTransitionendHandler=ge=>{this._disposeBackdrop(ge.target)},this._keydownEvents=new p.x,this._outsidePointerEvents=new p.x,je.scrollStrategy&&(this._scrollStrategy=je.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=je.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(Y){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const Te=this._portalOutlet.attach(Y);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,b.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(null==Te?void 0:Te.onDestroy)&&Te.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),Te}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const Y=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),Y}dispose(){var Y;const Te=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),null===(Y=this._host)||void 0===Y||Y.remove(),this._previousHostParent=this._pane=this._host=null,Te&&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(Y){Y!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=Y,this.hasAttached()&&(Y.attach(this),this.updatePosition()))}updateSize(Y){this._config=Object.assign(Object.assign({},this._config),Y),this._updateElementSize()}setDirection(Y){this._config=Object.assign(Object.assign({},this._config),{direction:Y}),this._updateElementDirection()}addPanelClass(Y){this._pane&&this._toggleClasses(this._pane,Y,!0)}removePanelClass(Y){this._pane&&this._toggleClasses(this._pane,Y,!1)}getDirection(){const Y=this._config.direction;return Y?"string"==typeof Y?Y:Y.value:"ltr"}updateScrollStrategy(Y){Y!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=Y,this.hasAttached()&&(Y.attach(this),Y.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const Y=this._pane.style;Y.width=(0,u.HM)(this._config.width),Y.height=(0,u.HM)(this._config.height),Y.minWidth=(0,u.HM)(this._config.minWidth),Y.minHeight=(0,u.HM)(this._config.minHeight),Y.maxWidth=(0,u.HM)(this._config.maxWidth),Y.maxHeight=(0,u.HM)(this._config.maxHeight)}_togglePointerEvents(Y){this._pane.style.pointerEvents=Y?"":"none"}_attachBackdrop(){const Y="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||"undefined"==typeof requestAnimationFrame?this._backdropElement.classList.add(Y):this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(Y)})})}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const Y=this._backdropElement;if(Y){if(this._animationsDisabled)return void this._disposeBackdrop(Y);Y.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{Y.addEventListener("transitionend",this._backdropTransitionendHandler)}),Y.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(Y)},500))}}_toggleClasses(Y,Te,ze){const je=(0,u.Eq)(Te||[]).filter(We=>!!We);je.length&&(ze?Y.classList.add(...je):Y.classList.remove(...je))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const Y=this._ngZone.onStable.pipe((0,v.R)((0,f.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()),Y.unsubscribe())})})}_disposeScrollStrategy(){const Y=this._scrollStrategy;Y&&(Y.disable(),Y.detach&&Y.detach())}_disposeBackdrop(Y){Y&&(Y.removeEventListener("click",this._backdropClickHandler),Y.removeEventListener("transitionend",this._backdropTransitionendHandler),Y.remove(),this._backdropElement===Y&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let q=(()=>{class Ke{constructor(Te,ze){this._platform=ze,this._document=Te}ngOnDestroy(){var Te;null===(Te=this._containerElement)||void 0===Te||Te.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Te="cdk-overlay-container";if(this._platform.isBrowser||(0,r.Oy)()){const je=this._document.querySelectorAll(`.${Te}[platform="server"], .${Te}[platform="test"]`);for(let We=0;We<je.length;We++)je[We].remove()}const ze=this._document.createElement("div");ze.classList.add(Te),(0,r.Oy)()?ze.setAttribute("platform","test"):this._platform.isBrowser||ze.setAttribute("platform","server"),this._document.body.appendChild(ze),this._containerElement=ze}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(_.\u0275\u0275inject(h.DOCUMENT),_.\u0275\u0275inject(r.t4))},Ke.\u0275prov=_.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})();const V="cdk-overlay-connected-position-bounding-box",te=/([A-Za-z%]+)$/;class Ee{constructor(Y,Te,ze,je,We){this._viewportRuler=Te,this._document=ze,this._platform=je,this._overlayContainer=We,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 p.x,this._resizeSubscription=y.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(Y)}get positions(){return this._preferredPositions}attach(Y){this._validatePositions(),Y.hostElement.classList.add(V),this._overlayRef=Y,this._boundingBox=Y.hostElement,this._pane=Y.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 Y=this._originRect,Te=this._overlayRect,ze=this._viewportRect,je=this._containerRect,We=[];let ve;for(let He of this._preferredPositions){let ct=this._getOriginPoint(Y,je,He),xe=this._getOverlayPoint(ct,Te,He),W=this._getOverlayFit(xe,Te,ze,He);if(W.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(He,ct);this._canFitWithFlexibleDimensions(W,xe,ze)?We.push({position:He,origin:ct,overlayRect:Te,boundingBoxRect:this._calculateBoundingBoxRect(ct,He)}):(!ve||ve.overlayFit.visibleArea<W.visibleArea)&&(ve={overlayFit:W,overlayPoint:xe,originPoint:ct,position:He,overlayRect:Te})}if(We.length){let He=null,ct=-1;for(const xe of We){const W=xe.boundingBoxRect.width*xe.boundingBoxRect.height*(xe.position.weight||1);W>ct&&(ct=W,He=xe)}return this._isPushed=!1,void this._applyPosition(He.position,He.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(ve.position,ve.originPoint);this._applyPosition(ve.position,ve.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&Oe(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(V),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const Y=this._lastPosition;if(Y){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const Te=this._getOriginPoint(this._originRect,this._containerRect,Y);this._applyPosition(Y,Te)}else this.apply()}withScrollableContainers(Y){return this._scrollables=Y,this}withPositions(Y){return this._preferredPositions=Y,-1===Y.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(Y){return this._viewportMargin=Y,this}withFlexibleDimensions(Y=!0){return this._hasFlexibleDimensions=Y,this}withGrowAfterOpen(Y=!0){return this._growAfterOpen=Y,this}withPush(Y=!0){return this._canPush=Y,this}withLockedPosition(Y=!0){return this._positionLocked=Y,this}setOrigin(Y){return this._origin=Y,this}withDefaultOffsetX(Y){return this._offsetX=Y,this}withDefaultOffsetY(Y){return this._offsetY=Y,this}withTransformOriginOn(Y){return this._transformOriginSelector=Y,this}_getOriginPoint(Y,Te,ze){let je,We;if("center"==ze.originX)je=Y.left+Y.width/2;else{const ve=this._isRtl()?Y.right:Y.left,He=this._isRtl()?Y.left:Y.right;je="start"==ze.originX?ve:He}return Te.left<0&&(je-=Te.left),We="center"==ze.originY?Y.top+Y.height/2:"top"==ze.originY?Y.top:Y.bottom,Te.top<0&&(We-=Te.top),{x:je,y:We}}_getOverlayPoint(Y,Te,ze){let je,We;return je="center"==ze.overlayX?-Te.width/2:"start"===ze.overlayX?this._isRtl()?-Te.width:0:this._isRtl()?0:-Te.width,We="center"==ze.overlayY?-Te.height/2:"top"==ze.overlayY?0:-Te.height,{x:Y.x+je,y:Y.y+We}}_getOverlayFit(Y,Te,ze,je){const We=ie(Te);let{x:ve,y:He}=Y,ct=this._getOffset(je,"x"),xe=this._getOffset(je,"y");ct&&(ve+=ct),xe&&(He+=xe);let de=0-He,ke=He+We.height-ze.height,tt=this._subtractOverflows(We.width,0-ve,ve+We.width-ze.width),mt=this._subtractOverflows(We.height,de,ke),Ft=tt*mt;return{visibleArea:Ft,isCompletelyWithinViewport:We.width*We.height===Ft,fitsInViewportVertically:mt===We.height,fitsInViewportHorizontally:tt==We.width}}_canFitWithFlexibleDimensions(Y,Te,ze){if(this._hasFlexibleDimensions){const je=ze.bottom-Te.y,We=ze.right-Te.x,ve=K(this._overlayRef.getConfig().minHeight),He=K(this._overlayRef.getConfig().minWidth),xe=Y.fitsInViewportHorizontally||null!=He&&He<=We;return(Y.fitsInViewportVertically||null!=ve&&ve<=je)&&xe}return!1}_pushOverlayOnScreen(Y,Te,ze){if(this._previousPushAmount&&this._positionLocked)return{x:Y.x+this._previousPushAmount.x,y:Y.y+this._previousPushAmount.y};const je=ie(Te),We=this._viewportRect,ve=Math.max(Y.x+je.width-We.width,0),He=Math.max(Y.y+je.height-We.height,0),ct=Math.max(We.top-ze.top-Y.y,0),xe=Math.max(We.left-ze.left-Y.x,0);let W=0,ge=0;return W=je.width<=We.width?xe||-ve:Y.x<this._viewportMargin?We.left-ze.left-Y.x:0,ge=je.height<=We.height?ct||-He:Y.y<this._viewportMargin?We.top-ze.top-Y.y:0,this._previousPushAmount={x:W,y:ge},{x:Y.x+W,y:Y.y+ge}}_applyPosition(Y,Te){if(this._setTransformOrigin(Y),this._setOverlayElementStyles(Te,Y),this._setBoundingBoxStyles(Te,Y),Y.panelClass&&this._addPanelClasses(Y.panelClass),this._lastPosition=Y,this._positionChanges.observers.length){const ze=this._getScrollVisibility(),je=new pe(Y,ze);this._positionChanges.next(je)}this._isInitialRender=!1}_setTransformOrigin(Y){if(!this._transformOriginSelector)return;const Te=this._boundingBox.querySelectorAll(this._transformOriginSelector);let ze,je=Y.overlayY;ze="center"===Y.overlayX?"center":this._isRtl()?"start"===Y.overlayX?"right":"left":"start"===Y.overlayX?"left":"right";for(let We=0;We<Te.length;We++)Te[We].style.transformOrigin=`${ze} ${je}`}_calculateBoundingBoxRect(Y,Te){const ze=this._viewportRect,je=this._isRtl();let We,ve,He,W,ge,de;if("top"===Te.overlayY)ve=Y.y,We=ze.height-ve+this._viewportMargin;else if("bottom"===Te.overlayY)He=ze.height-Y.y+2*this._viewportMargin,We=ze.height-He+this._viewportMargin;else{const ke=Math.min(ze.bottom-Y.y+ze.top,Y.y),tt=this._lastBoundingBoxSize.height;We=2*ke,ve=Y.y-ke,We>tt&&!this._isInitialRender&&!this._growAfterOpen&&(ve=Y.y-tt/2)}if("end"===Te.overlayX&&!je||"start"===Te.overlayX&&je)de=ze.width-Y.x+this._viewportMargin,W=Y.x-this._viewportMargin;else if("start"===Te.overlayX&&!je||"end"===Te.overlayX&&je)ge=Y.x,W=ze.right-Y.x;else{const ke=Math.min(ze.right-Y.x+ze.left,Y.x),tt=this._lastBoundingBoxSize.width;W=2*ke,ge=Y.x-ke,W>tt&&!this._isInitialRender&&!this._growAfterOpen&&(ge=Y.x-tt/2)}return{top:ve,left:ge,bottom:He,right:de,width:W,height:We}}_setBoundingBoxStyles(Y,Te){const ze=this._calculateBoundingBoxRect(Y,Te);!this._isInitialRender&&!this._growAfterOpen&&(ze.height=Math.min(ze.height,this._lastBoundingBoxSize.height),ze.width=Math.min(ze.width,this._lastBoundingBoxSize.width));const je={};if(this._hasExactPosition())je.top=je.left="0",je.bottom=je.right=je.maxHeight=je.maxWidth="",je.width=je.height="100%";else{const We=this._overlayRef.getConfig().maxHeight,ve=this._overlayRef.getConfig().maxWidth;je.height=(0,u.HM)(ze.height),je.top=(0,u.HM)(ze.top),je.bottom=(0,u.HM)(ze.bottom),je.width=(0,u.HM)(ze.width),je.left=(0,u.HM)(ze.left),je.right=(0,u.HM)(ze.right),je.alignItems="center"===Te.overlayX?"center":"end"===Te.overlayX?"flex-end":"flex-start",je.justifyContent="center"===Te.overlayY?"center":"bottom"===Te.overlayY?"flex-end":"flex-start",We&&(je.maxHeight=(0,u.HM)(We)),ve&&(je.maxWidth=(0,u.HM)(ve))}this._lastBoundingBoxSize=ze,Oe(this._boundingBox.style,je)}_resetBoundingBoxStyles(){Oe(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){Oe(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(Y,Te){const ze={},je=this._hasExactPosition(),We=this._hasFlexibleDimensions,ve=this._overlayRef.getConfig();if(je){const W=this._viewportRuler.getViewportScrollPosition();Oe(ze,this._getExactOverlayY(Te,Y,W)),Oe(ze,this._getExactOverlayX(Te,Y,W))}else ze.position="static";let He="",ct=this._getOffset(Te,"x"),xe=this._getOffset(Te,"y");ct&&(He+=`translateX(${ct}px) `),xe&&(He+=`translateY(${xe}px)`),ze.transform=He.trim(),ve.maxHeight&&(je?ze.maxHeight=(0,u.HM)(ve.maxHeight):We&&(ze.maxHeight="")),ve.maxWidth&&(je?ze.maxWidth=(0,u.HM)(ve.maxWidth):We&&(ze.maxWidth="")),Oe(this._pane.style,ze)}_getExactOverlayY(Y,Te,ze){let je={top:"",bottom:""},We=this._getOverlayPoint(Te,this._overlayRect,Y);return this._isPushed&&(We=this._pushOverlayOnScreen(We,this._overlayRect,ze)),"bottom"===Y.overlayY?je.bottom=this._document.documentElement.clientHeight-(We.y+this._overlayRect.height)+"px":je.top=(0,u.HM)(We.y),je}_getExactOverlayX(Y,Te,ze){let ve,je={left:"",right:""},We=this._getOverlayPoint(Te,this._overlayRect,Y);return this._isPushed&&(We=this._pushOverlayOnScreen(We,this._overlayRect,ze)),ve=this._isRtl()?"end"===Y.overlayX?"left":"right":"end"===Y.overlayX?"right":"left","right"===ve?je.right=this._document.documentElement.clientWidth-(We.x+this._overlayRect.width)+"px":je.left=(0,u.HM)(We.x),je}_getScrollVisibility(){const Y=this._getOriginRect(),Te=this._pane.getBoundingClientRect(),ze=this._scrollables.map(je=>je.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Q(Y,ze),isOriginOutsideView:N(Y,ze),isOverlayClipped:Q(Te,ze),isOverlayOutsideView:N(Te,ze)}}_subtractOverflows(Y,...Te){return Te.reduce((ze,je)=>ze-Math.max(je,0),Y)}_getNarrowedViewportRect(){const Y=this._document.documentElement.clientWidth,Te=this._document.documentElement.clientHeight,ze=this._viewportRuler.getViewportScrollPosition();return{top:ze.top+this._viewportMargin,left:ze.left+this._viewportMargin,right:ze.left+Y-this._viewportMargin,bottom:ze.top+Te-this._viewportMargin,width:Y-2*this._viewportMargin,height:Te-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(Y,Te){return"x"===Te?null==Y.offsetX?this._offsetX:Y.offsetX:null==Y.offsetY?this._offsetY:Y.offsetY}_validatePositions(){}_addPanelClasses(Y){this._pane&&(0,u.Eq)(Y).forEach(Te=>{""!==Te&&-1===this._appliedPanelClasses.indexOf(Te)&&(this._appliedPanelClasses.push(Te),this._pane.classList.add(Te))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(Y=>{this._pane.classList.remove(Y)}),this._appliedPanelClasses=[])}_getOriginRect(){const Y=this._origin;if(Y instanceof _.ElementRef)return Y.nativeElement.getBoundingClientRect();if(Y instanceof Element)return Y.getBoundingClientRect();const Te=Y.width||0,ze=Y.height||0;return{top:Y.y,bottom:Y.y+ze,left:Y.x,right:Y.x+Te,height:ze,width:Te}}}function Oe(Ke,Y){for(let Te in Y)Y.hasOwnProperty(Te)&&(Ke[Te]=Y[Te]);return Ke}function K(Ke){if("number"!=typeof Ke&&null!=Ke){const[Y,Te]=Ke.split(te);return Te&&"px"!==Te?null:parseFloat(Y)}return Ke||null}function ie(Ke){return{top:Math.floor(Ke.top),right:Math.floor(Ke.right),bottom:Math.floor(Ke.bottom),left:Math.floor(Ke.left),width:Math.floor(Ke.width),height:Math.floor(Ke.height)}}const ye="cdk-global-overlay-wrapper";class Ce{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(Y){const Te=Y.getConfig();this._overlayRef=Y,this._width&&!Te.width&&Y.updateSize({width:this._width}),this._height&&!Te.height&&Y.updateSize({height:this._height}),Y.hostElement.classList.add(ye),this._isDisposed=!1}top(Y=""){return this._bottomOffset="",this._topOffset=Y,this._alignItems="flex-start",this}left(Y=""){return this._xOffset=Y,this._xPosition="left",this}bottom(Y=""){return this._topOffset="",this._bottomOffset=Y,this._alignItems="flex-end",this}right(Y=""){return this._xOffset=Y,this._xPosition="right",this}start(Y=""){return this._xOffset=Y,this._xPosition="start",this}end(Y=""){return this._xOffset=Y,this._xPosition="end",this}width(Y=""){return this._overlayRef?this._overlayRef.updateSize({width:Y}):this._width=Y,this}height(Y=""){return this._overlayRef?this._overlayRef.updateSize({height:Y}):this._height=Y,this}centerHorizontally(Y=""){return this.left(Y),this._xPosition="center",this}centerVertically(Y=""){return this.top(Y),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const Y=this._overlayRef.overlayElement.style,Te=this._overlayRef.hostElement.style,ze=this._overlayRef.getConfig(),{width:je,height:We,maxWidth:ve,maxHeight:He}=ze,ct=!("100%"!==je&&"100vw"!==je||ve&&"100%"!==ve&&"100vw"!==ve),xe=!("100%"!==We&&"100vh"!==We||He&&"100%"!==He&&"100vh"!==He),W=this._xPosition,ge=this._xOffset,de="rtl"===this._overlayRef.getConfig().direction;let ke="",tt="",mt="";ct?mt="flex-start":"center"===W?(mt="center",de?tt=ge:ke=ge):de?"left"===W||"end"===W?(mt="flex-end",ke=ge):("right"===W||"start"===W)&&(mt="flex-start",tt=ge):"left"===W||"start"===W?(mt="flex-start",ke=ge):("right"===W||"end"===W)&&(mt="flex-end",tt=ge),Y.position=this._cssPosition,Y.marginLeft=ct?"0":ke,Y.marginTop=xe?"0":this._topOffset,Y.marginBottom=this._bottomOffset,Y.marginRight=ct?"0":tt,Te.justifyContent=mt,Te.alignItems=xe?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Y=this._overlayRef.overlayElement.style,Te=this._overlayRef.hostElement,ze=Te.style;Te.classList.remove(ye),ze.justifyContent=ze.alignItems=Y.marginTop=Y.marginBottom=Y.marginLeft=Y.marginRight=Y.position="",this._overlayRef=null,this._isDisposed=!0}}let De=(()=>{class Ke{constructor(Te,ze,je,We){this._viewportRuler=Te,this._document=ze,this._platform=je,this._overlayContainer=We}global(){return new Ce}flexibleConnectedTo(Te){return new Ee(Te,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(_.\u0275\u0275inject(n.rL),_.\u0275\u0275inject(h.DOCUMENT),_.\u0275\u0275inject(r.t4),_.\u0275\u0275inject(q))},Ke.\u0275prov=_.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})(),Ve=(()=>{class Ke{constructor(Te){this._attachedOverlays=[],this._document=Te}ngOnDestroy(){this.detach()}add(Te){this.remove(Te),this._attachedOverlays.push(Te)}remove(Te){const ze=this._attachedOverlays.indexOf(Te);ze>-1&&this._attachedOverlays.splice(ze,1),0===this._attachedOverlays.length&&this.detach()}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(_.\u0275\u0275inject(h.DOCUMENT))},Ke.\u0275prov=_.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})(),Se=(()=>{class Ke extends Ve{constructor(Te,ze){super(Te),this._ngZone=ze,this._keydownListener=je=>{const We=this._attachedOverlays;for(let ve=We.length-1;ve>-1;ve--)if(We[ve]._keydownEvents.observers.length>0){const He=We[ve]._keydownEvents;this._ngZone?this._ngZone.run(()=>He.next(je)):He.next(je);break}}}add(Te){super.add(Te),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)}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(_.\u0275\u0275inject(h.DOCUMENT),_.\u0275\u0275inject(_.NgZone,8))},Ke.\u0275prov=_.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})(),Ue=(()=>{class Ke extends Ve{constructor(Te,ze,je){super(Te),this._platform=ze,this._ngZone=je,this._cursorStyleIsSet=!1,this._pointerDownListener=We=>{this._pointerDownEventTarget=(0,r.sA)(We)},this._clickListener=We=>{const ve=(0,r.sA)(We),He="click"===We.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:ve;this._pointerDownEventTarget=null;const ct=this._attachedOverlays.slice();for(let xe=ct.length-1;xe>-1;xe--){const W=ct[xe];if(W._outsidePointerEvents.observers.length<1||!W.hasAttached())continue;if(W.overlayElement.contains(ve)||W.overlayElement.contains(He))break;const ge=W._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>ge.next(We)):ge.next(We)}}}add(Te){if(super.add(Te),!this._isAttached){const ze=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(ze)):this._addEventListeners(ze),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=ze.style.cursor,ze.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const Te=this._document.body;Te.removeEventListener("pointerdown",this._pointerDownListener,!0),Te.removeEventListener("click",this._clickListener,!0),Te.removeEventListener("auxclick",this._clickListener,!0),Te.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(Te.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(Te){Te.addEventListener("pointerdown",this._pointerDownListener,!0),Te.addEventListener("click",this._clickListener,!0),Te.addEventListener("auxclick",this._clickListener,!0),Te.addEventListener("contextmenu",this._clickListener,!0)}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(_.\u0275\u0275inject(h.DOCUMENT),_.\u0275\u0275inject(r.t4),_.\u0275\u0275inject(_.NgZone,8))},Ke.\u0275prov=_.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac,providedIn:"root"}),Ke})(),ut=0,_t=(()=>{class Ke{constructor(Te,ze,je,We,ve,He,ct,xe,W,ge,de,ke){this.scrollStrategies=Te,this._overlayContainer=ze,this._componentFactoryResolver=je,this._positionBuilder=We,this._keyboardDispatcher=ve,this._injector=He,this._ngZone=ct,this._document=xe,this._directionality=W,this._location=ge,this._outsideClickDispatcher=de,this._animationsModuleType=ke}create(Te){const ze=this._createHostElement(),je=this._createPaneElement(ze),We=this._createPortalOutlet(je),ve=new B(Te);return ve.direction=ve.direction||this._directionality.value,new z(We,ze,je,ve,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Te){const ze=this._document.createElement("div");return ze.id="cdk-overlay-"+ut++,ze.classList.add("cdk-overlay-pane"),Te.appendChild(ze),ze}_createHostElement(){const Te=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(Te),Te}_createPortalOutlet(Te){return this._appRef||(this._appRef=this._injector.get(_.ApplicationRef)),new d.u0(Te,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Ke.\u0275fac=function(Te){return new(Te||Ke)(_.\u0275\u0275inject(G),_.\u0275\u0275inject(q),_.\u0275\u0275inject(_.ComponentFactoryResolver),_.\u0275\u0275inject(De),_.\u0275\u0275inject(Se),_.\u0275\u0275inject(_.Injector),_.\u0275\u0275inject(_.NgZone),_.\u0275\u0275inject(h.DOCUMENT),_.\u0275\u0275inject(c.Is),_.\u0275\u0275inject(h.Location),_.\u0275\u0275inject(Ue),_.\u0275\u0275inject(_.ANIMATION_MODULE_TYPE,8))},Ke.\u0275prov=_.\u0275\u0275defineInjectable({token:Ke,factory:Ke.\u0275fac}),Ke})();const he={provide:new _.InjectionToken("cdk-connected-overlay-scroll-strategy"),deps:[_t],useFactory:function Le(Ke){return()=>Ke.scrollStrategies.reposition()}};let Qe=(()=>{class Ke{}return Ke.\u0275fac=function(Te){return new(Te||Ke)},Ke.\u0275mod=_.\u0275\u0275defineNgModule({type:Ke}),Ke.\u0275inj=_.\u0275\u0275defineInjector({providers:[_t,he],imports:[c.vT,d.eL,n.Cl,n.Cl]}),Ke})()},925:(U,o,a)=>{"use strict";a.d(o,{Mq:()=>C,Oy:()=>G,ht:()=>Q,i$:()=>b,kV:()=>N,sA:()=>H,t4:()=>u});var n=a(5e3),h=a(9808);let _;try{_="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(B){_=!1}let y,m,O,u=(()=>{class B{constructor(oe){this._platformId=oe,this.isBrowser=this._platformId?(0,h.isPlatformBrowser)(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&&!_)&&"undefined"!=typeof CSS&&!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}}return B.\u0275fac=function(oe){return new(oe||B)(n.\u0275\u0275inject(n.PLATFORM_ID))},B.\u0275prov=n.\u0275\u0275defineInjectable({token:B,factory:B.\u0275fac,providedIn:"root"}),B})();function b(B){return function f(){if(null==y&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>y=!0}))}finally{y=y||!1}return y}()?B:!!B.capture}function C(){if(null==m){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return m=!1,m;if("scrollBehavior"in document.documentElement.style)m=!0;else{const B=Element.prototype.scrollTo;m=!!B&&!/\{\s*\[native code\]\s*\}/.test(B.toString())}}return m}function N(B){if(function P(){if(null==O){const B="undefined"!=typeof document?document.head:null;O=!(!B||!B.createShadowRoot&&!B.attachShadow)}return O}()){const X=B.getRootNode?B.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&X instanceof ShadowRoot)return X}return null}function Q(){let B="undefined"!=typeof document&&document?document.activeElement:null;for(;B&&B.shadowRoot;){const X=B.shadowRoot.activeElement;if(X===B)break;B=X}return B}function H(B){return B.composedPath?B.composedPath()[0]:B.target}function G(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}},7429:(U,o,a)=>{"use strict";a.d(o,{C5:()=>f,Pl:()=>Q,UE:()=>b,eL:()=>G,en:()=>m,ig:()=>P,u0:()=>M});var n=a(5e3),h=a(9808);class y{attach(oe){return this._attachedHost=oe,oe.attach(this)}detach(){let oe=this._attachedHost;null!=oe&&(this._attachedHost=null,oe.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(oe){this._attachedHost=oe}}class f extends y{constructor(oe,pe,Fe,it){super(),this.component=oe,this.viewContainerRef=pe,this.injector=Fe,this.componentFactoryResolver=it}}class b extends y{constructor(oe,pe,Fe,it){super(),this.templateRef=oe,this.viewContainerRef=pe,this.context=Fe,this.injector=it}get origin(){return this.templateRef.elementRef}attach(oe,pe=this.context){return this.context=pe,super.attach(oe)}detach(){return this.context=void 0,super.detach()}}class v extends y{constructor(oe){super(),this.element=oe instanceof n.ElementRef?oe.nativeElement:oe}}class m{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(oe){return oe instanceof f?(this._attachedPortal=oe,this.attachComponentPortal(oe)):oe instanceof b?(this._attachedPortal=oe,this.attachTemplatePortal(oe)):this.attachDomPortal&&oe instanceof v?(this._attachedPortal=oe,this.attachDomPortal(oe)):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(oe){this._disposeFn=oe}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class M extends m{constructor(oe,pe,Fe,it,z){super(),this.outletElement=oe,this._componentFactoryResolver=pe,this._appRef=Fe,this._defaultInjector=it,this.attachDomPortal=q=>{const V=q.element,te=this._document.createComment("dom-portal");V.parentNode.insertBefore(te,V),this.outletElement.appendChild(V),this._attachedPortal=q,super.setDisposeFn(()=>{te.parentNode&&te.parentNode.replaceChild(V,te)})},this._document=z}attachComponentPortal(oe){const Fe=(oe.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(oe.component);let it;return oe.viewContainerRef?(it=oe.viewContainerRef.createComponent(Fe,oe.viewContainerRef.length,oe.injector||oe.viewContainerRef.injector),this.setDisposeFn(()=>it.destroy())):(it=Fe.create(oe.injector||this._defaultInjector||n.Injector.NULL),this._appRef.attachView(it.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(it.hostView),it.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(it)),this._attachedPortal=oe,it}attachTemplatePortal(oe){let pe=oe.viewContainerRef,Fe=pe.createEmbeddedView(oe.templateRef,oe.context,{injector:oe.injector});return Fe.rootNodes.forEach(it=>this.outletElement.appendChild(it)),Fe.detectChanges(),this.setDisposeFn(()=>{let it=pe.indexOf(Fe);-1!==it&&pe.remove(it)}),this._attachedPortal=oe,Fe}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(oe){return oe.hostView.rootNodes[0]}}let P=(()=>{class X extends b{constructor(pe,Fe){super(pe,Fe)}}return X.\u0275fac=function(pe){return new(pe||X)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef))},X.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.\u0275\u0275InheritDefinitionFeature]}),X})(),Q=(()=>{class X extends m{constructor(pe,Fe,it){super(),this._componentFactoryResolver=pe,this._viewContainerRef=Fe,this._isInitialized=!1,this.attached=new n.EventEmitter,this.attachDomPortal=z=>{const q=z.element,V=this._document.createComment("dom-portal");z.setAttachedHost(this),q.parentNode.insertBefore(V,q),this._getRootNode().appendChild(q),this._attachedPortal=z,super.setDisposeFn(()=>{V.parentNode&&V.parentNode.replaceChild(q,V)})},this._document=it}get portal(){return this._attachedPortal}set portal(pe){this.hasAttached()&&!pe&&!this._isInitialized||(this.hasAttached()&&super.detach(),pe&&super.attach(pe),this._attachedPortal=pe||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(pe){pe.setAttachedHost(this);const Fe=null!=pe.viewContainerRef?pe.viewContainerRef:this._viewContainerRef,z=(pe.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(pe.component),q=Fe.createComponent(z,Fe.length,pe.injector||Fe.injector);return Fe!==this._viewContainerRef&&this._getRootNode().appendChild(q.hostView.rootNodes[0]),super.setDisposeFn(()=>q.destroy()),this._attachedPortal=pe,this._attachedRef=q,this.attached.emit(q),q}attachTemplatePortal(pe){pe.setAttachedHost(this);const Fe=this._viewContainerRef.createEmbeddedView(pe.templateRef,pe.context,{injector:pe.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=pe,this._attachedRef=Fe,this.attached.emit(Fe),Fe}_getRootNode(){const pe=this._viewContainerRef.element.nativeElement;return pe.nodeType===pe.ELEMENT_NODE?pe:pe.parentNode}}return X.\u0275fac=function(pe){return new(pe||X)(n.\u0275\u0275directiveInject(n.ComponentFactoryResolver),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(h.DOCUMENT))},X.\u0275dir=n.\u0275\u0275defineDirective({type:X,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.\u0275\u0275InheritDefinitionFeature]}),X})(),G=(()=>{class X{}return X.\u0275fac=function(pe){return new(pe||X)},X.\u0275mod=n.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=n.\u0275\u0275defineInjector({}),X})()},495:(U,o,a)=>{"use strict";a.d(o,{ZD:()=>dt,mF:()=>K,Cl:()=>$e,rL:()=>Ce});var n=a(3191),h=a(5e3),_=a(4408),u=a(727);const r={schedule(Pe){let Le=requestAnimationFrame,he=cancelAnimationFrame;const{delegate:Qe}=r;Qe&&(Le=Qe.requestAnimationFrame,he=Qe.cancelAnimationFrame);const Be=Le(Ke=>{he=void 0,Pe(Ke)});return new u.w0(()=>null==he?void 0:he(Be))},requestAnimationFrame(...Pe){const{delegate:Le}=r;return((null==Le?void 0:Le.requestAnimationFrame)||requestAnimationFrame)(...Pe)},cancelAnimationFrame(...Pe){const{delegate:Le}=r;return((null==Le?void 0:Le.cancelAnimationFrame)||cancelAnimationFrame)(...Pe)},delegate:void 0};var d=a(640);new class p extends d.v{flush(Le){this._active=!0;const he=this._scheduled;this._scheduled=void 0;const{actions:Qe}=this;let Be;Le=Le||Qe.shift();do{if(Be=Le.execute(Le.state,Le.delay))break}while((Le=Qe[0])&&Le.id===he&&Qe.shift());if(this._active=!1,Be){for(;(Le=Qe[0])&&Le.id===he&&Qe.shift();)Le.unsubscribe();throw Be}}}(class c extends _.o{constructor(Le,he){super(Le,he),this.scheduler=Le,this.work=he}requestAsyncId(Le,he,Qe=0){return null!==Qe&&Qe>0?super.requestAsyncId(Le,he,Qe):(Le.actions.push(this),Le._scheduled||(Le._scheduled=r.requestAnimationFrame(()=>Le.flush(void 0))))}recycleAsyncId(Le,he,Qe=0){var Be;if(null!=Qe?Qe>0:this.delay>0)return super.recycleAsyncId(Le,he,Qe);const{actions:Ke}=Le;null!=he&&(null===(Be=Ke[Ke.length-1])||void 0===Be?void 0:Be.id)!==he&&(r.cancelAnimationFrame(he),Le._scheduled=void 0)}});var b=a(7579),v=a(9646),m=a(8306),C=a(4968),O=(a(3101),a(4986)),P=a(4482),N=a(8421),Q=a(5403),G=a(5963);function B(Pe,Le=O.z){return function H(Pe){return(0,P.e)((Le,he)=>{let Qe=!1,Be=null,Ke=null,Y=!1;const Te=()=>{if(null==Ke||Ke.unsubscribe(),Ke=null,Qe){Qe=!1;const je=Be;Be=null,he.next(je)}Y&&he.complete()},ze=()=>{Ke=null,Y&&he.complete()};Le.subscribe((0,Q.x)(he,je=>{Qe=!0,Be=je,Ke||(0,N.Xf)(Pe(je)).subscribe(Ke=(0,Q.x)(he,Te,ze))},()=>{Y=!0,(!Qe||!Ke||Ke.closed)&&he.complete()}))})}(()=>(0,G.H)(Pe,Le))}var X=a(9300),oe=a(9808),pe=a(925),Fe=a(226);let K=(()=>{class Pe{constructor(he,Qe,Be){this._ngZone=he,this._platform=Qe,this._scrolled=new b.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Be}register(he){this.scrollContainers.has(he)||this.scrollContainers.set(he,he.elementScrolled().subscribe(()=>this._scrolled.next(he)))}deregister(he){const Qe=this.scrollContainers.get(he);Qe&&(Qe.unsubscribe(),this.scrollContainers.delete(he))}scrolled(he=20){return this._platform.isBrowser?new m.y(Qe=>{this._globalSubscription||this._addGlobalListener();const Be=he>0?this._scrolled.pipe(B(he)).subscribe(Qe):this._scrolled.subscribe(Qe);return this._scrolledCount++,()=>{Be.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,v.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((he,Qe)=>this.deregister(Qe)),this._scrolled.complete()}ancestorScrolled(he,Qe){const Be=this.getAncestorScrollContainers(he);return this.scrolled(Qe).pipe((0,X.h)(Ke=>!Ke||Be.indexOf(Ke)>-1))}getAncestorScrollContainers(he){const Qe=[];return this.scrollContainers.forEach((Be,Ke)=>{this._scrollableContainsElement(Ke,he)&&Qe.push(Ke)}),Qe}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(he,Qe){let Be=(0,n.fI)(Qe),Ke=he.getElementRef().nativeElement;do{if(Be==Ke)return!0}while(Be=Be.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const he=this._getWindow();return(0,C.R)(he.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Pe.\u0275fac=function(he){return new(he||Pe)(h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(pe.t4),h.\u0275\u0275inject(oe.DOCUMENT,8))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})(),Ce=(()=>{class Pe{constructor(he,Qe,Be){this._platform=he,this._change=new b.x,this._changeListener=Ke=>{this._change.next(Ke)},this._document=Be,Qe.runOutsideAngular(()=>{if(he.isBrowser){const Ke=this._getWindow();Ke.addEventListener("resize",this._changeListener),Ke.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const he=this._getWindow();he.removeEventListener("resize",this._changeListener),he.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const he={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),he}getViewportRect(){const he=this.getViewportScrollPosition(),{width:Qe,height:Be}=this.getViewportSize();return{top:he.top,left:he.left,bottom:he.top+Be,right:he.left+Qe,height:Be,width:Qe}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const he=this._document,Qe=this._getWindow(),Be=he.documentElement,Ke=Be.getBoundingClientRect();return{top:-Ke.top||he.body.scrollTop||Qe.scrollY||Be.scrollTop||0,left:-Ke.left||he.body.scrollLeft||Qe.scrollX||Be.scrollLeft||0}}change(he=20){return he>0?this._change.pipe(B(he)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const he=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:he.innerWidth,height:he.innerHeight}:{width:0,height:0}}}return Pe.\u0275fac=function(he){return new(he||Pe)(h.\u0275\u0275inject(pe.t4),h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(oe.DOCUMENT,8))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})(),dt=(()=>{class Pe{}return Pe.\u0275fac=function(he){return new(he||Pe)},Pe.\u0275mod=h.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=h.\u0275\u0275defineInjector({}),Pe})(),$e=(()=>{class Pe{}return Pe.\u0275fac=function(he){return new(he||Pe)},Pe.\u0275mod=h.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=h.\u0275\u0275defineInjector({imports:[Fe.vT,dt,Fe.vT,dt]}),Pe})()},9808:(U,o,a)=>{"use strict";a.r(o),a.d(o,{APP_BASE_HREF:()=>N,AsyncPipe:()=>Di,CommonModule:()=>mr,CurrencyPipe:()=>Xi,DATE_PIPE_DEFAULT_TIMEZONE:()=>Mi,DOCUMENT:()=>d,DatePipe:()=>fr,DecimalPipe:()=>Ii,FormStyle:()=>z,FormatWidth:()=>V,HashLocationStrategy:()=>H,I18nPluralPipe:()=>Ar,I18nSelectPipe:()=>Si,JsonPipe:()=>Zi,KeyValuePipe:()=>Ji,LOCATION_INITIALIZED:()=>f,Location:()=>G,LocationStrategy:()=>P,LowerCasePipe:()=>Or,NgClass:()=>_n,NgComponentOutlet:()=>dn,NgForOf:()=>cn,NgForOfContext:()=>zn,NgIf:()=>En,NgIfContext:()=>Nn,NgLocaleLocalization:()=>xt,NgLocalization:()=>ft,NgPlural:()=>Ci,NgPluralCase:()=>Gi,NgStyle:()=>Ki,NgSwitch:()=>bi,NgSwitchCase:()=>Ln,NgSwitchDefault:()=>Ni,NgTemplateOutlet:()=>cr,NumberFormatStyle:()=>Fe,NumberSymbol:()=>te,PathLocationStrategy:()=>Q,PercentPipe:()=>hr,PlatformLocation:()=>p,Plural:()=>it,SlicePipe:()=>Vi,TitleCasePipe:()=>Qi,TranslationWidth:()=>q,UpperCasePipe:()=>Hr,VERSION:()=>mi,ViewportScroller:()=>In,WeekDay:()=>Ee,XhrFactory:()=>Qn,formatCurrency:()=>Wt,formatDate:()=>ge,formatNumber:()=>gn,formatPercent:()=>yn,getCurrencySymbol:()=>Te,getLocaleCurrencyCode:()=>dt,getLocaleCurrencyName:()=>bt,getLocaleCurrencySymbol:()=>_t,getLocaleDateFormat:()=>De,getLocaleDateTimeFormat:()=>Se,getLocaleDayNames:()=>ie,getLocaleDayPeriods:()=>K,getLocaleDirection:()=>Be,getLocaleEraNames:()=>$,getLocaleExtraDayPeriodRules:()=>he,getLocaleExtraDayPeriods:()=>Qe,getLocaleFirstDayOfWeek:()=>ye,getLocaleId:()=>Oe,getLocaleMonthNames:()=>Ae,getLocaleNumberFormat:()=>ut,getLocaleNumberSymbol:()=>Ue,getLocalePluralCase:()=>Pe,getLocaleTimeFormat:()=>Ve,getLocaleWeekEndRange:()=>Ce,getNumberOfCurrencyDigits:()=>je,isPlatformBrowser:()=>gr,isPlatformServer:()=>Pr,isPlatformWorkerApp:()=>bn,isPlatformWorkerUi:()=>vr,registerLocaleData:()=>Kt,\u0275BrowserPlatformLocation:()=>b,\u0275DomAdapter:()=>c,\u0275NullViewportScroller:()=>gi,\u0275PLATFORM_BROWSER_ID:()=>Wn,\u0275PLATFORM_SERVER_ID:()=>qi,\u0275PLATFORM_WORKER_APP_ID:()=>pi,\u0275PLATFORM_WORKER_UI_ID:()=>Oi,\u0275getDOM:()=>_,\u0275parseCookieValue:()=>Ut,\u0275setRootDomAdapter:()=>r});var n=a(5e3);let h=null;function _(){return h}function r(x){h||(h=x)}class c{}const d=new n.InjectionToken("DocumentToken");let p=(()=>{class x{historyGo(k){throw new Error("Not implemented")}}return x.\u0275fac=function(k){return new(k||x)},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:function(){return function y(){return(0,n.\u0275\u0275inject)(b)}()},providedIn:"platform"}),x})();const f=new n.InjectionToken("Location Initialized");let b=(()=>{class x extends p{constructor(k){super(),this._doc=k,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return _().getBaseHref(this._doc)}onPopState(k){const fe=_().getGlobalEventTarget(this._doc,"window");return fe.addEventListener("popstate",k,!1),()=>fe.removeEventListener("popstate",k)}onHashChange(k){const fe=_().getGlobalEventTarget(this._doc,"window");return fe.addEventListener("hashchange",k,!1),()=>fe.removeEventListener("hashchange",k)}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(k){this.location.pathname=k}pushState(k,fe,Xe){v()?this._history.pushState(k,fe,Xe):this.location.hash=Xe}replaceState(k,fe,Xe){v()?this._history.replaceState(k,fe,Xe):this.location.hash=Xe}forward(){this._history.forward()}back(){this._history.back()}historyGo(k=0){this._history.go(k)}getState(){return this._history.state}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275inject(d))},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:function(){return function m(){return new b((0,n.\u0275\u0275inject)(d))}()},providedIn:"platform"}),x})();function v(){return!!window.history.pushState}function C(x,se){if(0==x.length)return se;if(0==se.length)return x;let k=0;return x.endsWith("/")&&k++,se.startsWith("/")&&k++,2==k?x+se.substring(1):1==k?x+se:x+"/"+se}function M(x){const se=x.match(/#|\?|$/),k=se&&se.index||x.length;return x.slice(0,k-("/"===x[k-1]?1:0))+x.slice(k)}function O(x){return x&&"?"!==x[0]?"?"+x:x}let P=(()=>{class x{historyGo(k){throw new Error("Not implemented")}}return x.\u0275fac=function(k){return new(k||x)},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:function(){return(0,n.inject)(Q)},providedIn:"root"}),x})();const N=new n.InjectionToken("appBaseHref");let Q=(()=>{class x extends P{constructor(k,fe){var Xe,Et,gt;super(),this._platformLocation=k,this._removeListenerFns=[],this._baseHref=null!==(gt=null!==(Xe=null!=fe?fe:this._platformLocation.getBaseHrefFromDOM())&&void 0!==Xe?Xe:null===(Et=(0,n.inject)(d).location)||void 0===Et?void 0:Et.origin)&&void 0!==gt?gt:""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(k){this._removeListenerFns.push(this._platformLocation.onPopState(k),this._platformLocation.onHashChange(k))}getBaseHref(){return this._baseHref}prepareExternalUrl(k){return C(this._baseHref,k)}path(k=!1){const fe=this._platformLocation.pathname+O(this._platformLocation.search),Xe=this._platformLocation.hash;return Xe&&k?`${fe}${Xe}`:fe}pushState(k,fe,Xe,Et){const gt=this.prepareExternalUrl(Xe+O(Et));this._platformLocation.pushState(k,fe,gt)}replaceState(k,fe,Xe,Et){const gt=this.prepareExternalUrl(Xe+O(Et));this._platformLocation.replaceState(k,fe,gt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(k=0){var fe,Xe;null===(Xe=(fe=this._platformLocation).historyGo)||void 0===Xe||Xe.call(fe,k)}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(N,8))},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac,providedIn:"root"}),x})(),H=(()=>{class x extends P{constructor(k,fe){super(),this._platformLocation=k,this._baseHref="",this._removeListenerFns=[],null!=fe&&(this._baseHref=fe)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(k){this._removeListenerFns.push(this._platformLocation.onPopState(k),this._platformLocation.onHashChange(k))}getBaseHref(){return this._baseHref}path(k=!1){let fe=this._platformLocation.hash;return null==fe&&(fe="#"),fe.length>0?fe.substring(1):fe}prepareExternalUrl(k){const fe=C(this._baseHref,k);return fe.length>0?"#"+fe:fe}pushState(k,fe,Xe,Et){let gt=this.prepareExternalUrl(Xe+O(Et));0==gt.length&&(gt=this._platformLocation.pathname),this._platformLocation.pushState(k,fe,gt)}replaceState(k,fe,Xe,Et){let gt=this.prepareExternalUrl(Xe+O(Et));0==gt.length&&(gt=this._platformLocation.pathname),this._platformLocation.replaceState(k,fe,gt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(k=0){var fe,Xe;null===(Xe=(fe=this._platformLocation).historyGo)||void 0===Xe||Xe.call(fe,k)}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(N,8))},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})(),G=(()=>{class x{constructor(k){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=k;const fe=this._locationStrategy.getBaseHref();this._baseHref=M(oe(fe)),this._locationStrategy.onPopState(Xe=>{this._subject.emit({url:this.path(!0),pop:!0,state:Xe.state,type:Xe.type})})}ngOnDestroy(){var k;null===(k=this._urlChangeSubscription)||void 0===k||k.unsubscribe(),this._urlChangeListeners=[]}path(k=!1){return this.normalize(this._locationStrategy.path(k))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(k,fe=""){return this.path()==this.normalize(k+O(fe))}normalize(k){return x.stripTrailingSlash(function X(x,se){return x&&se.startsWith(x)?se.substring(x.length):se}(this._baseHref,oe(k)))}prepareExternalUrl(k){return k&&"/"!==k[0]&&(k="/"+k),this._locationStrategy.prepareExternalUrl(k)}go(k,fe="",Xe=null){this._locationStrategy.pushState(Xe,"",k,fe),this._notifyUrlChangeListeners(this.prepareExternalUrl(k+O(fe)),Xe)}replaceState(k,fe="",Xe=null){this._locationStrategy.replaceState(Xe,"",k,fe),this._notifyUrlChangeListeners(this.prepareExternalUrl(k+O(fe)),Xe)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(k=0){var fe,Xe;null===(Xe=(fe=this._locationStrategy).historyGo)||void 0===Xe||Xe.call(fe,k)}onUrlChange(k){return this._urlChangeListeners.push(k),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(fe=>{this._notifyUrlChangeListeners(fe.url,fe.state)})),()=>{var fe;const Xe=this._urlChangeListeners.indexOf(k);this._urlChangeListeners.splice(Xe,1),0===this._urlChangeListeners.length&&(null===(fe=this._urlChangeSubscription)||void 0===fe||fe.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(k="",fe){this._urlChangeListeners.forEach(Xe=>Xe(k,fe))}subscribe(k,fe,Xe){return this._subject.subscribe({next:k,error:fe,complete:Xe})}}return x.normalizeQueryParams=O,x.joinWithSlash=C,x.stripTrailingSlash=M,x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275inject(P))},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:function(){return function B(){return new G((0,n.\u0275\u0275inject)(P))}()},providedIn:"root"}),x})();function oe(x){return x.replace(/\/index.html$/,"")}const pe={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var Fe=(()=>((Fe=Fe||{})[Fe.Decimal=0]="Decimal",Fe[Fe.Percent=1]="Percent",Fe[Fe.Currency=2]="Currency",Fe[Fe.Scientific=3]="Scientific",Fe))(),it=(()=>((it=it||{})[it.Zero=0]="Zero",it[it.One=1]="One",it[it.Two=2]="Two",it[it.Few=3]="Few",it[it.Many=4]="Many",it[it.Other=5]="Other",it))(),z=(()=>((z=z||{})[z.Format=0]="Format",z[z.Standalone=1]="Standalone",z))(),q=(()=>((q=q||{})[q.Narrow=0]="Narrow",q[q.Abbreviated=1]="Abbreviated",q[q.Wide=2]="Wide",q[q.Short=3]="Short",q))(),V=(()=>((V=V||{})[V.Short=0]="Short",V[V.Medium=1]="Medium",V[V.Long=2]="Long",V[V.Full=3]="Full",V))(),te=(()=>((te=te||{})[te.Decimal=0]="Decimal",te[te.Group=1]="Group",te[te.List=2]="List",te[te.PercentSign=3]="PercentSign",te[te.PlusSign=4]="PlusSign",te[te.MinusSign=5]="MinusSign",te[te.Exponential=6]="Exponential",te[te.SuperscriptingExponent=7]="SuperscriptingExponent",te[te.PerMille=8]="PerMille",te[te.Infinity=9]="Infinity",te[te.NaN=10]="NaN",te[te.TimeSeparator=11]="TimeSeparator",te[te.CurrencyDecimal=12]="CurrencyDecimal",te[te.CurrencyGroup=13]="CurrencyGroup",te))(),Ee=(()=>((Ee=Ee||{})[Ee.Sunday=0]="Sunday",Ee[Ee.Monday=1]="Monday",Ee[Ee.Tuesday=2]="Tuesday",Ee[Ee.Wednesday=3]="Wednesday",Ee[Ee.Thursday=4]="Thursday",Ee[Ee.Friday=5]="Friday",Ee[Ee.Saturday=6]="Saturday",Ee))();function Oe(x){return(0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.LocaleId]}function K(x,se,k){const fe=(0,n.\u0275findLocaleData)(x),Et=Ke([fe[n.\u0275LocaleDataIndex.DayPeriodsFormat],fe[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],se);return Ke(Et,k)}function ie(x,se,k){const fe=(0,n.\u0275findLocaleData)(x),Et=Ke([fe[n.\u0275LocaleDataIndex.DaysFormat],fe[n.\u0275LocaleDataIndex.DaysStandalone]],se);return Ke(Et,k)}function Ae(x,se,k){const fe=(0,n.\u0275findLocaleData)(x),Et=Ke([fe[n.\u0275LocaleDataIndex.MonthsFormat],fe[n.\u0275LocaleDataIndex.MonthsStandalone]],se);return Ke(Et,k)}function $(x,se){return Ke((0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.Eras],se)}function ye(x){return(0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function Ce(x){return(0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.WeekendRange]}function De(x,se){return Ke((0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.DateFormat],se)}function Ve(x,se){return Ke((0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.TimeFormat],se)}function Se(x,se){return Ke((0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.DateTimeFormat],se)}function Ue(x,se){const k=(0,n.\u0275findLocaleData)(x),fe=k[n.\u0275LocaleDataIndex.NumberSymbols][se];if(void 0===fe){if(se===te.CurrencyDecimal)return k[n.\u0275LocaleDataIndex.NumberSymbols][te.Decimal];if(se===te.CurrencyGroup)return k[n.\u0275LocaleDataIndex.NumberSymbols][te.Group]}return fe}function ut(x,se){return(0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.NumberFormats][se]}function _t(x){return(0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function bt(x){return(0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.CurrencyName]||null}function dt(x){return(0,n.\u0275getLocaleCurrencyCode)(x)}const Pe=n.\u0275getLocalePluralCase;function Le(x){if(!x[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${x[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function he(x){const se=(0,n.\u0275findLocaleData)(x);return Le(se),(se[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(fe=>"string"==typeof fe?Y(fe):[Y(fe[0]),Y(fe[1])])}function Qe(x,se,k){const fe=(0,n.\u0275findLocaleData)(x);Le(fe);const Et=Ke([fe[n.\u0275LocaleDataIndex.ExtraData][0],fe[n.\u0275LocaleDataIndex.ExtraData][1]],se)||[];return Ke(Et,k)||[]}function Be(x){return(0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.Directionality]}function Ke(x,se){for(let k=se;k>-1;k--)if(void 0!==x[k])return x[k];throw new Error("Locale data API: locale data undefined")}function Y(x){const[se,k]=x.split(":");return{hours:+se,minutes:+k}}function Te(x,se,k="en"){const fe=function $e(x){return(0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.Currencies]}(k)[x]||pe[x]||[],Xe=fe[1];return"narrow"===se&&"string"==typeof Xe?Xe:fe[0]||x}function je(x){let se;const k=pe[x];return k&&(se=k[2]),"number"==typeof se?se:2}const We=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ve={},He=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var ct=(()=>((ct=ct||{})[ct.Short=0]="Short",ct[ct.ShortGMT=1]="ShortGMT",ct[ct.Long=2]="Long",ct[ct.Extended=3]="Extended",ct))(),xe=(()=>((xe=xe||{})[xe.FullYear=0]="FullYear",xe[xe.Month=1]="Month",xe[xe.Date=2]="Date",xe[xe.Hours=3]="Hours",xe[xe.Minutes=4]="Minutes",xe[xe.Seconds=5]="Seconds",xe[xe.FractionalSeconds=6]="FractionalSeconds",xe[xe.Day=7]="Day",xe))(),W=(()=>((W=W||{})[W.DayPeriods=0]="DayPeriods",W[W.Days=1]="Days",W[W.Months=2]="Months",W[W.Eras=3]="Eras",W))();function ge(x,se,k,fe){let Xe=function at(x){if(Ht(x))return x;if("number"==typeof x&&!isNaN(x))return new Date(x);if("string"==typeof x){if(x=x.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(x)){const[Xe,Et=1,gt=1]=x.split("-").map(Bt=>+Bt);return de(Xe,Et-1,gt)}const k=parseFloat(x);if(!isNaN(x-k))return new Date(k);let fe;if(fe=x.match(We))return function Dt(x){const se=new Date(0);let k=0,fe=0;const Xe=x[8]?se.setUTCFullYear:se.setFullYear,Et=x[8]?se.setUTCHours:se.setHours;x[9]&&(k=Number(x[9]+x[10]),fe=Number(x[9]+x[11])),Xe.call(se,Number(x[1]),Number(x[2])-1,Number(x[3]));const gt=Number(x[4]||0)-k,Bt=Number(x[5]||0)-fe,pn=Number(x[6]||0),Cn=Math.floor(1e3*parseFloat("0."+(x[7]||0)));return Et.call(se,gt,Bt,pn,Cn),se}(fe)}const se=new Date(x);if(!Ht(se))throw new Error(`Unable to convert "${x}" into a date`);return se}(x);se=ke(k,se)||se;let Bt,gt=[];for(;se;){if(Bt=He.exec(se),!Bt){gt.push(se);break}{gt=gt.concat(Bt.slice(1));const Sn=gt.pop();if(!Sn)break;se=Sn}}let pn=Xe.getTimezoneOffset();fe&&(pn=yt(fe,pn),Xe=function Ie(x,se,k){const fe=k?-1:1,Xe=x.getTimezoneOffset();return function ee(x,se){return(x=new Date(x.getTime())).setMinutes(x.getMinutes()+se),x}(x,fe*(yt(se,Xe)-Xe))}(Xe,fe,!0));let Cn="";return gt.forEach(Sn=>{const fn=function Ge(x){if(vt[x])return vt[x];let se;switch(x){case"G":case"GG":case"GGG":se=Nt(W.Eras,q.Abbreviated);break;case"GGGG":se=Nt(W.Eras,q.Wide);break;case"GGGGG":se=Nt(W.Eras,q.Narrow);break;case"y":se=At(xe.FullYear,1,0,!1,!0);break;case"yy":se=At(xe.FullYear,2,0,!0,!0);break;case"yyy":se=At(xe.FullYear,3,0,!1,!0);break;case"yyyy":se=At(xe.FullYear,4,0,!1,!0);break;case"Y":se=we(1);break;case"YY":se=we(2,!0);break;case"YYY":se=we(3);break;case"YYYY":se=we(4);break;case"M":case"L":se=At(xe.Month,1,1);break;case"MM":case"LL":se=At(xe.Month,2,1);break;case"MMM":se=Nt(W.Months,q.Abbreviated);break;case"MMMM":se=Nt(W.Months,q.Wide);break;case"MMMMM":se=Nt(W.Months,q.Narrow);break;case"LLL":se=Nt(W.Months,q.Abbreviated,z.Standalone);break;case"LLLL":se=Nt(W.Months,q.Wide,z.Standalone);break;case"LLLLL":se=Nt(W.Months,q.Narrow,z.Standalone);break;case"w":se=j(1);break;case"ww":se=j(2);break;case"W":se=j(1,!0);break;case"d":se=At(xe.Date,1);break;case"dd":se=At(xe.Date,2);break;case"c":case"cc":se=At(xe.Day,1);break;case"ccc":se=Nt(W.Days,q.Abbreviated,z.Standalone);break;case"cccc":se=Nt(W.Days,q.Wide,z.Standalone);break;case"ccccc":se=Nt(W.Days,q.Narrow,z.Standalone);break;case"cccccc":se=Nt(W.Days,q.Short,z.Standalone);break;case"E":case"EE":case"EEE":se=Nt(W.Days,q.Abbreviated);break;case"EEEE":se=Nt(W.Days,q.Wide);break;case"EEEEE":se=Nt(W.Days,q.Narrow);break;case"EEEEEE":se=Nt(W.Days,q.Short);break;case"a":case"aa":case"aaa":se=Nt(W.DayPeriods,q.Abbreviated);break;case"aaaa":se=Nt(W.DayPeriods,q.Wide);break;case"aaaaa":se=Nt(W.DayPeriods,q.Narrow);break;case"b":case"bb":case"bbb":se=Nt(W.DayPeriods,q.Abbreviated,z.Standalone,!0);break;case"bbbb":se=Nt(W.DayPeriods,q.Wide,z.Standalone,!0);break;case"bbbbb":se=Nt(W.DayPeriods,q.Narrow,z.Standalone,!0);break;case"B":case"BB":case"BBB":se=Nt(W.DayPeriods,q.Abbreviated,z.Format,!0);break;case"BBBB":se=Nt(W.DayPeriods,q.Wide,z.Format,!0);break;case"BBBBB":se=Nt(W.DayPeriods,q.Narrow,z.Format,!0);break;case"h":se=At(xe.Hours,1,-12);break;case"hh":se=At(xe.Hours,2,-12);break;case"H":se=At(xe.Hours,1);break;case"HH":se=At(xe.Hours,2);break;case"m":se=At(xe.Minutes,1);break;case"mm":se=At(xe.Minutes,2);break;case"s":se=At(xe.Seconds,1);break;case"ss":se=At(xe.Seconds,2);break;case"S":se=At(xe.FractionalSeconds,1);break;case"SS":se=At(xe.FractionalSeconds,2);break;case"SSS":se=At(xe.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":se=Je(ct.Short);break;case"ZZZZZ":se=Je(ct.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":se=Je(ct.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":se=Je(ct.Long);break;default:return null}return vt[x]=se,se}(Sn);Cn+=fn?fn(Xe,k,pn):"''"===Sn?"'":Sn.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Cn}function de(x,se,k){const fe=new Date(0);return fe.setFullYear(x,se,k),fe.setHours(0,0,0),fe}function ke(x,se){const k=Oe(x);if(ve[k]=ve[k]||{},ve[k][se])return ve[k][se];let fe="";switch(se){case"shortDate":fe=De(x,V.Short);break;case"mediumDate":fe=De(x,V.Medium);break;case"longDate":fe=De(x,V.Long);break;case"fullDate":fe=De(x,V.Full);break;case"shortTime":fe=Ve(x,V.Short);break;case"mediumTime":fe=Ve(x,V.Medium);break;case"longTime":fe=Ve(x,V.Long);break;case"fullTime":fe=Ve(x,V.Full);break;case"short":const Xe=ke(x,"shortTime"),Et=ke(x,"shortDate");fe=tt(Se(x,V.Short),[Xe,Et]);break;case"medium":const gt=ke(x,"mediumTime"),Bt=ke(x,"mediumDate");fe=tt(Se(x,V.Medium),[gt,Bt]);break;case"long":const pn=ke(x,"longTime"),Cn=ke(x,"longDate");fe=tt(Se(x,V.Long),[pn,Cn]);break;case"full":const Sn=ke(x,"fullTime"),fn=ke(x,"fullDate");fe=tt(Se(x,V.Full),[Sn,fn])}return fe&&(ve[k][se]=fe),fe}function tt(x,se){return se&&(x=x.replace(/\{([^}]+)}/g,function(k,fe){return null!=se&&fe in se?se[fe]:k})),x}function mt(x,se,k="-",fe,Xe){let Et="";(x<0||Xe&&x<=0)&&(Xe?x=1-x:(x=-x,Et=k));let gt=String(x);for(;gt.length<se;)gt="0"+gt;return fe&&(gt=gt.slice(gt.length-se)),Et+gt}function At(x,se,k=0,fe=!1,Xe=!1){return function(Et,gt){let Bt=function Yt(x,se){switch(x){case xe.FullYear:return se.getFullYear();case xe.Month:return se.getMonth();case xe.Date:return se.getDate();case xe.Hours:return se.getHours();case xe.Minutes:return se.getMinutes();case xe.Seconds:return se.getSeconds();case xe.FractionalSeconds:return se.getMilliseconds();case xe.Day:return se.getDay();default:throw new Error(`Unknown DateType value "${x}".`)}}(x,Et);if((k>0||Bt>-k)&&(Bt+=k),x===xe.Hours)0===Bt&&-12===k&&(Bt=12);else if(x===xe.FractionalSeconds)return function Ft(x,se){return mt(x,3).substring(0,se)}(Bt,se);const pn=Ue(gt,te.MinusSign);return mt(Bt,se,pn,fe,Xe)}}function Nt(x,se,k=z.Format,fe=!1){return function(Xe,Et){return function rt(x,se,k,fe,Xe,Et){switch(k){case W.Months:return Ae(se,Xe,fe)[x.getMonth()];case W.Days:return ie(se,Xe,fe)[x.getDay()];case W.DayPeriods:const gt=x.getHours(),Bt=x.getMinutes();if(Et){const Cn=he(se),Sn=Qe(se,Xe,fe),fn=Cn.findIndex($n=>{if(Array.isArray($n)){const[Dn,Rn]=$n,St=gt>=Dn.hours&&Bt>=Dn.minutes,on=gt<Rn.hours||gt===Rn.hours&&Bt<Rn.minutes;if(Dn.hours<Rn.hours){if(St&&on)return!0}else if(St||on)return!0}else if($n.hours===gt&&$n.minutes===Bt)return!0;return!1});if(-1!==fn)return Sn[fn]}return K(se,Xe,fe)[gt<12?0:1];case W.Eras:return $(se,fe)[x.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${k}`)}}(Xe,Et,x,se,k,fe)}}function Je(x){return function(se,k,fe){const Xe=-1*fe,Et=Ue(k,te.MinusSign),gt=Xe>0?Math.floor(Xe/60):Math.ceil(Xe/60);switch(x){case ct.Short:return(Xe>=0?"+":"")+mt(gt,2,Et)+mt(Math.abs(Xe%60),2,Et);case ct.ShortGMT:return"GMT"+(Xe>=0?"+":"")+mt(gt,1,Et);case ct.Long:return"GMT"+(Xe>=0?"+":"")+mt(gt,2,Et)+":"+mt(Math.abs(Xe%60),2,Et);case ct.Extended:return 0===fe?"Z":(Xe>=0?"+":"")+mt(gt,2,Et)+":"+mt(Math.abs(Xe%60),2,Et);default:throw new Error(`Unknown zone width "${x}"`)}}}function le(x){return de(x.getFullYear(),x.getMonth(),x.getDate()+(4-x.getDay()))}function j(x,se=!1){return function(k,fe){let Xe;if(se){const Et=new Date(k.getFullYear(),k.getMonth(),1).getDay()-1,gt=k.getDate();Xe=1+Math.floor((gt+Et)/7)}else{const Et=le(k),gt=function ae(x){const se=de(x,0,1).getDay();return de(x,0,1+(se<=4?4:11)-se)}(Et.getFullYear()),Bt=Et.getTime()-gt.getTime();Xe=1+Math.round(Bt/6048e5)}return mt(Xe,x,Ue(fe,te.MinusSign))}}function we(x,se=!1){return function(k,fe){return mt(le(k).getFullYear(),x,Ue(fe,te.MinusSign),se)}}const vt={};function yt(x,se){x=x.replace(/:/g,"");const k=Date.parse("Jan 01, 1970 00:00:00 "+x)/6e4;return isNaN(k)?se:k}function Ht(x){return x instanceof Date&&!isNaN(x.valueOf())}const rn=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Lt(x,se,k,fe,Xe,Et,gt=!1){let Bt="",pn=!1;if(isFinite(x)){let Cn=function Ze(x){let fe,Xe,Et,gt,Bt,se=Math.abs(x)+"",k=0;for((Xe=se.indexOf("."))>-1&&(se=se.replace(".","")),(Et=se.search(/e/i))>0?(Xe<0&&(Xe=Et),Xe+=+se.slice(Et+1),se=se.substring(0,Et)):Xe<0&&(Xe=se.length),Et=0;"0"===se.charAt(Et);Et++);if(Et===(Bt=se.length))fe=[0],Xe=1;else{for(Bt--;"0"===se.charAt(Bt);)Bt--;for(Xe-=Et,fe=[],gt=0;Et<=Bt;Et++,gt++)fe[gt]=Number(se.charAt(Et))}return Xe>22&&(fe=fe.splice(0,21),k=Xe-1,Xe=1),{digits:fe,exponent:k,integerLen:Xe}}(x);gt&&(Cn=function ue(x){if(0===x.digits[0])return x;const se=x.digits.length-x.integerLen;return x.exponent?x.exponent+=2:(0===se?x.digits.push(0,0):1===se&&x.digits.push(0),x.integerLen+=2),x}(Cn));let Sn=se.minInt,fn=se.minFrac,$n=se.maxFrac;if(Et){const ai=Et.match(rn);if(null===ai)throw new Error(`${Et} is not a valid digit info`);const xn=ai[1],tr=ai[3],Hi=ai[5];null!=xn&&(Sn=Ne(xn)),null!=tr&&(fn=Ne(tr)),null!=Hi?$n=Ne(Hi):null!=tr&&fn>$n&&($n=fn)}!function ne(x,se,k){if(se>k)throw new Error(`The minimum number of digits after fraction (${se}) is higher than the maximum (${k}).`);let fe=x.digits,Xe=fe.length-x.integerLen;const Et=Math.min(Math.max(se,Xe),k);let gt=Et+x.integerLen,Bt=fe[gt];if(gt>0){fe.splice(Math.max(x.integerLen,gt));for(let fn=gt;fn<fe.length;fn++)fe[fn]=0}else{Xe=Math.max(0,Xe),x.integerLen=1,fe.length=Math.max(1,gt=Et+1),fe[0]=0;for(let fn=1;fn<gt;fn++)fe[fn]=0}if(Bt>=5)if(gt-1<0){for(let fn=0;fn>gt;fn--)fe.unshift(0),x.integerLen++;fe.unshift(1),x.integerLen++}else fe[gt-1]++;for(;Xe<Math.max(0,Et);Xe++)fe.push(0);let pn=0!==Et;const Cn=se+x.integerLen,Sn=fe.reduceRight(function(fn,$n,Dn,Rn){return Rn[Dn]=($n+=fn)<10?$n:$n-10,pn&&(0===Rn[Dn]&&Dn>=Cn?Rn.pop():pn=!1),$n>=10?1:0},0);Sn&&(fe.unshift(Sn),x.integerLen++)}(Cn,fn,$n);let Dn=Cn.digits,Rn=Cn.integerLen;const St=Cn.exponent;let on=[];for(pn=Dn.every(ai=>!ai);Rn<Sn;Rn++)Dn.unshift(0);for(;Rn<0;Rn++)Dn.unshift(0);Rn>0?on=Dn.splice(Rn,Dn.length):(on=Dn,Dn=[0]);const $i=[];for(Dn.length>=se.lgSize&&$i.unshift(Dn.splice(-se.lgSize,Dn.length).join(""));Dn.length>se.gSize;)$i.unshift(Dn.splice(-se.gSize,Dn.length).join(""));Dn.length&&$i.unshift(Dn.join("")),Bt=$i.join(Ue(k,fe)),on.length&&(Bt+=Ue(k,Xe)+on.join("")),St&&(Bt+=Ue(k,te.Exponential)+"+"+St)}else Bt=Ue(k,te.Infinity);return Bt=x<0&&!pn?se.negPre+Bt+se.negSuf:se.posPre+Bt+se.posSuf,Bt}function Wt(x,se,k,fe,Xe){const gt=Hn(ut(se,Fe.Currency),Ue(se,te.MinusSign));return gt.minFrac=je(fe),gt.maxFrac=gt.minFrac,Lt(x,gt,se,te.CurrencyGroup,te.CurrencyDecimal,Xe).replace("\xa4",k).replace("\xa4","").trim()}function yn(x,se,k){return Lt(x,Hn(ut(se,Fe.Percent),Ue(se,te.MinusSign)),se,te.Group,te.Decimal,k,!0).replace(new RegExp("%","g"),Ue(se,te.PercentSign))}function gn(x,se,k){return Lt(x,Hn(ut(se,Fe.Decimal),Ue(se,te.MinusSign)),se,te.Group,te.Decimal,k)}function Hn(x,se="-"){const k={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},fe=x.split(";"),Xe=fe[0],Et=fe[1],gt=-1!==Xe.indexOf(".")?Xe.split("."):[Xe.substring(0,Xe.lastIndexOf("0")+1),Xe.substring(Xe.lastIndexOf("0")+1)],Bt=gt[0],pn=gt[1]||"";k.posPre=Bt.substring(0,Bt.indexOf("#"));for(let Sn=0;Sn<pn.length;Sn++){const fn=pn.charAt(Sn);"0"===fn?k.minFrac=k.maxFrac=Sn+1:"#"===fn?k.maxFrac=Sn+1:k.posSuf+=fn}const Cn=Bt.split(",");if(k.gSize=Cn[1]?Cn[1].length:0,k.lgSize=Cn[2]||Cn[1]?(Cn[2]||Cn[1]).length:0,Et){const Sn=Xe.length-k.posPre.length-k.posSuf.length,fn=Et.indexOf("#");k.negPre=Et.substring(0,fn).replace(/'/g,""),k.negSuf=Et.slice(fn+Sn).replace(/'/g,"")}else k.negPre=se+k.posPre,k.negSuf=k.posSuf;return k}function Ne(x){const se=parseInt(x);if(isNaN(se))throw new Error("Invalid integer literal when parsing "+x);return se}let ft=(()=>{class x{}return x.\u0275fac=function(k){return new(k||x)},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:function(k){let fe=null;return k?fe=new k:(Xe=n.\u0275\u0275inject(n.LOCALE_ID),fe=new xt(Xe)),fe;var Xe},providedIn:"root"}),x})();function Tt(x,se,k,fe){let Xe=`=${x}`;if(se.indexOf(Xe)>-1||(Xe=k.getPluralCategory(x,fe),se.indexOf(Xe)>-1))return Xe;if(se.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${x}"`)}let xt=(()=>{class x extends ft{constructor(k){super(),this.locale=k}getPluralCategory(k,fe){switch(Pe(fe||this.locale)(k)){case it.Zero:return"zero";case it.One:return"one";case it.Two:return"two";case it.Few:return"few";case it.Many:return"many";default:return"other"}}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275inject(n.LOCALE_ID))},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac}),x})();function Kt(x,se,k){return(0,n.\u0275registerLocaleData)(x,se,k)}function Ut(x,se){se=encodeURIComponent(se);for(const k of x.split(";")){const fe=k.indexOf("="),[Xe,Et]=-1==fe?[k,""]:[k.slice(0,fe),k.slice(fe+1)];if(Xe.trim()===se)return decodeURIComponent(Et)}return null}let _n=(()=>{class x{constructor(k,fe,Xe,Et){this._iterableDiffers=k,this._keyValueDiffers=fe,this._ngEl=Xe,this._renderer=Et,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(k){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof k?k.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(k){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof k?k.split(/\s+/):k,this._rawClass&&((0,n.\u0275isListLikeIterable)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const k=this._iterableDiffer.diff(this._rawClass);k&&this._applyIterableChanges(k)}else if(this._keyValueDiffer){const k=this._keyValueDiffer.diff(this._rawClass);k&&this._applyKeyValueChanges(k)}}_applyKeyValueChanges(k){k.forEachAddedItem(fe=>this._toggleClass(fe.key,fe.currentValue)),k.forEachChangedItem(fe=>this._toggleClass(fe.key,fe.currentValue)),k.forEachRemovedItem(fe=>{fe.previousValue&&this._toggleClass(fe.key,!1)})}_applyIterableChanges(k){k.forEachAddedItem(fe=>{if("string"!=typeof fe.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,n.\u0275stringify)(fe.item)}`);this._toggleClass(fe.item,!0)}),k.forEachRemovedItem(fe=>this._toggleClass(fe.item,!1))}_applyClasses(k){k&&(Array.isArray(k)||k instanceof Set?k.forEach(fe=>this._toggleClass(fe,!0)):Object.keys(k).forEach(fe=>this._toggleClass(fe,!!k[fe])))}_removeClasses(k){k&&(Array.isArray(k)||k instanceof Set?k.forEach(fe=>this._toggleClass(fe,!1)):Object.keys(k).forEach(fe=>this._toggleClass(fe,!1)))}_toggleClass(k,fe){(k=k.trim())&&k.split(/\s+/g).forEach(Xe=>{fe?this._renderer.addClass(this._ngEl.nativeElement,Xe):this._renderer.removeClass(this._ngEl.nativeElement,Xe)})}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),x})(),dn=(()=>{class x{constructor(k){this._viewContainerRef=k,this.ngComponentOutlet=null}ngOnChanges(k){const{_viewContainerRef:fe,ngComponentOutletNgModule:Xe,ngComponentOutletNgModuleFactory:Et}=this;if(fe.clear(),this._componentRef=void 0,this.ngComponentOutlet){const gt=this.ngComponentOutletInjector||fe.parentInjector;(k.ngComponentOutletNgModule||k.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=Xe?(0,n.createNgModule)(Xe,ln(gt)):Et?Et.create(ln(gt)):void 0),this._componentRef=fe.createComponent(this.ngComponentOutlet,{index:fe.length,injector:gt,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),x})();function ln(x){return x.get(n.NgModuleRef).injector}class zn{constructor(se,k,fe,Xe){this.$implicit=se,this.ngForOf=k,this.index=fe,this.count=Xe}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 cn=(()=>{class x{constructor(k,fe,Xe){this._viewContainer=k,this._template=fe,this._differs=Xe,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(k){this._ngForOf=k,this._ngForOfDirty=!0}set ngForTrackBy(k){this._trackByFn=k}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(k){k&&(this._template=k)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const k=this._ngForOf;!this._differ&&k&&(this._differ=this._differs.find(k).create(this.ngForTrackBy))}if(this._differ){const k=this._differ.diff(this._ngForOf);k&&this._applyChanges(k)}}_applyChanges(k){const fe=this._viewContainer;k.forEachOperation((Xe,Et,gt)=>{if(null==Xe.previousIndex)fe.createEmbeddedView(this._template,new zn(Xe.item,this._ngForOf,-1,-1),null===gt?void 0:gt);else if(null==gt)fe.remove(null===Et?void 0:Et);else if(null!==Et){const Bt=fe.get(Et);fe.move(Bt,gt),On(Bt,Xe)}});for(let Xe=0,Et=fe.length;Xe<Et;Xe++){const Bt=fe.get(Xe).context;Bt.index=Xe,Bt.count=Et,Bt.ngForOf=this._ngForOf}k.forEachIdentityChange(Xe=>{On(fe.get(Xe.currentIndex),Xe)})}static ngTemplateContextGuard(k,fe){return!0}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),x})();function On(x,se){x.context.$implicit=se.item}let En=(()=>{class x{constructor(k,fe){this._viewContainer=k,this._context=new Nn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=fe}set ngIf(k){this._context.$implicit=this._context.ngIf=k,this._updateView()}set ngIfThen(k){Ti("ngIfThen",k),this._thenTemplateRef=k,this._thenViewRef=null,this._updateView()}set ngIfElse(k){Ti("ngIfElse",k),this._elseTemplateRef=k,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(k,fe){return!0}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),x})();class Nn{constructor(){this.$implicit=null,this.ngIf=null}}function Ti(x,se){if(se&&!se.createEmbeddedView)throw new Error(`${x} must be a TemplateRef, but received '${(0,n.\u0275stringify)(se)}'.`)}class wi{constructor(se,k){this._viewContainerRef=se,this._templateRef=k,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(se){se&&!this._created?this.create():!se&&this._created&&this.destroy()}}let bi=(()=>{class x{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(k){this._ngSwitch=k,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(k){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(k)}_matchCase(k){const fe=k==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||fe,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),fe}_updateDefaultCases(k){if(this._defaultViews&&k!==this._defaultUsed){this._defaultUsed=k;for(let fe=0;fe<this._defaultViews.length;fe++)this._defaultViews[fe].enforceState(k)}}}return x.\u0275fac=function(k){return new(k||x)},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),x})(),Ln=(()=>{class x{constructor(k,fe,Xe){this.ngSwitch=Xe,Xe._addCase(),this._view=new wi(k,fe)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(bi,9))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),x})(),Ni=(()=>{class x{constructor(k,fe,Xe){Xe._addDefault(new wi(k,fe))}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(bi,9))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["","ngSwitchDefault",""]],standalone:!0}),x})(),Ci=(()=>{class x{constructor(k){this._localization=k,this._caseViews={}}set ngPlural(k){this._switchValue=k,this._updateView()}addCase(k,fe){this._caseViews[k]=fe}_updateView(){this._clearViews();const k=Object.keys(this._caseViews),fe=Tt(this._switchValue,k,this._localization);this._activateView(this._caseViews[fe])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(k){k&&(this._activeView=k,this._activeView.create())}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275directiveInject(ft))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0}),x})(),Gi=(()=>{class x{constructor(k,fe,Xe,Et){this.value=k;const gt=!isNaN(Number(k));Et.addCase(gt?`=${k}`:k,new wi(Xe,fe))}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(Ci,1))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["","ngPluralCase",""]],standalone:!0}),x})(),Ki=(()=>{class x{constructor(k,fe,Xe){this._ngEl=k,this._differs=fe,this._renderer=Xe,this._ngStyle=null,this._differ=null}set ngStyle(k){this._ngStyle=k,!this._differ&&k&&(this._differ=this._differs.find(k).create())}ngDoCheck(){if(this._differ){const k=this._differ.diff(this._ngStyle);k&&this._applyChanges(k)}}_setStyle(k,fe){const[Xe,Et]=k.split("."),gt=-1===Xe.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=fe?this._renderer.setStyle(this._ngEl.nativeElement,Xe,Et?`${fe}${Et}`:fe,gt):this._renderer.removeStyle(this._ngEl.nativeElement,Xe,gt)}_applyChanges(k){k.forEachRemovedItem(fe=>this._setStyle(fe.key,null)),k.forEachAddedItem(fe=>this._setStyle(fe.key,fe.currentValue)),k.forEachChangedItem(fe=>this._setStyle(fe.key,fe.currentValue))}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),x})(),cr=(()=>{class x{constructor(k){this._viewContainerRef=k,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(k){if(k.ngTemplateOutlet||k.ngTemplateOutletInjector){const fe=this._viewContainerRef;if(this._viewRef&&fe.remove(fe.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Xe,ngTemplateOutletContext:Et,ngTemplateOutletInjector:gt}=this;this._viewRef=fe.createEmbeddedView(Xe,Et,gt?{injector:gt}:void 0)}else this._viewRef=null}else this._viewRef&&k.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},x.\u0275dir=n.\u0275\u0275defineDirective({type:x,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]}),x})();function Xn(x,se){return new n.\u0275RuntimeError(2100,!1)}class ur{createSubscription(se,k){return se.subscribe({next:k,error:fe=>{throw fe}})}dispose(se){se.unsubscribe()}}class Xr{createSubscription(se,k){return se.then(k,fe=>{throw fe})}dispose(se){}}const Li=new Xr,dr=new ur;let Di=(()=>{class x{constructor(k){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=k}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(k){return this._obj?k!==this._obj?(this._dispose(),this.transform(k)):this._latestValue:(k&&this._subscribe(k),this._latestValue)}_subscribe(k){this._obj=k,this._strategy=this._selectStrategy(k),this._subscription=this._strategy.createSubscription(k,fe=>this._updateLatestValue(k,fe))}_selectStrategy(k){if((0,n.\u0275isPromise)(k))return Li;if((0,n.\u0275isSubscribable)(k))return dr;throw Xn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(k,fe){k===this._obj&&(this._latestValue=fe,this._ref.markForCheck())}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))},x.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:x,pure:!1,standalone:!0}),x})(),Or=(()=>{class x{transform(k){if(null==k)return null;if("string"!=typeof k)throw Xn();return k.toLowerCase()}}return x.\u0275fac=function(k){return new(k||x)},x.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:x,pure:!0,standalone:!0}),x})();const Yi=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Qi=(()=>{class x{transform(k){if(null==k)return null;if("string"!=typeof k)throw Xn();return k.replace(Yi,fe=>fe[0].toUpperCase()+fe.slice(1).toLowerCase())}}return x.\u0275fac=function(k){return new(k||x)},x.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:x,pure:!0,standalone:!0}),x})(),Hr=(()=>{class x{transform(k){if(null==k)return null;if("string"!=typeof k)throw Xn();return k.toUpperCase()}}return x.\u0275fac=function(k){return new(k||x)},x.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:x,pure:!0,standalone:!0}),x})();const Mi=new n.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE");let fr=(()=>{class x{constructor(k,fe){this.locale=k,this.defaultTimezone=fe}transform(k,fe="mediumDate",Xe,Et){var gt;if(null==k||""===k||k!=k)return null;try{return ge(k,fe,Et||this.locale,null!==(gt=null!=Xe?Xe:this.defaultTimezone)&&void 0!==gt?gt:void 0)}catch(Bt){throw Xn()}}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(Mi,24))},x.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:x,pure:!0,standalone:!0}),x})();const Ei=/#/g;let Ar=(()=>{class x{constructor(k){this._localization=k}transform(k,fe,Xe){if(null==k)return"";if("object"!=typeof fe||null===fe)throw Xn();return fe[Tt(k,Object.keys(fe),this._localization,Xe)].replace(Ei,k.toString())}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275directiveInject(ft,16))},x.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:x,pure:!0,standalone:!0}),x})(),Si=(()=>{class x{transform(k,fe){if(null==k)return"";if("object"!=typeof fe||"string"!=typeof k)throw Xn();return fe.hasOwnProperty(k)?fe[k]:fe.hasOwnProperty("other")?fe.other:""}}return x.\u0275fac=function(k){return new(k||x)},x.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:x,pure:!0,standalone:!0}),x})(),Zi=(()=>{class x{transform(k){return JSON.stringify(k,null,2)}}return x.\u0275fac=function(k){return new(k||x)},x.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:x,pure:!1,standalone:!0}),x})(),Ji=(()=>{class x{constructor(k){this.differs=k,this.keyValues=[],this.compareFn=ji}transform(k,fe=ji){if(!k||!(k instanceof Map)&&"object"!=typeof k)return null;this.differ||(this.differ=this.differs.find(k).create());const Xe=this.differ.diff(k),Et=fe!==this.compareFn;return Xe&&(this.keyValues=[],Xe.forEachItem(gt=>{this.keyValues.push(function ni(x,se){return{key:x,value:se}}(gt.key,gt.currentValue))})),(Xe||Et)&&(this.keyValues.sort(fe),this.compareFn=fe),this.keyValues}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))},x.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:x,pure:!1,standalone:!0}),x})();function ji(x,se){const k=x.key,fe=se.key;if(k===fe)return 0;if(void 0===k)return 1;if(void 0===fe)return-1;if(null===k)return 1;if(null===fe)return-1;if("string"==typeof k&&"string"==typeof fe)return k<fe?-1:1;if("number"==typeof k&&"number"==typeof fe)return k-fe;if("boolean"==typeof k&&"boolean"==typeof fe)return k<fe?-1:1;const Xe=String(k),Et=String(fe);return Xe==Et?0:Xe<Et?-1:1}let Ii=(()=>{class x{constructor(k){this._locale=k}transform(k,fe,Xe){if(!Bi(k))return null;Xe=Xe||this._locale;try{return gn(hi(k),Xe,fe)}catch(Et){throw Xn()}}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},x.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:x,pure:!0,standalone:!0}),x})(),hr=(()=>{class x{constructor(k){this._locale=k}transform(k,fe,Xe){if(!Bi(k))return null;Xe=Xe||this._locale;try{return yn(hi(k),Xe,fe)}catch(Et){throw Xn()}}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))},x.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:x,pure:!0,standalone:!0}),x})(),Xi=(()=>{class x{constructor(k,fe="USD"){this._locale=k,this._defaultCurrencyCode=fe}transform(k,fe=this._defaultCurrencyCode,Xe="symbol",Et,gt){if(!Bi(k))return null;gt=gt||this._locale,"boolean"==typeof Xe&&(Xe=Xe?"symbol":"code");let Bt=fe||this._defaultCurrencyCode;"code"!==Xe&&(Bt="symbol"===Xe||"symbol-narrow"===Xe?Te(Bt,"symbol"===Xe?"wide":"narrow",gt):Xe);try{return Wt(hi(k),gt,Bt,fe,Et)}catch(pn){throw Xn()}}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))},x.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:x,pure:!0,standalone:!0}),x})();function Bi(x){return!(null==x||""===x||x!=x)}function hi(x){if("string"==typeof x&&!isNaN(Number(x)-parseFloat(x)))return Number(x);if("number"!=typeof x)throw new Error(`${x} is not a number`);return x}let Vi=(()=>{class x{transform(k,fe,Xe){if(null==k)return null;if(!this.supports(k))throw Xn();return k.slice(fe,Xe)}supports(k){return"string"==typeof k||Array.isArray(k)}}return x.\u0275fac=function(k){return new(k||x)},x.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:x,pure:!1,standalone:!0}),x})(),mr=(()=>{class x{}return x.\u0275fac=function(k){return new(k||x)},x.\u0275mod=n.\u0275\u0275defineNgModule({type:x}),x.\u0275inj=n.\u0275\u0275defineInjector({}),x})();const Wn="browser",qi="server",pi="browserWorkerApp",Oi="browserWorkerUi";function gr(x){return x===Wn}function Pr(x){return x===qi}function bn(x){return x===pi}function vr(x){return x===Oi}const mi=new n.Version("14.1.3");let In=(()=>{class x{}return x.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:x,providedIn:"root",factory:()=>new Tn((0,n.\u0275\u0275inject)(d),window)}),x})();class Tn{constructor(se,k){this.document=se,this.window=k,this.offset=()=>[0,0]}setOffset(se){this.offset=Array.isArray(se)?()=>se:se}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(se){this.supportsScrolling()&&this.window.scrollTo(se[0],se[1])}scrollToAnchor(se){if(!this.supportsScrolling())return;const k=function er(x,se){const k=x.getElementById(se)||x.getElementsByName(se)[0];if(k)return k;if("function"==typeof x.createTreeWalker&&x.body&&(x.body.createShadowRoot||x.body.attachShadow)){const fe=x.createTreeWalker(x.body,NodeFilter.SHOW_ELEMENT);let Xe=fe.currentNode;for(;Xe;){const Et=Xe.shadowRoot;if(Et){const gt=Et.getElementById(se)||Et.querySelector(`[name="${se}"]`);if(gt)return gt}Xe=fe.nextNode()}}return null}(this.document,se);k&&(this.scrollToElement(k),k.focus())}setHistoryScrollRestoration(se){if(this.supportScrollRestoration()){const k=this.window.history;k&&k.scrollRestoration&&(k.scrollRestoration=se)}}scrollToElement(se){const k=se.getBoundingClientRect(),fe=k.left+this.window.pageXOffset,Xe=k.top+this.window.pageYOffset,Et=this.offset();this.window.scrollTo(fe-Et[0],Xe-Et[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const se=qn(this.window.history)||qn(Object.getPrototypeOf(this.window.history));return!(!se||!se.writable&&!se.set)}catch(se){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(se){return!1}}}function qn(x){return Object.getOwnPropertyDescriptor(x,"scrollRestoration")}class gi{setOffset(se){}getScrollPosition(){return[0,0]}scrollToPosition(se){}scrollToAnchor(se){}setHistoryScrollRestoration(se){}}class Qn{}},6529:(U,o,a)=>{"use strict";a.r(o),a.d(o,{HTTP_INTERCEPTORS:()=>$,HttpBackend:()=>b,HttpClient:()=>ie,HttpClientJsonpModule:()=>He,HttpClientModule:()=>ve,HttpClientXsrfModule:()=>We,HttpContext:()=>B,HttpContextToken:()=>G,HttpErrorResponse:()=>Oe,HttpEventType:()=>q,HttpHandler:()=>f,HttpHeaderResponse:()=>te,HttpHeaders:()=>v,HttpParams:()=>H,HttpRequest:()=>z,HttpResponse:()=>Ee,HttpResponseBase:()=>V,HttpUrlEncodingCodec:()=>C,HttpXhrBackend:()=>Le,HttpXsrfTokenExtractor:()=>Be,JsonpClientBackend:()=>bt,JsonpInterceptor:()=>dt,XhrFactory:()=>ct,\u0275HttpInterceptingHandler:()=>Te});var n=a(9808),h=a(5e3),_=a(9646),u=a(8306),r=a(5577),c=a(576),p=a(9300),y=a(4004);class f{}class b{}class v{constructor(W){this.normalizedNames=new Map,this.lazyUpdate=null,W?this.lazyInit="string"==typeof W?()=>{this.headers=new Map,W.split("\n").forEach(ge=>{const de=ge.indexOf(":");if(de>0){const ke=ge.slice(0,de),tt=ke.toLowerCase(),mt=ge.slice(de+1).trim();this.maybeSetNormalizedName(ke,tt),this.headers.has(tt)?this.headers.get(tt).push(mt):this.headers.set(tt,[mt])}})}:()=>{this.headers=new Map,Object.keys(W).forEach(ge=>{let de=W[ge];const ke=ge.toLowerCase();"string"==typeof de&&(de=[de]),de.length>0&&(this.headers.set(ke,de),this.maybeSetNormalizedName(ge,ke))})}:this.headers=new Map}has(W){return this.init(),this.headers.has(W.toLowerCase())}get(W){this.init();const ge=this.headers.get(W.toLowerCase());return ge&&ge.length>0?ge[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(W){return this.init(),this.headers.get(W.toLowerCase())||null}append(W,ge){return this.clone({name:W,value:ge,op:"a"})}set(W,ge){return this.clone({name:W,value:ge,op:"s"})}delete(W,ge){return this.clone({name:W,value:ge,op:"d"})}maybeSetNormalizedName(W,ge){this.normalizedNames.has(ge)||this.normalizedNames.set(ge,W)}init(){this.lazyInit&&(this.lazyInit instanceof v?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(W=>this.applyUpdate(W)),this.lazyUpdate=null))}copyFrom(W){W.init(),Array.from(W.headers.keys()).forEach(ge=>{this.headers.set(ge,W.headers.get(ge)),this.normalizedNames.set(ge,W.normalizedNames.get(ge))})}clone(W){const ge=new v;return ge.lazyInit=this.lazyInit&&this.lazyInit instanceof v?this.lazyInit:this,ge.lazyUpdate=(this.lazyUpdate||[]).concat([W]),ge}applyUpdate(W){const ge=W.name.toLowerCase();switch(W.op){case"a":case"s":let de=W.value;if("string"==typeof de&&(de=[de]),0===de.length)return;this.maybeSetNormalizedName(W.name,ge);const ke=("a"===W.op?this.headers.get(ge):void 0)||[];ke.push(...de),this.headers.set(ge,ke);break;case"d":const tt=W.value;if(tt){let mt=this.headers.get(ge);if(!mt)return;mt=mt.filter(Ft=>-1===tt.indexOf(Ft)),0===mt.length?(this.headers.delete(ge),this.normalizedNames.delete(ge)):this.headers.set(ge,mt)}else this.headers.delete(ge),this.normalizedNames.delete(ge)}}forEach(W){this.init(),Array.from(this.normalizedNames.keys()).forEach(ge=>W(this.normalizedNames.get(ge),this.headers.get(ge)))}}class C{encodeKey(W){return N(W)}encodeValue(W){return N(W)}decodeKey(W){return decodeURIComponent(W)}decodeValue(W){return decodeURIComponent(W)}}const O=/%(\d[a-f0-9])/gi,P={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function N(xe){return encodeURIComponent(xe).replace(O,(W,ge)=>{var de;return null!==(de=P[ge])&&void 0!==de?de:W})}function Q(xe){return`${xe}`}class H{constructor(W={}){if(this.updates=null,this.cloneFrom=null,this.encoder=W.encoder||new C,W.fromString){if(W.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function M(xe,W){const ge=new Map;return xe.length>0&&xe.replace(/^\?/,"").split("&").forEach(ke=>{const tt=ke.indexOf("="),[mt,Ft]=-1==tt?[W.decodeKey(ke),""]:[W.decodeKey(ke.slice(0,tt)),W.decodeValue(ke.slice(tt+1))],At=ge.get(mt)||[];At.push(Ft),ge.set(mt,At)}),ge}(W.fromString,this.encoder)}else W.fromObject?(this.map=new Map,Object.keys(W.fromObject).forEach(ge=>{const de=W.fromObject[ge],ke=Array.isArray(de)?de.map(Q):[Q(de)];this.map.set(ge,ke)})):this.map=null}has(W){return this.init(),this.map.has(W)}get(W){this.init();const ge=this.map.get(W);return ge?ge[0]:null}getAll(W){return this.init(),this.map.get(W)||null}keys(){return this.init(),Array.from(this.map.keys())}append(W,ge){return this.clone({param:W,value:ge,op:"a"})}appendAll(W){const ge=[];return Object.keys(W).forEach(de=>{const ke=W[de];Array.isArray(ke)?ke.forEach(tt=>{ge.push({param:de,value:tt,op:"a"})}):ge.push({param:de,value:ke,op:"a"})}),this.clone(ge)}set(W,ge){return this.clone({param:W,value:ge,op:"s"})}delete(W,ge){return this.clone({param:W,value:ge,op:"d"})}toString(){return this.init(),this.keys().map(W=>{const ge=this.encoder.encodeKey(W);return this.map.get(W).map(de=>ge+"="+this.encoder.encodeValue(de)).join("&")}).filter(W=>""!==W).join("&")}clone(W){const ge=new H({encoder:this.encoder});return ge.cloneFrom=this.cloneFrom||this,ge.updates=(this.updates||[]).concat(W),ge}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(W=>this.map.set(W,this.cloneFrom.map.get(W))),this.updates.forEach(W=>{switch(W.op){case"a":case"s":const ge=("a"===W.op?this.map.get(W.param):void 0)||[];ge.push(Q(W.value)),this.map.set(W.param,ge);break;case"d":if(void 0===W.value){this.map.delete(W.param);break}{let de=this.map.get(W.param)||[];const ke=de.indexOf(Q(W.value));-1!==ke&&de.splice(ke,1),de.length>0?this.map.set(W.param,de):this.map.delete(W.param)}}}),this.cloneFrom=this.updates=null)}}class G{constructor(W){this.defaultValue=W}}class B{constructor(){this.map=new Map}set(W,ge){return this.map.set(W,ge),this}get(W){return this.map.has(W)||this.map.set(W,W.defaultValue()),this.map.get(W)}delete(W){return this.map.delete(W),this}has(W){return this.map.has(W)}keys(){return this.map.keys()}}function oe(xe){return"undefined"!=typeof ArrayBuffer&&xe instanceof ArrayBuffer}function pe(xe){return"undefined"!=typeof Blob&&xe instanceof Blob}function Fe(xe){return"undefined"!=typeof FormData&&xe instanceof FormData}class z{constructor(W,ge,de,ke){let tt;if(this.url=ge,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=W.toUpperCase(),function X(xe){switch(xe){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ke?(this.body=void 0!==de?de:null,tt=ke):tt=de,tt&&(this.reportProgress=!!tt.reportProgress,this.withCredentials=!!tt.withCredentials,tt.responseType&&(this.responseType=tt.responseType),tt.headers&&(this.headers=tt.headers),tt.context&&(this.context=tt.context),tt.params&&(this.params=tt.params)),this.headers||(this.headers=new v),this.context||(this.context=new B),this.params){const mt=this.params.toString();if(0===mt.length)this.urlWithParams=ge;else{const Ft=ge.indexOf("?");this.urlWithParams=ge+(-1===Ft?"?":Ft<ge.length-1?"&":"")+mt}}else this.params=new H,this.urlWithParams=ge}serializeBody(){return null===this.body?null:oe(this.body)||pe(this.body)||Fe(this.body)||function it(xe){return"undefined"!=typeof URLSearchParams&&xe instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof H?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||Fe(this.body)?null:pe(this.body)?this.body.type||null:oe(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof H?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(W={}){var ge;const de=W.method||this.method,ke=W.url||this.url,tt=W.responseType||this.responseType,mt=void 0!==W.body?W.body:this.body,Ft=void 0!==W.withCredentials?W.withCredentials:this.withCredentials,At=void 0!==W.reportProgress?W.reportProgress:this.reportProgress;let Yt=W.headers||this.headers,Nt=W.params||this.params;const rt=null!==(ge=W.context)&&void 0!==ge?ge:this.context;return void 0!==W.setHeaders&&(Yt=Object.keys(W.setHeaders).reduce((Je,be)=>Je.set(be,W.setHeaders[be]),Yt)),W.setParams&&(Nt=Object.keys(W.setParams).reduce((Je,be)=>Je.set(be,W.setParams[be]),Nt)),new z(de,ke,mt,{params:Nt,headers:Yt,context:rt,reportProgress:At,responseType:tt,withCredentials:Ft})}}var q=(()=>((q=q||{})[q.Sent=0]="Sent",q[q.UploadProgress=1]="UploadProgress",q[q.ResponseHeader=2]="ResponseHeader",q[q.DownloadProgress=3]="DownloadProgress",q[q.Response=4]="Response",q[q.User=5]="User",q))();class V{constructor(W,ge=200,de="OK"){this.headers=W.headers||new v,this.status=void 0!==W.status?W.status:ge,this.statusText=W.statusText||de,this.url=W.url||null,this.ok=this.status>=200&&this.status<300}}class te extends V{constructor(W={}){super(W),this.type=q.ResponseHeader}clone(W={}){return new te({headers:W.headers||this.headers,status:void 0!==W.status?W.status:this.status,statusText:W.statusText||this.statusText,url:W.url||this.url||void 0})}}class Ee extends V{constructor(W={}){super(W),this.type=q.Response,this.body=void 0!==W.body?W.body:null}clone(W={}){return new Ee({body:void 0!==W.body?W.body:this.body,headers:W.headers||this.headers,status:void 0!==W.status?W.status:this.status,statusText:W.statusText||this.statusText,url:W.url||this.url||void 0})}}class Oe extends V{constructor(W){super(W,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${W.url||"(unknown url)"}`:`Http failure response for ${W.url||"(unknown url)"}: ${W.status} ${W.statusText}`,this.error=W.error||null}}function K(xe,W){return{body:W,headers:xe.headers,context:xe.context,observe:xe.observe,params:xe.params,reportProgress:xe.reportProgress,responseType:xe.responseType,withCredentials:xe.withCredentials}}let ie=(()=>{class xe{constructor(ge){this.handler=ge}request(ge,de,ke={}){let tt;if(ge instanceof z)tt=ge;else{let At,Yt;At=ke.headers instanceof v?ke.headers:new v(ke.headers),ke.params&&(Yt=ke.params instanceof H?ke.params:new H({fromObject:ke.params})),tt=new z(ge,de,void 0!==ke.body?ke.body:null,{headers:At,context:ke.context,params:Yt,reportProgress:ke.reportProgress,responseType:ke.responseType||"json",withCredentials:ke.withCredentials})}const mt=(0,_.of)(tt).pipe(function d(xe,W){return(0,c.m)(W)?(0,r.z)(xe,W,1):(0,r.z)(xe,1)}(At=>this.handler.handle(At)));if(ge instanceof z||"events"===ke.observe)return mt;const Ft=mt.pipe((0,p.h)(At=>At instanceof Ee));switch(ke.observe||"body"){case"body":switch(tt.responseType){case"arraybuffer":return Ft.pipe((0,y.U)(At=>{if(null!==At.body&&!(At.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return At.body}));case"blob":return Ft.pipe((0,y.U)(At=>{if(null!==At.body&&!(At.body instanceof Blob))throw new Error("Response is not a Blob.");return At.body}));case"text":return Ft.pipe((0,y.U)(At=>{if(null!==At.body&&"string"!=typeof At.body)throw new Error("Response is not a string.");return At.body}));default:return Ft.pipe((0,y.U)(At=>At.body))}case"response":return Ft;default:throw new Error(`Unreachable: unhandled observe type ${ke.observe}}`)}}delete(ge,de={}){return this.request("DELETE",ge,de)}get(ge,de={}){return this.request("GET",ge,de)}head(ge,de={}){return this.request("HEAD",ge,de)}jsonp(ge,de){return this.request("JSONP",ge,{params:(new H).append(de,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ge,de={}){return this.request("OPTIONS",ge,de)}patch(ge,de,ke={}){return this.request("PATCH",ge,K(ke,de))}post(ge,de,ke={}){return this.request("POST",ge,K(ke,de))}put(ge,de,ke={}){return this.request("PUT",ge,K(ke,de))}}return xe.\u0275fac=function(ge){return new(ge||xe)(h.\u0275\u0275inject(f))},xe.\u0275prov=h.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac}),xe})();class Ae{constructor(W,ge){this.next=W,this.interceptor=ge}handle(W){return this.interceptor.intercept(W,this.next)}}const $=new h.InjectionToken("HTTP_INTERCEPTORS");let De,ye=(()=>{class xe{intercept(ge,de){return de.handle(ge)}}return xe.\u0275fac=function(ge){return new(ge||xe)},xe.\u0275prov=h.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac}),xe})(),Ce=0;class _t{}let bt=(()=>{class xe{constructor(ge,de){this.callbackMap=ge,this.document=de,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+Ce++}handle(ge){if("JSONP"!==ge.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==ge.responseType)throw new Error("JSONP requests must use Json response type.");if(ge.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new u.y(de=>{const ke=this.nextCallback(),tt=ge.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${ke}$1`),mt=this.document.createElement("script");mt.src=tt;let Ft=null,At=!1;this.callbackMap[ke]=Je=>{delete this.callbackMap[ke],Ft=Je,At=!0};const Yt=()=>{mt.parentNode&&mt.parentNode.removeChild(mt),delete this.callbackMap[ke]};return mt.addEventListener("load",Je=>{this.resolvedPromise.then(()=>{Yt(),At?(de.next(new Ee({body:Ft,status:200,statusText:"OK",url:tt})),de.complete()):de.error(new Oe({url:tt,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),mt.addEventListener("error",Je=>{Yt(),de.error(new Oe({error:Je,status:0,statusText:"JSONP Error",url:tt}))}),this.document.body.appendChild(mt),de.next({type:q.Sent}),()=>{At||this.removeListeners(mt),Yt()}})}removeListeners(ge){De||(De=this.document.implementation.createHTMLDocument()),De.adoptNode(ge)}}return xe.\u0275fac=function(ge){return new(ge||xe)(h.\u0275\u0275inject(_t),h.\u0275\u0275inject(n.DOCUMENT))},xe.\u0275prov=h.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac}),xe})(),dt=(()=>{class xe{constructor(ge){this.jsonp=ge}intercept(ge,de){return"JSONP"===ge.method?this.jsonp.handle(ge):de.handle(ge)}}return xe.\u0275fac=function(ge){return new(ge||xe)(h.\u0275\u0275inject(bt))},xe.\u0275prov=h.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac}),xe})();const $e=/^\)\]\}',?\n/;let Le=(()=>{class xe{constructor(ge){this.xhrFactory=ge}handle(ge){if("JSONP"===ge.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new u.y(de=>{const ke=this.xhrFactory.build();if(ke.open(ge.method,ge.urlWithParams),ge.withCredentials&&(ke.withCredentials=!0),ge.headers.forEach((be,me)=>ke.setRequestHeader(be,me.join(","))),ge.headers.has("Accept")||ke.setRequestHeader("Accept","application/json, text/plain, */*"),!ge.headers.has("Content-Type")){const be=ge.detectContentTypeHeader();null!==be&&ke.setRequestHeader("Content-Type",be)}if(ge.responseType){const be=ge.responseType.toLowerCase();ke.responseType="json"!==be?be:"text"}const tt=ge.serializeBody();let mt=null;const Ft=()=>{if(null!==mt)return mt;const be=ke.statusText||"OK",me=new v(ke.getAllResponseHeaders()),ae=function Pe(xe){return"responseURL"in xe&&xe.responseURL?xe.responseURL:/^X-Request-URL:/m.test(xe.getAllResponseHeaders())?xe.getResponseHeader("X-Request-URL"):null}(ke)||ge.url;return mt=new te({headers:me,status:ke.status,statusText:be,url:ae}),mt},At=()=>{let{headers:be,status:me,statusText:ae,url:le}=Ft(),j=null;204!==me&&(j=void 0===ke.response?ke.responseText:ke.response),0===me&&(me=j?200:0);let we=me>=200&&me<300;if("json"===ge.responseType&&"string"==typeof j){const vt=j;j=j.replace($e,"");try{j=""!==j?JSON.parse(j):null}catch(Ge){j=vt,we&&(we=!1,j={error:Ge,text:j})}}we?(de.next(new Ee({body:j,headers:be,status:me,statusText:ae,url:le||void 0})),de.complete()):de.error(new Oe({error:j,headers:be,status:me,statusText:ae,url:le||void 0}))},Yt=be=>{const{url:me}=Ft(),ae=new Oe({error:be,status:ke.status||0,statusText:ke.statusText||"Unknown Error",url:me||void 0});de.error(ae)};let Nt=!1;const rt=be=>{Nt||(de.next(Ft()),Nt=!0);let me={type:q.DownloadProgress,loaded:be.loaded};be.lengthComputable&&(me.total=be.total),"text"===ge.responseType&&!!ke.responseText&&(me.partialText=ke.responseText),de.next(me)},Je=be=>{let me={type:q.UploadProgress,loaded:be.loaded};be.lengthComputable&&(me.total=be.total),de.next(me)};return ke.addEventListener("load",At),ke.addEventListener("error",Yt),ke.addEventListener("timeout",Yt),ke.addEventListener("abort",Yt),ge.reportProgress&&(ke.addEventListener("progress",rt),null!==tt&&ke.upload&&ke.upload.addEventListener("progress",Je)),ke.send(tt),de.next({type:q.Sent}),()=>{ke.removeEventListener("error",Yt),ke.removeEventListener("abort",Yt),ke.removeEventListener("load",At),ke.removeEventListener("timeout",Yt),ge.reportProgress&&(ke.removeEventListener("progress",rt),null!==tt&&ke.upload&&ke.upload.removeEventListener("progress",Je)),ke.readyState!==ke.DONE&&ke.abort()}})}}return xe.\u0275fac=function(ge){return new(ge||xe)(h.\u0275\u0275inject(n.XhrFactory))},xe.\u0275prov=h.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac}),xe})();const he=new h.InjectionToken("XSRF_COOKIE_NAME"),Qe=new h.InjectionToken("XSRF_HEADER_NAME");class Be{}let Ke=(()=>{class xe{constructor(ge,de,ke){this.doc=ge,this.platform=de,this.cookieName=ke,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ge=this.doc.cookie||"";return ge!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,n.\u0275parseCookieValue)(ge,this.cookieName),this.lastCookieString=ge),this.lastToken}}return xe.\u0275fac=function(ge){return new(ge||xe)(h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(h.PLATFORM_ID),h.\u0275\u0275inject(he))},xe.\u0275prov=h.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac}),xe})(),Y=(()=>{class xe{constructor(ge,de){this.tokenService=ge,this.headerName=de}intercept(ge,de){const ke=ge.url.toLowerCase();if("GET"===ge.method||"HEAD"===ge.method||ke.startsWith("http://")||ke.startsWith("https://"))return de.handle(ge);const tt=this.tokenService.getToken();return null!==tt&&!ge.headers.has(this.headerName)&&(ge=ge.clone({headers:ge.headers.set(this.headerName,tt)})),de.handle(ge)}}return xe.\u0275fac=function(ge){return new(ge||xe)(h.\u0275\u0275inject(Be),h.\u0275\u0275inject(Qe))},xe.\u0275prov=h.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac}),xe})(),Te=(()=>{class xe{constructor(ge,de){this.backend=ge,this.injector=de,this.chain=null}handle(ge){if(null===this.chain){const de=this.injector.get($,[]);this.chain=de.reduceRight((ke,tt)=>new Ae(ke,tt),this.backend)}return this.chain.handle(ge)}}return xe.\u0275fac=function(ge){return new(ge||xe)(h.\u0275\u0275inject(b),h.\u0275\u0275inject(h.Injector))},xe.\u0275prov=h.\u0275\u0275defineInjectable({token:xe,factory:xe.\u0275fac}),xe})();function je(){return"object"==typeof window?window:{}}let We=(()=>{class xe{static disable(){return{ngModule:xe,providers:[{provide:Y,useClass:ye}]}}static withOptions(ge={}){return{ngModule:xe,providers:[ge.cookieName?{provide:he,useValue:ge.cookieName}:[],ge.headerName?{provide:Qe,useValue:ge.headerName}:[]]}}}return xe.\u0275fac=function(ge){return new(ge||xe)},xe.\u0275mod=h.\u0275\u0275defineNgModule({type:xe}),xe.\u0275inj=h.\u0275\u0275defineInjector({providers:[Y,{provide:$,useExisting:Y,multi:!0},{provide:Be,useClass:Ke},{provide:he,useValue:"XSRF-TOKEN"},{provide:Qe,useValue:"X-XSRF-TOKEN"}]}),xe})(),ve=(()=>{class xe{}return xe.\u0275fac=function(ge){return new(ge||xe)},xe.\u0275mod=h.\u0275\u0275defineNgModule({type:xe}),xe.\u0275inj=h.\u0275\u0275defineInjector({providers:[ie,{provide:f,useClass:Te},Le,{provide:b,useExisting:Le}],imports:[We.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),xe})(),He=(()=>{class xe{}return xe.\u0275fac=function(ge){return new(ge||xe)},xe.\u0275mod=h.\u0275\u0275defineNgModule({type:xe}),xe.\u0275inj=h.\u0275\u0275defineInjector({providers:[bt,{provide:_t,useFactory:je},{provide:$,useClass:dt,multi:!0}]}),xe})();const ct=n.XhrFactory},5e3:(U,o,a)=>{"use strict";a.r(o),a.d(o,{ANALYZE_FOR_ENTRY_COMPONENTS:()=>Mv,ANIMATION_MODULE_TYPE:()=>wD,APP_BOOTSTRAP_LISTENER:()=>Ng,APP_ID:()=>xg,APP_INITIALIZER:()=>Rg,ApplicationInitStatus:()=>La,ApplicationModule:()=>mE,ApplicationRef:()=>Va,Attribute:()=>gd,COMPILER_OPTIONS:()=>jg,CUSTOM_ELEMENTS_SCHEMA:()=>mf,ChangeDetectionStrategy:()=>ve,ChangeDetectorRef:()=>lv,Compiler:()=>PD,CompilerFactory:()=>RD,Component:()=>mD,ComponentFactory:()=>ra,ComponentFactoryResolver:()=>gs,ComponentRef:()=>cf,ContentChild:()=>Iv,ContentChildren:()=>Sv,DEFAULT_CURRENCY_CODE:()=>ID,DebugElement:()=>Ns,DebugEventListener:()=>qD,DebugNode:()=>Gu,DefaultIterableDiffer:()=>pv,Directive:()=>Pg,ENVIRONMENT_INITIALIZER:()=>dl,ElementRef:()=>vs,EmbeddedViewRef:()=>XD,EnvironmentInjector:()=>so,ErrorHandler:()=>ys,EventEmitter:()=>Mr,Host:()=>wd,HostBinding:()=>_D,HostListener:()=>bD,INJECTOR:()=>fl,Inject:()=>Qs,InjectFlags:()=>Be,Injectable:()=>U_,InjectionToken:()=>Pn,Injector:()=>Yr,Input:()=>vD,IterableDiffers:()=>Ju,KeyValueDiffers:()=>Xu,LOCALE_ID:()=>ja,MissingTranslationStrategy:()=>Sr,ModuleWithComponentFactories:()=>Lg,NO_ERRORS_SCHEMA:()=>gf,NgModule:()=>CD,NgModuleFactory:()=>_m,NgModuleRef:()=>Zo,NgProbeToken:()=>$D,NgZone:()=>ki,Optional:()=>us,Output:()=>yD,PACKAGE_ROOT_URL:()=>TD,PLATFORM_ID:()=>ED,PLATFORM_INITIALIZER:()=>kg,Pipe:()=>gD,PlatformRef:()=>Wu,Query:()=>os,QueryList:()=>Ra,ReflectiveInjector:()=>Ro,ReflectiveKey:()=>jr,Renderer2:()=>Ny,RendererFactory2:()=>df,RendererStyleFlags2:()=>Dr,ResolvedReflectiveFactory:()=>uh,Sanitizer:()=>ff,SecurityContext:()=>Jn,Self:()=>Zs,SimpleChange:()=>Ji,SkipSelf:()=>To,TRANSLATIONS:()=>OD,TRANSLATIONS_FORMAT:()=>AD,TemplateRef:()=>xs,Testability:()=>VD,TestabilityRegistry:()=>Gg,Type:()=>Ws,VERSION:()=>pf,Version:()=>hf,ViewChild:()=>Av,ViewChildren:()=>Ov,ViewContainerRef:()=>Fa,ViewEncapsulation:()=>xe,ViewRef:()=>uv,asNativeElements:()=>eE,assertPlatform:()=>qg,createComponent:()=>SE,createEnvironmentInjector:()=>Eu,createNgModule:()=>bm,createNgModuleRef:()=>SC,createPlatform:()=>Zg,createPlatformFactory:()=>Xg,defineInjectable:()=>Se,destroyPlatform:()=>zD,enableProdMode:()=>YD,forwardRef:()=>b,getDebugNode:()=>qo,getModuleFactory:()=>QD,getNgModuleById:()=>ZD,getPlatform:()=>Ba,importProvidersFrom:()=>ef,inject:()=>Td,isDevMode:()=>KD,platformCore:()=>pE,reflectComponentType:()=>IE,resolveForwardRef:()=>v,setTestabilityGetter:()=>Kg,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>Uu,\u0275APP_ID_RANDOM_PROVIDER:()=>DD,\u0275ChangeDetectorStatus:()=>He,\u0275ComponentFactory:()=>ra,\u0275Console:()=>MD,\u0275DEFAULT_LOCALE_ID:()=>fo,\u0275INJECTOR_SCOPE:()=>ml,\u0275LContext:()=>Ef,\u0275LifecycleHooksFeature:()=>Kh,\u0275LocaleDataIndex:()=>Jt,\u0275NG_COMP_DEF:()=>mt,\u0275NG_DIR_DEF:()=>Ft,\u0275NG_ELEMENT_ID:()=>rt,\u0275NG_INJ_DEF:()=>Le,\u0275NG_MOD_DEF:()=>Yt,\u0275NG_PIPE_DEF:()=>At,\u0275NG_PROV_DEF:()=>Pe,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>oa,\u0275NO_CHANGE:()=>sn,\u0275NgModuleFactory:()=>Pa,\u0275NoopNgZone:()=>Ug,\u0275ReflectionCapabilities:()=>Dd,\u0275Render3ComponentFactory:()=>Lo,\u0275Render3ComponentRef:()=>Gh,\u0275Render3NgModuleRef:()=>Du,\u0275RuntimeError:()=>M,\u0275TESTABILITY:()=>zg,\u0275TESTABILITY_GETTER:()=>Wg,\u0275ViewRef:()=>No,\u0275_sanitizeHtml:()=>Wd,\u0275_sanitizeUrl:()=>hs,\u0275allowSanitizationBypassAndThrow:()=>So,\u0275bypassSanitizationTrustHtml:()=>ay,\u0275bypassSanitizationTrustResourceUrl:()=>dy,\u0275bypassSanitizationTrustScript:()=>cy,\u0275bypassSanitizationTrustStyle:()=>ly,\u0275bypassSanitizationTrustUrl:()=>uy,\u0275clearResolutionOfComponentResourcesQueue:()=>Ad,\u0275coerceToBoolean:()=>gE,\u0275compileComponent:()=>_g,\u0275compileDirective:()=>ju,\u0275compileNgModule:()=>hg,\u0275compileNgModuleDefs:()=>pg,\u0275compileNgModuleFactory:()=>Yg,\u0275compilePipe:()=>Og,\u0275createInjector:()=>Vl,\u0275defaultIterableDiffers:()=>fE,\u0275defaultKeyValueDiffers:()=>hE,\u0275detectChanges:()=>Jh,\u0275devModeEqual:()=>Zh,\u0275findLocaleData:()=>du,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>dg,\u0275getDebugNode:()=>qo,\u0275getDebugNodeR2:()=>rE,\u0275getDirectives:()=>Mm,\u0275getHostElement:()=>wu,\u0275getInjectableDef:()=>ut,\u0275getLContext:()=>ui,\u0275getLocaleCurrencyCode:()=>P0,\u0275getLocalePluralCase:()=>zp,\u0275getSanitizationBypassType:()=>Ld,\u0275getUnknownElementStrictMode:()=>By,\u0275getUnknownPropertyStrictMode:()=>$y,\u0275global:()=>W,\u0275injectChangeDetectorRef:()=>cv,\u0275internalBootstrapApplication:()=>UD,\u0275isBoundToModule:()=>Qg,\u0275isDefaultChangeDetectionStrategy:()=>ct,\u0275isListLikeIterable:()=>Ts,\u0275isObservable:()=>rp,\u0275isPromise:()=>Ac,\u0275isStandalone:()=>Xo,\u0275isSubscribable:()=>ip,\u0275ivyEnabled:()=>vE,\u0275makeDecorator:()=>Co,\u0275markDirty:()=>Xh,\u0275noSideEffects:()=>We,\u0275patchComponentDefWithScope:()=>Nu,\u0275publishDefaultGlobalUtils:()=>FD,\u0275publishGlobalUtil:()=>zi,\u0275registerLocaleData:()=>A0,\u0275resetCompiledComponents:()=>iD,\u0275resetJitOptions:()=>eD,\u0275resolveComponentResources:()=>Id,\u0275setAllowDuplicateNgModuleIdsForTest:()=>Xv,\u0275setClassMetadata:()=>Im,\u0275setCurrentInjector:()=>io,\u0275setDocument:()=>qv,\u0275setLocaleId:()=>fu,\u0275setUnknownElementStrictMode:()=>jy,\u0275setUnknownPropertyStrictMode:()=>Vy,\u0275store:()=>ep,\u0275stringify:()=>p,\u0275transitiveScopesFor:()=>ho,\u0275unregisterLocaleData:()=>R0,\u0275unwrapSafeValue:()=>Nr,\u0275whenRendered:()=>Zb,\u0275\u0275CopyDefinitionFeature:()=>Qh,\u0275\u0275FactoryTarget:()=>ii,\u0275\u0275InheritDefinitionFeature:()=>hc,\u0275\u0275NgOnChangesFeature:()=>ji,\u0275\u0275ProvidersFeature:()=>ym,\u0275\u0275StandaloneFeature:()=>Cm,\u0275\u0275advance:()=>th,\u0275\u0275attribute:()=>gc,\u0275\u0275attributeInterpolate1:()=>vc,\u0275\u0275attributeInterpolate2:()=>yc,\u0275\u0275attributeInterpolate3:()=>_c,\u0275\u0275attributeInterpolate4:()=>bc,\u0275\u0275attributeInterpolate5:()=>Cc,\u0275\u0275attributeInterpolate6:()=>Dc,\u0275\u0275attributeInterpolate7:()=>Ec,\u0275\u0275attributeInterpolate8:()=>Tc,\u0275\u0275attributeInterpolateV:()=>wc,\u0275\u0275classMap:()=>yp,\u0275\u0275classMapInterpolate1:()=>Mp,\u0275\u0275classMapInterpolate2:()=>Sp,\u0275\u0275classMapInterpolate3:()=>Ip,\u0275\u0275classMapInterpolate4:()=>Op,\u0275\u0275classMapInterpolate5:()=>Ap,\u0275\u0275classMapInterpolate6:()=>Pp,\u0275\u0275classMapInterpolate7:()=>Rp,\u0275\u0275classMapInterpolate8:()=>xp,\u0275\u0275classMapInterpolateV:()=>Fp,\u0275\u0275classProp:()=>Uc,\u0275\u0275contentQuery:()=>ig,\u0275\u0275defineComponent:()=>be,\u0275\u0275defineDirective:()=>Ge,\u0275\u0275defineInjectable:()=>Ve,\u0275\u0275defineInjector:()=>Ue,\u0275\u0275defineNgModule:()=>j,\u0275\u0275definePipe:()=>yt,\u0275\u0275directiveInject:()=>xo,\u0275\u0275disableBindings:()=>Rn,\u0275\u0275element:()=>Ic,\u0275\u0275elementContainer:()=>Oc,\u0275\u0275elementContainerEnd:()=>Ea,\u0275\u0275elementContainerStart:()=>Da,\u0275\u0275elementEnd:()=>Ca,\u0275\u0275elementStart:()=>ba,\u0275\u0275enableBindings:()=>Dn,\u0275\u0275getCurrentView:()=>np,\u0275\u0275getInheritedFactory:()=>pd,\u0275\u0275hostProperty:()=>cu,\u0275\u0275i18n:()=>hm,\u0275\u0275i18nApply:()=>mm,\u0275\u0275i18nAttributes:()=>pm,\u0275\u0275i18nEnd:()=>gu,\u0275\u0275i18nExp:()=>vu,\u0275\u0275i18nPostprocess:()=>gm,\u0275\u0275i18nStart:()=>mu,\u0275\u0275inject:()=>ti,\u0275\u0275injectAttribute:()=>Ya,\u0275\u0275invalidFactory:()=>ph,\u0275\u0275invalidFactoryDep:()=>qa,\u0275\u0275listener:()=>Pc,\u0275\u0275loadQuery:()=>rg,\u0275\u0275namespaceHTML:()=>un,\u0275\u0275namespaceMathML:()=>an,\u0275\u0275namespaceSVG:()=>$t,\u0275\u0275nextContext:()=>lp,\u0275\u0275ngDeclareClassMetadata:()=>_E,\u0275\u0275ngDeclareComponent:()=>bE,\u0275\u0275ngDeclareDirective:()=>yE,\u0275\u0275ngDeclareFactory:()=>CE,\u0275\u0275ngDeclareInjectable:()=>EE,\u0275\u0275ngDeclareInjector:()=>TE,\u0275\u0275ngDeclareNgModule:()=>wE,\u0275\u0275ngDeclarePipe:()=>ME,\u0275\u0275pipe:()=>zm,\u0275\u0275pipeBind1:()=>Wm,\u0275\u0275pipeBind2:()=>Gm,\u0275\u0275pipeBind3:()=>Km,\u0275\u0275pipeBind4:()=>Ym,\u0275\u0275pipeBindV:()=>Qm,\u0275\u0275projection:()=>up,\u0275\u0275projectionDef:()=>cp,\u0275\u0275property:()=>Mc,\u0275\u0275propertyInterpolate:()=>xc,\u0275\u0275propertyInterpolate1:()=>Ta,\u0275\u0275propertyInterpolate2:()=>Fc,\u0275\u0275propertyInterpolate3:()=>kc,\u0275\u0275propertyInterpolate4:()=>Nc,\u0275\u0275propertyInterpolate5:()=>Lc,\u0275\u0275propertyInterpolate6:()=>jc,\u0275\u0275propertyInterpolate7:()=>Bc,\u0275\u0275propertyInterpolate8:()=>Vc,\u0275\u0275propertyInterpolateV:()=>$c,\u0275\u0275pureFunction0:()=>Om,\u0275\u0275pureFunction1:()=>Am,\u0275\u0275pureFunction2:()=>Pm,\u0275\u0275pureFunction3:()=>Rm,\u0275\u0275pureFunction4:()=>xm,\u0275\u0275pureFunction5:()=>Fm,\u0275\u0275pureFunction6:()=>km,\u0275\u0275pureFunction7:()=>Nm,\u0275\u0275pureFunction8:()=>Lm,\u0275\u0275pureFunctionV:()=>jm,\u0275\u0275queryRefresh:()=>tg,\u0275\u0275reference:()=>tp,\u0275\u0275registerNgModuleType:()=>tl,\u0275\u0275resetView:()=>ai,\u0275\u0275resolveBody:()=>Af,\u0275\u0275resolveDocument:()=>Of,\u0275\u0275resolveWindow:()=>If,\u0275\u0275restoreView:()=>$i,\u0275\u0275sanitizeHtml:()=>Gd,\u0275\u0275sanitizeResourceUrl:()=>ul,\u0275\u0275sanitizeScript:()=>Yd,\u0275\u0275sanitizeStyle:()=>Kd,\u0275\u0275sanitizeUrl:()=>cl,\u0275\u0275sanitizeUrlOrResourceUrl:()=>Jd,\u0275\u0275setComponentScope:()=>me,\u0275\u0275setNgModuleScope:()=>we,\u0275\u0275styleMap:()=>sr,\u0275\u0275styleMapInterpolate1:()=>kp,\u0275\u0275styleMapInterpolate2:()=>Np,\u0275\u0275styleMapInterpolate3:()=>Lp,\u0275\u0275styleMapInterpolate4:()=>jp,\u0275\u0275styleMapInterpolate5:()=>Bp,\u0275\u0275styleMapInterpolate6:()=>Vp,\u0275\u0275styleMapInterpolate7:()=>$p,\u0275\u0275styleMapInterpolate8:()=>Hp,\u0275\u0275styleMapInterpolateV:()=>Up,\u0275\u0275styleProp:()=>Hc,\u0275\u0275stylePropInterpolate1:()=>eu,\u0275\u0275stylePropInterpolate2:()=>tu,\u0275\u0275stylePropInterpolate3:()=>nu,\u0275\u0275stylePropInterpolate4:()=>iu,\u0275\u0275stylePropInterpolate5:()=>ru,\u0275\u0275stylePropInterpolate6:()=>ou,\u0275\u0275stylePropInterpolate7:()=>su,\u0275\u0275stylePropInterpolate8:()=>au,\u0275\u0275stylePropInterpolateV:()=>lu,\u0275\u0275syntheticHostListener:()=>Rc,\u0275\u0275syntheticHostProperty:()=>uu,\u0275\u0275template:()=>qh,\u0275\u0275templateRefExtractor:()=>lg,\u0275\u0275text:()=>wp,\u0275\u0275textInterpolate:()=>Wc,\u0275\u0275textInterpolate1:()=>Ma,\u0275\u0275textInterpolate2:()=>Gc,\u0275\u0275textInterpolate3:()=>Kc,\u0275\u0275textInterpolate4:()=>Yc,\u0275\u0275textInterpolate5:()=>Qc,\u0275\u0275textInterpolate6:()=>Zc,\u0275\u0275textInterpolate7:()=>Jc,\u0275\u0275textInterpolate8:()=>Xc,\u0275\u0275textInterpolateV:()=>qc,\u0275\u0275trustConstantHtml:()=>Qd,\u0275\u0275trustConstantResourceUrl:()=>Zd,\u0275\u0275viewQuery:()=>ng});var n=a(7579),h=a(727),_=a(8306),u=a(6451),r=a(3099);function c(e){for(let t in e)if(e[t]===c)return t;throw Error("Could not find renamed property on target object.")}function d(e,t){for(const i in t)t.hasOwnProperty(i)&&!e.hasOwnProperty(i)&&(e[i]=t[i])}function p(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(p).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 i=t.indexOf("\n");return-1===i?t:t.substring(0,i)}function y(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const f=c({__forward_ref__:c});function b(e){return e.__forward_ref__=b,e.toString=function(){return p(this())},e}function v(e){return m(e)?e():e}function m(e){return"function"==typeof e&&e.hasOwnProperty(f)&&e.__forward_ref__===b}class M extends Error{constructor(t,i){super(function O(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,i)),this.code=t}}function P(e){return"string"==typeof e?e:null==e?"":String(e)}function N(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():P(e)}function B(e,t){throw new M(-201,!1)}function $(e,t,i,s){throw new Error(`ASSERTION ERROR: ${e}`+(null==s?"":` [Expected=> ${i} ${s} ${t} <=Actual]`))}function Ve(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const Se=Ve;function Ue(e){return{providers:e.providers||[],imports:e.imports||[]}}function ut(e){return _t(e,Pe)||_t(e,he)}function _t(e,t){return e.hasOwnProperty(t)?e[t]:null}function $e(e){return e&&(e.hasOwnProperty(Le)||e.hasOwnProperty(Qe))?e[Le]:null}const Pe=c({\u0275prov:c}),Le=c({\u0275inj:c}),he=c({ngInjectableDef:c}),Qe=c({ngInjectorDef:c});var Be=(()=>((Be=Be||{})[Be.Default=0]="Default",Be[Be.Host=1]="Host",Be[Be.Self=2]="Self",Be[Be.SkipSelf=4]="SkipSelf",Be[Be.Optional=8]="Optional",Be))();let Ke;function Te(e){const t=Ke;return Ke=e,t}function ze(e,t,i){const s=ut(e);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:i&Be.Optional?null:void 0!==t?t:void B(p(e))}function We(e){return{toString:e}.toString()}var ve=(()=>((ve=ve||{})[ve.OnPush=0]="OnPush",ve[ve.Default=1]="Default",ve))(),He=(()=>((He=He||{})[He.CheckOnce=0]="CheckOnce",He[He.Checked=1]="Checked",He[He.CheckAlways=2]="CheckAlways",He[He.Detached=3]="Detached",He[He.Errored=4]="Errored",He[He.Destroyed=5]="Destroyed",He))();function ct(e){return null==e||e===ve.Default}var xe=(()=>{return(e=xe||(xe={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",xe;var e})();const W=(()=>"undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof global&&global||"undefined"!=typeof window&&window||"undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self)(),ke={},tt=[],mt=c({\u0275cmp:c}),Ft=c({\u0275dir:c}),At=c({\u0275pipe:c}),Yt=c({\u0275mod:c}),Nt=c({\u0275fac:c}),rt=c({__NG_ELEMENT_ID__:c});let Je=0;function be(e){return We(()=>{const i=!0===e.standalone,s={},l={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:s,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===ve.OnPush,directiveDefs:null,pipeDefs:null,standalone:i,dependencies:i&&e.dependencies||null,getStandaloneInjector:null,selectors:e.selectors||tt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||xe.Emulated,id:"c"+Je++,styles:e.styles||tt,_:null,setInput:null,schemas:e.schemas||null,tView:null},g=e.dependencies,D=e.features;return l.inputs=vt(e.inputs,s),l.outputs=vt(e.outputs),D&&D.forEach(w=>w(l)),l.directiveDefs=g?()=>("function"==typeof g?g():g).map(ae).filter(le):null,l.pipeDefs=g?()=>("function"==typeof g?g():g).map(at).filter(le):null,l})}function me(e,t,i){const s=e.\u0275cmp;s.directiveDefs=()=>("function"==typeof t?t():t).map(ae),s.pipeDefs=()=>("function"==typeof i?i():i).map(at)}function ae(e){return ee(e)||Ie(e)}function le(e){return null!==e}function j(e){return We(()=>({type:e.type,bootstrap:e.bootstrap||tt,declarations:e.declarations||tt,imports:e.imports||tt,exports:e.exports||tt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}))}function we(e,t){return We(()=>{const i=Dt(e,!0);i.declarations=t.declarations||tt,i.imports=t.imports||tt,i.exports=t.exports||tt})}function vt(e,t){if(null==e)return ke;const i={};for(const s in e)if(e.hasOwnProperty(s)){let l=e[s],g=l;Array.isArray(l)&&(g=l[1],l=l[0]),i[l]=s,t&&(t[l]=g)}return i}const Ge=be;function yt(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 ee(e){return e[mt]||null}function Ie(e){return e[Ft]||null}function at(e){return e[At]||null}function Dt(e,t){const i=e[Yt]||null;if(!i&&!0===t)throw new Error(`Type ${p(e)} does not have '\u0275mod' property.`);return i}function En(e){return Array.isArray(e)&&"object"==typeof e[1]}function Nn(e){return Array.isArray(e)&&!0===e[1]}function Ti(e){return 0!=(8&e.flags)}function wi(e){return 2==(2&e.flags)}function bi(e){return 1==(1&e.flags)}function Ln(e){return null!==e.template}function Ni(e){return 0!=(256&e[2])}function ni(e,t){return e.hasOwnProperty(Nt)?e[Nt]:null}class Ji{constructor(t,i,s){this.previousValue=t,this.currentValue=i,this.firstChange=s}isFirstChange(){return this.firstChange}}function ji(){return Ii}function Ii(e){return e.type.prototype.ngOnChanges&&(e.setInput=Xi),hr}function hr(){const e=hi(this),t=null==e?void 0:e.current;if(t){const i=e.previous;if(i===ke)e.previous=t;else for(let s in t)i[s]=t[s];e.current=null,this.ngOnChanges(t)}}function Xi(e,t,i,s){const l=hi(e)||function Vi(e,t){return e[Bi]=t}(e,{previous:ke,current:null}),g=l.current||(l.current={}),D=l.previous,w=this.declaredInputs[i],I=D[w];g[w]=new Ji(I&&I.currentValue,t,D===ke),e[s]=t}ji.ngInherit=!0;const Bi="__ngSimpleChanges__";function hi(e){return e[Bi]||null}let pr=null;const mr=e=>{pr=e},Wn=function(e,t,i){null!=pr&&pr(e,t,i)};function bn(e){for(;Array.isArray(e);)e=e[0];return e}function In(e,t){return bn(t[e])}function Tn(e,t){return bn(t[e.index])}function er(e,t){return e.data[t]}function gi(e,t){return e[t]}function Qn(e,t){const i=t[e];return En(i)?i:i[0]}function x(e){return 4==(4&e[2])}function se(e){return 64==(64&e[2])}function fe(e,t){return null==t?null:e[t]}function Xe(e){e[18]=0}function Et(e,t){e[5]+=t;let i=e,s=e[3];for(;null!==s&&(1===t&&1===i[5]||-1===t&&0===i[5]);)s[5]+=t,i=s,s=s[3]}const gt={lFrame:T(null),bindingsEnabled:!0};function $n(){return gt.bindingsEnabled}function Dn(){gt.bindingsEnabled=!0}function Rn(){gt.bindingsEnabled=!1}function St(){return gt.lFrame.lView}function on(){return gt.lFrame.tView}function $i(e){return gt.lFrame.contextLView=e,e[8]}function ai(e){return gt.lFrame.contextLView=null,e}function xn(){let e=tr();for(;null!==e&&64===e.type;)e=e.parent;return e}function tr(){return gt.lFrame.currentTNode}function Hi(){const e=gt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function F(e,t){const i=gt.lFrame;i.currentTNode=e,i.isParent=t}function A(){return gt.lFrame.isParent}function S(){gt.lFrame.isParent=!1}function Fn(){const e=gt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function li(){return gt.lFrame.bindingIndex}function Rr(e){return gt.lFrame.bindingIndex=e}function Ur(){return gt.lFrame.bindingIndex++}function nr(e){const t=gt.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function js(e){gt.lFrame.inI18n=e}function Ha(e,t){const i=gt.lFrame;i.bindingIndex=i.bindingRootIndex=e,qr(t)}function qr(e){gt.lFrame.currentDirectiveIndex=e}function eo(e){const t=gt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Vs(){return gt.lFrame.currentQueryIndex}function es(e){gt.lFrame.currentQueryIndex=e}function Ua(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function $s(e,t,i){if(i&Be.SkipSelf){let l=t,g=e;for(;!(l=l.parent,null!==l||i&Be.Host||(l=Ua(g),null===l||(g=g[15],10&l.type))););if(null===l)return!1;t=l,e=g}const s=gt.lFrame=E();return s.currentTNode=t,s.lView=e,!0}function Z(e){const t=E(),i=e[1];gt.lFrame=t,t.currentTNode=i.firstChild,t.lView=e,t.tView=i,t.contextLView=e,t.bindingIndex=i.bindingStartIndex,t.inI18n=!1}function E(){const e=gt.lFrame,t=null===e?null:e.child;return null===t?T(e):t}function T(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 R(){const e=gt.lFrame;return gt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const J=R;function Me(){const e=R();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 ht(){return gt.lFrame.selectedIndex}function wt(e){gt.lFrame.selectedIndex=e}function Pt(){const e=gt.lFrame;return er(e.tView,e.selectedIndex)}function $t(){gt.lFrame.currentNamespace="svg"}function an(){gt.lFrame.currentNamespace="math"}function un(){!function en(){gt.lFrame.currentNamespace=null}()}function wn(e,t){for(let i=t.directiveStart,s=t.directiveEnd;i<s;i++){const g=e.data[i].type.prototype,{ngAfterContentInit:D,ngAfterContentChecked:w,ngAfterViewInit:I,ngAfterViewChecked:L,ngOnDestroy:re}=g;D&&(e.contentHooks||(e.contentHooks=[])).push(-i,D),w&&((e.contentHooks||(e.contentHooks=[])).push(i,w),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(i,w)),I&&(e.viewHooks||(e.viewHooks=[])).push(-i,I),L&&((e.viewHooks||(e.viewHooks=[])).push(i,L),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(i,L)),null!=re&&(e.destroyHooks||(e.destroyHooks=[])).push(i,re)}}function Gn(e,t,i){yr(e,t,3,i)}function ei(e,t,i,s){(3&e[2])===i&&yr(e,t,i,s)}function Kn(e,t){let i=e[2];(3&i)===t&&(i&=2047,i+=1,e[2]=i)}function yr(e,t,i,s){const g=null!=s?s:-1,D=t.length-1;let w=0;for(let I=void 0!==s?65535&e[18]:0;I<D;I++)if("number"==typeof t[I+1]){if(w=t[I],null!=s&&w>=s)break}else t[I]<0&&(e[18]+=65536),(w<g||-1==g)&&(_r(e,i,t,I),e[18]=(4294901760&e[18])+I+2),I++}function _r(e,t,i,s){const l=i[s]<0,g=i[s+1],w=e[l?-i[s]:i[s]];if(l){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048,Wn(4,w,g);try{g.call(w)}finally{Wn(5,w,g)}}}else{Wn(4,w,g);try{g.call(w)}finally{Wn(5,w,g)}}}class si{constructor(t,i,s){this.factory=t,this.resolving=!1,this.canSeeViewProviders=i,this.injectImpl=s}}function Gt(e,t,i){let s=0;for(;s<i.length;){const l=i[s];if("number"==typeof l){if(0!==l)break;s++;const g=i[s++],D=i[s++],w=i[s++];e.setAttribute(t,D,w,g)}else{const g=l,D=i[++s];hn(g)?e.setProperty(t,g,D):e.setAttribute(t,g,D),s++}}return s}function Zt(e){return 3===e||4===e||6===e}function hn(e){return 64===e.charCodeAt(0)}function An(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let i=-1;for(let s=0;s<t.length;s++){const l=t[s];"number"==typeof l?i=l:0===i||Pi(e,i,l,null,-1===i||2===i?t[++s]:null)}}return e}function Pi(e,t,i,s,l){let g=0,D=e.length;if(-1===t)D=-1;else for(;g<e.length;){const w=e[g++];if("number"==typeof w){if(w===t){D=-1;break}if(w>t){D=g-1;break}}}for(;g<e.length;){const w=e[g];if("number"==typeof w)break;if(w===i){if(null===s)return void(null!==l&&(e[g+1]=l));if(s===e[g+1])return void(e[g+2]=l)}g++,null!==s&&g++,null!==l&&g++}-1!==D&&(e.splice(D,0,t),g=D+1),e.splice(g++,0,i),null!==s&&e.splice(g++,0,s),null!==l&&e.splice(g++,0,l)}function ci(e){return-1!==e}function vi(e){return 32767&e}function Fr(e,t){let i=function Bn(e){return e>>16}(e),s=t;for(;i>0;)s=s[15],i--;return s}let ts=!0;function Zn(e){const t=ts;return ts=e,t}let ns=0;const br={};function is(e,t){const i=Ga(e,t);if(-1!==i)return i;const s=t[1];s.firstCreatePass&&(e.injectorIndex=t.length,Wa(s.data,e),Wa(t,null),Wa(s.blueprint,null));const l=Hs(e,t),g=e.injectorIndex;if(ci(l)){const D=vi(l),w=Fr(l,t),I=w[1].data;for(let L=0;L<8;L++)t[g+L]=w[D+L]|I[D+L]}return t[g+8]=l,g}function Wa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Ga(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Hs(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let i=0,s=null,l=t;for(;null!==l;){if(s=md(l),null===s)return-1;if(i++,l=l[15],-1!==s.injectorIndex)return s.injectorIndex|i<<16}return-1}function Us(e,t,i){!function bv(e,t,i){let s;"string"==typeof i?s=i.charCodeAt(0)||0:i.hasOwnProperty(rt)&&(s=i[rt]),null==s&&(s=i[rt]=ns++);const l=255&s;t.data[e+(l>>5)]|=1<<l}(e,t,i)}function ld(e,t,i){if(i&Be.Optional)return e;B()}function cd(e,t,i,s){if(i&Be.Optional&&void 0===s&&(s=null),0==(i&(Be.Self|Be.Host))){const l=e[9],g=Te(void 0);try{return l?l.get(t,s,i&Be.Optional):ze(t,s,i&Be.Optional)}finally{Te(g)}}return ld(s,0,i)}function ud(e,t,i,s=Be.Default,l){if(null!==e){if(1024&t[2]){const D=function wv(e,t,i,s,l){let g=e,D=t;for(;null!==g&&null!==D&&1024&D[2]&&!(256&D[2]);){const w=dd(g,D,i,s|Be.Self,br);if(w!==br)return w;let I=g.parent;if(!I){const L=D[21];if(L){const re=L.get(i,br,s);if(re!==br)return re}I=md(D),D=D[15]}g=I}return l}(e,t,i,s,br);if(D!==br)return D}const g=dd(e,t,i,s,br);if(g!==br)return g}return cd(t,i,s,l)}function dd(e,t,i,s,l){const g=function Ev(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(rt)?e[rt]:void 0;return"number"==typeof t?t>=0?255&t:Tv:t}(i);if("function"==typeof g){if(!$s(t,e,s))return s&Be.Host?ld(l,0,s):cd(t,i,s,l);try{const D=g(s);if(null!=D||s&Be.Optional)return D;B()}finally{J()}}else if("number"==typeof g){let D=null,w=Ga(e,t),I=-1,L=s&Be.Host?t[16][6]:null;for((-1===w||s&Be.SkipSelf)&&(I=-1===w?Hs(e,t):t[w+8],-1!==I&&hd(s,!1)?(D=t[1],w=vi(I),t=Fr(I,t)):w=-1);-1!==w;){const re=t[1];if(fd(g,w,re.data)){const Re=Dv(w,t,i,D,s,L);if(Re!==br)return Re}I=t[w+8],-1!==I&&hd(s,t[1].data[w+8]===L)&&fd(g,w,t)?(D=re,w=vi(I),t=Fr(I,t)):w=-1}}return l}function Dv(e,t,i,s,l,g){const D=t[1],w=D.data[e+8],re=zs(w,D,i,null==s?wi(w)&&ts:s!=D&&0!=(3&w.type),l&Be.Host&&g===w);return null!==re?rs(t,D,re,w):br}function zs(e,t,i,s,l){const g=e.providerIndexes,D=t.data,w=1048575&g,I=e.directiveStart,re=g>>20,st=l?w+re:e.directiveEnd;for(let pt=s?w:w+re;pt<st;pt++){const Mt=D[pt];if(pt<I&&i===Mt||pt>=I&&Mt.type===i)return pt}if(l){const pt=D[I];if(pt&&Ln(pt)&&pt.type===i)return I}return null}function rs(e,t,i,s){let l=e[i];const g=t.data;if(function go(e){return e instanceof si}(l)){const D=l;D.resolving&&function Q(e,t){const i=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new M(-200,`Circular dependency in DI detected for ${e}${i}`)}(N(g[i]));const w=Zn(D.canSeeViewProviders);D.resolving=!0;const I=D.injectImpl?Te(D.injectImpl):null;$s(e,s,Be.Default);try{l=e[i]=D.factory(void 0,g,e,s),t.firstCreatePass&&i>=s.directiveStart&&function Mn(e,t,i){const{ngOnChanges:s,ngOnInit:l,ngDoCheck:g}=t.type.prototype;if(s){const D=Ii(t);(i.preOrderHooks||(i.preOrderHooks=[])).push(e,D),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,D)}l&&(i.preOrderHooks||(i.preOrderHooks=[])).push(0-e,l),g&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e,g),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,g))}(i,g[i],t)}finally{null!==I&&Te(I),Zn(w),D.resolving=!1,J()}}return l}function fd(e,t,i){return!!(i[t+(e>>5)]&1<<e)}function hd(e,t){return!(e&Be.Self||e&Be.Host&&t)}class vo{constructor(t,i){this._tNode=t,this._lView=i}get(t,i,s){return ud(this._tNode,this._lView,t,s,i)}}function Tv(){return new vo(xn(),St())}function pd(e){return We(()=>{const t=e.prototype.constructor,i=t[Nt]||Ka(t),s=Object.prototype;let l=Object.getPrototypeOf(e.prototype).constructor;for(;l&&l!==s;){const g=l[Nt]||Ka(l);if(g&&g!==i)return g;l=Object.getPrototypeOf(l)}return g=>new g})}function Ka(e){return m(e)?()=>{const t=Ka(v(e));return t&&t()}:ni(e)}function md(e){const t=e[1],i=t.type;return 2===i?t.declTNode:1===i?e[6]:null}function Ya(e){return function Cv(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const i=e.attrs;if(i){const s=i.length;let l=0;for(;l<s;){const g=i[l];if(Zt(g))break;if(0===g)l+=2;else if("number"==typeof g)for(l++;l<s&&"string"==typeof i[l];)l++;else{if(g===t)return i[l+1];l+=2}}}return null}(xn(),e)}const yo="__annotations__",_o="__parameters__",bo="__prop__metadata__";function Co(e,t,i,s,l){return We(()=>{const g=Qa(t);function D(...w){if(this instanceof D)return g.call(this,...w),this;const I=new D(...w);return function(re){return l&&l(re,...w),(re.hasOwnProperty(yo)?re[yo]:Object.defineProperty(re,yo,{value:[]})[yo]).push(I),s&&s(re),re}}return i&&(D.prototype=Object.create(i.prototype)),D.prototype.ngMetadataName=e,D.annotationCls=D,D})}function Qa(e){return function(...i){if(e){const s=e(...i);for(const l in s)this[l]=s[l]}}}function Do(e,t,i){return We(()=>{const s=Qa(t);function l(...g){if(this instanceof l)return s.apply(this,g),this;const D=new l(...g);return w.annotation=D,w;function w(I,L,re){const Re=I.hasOwnProperty(_o)?I[_o]:Object.defineProperty(I,_o,{value:[]})[_o];for(;Re.length<=re;)Re.push(null);return(Re[re]=Re[re]||[]).push(D),I}}return i&&(l.prototype=Object.create(i.prototype)),l.prototype.ngMetadataName=e,l.annotationCls=l,l})}function Gr(e,t,i,s){return We(()=>{const l=Qa(t);function g(...D){if(this instanceof g)return l.apply(this,D),this;const w=new g(...D);return function I(L,re){const Re=L.constructor,st=Re.hasOwnProperty(bo)?Re[bo]:Object.defineProperty(Re,bo,{value:{}})[bo];st[re]=st.hasOwnProperty(re)&&st[re]||[],st[re].unshift(w),s&&s(L,re,...D)}}return i&&(g.prototype=Object.create(i.prototype)),g.prototype.ngMetadataName=e,g.annotationCls=g,g})}const gd=Do("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Ya(e)}));class Pn{constructor(t,i){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof i?this.__NG_ELEMENT_ID__=i:void 0!==i&&(this.\u0275prov=Ve({token:this,providedIn:i.providedIn||"root",factory:i.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Mv=new Pn("AnalyzeForEntryComponents");class os{}const Sv=Gr("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t),os),Iv=Gr("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),os),Ov=Gr("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0},t),os),Av=Gr("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),os);var ii=(()=>((ii=ii||{})[ii.Directive=0]="Directive",ii[ii.Component=1]="Component",ii[ii.Injectable=2]="Injectable",ii[ii.Pipe=3]="Pipe",ii[ii.NgModule=4]="NgModule",ii))();function ri(e){const t=W.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Ws=Function;function ss(e){return"function"==typeof e}function Ri(e,t){void 0===t&&(t=e);for(let i=0;i<e.length;i++){let s=e[i];Array.isArray(s)?(t===e&&(t=e.slice(0,i)),Ri(s,t)):t!==e&&t.push(s)}return t}function kr(e,t){e.forEach(i=>Array.isArray(i)?kr(i,t):t(i))}function yd(e,t,i){t>=e.length?e.push(i):e.splice(t,0,i)}function Gs(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function as(e,t){const i=[];for(let s=0;s<e;s++)i.push(t);return i}function xi(e,t,i){let s=Eo(e,t);return s>=0?e[1|s]=i:(s=~s,function xv(e,t,i,s){let l=e.length;if(l==t)e.push(i,s);else if(1===l)e.push(s,e[0]),e[0]=i;else{for(l--,e.push(e[l-1],e[l]);l>t;)e[l]=e[l-2],l--;e[t]=i,e[t+1]=s}}(e,s,t,i)),s}function Za(e,t){const i=Eo(e,t);if(i>=0)return e[1|i]}function Eo(e,t){return function Cd(e,t,i){let s=0,l=e.length>>i;for(;l!==s;){const g=s+(l-s>>1),D=e[g<<i];if(t===D)return g<<i;D>t?l=g:s=g+1}return~(l<<i)}(e,t,1)}const Fv=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,kv=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Nv=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Lv=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Dd{constructor(t){this._reflect=t||W.Reflect}factory(t){return(...i)=>new t(...i)}_zipTypesAndAnnotations(t,i){let s;s=as(void 0===t?i.length:t.length);for(let l=0;l<s.length;l++)s[l]=void 0===t?[]:t[l]&&t[l]!=Object?[t[l]]:[],i&&null!=i[l]&&(s[l]=s[l].concat(i[l]));return s}_ownParameters(t,i){if(function jv(e){return Fv.test(e)||Lv.test(e)||kv.test(e)&&!Nv.test(e)}(t.toString()))return null;if(t.parameters&&t.parameters!==i.parameters)return t.parameters;const l=t.ctorParameters;if(l&&l!==i.ctorParameters){const w="function"==typeof l?l():l,I=w.map(re=>re&&re.type),L=w.map(re=>re&&Ja(re.decorators));return this._zipTypesAndAnnotations(I,L)}const g=t.hasOwnProperty(_o)&&t[_o],D=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return D||g?this._zipTypesAndAnnotations(D,g):as(t.length)}parameters(t){if(!ss(t))return[];const i=Ks(t);let s=this._ownParameters(t,i);return!s&&i!==Object&&(s=this.parameters(i)),s||[]}_ownAnnotations(t,i){if(t.annotations&&t.annotations!==i.annotations){let s=t.annotations;return"function"==typeof s&&s.annotations&&(s=s.annotations),s}return t.decorators&&t.decorators!==i.decorators?Ja(t.decorators):t.hasOwnProperty(yo)?t[yo]:null}annotations(t){if(!ss(t))return[];const i=Ks(t),s=this._ownAnnotations(t,i)||[];return(i!==Object?this.annotations(i):[]).concat(s)}_ownPropMetadata(t,i){if(t.propMetadata&&t.propMetadata!==i.propMetadata){let s=t.propMetadata;return"function"==typeof s&&s.propMetadata&&(s=s.propMetadata),s}if(t.propDecorators&&t.propDecorators!==i.propDecorators){const s=t.propDecorators,l={};return Object.keys(s).forEach(g=>{l[g]=Ja(s[g])}),l}return t.hasOwnProperty(bo)?t[bo]:null}propMetadata(t){if(!ss(t))return{};const i=Ks(t),s={};if(i!==Object){const g=this.propMetadata(i);Object.keys(g).forEach(D=>{s[D]=g[D]})}const l=this._ownPropMetadata(t,i);return l&&Object.keys(l).forEach(g=>{const D=[];s.hasOwnProperty(g)&&D.push(...s[g]),D.push(...l[g]),s[g]=D}),s}ownPropMetadata(t){return ss(t)&&this._ownPropMetadata(t,Ks(t))||{}}hasLifecycleHook(t,i){return t instanceof Ws&&i in t.prototype}}function Ja(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function Ks(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const Kr={},Xa="__NG_DI_FLAG__",Ys="ngTempTokenPath",Vv=/\n/gm,Ed="__source";let ls;function io(e){const t=ls;return ls=e,t}function Hv(e,t=Be.Default){if(void 0===ls)throw new M(-203,!1);return null===ls?ze(e,void 0,t):ls.get(e,t&Be.Optional?null:void 0,t)}function ti(e,t=Be.Default){return(function Y(){return Ke}()||Hv)(v(e),t)}function qa(e){throw new M(202,!1)}function Td(e,t=Be.Default){return"number"!=typeof t&&(t=0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)),ti(e,t)}function el(e){const t=[];for(let i=0;i<e.length;i++){const s=v(e[i]);if(Array.isArray(s)){if(0===s.length)throw new M(900,!1);let l,g=Be.Default;for(let D=0;D<s.length;D++){const w=s[D],I=Uv(w);"number"==typeof I?-1===I?l=w.token:g|=I:l=w}t.push(ti(l,g))}else t.push(ti(s))}return t}function cs(e,t){return e[Xa]=t,e.prototype[Xa]=t,e}function Uv(e){return e[Xa]}const Qs=cs(Do("Inject",e=>({token:e})),-1),us=cs(Do("Optional"),8),Zs=cs(Do("Self"),2),To=cs(Do("SkipSelf"),4),wd=cs(Do("Host"),1);let Md=null;function ds(){return Md=Md||new Dd}function Js(e){return Sd(ds().parameters(e))}function Sd(e){return e.map(t=>function Gv(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let i=0;i<e.length;i++){const s=e[i];if(void 0===s)continue;const l=Object.getPrototypeOf(s);if(s instanceof us||"Optional"===l.ngMetadataName)t.optional=!0;else if(s instanceof To||"SkipSelf"===l.ngMetadataName)t.skipSelf=!0;else if(s instanceof Zs||"Self"===l.ngMetadataName)t.self=!0;else if(s instanceof wd||"Host"===l.ngMetadataName)t.host=!0;else if(s instanceof Qs)t.token=s.token;else if(s instanceof gd){if(void 0===s.attributeName)throw new M(204,!1);t.attribute=s.attributeName}else t.token=s}else t.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return t}(t))}function Id(e){const t=[],i=new Map;function s(l){let g=i.get(l);if(!g){const D=e(l);i.set(l,g=D.then(Qv))}return g}return wo.forEach((l,g)=>{const D=[];l.templateUrl&&D.push(s(l.templateUrl).then(Re=>{l.template=Re}));const w=l.styleUrls,I=l.styles||(l.styles=[]),L=l.styles.length;w&&w.forEach((Re,st)=>{I.push(""),D.push(s(Re).then(pt=>{I[L+st]=pt,w.splice(w.indexOf(Re),1),0==w.length&&(l.styleUrls=void 0)}))});const re=Promise.all(D).then(()=>function Zv(e){fs.delete(e)}(g));t.push(re)}),Ad(),Promise.all(t).then(()=>{})}let wo=new Map;const fs=new Set;function Od(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function Ad(){const e=wo;return wo=new Map,e}function Qv(e){return"string"==typeof e?e:e.text()}const Xs=new Map;let nl,qs,ea,Pd=!0;function tl(e,t){(function Jv(e,t,i){if(t&&t!==i&&Pd)throw new Error(`Duplicate module registered for ${e} - ${p(t)} vs ${p(t.name)}`)})(t,Xs.get(t)||null,e),Xs.set(t,e)}function Rd(e){return Xs.get(e)}function Xv(e){Pd=!e}function qv(e){nl=e}function xd(){return void 0!==nl?nl:"undefined"!=typeof document?document:void 0}function il(){if(void 0===qs&&(qs=null,W.trustedTypes))try{qs=W.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return qs}function Mo(e){var t;return(null===(t=il())||void 0===t?void 0:t.createHTML(e))||e}function rl(){if(void 0===ea&&(ea=null,W.trustedTypes))try{ea=W.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return ea}function Fd(e){var t;return(null===(t=rl())||void 0===t?void 0:t.createHTML(e))||e}function kd(e){var t;return(null===(t=rl())||void 0===t?void 0:t.createScript(e))||e}function Nd(e){var t;return(null===(t=rl())||void 0===t?void 0:t.createScriptURL(e))||e}class ro{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class ny extends ro{getTypeName(){return"HTML"}}class iy extends ro{getTypeName(){return"Style"}}class ry extends ro{getTypeName(){return"Script"}}class oy extends ro{getTypeName(){return"URL"}}class sy extends ro{getTypeName(){return"ResourceURL"}}function Nr(e){return e instanceof ro?e.changingThisBreaksApplicationSecurity:e}function So(e,t){const i=Ld(e);if(null!=i&&i!==t){if("ResourceURL"===i&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${i} (see https://g.co/ng/security#xss)`)}return i===t}function Ld(e){return e instanceof ro&&e.getTypeName()||null}function ay(e){return new ny(e)}function ly(e){return new iy(e)}function cy(e){return new ry(e)}function uy(e){return new oy(e)}function dy(e){return new sy(e)}function jd(e){const t=new hy(e);return function py(){try{return!!(new window.DOMParser).parseFromString(Mo(""),"text/html")}catch(e){return!1}}()?new fy(t):t}class fy{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const i=(new window.DOMParser).parseFromString(Mo(t),"text/html").body;return null===i?this.inertDocumentHelper.getInertBodyElement(t):(i.removeChild(i.firstChild),i)}catch(i){return null}}}class hy{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const i=this.inertDocument.createElement("html");this.inertDocument.appendChild(i);const s=this.inertDocument.createElement("body");i.appendChild(s)}}getInertBodyElement(t){const i=this.inertDocument.createElement("template");if("content"in i)return i.innerHTML=Mo(t),i;const s=this.inertDocument.createElement("body");return s.innerHTML=Mo(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(s),s}stripCustomNsAttrs(t){const i=t.attributes;for(let l=i.length-1;0<l;l--){const D=i.item(l).name;("xmlns:ns1"===D||0===D.indexOf("ns1:"))&&t.removeAttribute(D)}let s=t.firstChild;for(;s;)s.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(s),s=s.nextSibling}}const my=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,gy=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function hs(e){return(e=String(e)).match(my)||e.match(gy)?e:"unsafe:"+e}function Bd(e){return(e=String(e)).split(",").map(t=>hs(t.trim())).join(", ")}function Cr(e){const t={};for(const i of e.split(","))t[i]=!0;return t}function ps(...e){const t={};for(const i of e)for(const s in i)i.hasOwnProperty(s)&&(t[s]=!0);return t}const Vd=Cr("area,br,col,hr,img,wbr"),$d=Cr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Hd=Cr("rp,rt"),ol=ps(Vd,ps($d,Cr("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")),ps(Hd,Cr("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")),ps(Hd,$d)),sl=Cr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),al=Cr("srcset"),Ud=ps(sl,al,Cr("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Cr("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")),vy=Cr("script,style,template");class yy{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let i=t.firstChild,s=!0;for(;i;)if(i.nodeType===Node.ELEMENT_NODE?s=this.startElement(i):i.nodeType===Node.TEXT_NODE?this.chars(i.nodeValue):this.sanitizedSomething=!0,s&&i.firstChild)i=i.firstChild;else for(;i;){i.nodeType===Node.ELEMENT_NODE&&this.endElement(i);let l=this.checkClobberedElement(i,i.nextSibling);if(l){i=l;break}i=this.checkClobberedElement(i,i.parentNode)}return this.buf.join("")}startElement(t){const i=t.nodeName.toLowerCase();if(!ol.hasOwnProperty(i))return this.sanitizedSomething=!0,!vy.hasOwnProperty(i);this.buf.push("<"),this.buf.push(i);const s=t.attributes;for(let l=0;l<s.length;l++){const g=s.item(l),D=g.name,w=D.toLowerCase();if(!Ud.hasOwnProperty(w)){this.sanitizedSomething=!0;continue}let I=g.value;sl[w]&&(I=hs(I)),al[w]&&(I=Bd(I)),this.buf.push(" ",D,'="',zd(I),'"')}return this.buf.push(">"),!0}endElement(t){const i=t.nodeName.toLowerCase();ol.hasOwnProperty(i)&&!Vd.hasOwnProperty(i)&&(this.buf.push("</"),this.buf.push(i),this.buf.push(">"))}chars(t){this.buf.push(zd(t))}checkClobberedElement(t,i){if(i&&(t.compareDocumentPosition(i)&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 i}}const _y=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,by=/([^\#-~ |!])/g;function zd(e){return e.replace(/&/g,"&amp;").replace(_y,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(by,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let ta;function Wd(e,t){let i=null;try{ta=ta||jd(e);let s=t?String(t):"";i=ta.getInertBodyElement(s);let l=5,g=s;do{if(0===l)throw new Error("Failed to sanitize html because the input is unstable");l--,s=g,g=i.innerHTML,i=ta.getInertBodyElement(s)}while(s!==g);return Mo((new yy).sanitizeChildren(ll(i)||i))}finally{if(i){const s=ll(i)||i;for(;s.firstChild;)s.removeChild(s.firstChild)}}}function ll(e){return"content"in e&&function Cy(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Jn=(()=>((Jn=Jn||{})[Jn.NONE=0]="NONE",Jn[Jn.HTML=1]="HTML",Jn[Jn.STYLE=2]="STYLE",Jn[Jn.SCRIPT=3]="SCRIPT",Jn[Jn.URL=4]="URL",Jn[Jn.RESOURCE_URL=5]="RESOURCE_URL",Jn))();function Gd(e){const t=ms();return t?Fd(t.sanitize(Jn.HTML,e)||""):So(e,"HTML")?Fd(Nr(e)):Wd(xd(),P(e))}function Kd(e){const t=ms();return t?t.sanitize(Jn.STYLE,e)||"":So(e,"Style")?Nr(e):P(e)}function cl(e){const t=ms();return t?t.sanitize(Jn.URL,e)||"":So(e,"URL")?Nr(e):hs(P(e))}function ul(e){const t=ms();if(t)return Nd(t.sanitize(Jn.RESOURCE_URL,e)||"");if(So(e,"ResourceURL"))return Nd(Nr(e));throw new M(904,!1)}function Yd(e){const t=ms();if(t)return kd(t.sanitize(Jn.SCRIPT,e)||"");if(So(e,"Script"))return kd(Nr(e));throw new M(905,!1)}function Qd(e){return Mo(e[0])}function Zd(e){return function ty(e){var t;return(null===(t=il())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function Jd(e,t,i){return function Dy(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?ul:cl}(t,i)(e)}function ms(){const e=St();return e&&e[12]}const dl=new Pn("ENVIRONMENT_INITIALIZER"),fl=new Pn("INJECTOR",-1),Xd=new Pn("INJECTOR_DEF_TYPES");class qd{get(t,i=Kr){if(i===Kr){const s=new Error(`NullInjectorError: No provider for ${p(t)}!`);throw s.name="NullInjectorError",s}return i}}function ef(...e){return{\u0275providers:tf(0,e)}}function tf(e,...t){const i=[],s=new Set;let l;return kr(t,g=>{const D=g;hl(D,i,[],s)&&(l||(l=[]),l.push(D))}),void 0!==l&&nf(l,i),i}function nf(e,t){for(let i=0;i<e.length;i++){const{providers:l}=e[i];kr(l,g=>{t.push(g)})}}function hl(e,t,i,s){if(!(e=v(e)))return!1;let l=null,g=$e(e);const D=!g&&ee(e);if(g||D){if(D&&!D.standalone)return!1;l=e}else{const I=e.ngModule;if(g=$e(I),!g)return!1;l=I}const w=s.has(l);if(D){if(w)return!1;if(s.add(l),D.dependencies){const I="function"==typeof D.dependencies?D.dependencies():D.dependencies;for(const L of I)hl(L,t,i,s)}}else{if(!g)return!1;{if(null!=g.imports&&!w){let L;s.add(l);try{kr(g.imports,re=>{hl(re,t,i,s)&&(L||(L=[]),L.push(re))})}finally{}void 0!==L&&nf(L,t)}if(!w){const L=ni(l)||(()=>new l);t.push({provide:l,useFactory:L,deps:tt},{provide:Xd,useValue:l,multi:!0},{provide:dl,useValue:()=>ti(l),multi:!0})}const I=g.providers;null==I||w||kr(I,re=>{t.push(re)})}}return l!==e&&void 0!==e.providers}const Ey=c({provide:String,useValue:c});function pl(e){return null!==e&&"object"==typeof e&&Ey in e}function oo(e){return"function"==typeof e}const ml=new Pn("Set Injector scope."),na={},wy={};let gl;function ia(){return void 0===gl&&(gl=new qd),gl}class so{}class af extends so{constructor(t,i,s,l){super(),this.parent=i,this.source=s,this.scopes=l,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,yl(t,D=>this.processProvider(D)),this.records.set(fl,Io(void 0,this)),l.has("environment")&&this.records.set(so,Io(void 0,this));const g=this.records.get(ml);null!=g&&"string"==typeof g.value&&this.scopes.add(g.value),this.injectorDefTypes=new Set(this.get(Xd.multi,tt,Be.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const t of this._ngOnDestroyHooks)t.ngOnDestroy();for(const t of this._onDestroyHooks)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(t){this._onDestroyHooks.push(t)}runInContext(t){this.assertNotDestroyed();const i=io(this),s=Te(void 0);try{return t()}finally{io(i),Te(s)}}get(t,i=Kr,s=Be.Default){this.assertNotDestroyed();const l=io(this),g=Te(void 0);try{if(!(s&Be.SkipSelf)){let w=this.records.get(t);if(void 0===w){const I=function Ay(e){return"function"==typeof e||"object"==typeof e&&e instanceof Pn}(t)&&ut(t);w=I&&this.injectableDefInScope(I)?Io(vl(t),na):null,this.records.set(t,w)}if(null!=w)return this.hydrate(t,w)}return(s&Be.Self?ia():this.parent).get(t,i=s&Be.Optional&&i===Kr?null:i)}catch(D){if("NullInjectorError"===D.name){if((D[Ys]=D[Ys]||[]).unshift(p(t)),l)throw D;return function zv(e,t,i,s){const l=e[Ys];throw t[Ed]&&l.unshift(t[Ed]),e.message=function Wv(e,t,i,s=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.slice(2):e;let l=p(t);if(Array.isArray(t))l=t.map(p).join(" -> ");else if("object"==typeof t){let g=[];for(let D in t)if(t.hasOwnProperty(D)){let w=t[D];g.push(D+":"+("string"==typeof w?JSON.stringify(w):p(w)))}l=`{${g.join(", ")}}`}return`${i}${s?"("+s+")":""}[${l}]: ${e.replace(Vv,"\n ")}`}("\n"+e.message,l,i,s),e.ngTokenPath=l,e[Ys]=null,e}(D,t,"R3InjectorError",this.source)}throw D}finally{Te(g),io(l)}}resolveInjectorInitializers(){const t=io(this),i=Te(void 0);try{const s=this.get(dl.multi,tt,Be.Self);for(const l of s)l()}finally{io(t),Te(i)}}toString(){const t=[],i=this.records;for(const s of i.keys())t.push(p(s));return`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new M(205,!1)}processProvider(t){let i=oo(t=v(t))?t:v(t&&t.provide);const s=function Sy(e){return pl(e)?Io(void 0,e.useValue):Io(lf(e),na)}(t);if(oo(t)||!0!==t.multi)this.records.get(i);else{let l=this.records.get(i);l||(l=Io(void 0,na,!0),l.factory=()=>el(l.multi),this.records.set(i,l)),i=t,l.multi.push(t)}this.records.set(i,s)}hydrate(t,i){return i.value===na&&(i.value=wy,i.value=i.factory()),"object"==typeof i.value&&i.value&&function Oy(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(i.value)&&this._ngOnDestroyHooks.add(i.value),i.value}injectableDefInScope(t){if(!t.providedIn)return!1;const i=v(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}}function vl(e){const t=ut(e),i=null!==t?t.factory:ni(e);if(null!==i)return i;if(e instanceof Pn)throw new M(204,!1);if(e instanceof Function)return function My(e){const t=e.length;if(t>0)throw as(t,"?"),new M(204,!1);const i=function bt(e){const t=e&&(e[Pe]||e[he]);if(t){const i=function dt(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${i}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${i}" class.`),t}return null}(e);return null!==i?()=>i.factory(e):()=>new e}(e);throw new M(204,!1)}function lf(e,t,i){let s;if(oo(e)){const l=v(e);return ni(l)||vl(l)}if(pl(e))s=()=>v(e.useValue);else if(function sf(e){return!(!e||!e.useFactory)}(e))s=()=>e.useFactory(...el(e.deps||[]));else if(function rf(e){return!(!e||!e.useExisting)}(e))s=()=>ti(v(e.useExisting));else{const l=v(e&&(e.useClass||e.provide));if(!function Iy(e){return!!e.deps}(e))return ni(l)||vl(l);s=()=>new l(...el(e.deps))}return s}function Io(e,t,i=!1){return{factory:e,value:t,multi:i?[]:void 0}}function Py(e){return!!e.\u0275providers}function yl(e,t){for(const i of e)Array.isArray(i)?yl(i,t):Py(i)?yl(i.\u0275providers,t):t(i)}class cf{}class ra{}class xy{resolveComponentFactory(t){throw function Ry(e){const t=Error(`No component factory found for ${p(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let gs=(()=>{class e{}return e.NULL=new xy,e})();function Fy(){return Oo(xn(),St())}function Oo(e,t){return new vs(Tn(e,t))}let vs=(()=>{class e{constructor(i){this.nativeElement=i}}return e.__NG_ELEMENT_ID__=Fy,e})();function ky(e){return e instanceof vs?e.nativeElement:e}class df{}let Ny=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function Ly(){const e=St(),i=Qn(xn().index,e);return(En(i)?i:e)[11]}(),e})(),ff=(()=>{class e{}return e.\u0275prov=Ve({token:e,providedIn:"root",factory:()=>null}),e})();class hf{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const pf=new hf("14.1.3"),oa={},mf={name:"custom-elements"},gf={name:"no-errors-schema"};let _l=!1;function jy(e){_l=e}function By(){return _l}let bl=!1;function Vy(e){bl=e}function $y(){return bl}const Dl="ngOriginalError";function El(e){return e[Dl]}class ys{constructor(){this._console=console}handleError(t){const i=this._findOriginalError(t);this._console.error("ERROR",t),i&&this._console.error("ORIGINAL ERROR",i)}_findOriginalError(t){let i=t&&El(t);for(;i&&El(i);)i=El(i);return i||null}}const zy=/^>|^->|<!--|-->|--!>|<!-$/g,Wy=/(<|>)/;const Tl=new Map;let Jy=0;function Df(e){return Tl.get(e)||null}class Ef{constructor(t,i,s){this.lViewId=t,this.nodeIndex=i,this.native=s}get lView(){return Df(this.lViewId)}}function ui(e){let t=_s(e);if(t){if(En(t)){const i=t;let s,l,g;if(function t_(e){return e&&e.constructor&&e.constructor.\u0275cmp}(e)){if(s=Mf(i,e),-1==s)throw new Error("The provided component was not found in the application");l=e}else if(function n_(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(s=function r_(e,t){let i=e[1].firstChild;for(;i;){const l=i.directiveEnd;for(let g=i.directiveStart;g<l;g++)if(e[g]===t)return i.index;i=i_(i)}return-1}(i,e),-1==s)throw new Error("The provided directive was not found in the application");g=Sf(s,i,!1)}else if(s=wf(i,e),-1==s)return null;const D=bn(i[s]),w=_s(D),I=w&&!Array.isArray(w)?w:wl(i,s,D);if(l&&void 0===I.component&&(I.component=l,di(I.component,I)),g&&void 0===I.directives){I.directives=g;for(let L=0;L<g.length;L++)di(g[L],I)}di(I.native,I),t=I}}else{const i=e;let s=i;for(;s=s.parentNode;){const l=_s(s);if(l){const g=Array.isArray(l)?l:l.lView;if(!g)return null;const D=wf(g,i);if(D>=0){const w=bn(g[D]),I=wl(g,D,w);di(w,I),t=I;break}}}}return t||null}function wl(e,t,i){return new Ef(e[20],t,i)}function Tf(e){let i,t=_s(e);if(En(t)){const s=t,l=Mf(s,e);i=Qn(l,s);const g=wl(s,l,i[0]);g.component=e,di(e,g),di(g.native,g)}else i=Qn(t.nodeIndex,t.lView);return i}const Ml="__ngContext__";function di(e,t){En(t)?(e[Ml]=t[20],function qy(e){Tl.set(e[20],e)}(t)):e[Ml]=t}function _s(e){const t=e[Ml];return"number"==typeof t?Df(t):t||null}function Sl(e){const t=_s(e);return t?En(t)?t:t.lView:null}function wf(e,t){const i=e[1];for(let s=22;s<i.bindingStartIndex;s++)if(bn(e[s])===t)return s;return-1}function i_(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Mf(e,t){const i=e[1].components;if(i)for(let s=0;s<i.length;s++){const l=i[s];if(Qn(l,e)[8]===t)return l}else if(Qn(22,e)[8]===t)return 22;return-1}function Sf(e,t,i){const s=t[1].data[e];let l=s.directiveStart;return 0==l?tt:(!i&&2&s.flags&&l++,t.slice(l,s.directiveEnd))}const a_=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(W))();function If(e){return e.ownerDocument.defaultView}function Of(e){return e.ownerDocument}function Af(e){return e.ownerDocument.body}function Lr(e){return e instanceof Function?e():e}var Dr=(()=>((Dr=Dr||{})[Dr.Important=1]="Important",Dr[Dr.DashCase=2]="DashCase",Dr))();let Il;function Ol(e,t){return Il(e,t)}function bs(e){const t=e[3];return Nn(t)?t[3]:t}function xf(e){return function f_(e){let t=En(e)?e:Sl(e);for(;t&&!(256&t[2]);)t=bs(t);return t}(e)[8]}function Al(e){return Ff(e[13])}function Pl(e){return Ff(e[4])}function Ff(e){for(;null!==e&&!Nn(e);)e=e[4];return e}function Po(e,t,i,s,l){if(null!=s){let g,D=!1;Nn(s)?g=s:En(s)&&(D=!0,s=s[0]);const w=bn(s);0===e&&null!==i?null==l?Vf(t,i,w):ao(t,i,w,l||null,!0):1===e&&null!==i?ao(t,i,w,l||null,!0):2===e?Kf(t,w,D):3===e&&t.destroyNode(w),null!=g&&function w_(e,t,i,s,l){const g=i[7];g!==bn(i)&&Po(t,e,s,g,l);for(let w=10;w<i.length;w++){const I=i[w];Cs(I[1],I,e,t,s,g)}}(t,e,g,i,l)}}function Rl(e,t){return e.createText(t)}function kf(e,t,i){e.setValue(t,i)}function h_(e,t){return e.createComment(function Cf(e){return e.replace(zy,t=>t.replace(Wy,"\u200b$1\u200b"))}(t))}function xl(e,t,i){return e.createElement(t,i)}function Nf(e,t){const i=e[9],s=i.indexOf(t),l=t[3];512&t[2]&&(t[2]&=-513,Et(l,-1)),i.splice(s,1)}function Fl(e,t){if(e.length<=10)return;const i=10+t,s=e[i];if(s){const l=s[17];null!==l&&l!==e&&Nf(l,s),t>0&&(e[i-1][4]=s[4]);const g=Gs(e,10+t);!function p_(e,t){Cs(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(s[1],s);const D=g[19];null!==D&&D.detachView(g[1]),s[3]=null,s[4]=null,s[2]&=-65}return s}function Lf(e,t){if(!(128&t[2])){const i=t[11];i.destroyNode&&Cs(e,t,i,3,null,null),function v_(e){let t=e[13];if(!t)return kl(e[1],e);for(;t;){let i=null;if(En(t))i=t[13];else{const s=t[10];s&&(i=s)}if(!i){for(;t&&!t[4]&&t!==e;)En(t)&&kl(t[1],t),t=t[3];null===t&&(t=e),En(t)&&kl(t[1],t),i=t&&t[4]}t=i}}(t)}}function kl(e,t){if(!(128&t[2])){t[2]&=-65,t[2]|=128,function C_(e,t){let i;if(null!=e&&null!=(i=e.destroyHooks))for(let s=0;s<i.length;s+=2){const l=t[i[s]];if(!(l instanceof si)){const g=i[s+1];if(Array.isArray(g))for(let D=0;D<g.length;D+=2){const w=l[g[D]],I=g[D+1];Wn(4,w,I);try{I.call(w)}finally{Wn(5,w,I)}}else{Wn(4,l,g);try{g.call(l)}finally{Wn(5,l,g)}}}}}(e,t),function b_(e,t){const i=e.cleanup,s=t[7];let l=-1;if(null!==i)for(let g=0;g<i.length-1;g+=2)if("string"==typeof i[g]){const D=i[g+1],w="function"==typeof D?D(t):bn(t[D]),I=s[l=i[g+2]],L=i[g+3];"boolean"==typeof L?w.removeEventListener(i[g],I,L):L>=0?s[l=L]():s[l=-L].unsubscribe(),g+=2}else{const D=s[l=i[g+1]];i[g].call(D)}if(null!==s){for(let g=l+1;g<s.length;g++)(0,s[g])();t[7]=null}}(e,t),1===t[1].type&&t[11].destroy();const i=t[17];if(null!==i&&Nn(t[3])){i!==t[3]&&Nf(i,t);const s=t[19];null!==s&&s.detachView(e)}!function e_(e){Tl.delete(e[20])}(t)}}function jf(e,t,i){return Bf(e,t.parent,i)}function Bf(e,t,i){let s=t;for(;null!==s&&40&s.type;)s=(t=s).parent;if(null===s)return i[0];if(2&s.flags){const l=e.data[s.directiveStart].encapsulation;if(l===xe.None||l===xe.Emulated)return null}return Tn(s,i)}function ao(e,t,i,s,l){e.insertBefore(t,i,s,l)}function Vf(e,t,i){e.appendChild(t,i)}function $f(e,t,i,s,l){null!==s?ao(e,t,i,s,l):Vf(e,t,i)}function sa(e,t){return e.parentNode(t)}function Hf(e,t,i){return zf(e,t,i)}function Uf(e,t,i){return 40&e.type?Tn(e,i):null}let Nl,zf=Uf;function Wf(e,t){zf=e,Nl=t}function aa(e,t,i,s){const l=jf(e,s,t),g=t[11],w=Hf(s.parent||t[6],s,t);if(null!=l)if(Array.isArray(i))for(let I=0;I<i.length;I++)$f(g,l,i[I],w,!1);else $f(g,l,i,w,!1);void 0!==Nl&&Nl(g,s,t,i,l)}function la(e,t){if(null!==t){const i=t.type;if(3&i)return Tn(t,e);if(4&i)return Ll(-1,e[t.index]);if(8&i){const s=t.child;if(null!==s)return la(e,s);{const l=e[t.index];return Nn(l)?Ll(-1,l):bn(l)}}if(32&i)return Ol(t,e)()||bn(e[t.index]);{const s=Gf(e,t);return null!==s?Array.isArray(s)?s[0]:la(bs(e[16]),s):la(e,t.next)}}return null}function Gf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function Ll(e,t){const i=10+e+1;if(i<t.length){const s=t[i],l=s[1].firstChild;if(null!==l)return la(s,l)}return t[7]}function Kf(e,t,i){const s=sa(e,t);s&&function D_(e,t,i,s){e.removeChild(t,i,s)}(e,s,t,i)}function jl(e,t,i,s,l,g,D){for(;null!=i;){const w=s[i.index],I=i.type;if(D&&0===t&&(w&&di(bn(w),s),i.flags|=4),64!=(64&i.flags))if(8&I)jl(e,t,i.child,s,l,g,!1),Po(t,e,l,w,g);else if(32&I){const L=Ol(i,s);let re;for(;re=L();)Po(t,e,l,re,g);Po(t,e,l,w,g)}else 16&I?Yf(e,t,s,i,l,g):Po(t,e,l,w,g);i=D?i.projectionNext:i.next}}function Cs(e,t,i,s,l,g){jl(i,s,e.firstChild,t,l,g,!1)}function Yf(e,t,i,s,l,g){const D=i[16],I=D[6].projection[s.projection];if(Array.isArray(I))for(let L=0;L<I.length;L++)Po(t,e,l,I[L],g);else jl(e,t,I,D[3],l,g,!0)}function Qf(e,t,i){e.setAttribute(t,"style",i)}function Bl(e,t,i){""===i?e.removeAttribute(t,"class"):e.setAttribute(t,"class",i)}function Zf(e,t,i){let s=e.length;for(;;){const l=e.indexOf(t,i);if(-1===l)return l;if(0===l||e.charCodeAt(l-1)<=32){const g=t.length;if(l+g===s||e.charCodeAt(l+g)<=32)return l}i=l+1}}const Jf="ng-template";function S_(e,t,i){let s=0;for(;s<e.length;){let l=e[s++];if(i&&"class"===l){if(l=e[s],-1!==Zf(l.toLowerCase(),t,0))return!0}else if(1===l){for(;s<e.length&&"string"==typeof(l=e[s++]);)if(l.toLowerCase()===t)return!0;return!1}}return!1}function Xf(e){return 4===e.type&&e.value!==Jf}function I_(e,t,i){return t===(4!==e.type||i?e.value:Jf)}function O_(e,t,i){let s=4;const l=e.attrs||[],g=function R_(e){for(let t=0;t<e.length;t++)if(Zt(e[t]))return t;return e.length}(l);let D=!1;for(let w=0;w<t.length;w++){const I=t[w];if("number"!=typeof I){if(!D)if(4&s){if(s=2|1&s,""!==I&&!I_(e,I,i)||""===I&&1===t.length){if(rr(s))return!1;D=!0}}else{const L=8&s?I:t[++w];if(8&s&&null!==e.attrs){if(!S_(e.attrs,L,i)){if(rr(s))return!1;D=!0}continue}const Re=A_(8&s?"class":I,l,Xf(e),i);if(-1===Re){if(rr(s))return!1;D=!0;continue}if(""!==L){let st;st=Re>g?"":l[Re+1].toLowerCase();const pt=8&s?st:null;if(pt&&-1!==Zf(pt,L,0)||2&s&&L!==st){if(rr(s))return!1;D=!0}}}}else{if(!D&&!rr(s)&&!rr(I))return!1;if(D&&rr(I))continue;D=!1,s=I|1&s}}return rr(s)||D}function rr(e){return 0==(1&e)}function A_(e,t,i,s){if(null===t)return-1;let l=0;if(s||!i){let g=!1;for(;l<t.length;){const D=t[l];if(D===e)return l;if(3===D||6===D)g=!0;else{if(1===D||2===D){let w=t[++l];for(;"string"==typeof w;)w=t[++l];continue}if(4===D)break;if(0===D){l+=4;continue}}l+=g?1:2}return-1}return function x_(e,t){let i=e.indexOf(4);if(i>-1)for(i++;i<e.length;){const s=e[i];if("number"==typeof s)return-1;if(s===t)return i;i++}return-1}(t,e)}function qf(e,t,i=!1){for(let s=0;s<t.length;s++)if(O_(e,t[s],i))return!0;return!1}function F_(e,t){e:for(let i=0;i<t.length;i++){const s=t[i];if(e.length===s.length){for(let l=0;l<e.length;l++)if(e[l]!==s[l])continue e;return!0}}return!1}function eh(e,t){return e?":not("+t.trim()+")":t}function k_(e){let t=e[0],i=1,s=2,l="",g=!1;for(;i<e.length;){let D=e[i];if("string"==typeof D)if(2&s){const w=e[++i];l+="["+D+(w.length>0?'="'+w+'"':"")+"]"}else 8&s?l+="."+D:4&s&&(l+=" "+D);else""!==l&&!rr(D)&&(t+=eh(g,l),l=""),s=D,g=g||!rr(s);i++}return""!==l&&(t+=eh(g,l)),t}const sn={};function th(e){nh(on(),St(),ht()+e,!1)}function nh(e,t,i,s){if(!s)if(3==(3&t[2])){const g=e.preOrderCheckHooks;null!==g&&Gn(t,g,i)}else{const g=e.preOrderHooks;null!==g&&ei(t,g,0,i)}wt(i)}const ih={\u0275\u0275defineInjectable:Ve,\u0275\u0275defineInjector:Ue,\u0275\u0275inject:ti,\u0275\u0275invalidFactoryDep:qa,resolveForwardRef:v};const B_=c({provide:String,useValue:c});function rh(e){return void 0!==e.useClass}function oh(e){return void 0!==e.useFactory}const U_=Co("Injectable",void 0,void 0,void 0,(e,t)=>function j_(e,t){let i=null,s=null;e.hasOwnProperty(Pe)||Object.defineProperty(e,Pe,{get:()=>(null===i&&(i=ri().compileInjectable(ih,`ng:///${e.name}/\u0275prov.js`,function H_(e,t){const i=t||{providedIn:null},s={name:e.name,type:e,typeArgumentCount:0,providedIn:i.providedIn};return(rh(i)||oh(i))&&void 0!==i.deps&&(s.deps=Sd(i.deps)),rh(i)?s.useClass=i.useClass:function V_(e){return B_ in e}(i)?s.useValue=i.useValue:oh(i)?s.useFactory=i.useFactory:function $_(e){return void 0!==e.useExisting}(i)&&(s.useExisting=i.useExisting),s}(e,t))),i)}),e.hasOwnProperty(Nt)||Object.defineProperty(e,Nt,{get:()=>{if(null===s){const l=ri();s=l.compileFactory(ih,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Js(e),target:l.FactoryTarget.Injectable})}return s},configurable:!0})}(e,t));function Vl(e,t=null,i=null,s){const l=sh(e,t,i,s);return l.resolveInjectorInitializers(),l}function sh(e,t=null,i=null,s,l=new Set){const g=[i||tt,ef(e)];return s=s||("object"==typeof e?void 0:p(e)),new af(g,t||ia(),s||null,l)}let Yr=(()=>{class e{static create(i,s){var l;if(Array.isArray(i))return Vl({name:""},s,i,"");{const g=null!==(l=i.name)&&void 0!==l?l:"";return Vl({name:g},i.parent,i.providers,g)}}}return e.THROW_IF_NOT_FOUND=Kr,e.NULL=new qd,e.\u0275prov=Ve({token:e,providedIn:"any",factory:()=>ti(fl)}),e.__NG_ELEMENT_ID__=-1,e})();function $l(e){return e.length>1?" ("+function z_(e){const t=[];for(let i=0;i<e.length;++i){if(t.indexOf(e[i])>-1)return t.push(e[i]),t;t.push(e[i])}return t}(e.slice().reverse()).map(s=>p(s.token)).join(" -> ")+")":""}function Hl(e,t,i,s){const l=[t],g=i(l),D=s?function Uy(e,t){const i=`${e} caused by: ${t instanceof Error?t.message:t}`,s=Error(i);return s[Dl]=t,s}(g,s):Error(g);return D.addKey=W_,D.keys=l,D.injectors=[e],D.constructResolvingMessage=i,D[Dl]=s,D}function W_(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function ah(e,t){const i=[];for(let s=0,l=t.length;s<l;s++){const g=t[s];i.push(g&&0!=g.length?g.map(p).join(" "):"?")}return Error("Cannot resolve all parameters for '"+p(e)+"'("+i.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+p(e)+"' is decorated with Injectable.")}function J_(e,t){return Error(`Cannot mix multi providers and regular providers, got: ${e} ${t}`)}class jr{constructor(t,i){if(this.token=t,this.id=i,!t)throw new M(208,!1);this.displayName=p(this.token)}static get(t){return lh.get(v(t))}static get numberOfKeys(){return lh.numberOfKeys}}class X_{constructor(){this._allKeys=new Map}get(t){if(t instanceof jr)return t;if(this._allKeys.has(t))return this._allKeys.get(t);const i=new jr(t,jr.numberOfKeys);return this._allKeys.set(t,i),i}get numberOfKeys(){return this._allKeys.size}}const lh=new X_;class ca{constructor(t,i,s){this.key=t,this.optional=i,this.visibility=s}static fromKey(t){return new ca(t,!1,null)}}const q_=[];class ch{constructor(t,i,s){this.key=t,this.resolvedFactories=i,this.multiProvider=s,this.resolvedFactory=this.resolvedFactories[0]}}class uh{constructor(t,i){this.factory=t,this.dependencies=i}}function eb(e){let t,i;if(e.useClass){const s=v(e.useClass);t=ds().factory(s),i=fh(s)}else e.useExisting?(t=s=>s,i=[ca.fromKey(jr.get(e.useExisting))]):e.useFactory?(t=e.useFactory,i=function rb(e,t){if(t){const i=t.map(s=>[s]);return t.map(s=>hh(e,s,i))}return fh(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,i=q_);return new uh(t,i)}function tb(e){return new ch(jr.get(e.provide),[eb(e)],e.multi||!1)}function nb(e){const s=function ib(e,t){for(let i=0;i<e.length;i++){const s=e[i],l=t.get(s.key.id);if(l){if(s.multiProvider!==l.multiProvider)throw J_(l,s);if(s.multiProvider)for(let g=0;g<s.resolvedFactories.length;g++)l.resolvedFactories.push(s.resolvedFactories[g]);else t.set(s.key.id,s)}else{let g;g=s.multiProvider?new ch(s.key,s.resolvedFactories.slice(),s.multiProvider):s,t.set(s.key.id,g)}}return t}(dh(e,[]).map(tb),new Map);return Array.from(s.values())}function dh(e,t){return e.forEach(i=>{if(i instanceof Ws)t.push({provide:i,useClass:i});else if(i&&"object"==typeof i&&void 0!==i.provide)t.push(i);else{if(!Array.isArray(i))throw function Q_(e){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${e}`)}(i);dh(i,t)}}),t}function fh(e){const t=ds().parameters(e);if(!t)return[];if(t.some(i=>null==i))throw ah(e,t);return t.map(i=>hh(e,i,t))}function hh(e,t,i){let s=null,l=!1;if(!Array.isArray(t))return Ul(t instanceof Qs?t.token:t,l,null);let g=null;for(let D=0;D<t.length;++D){const w=t[D];w instanceof Ws?s=w:w instanceof Qs?s=w.token:w instanceof us?l=!0:w instanceof Zs||w instanceof To?g=w:w instanceof Pn&&(s=w)}if(s=v(s),null!=s)return Ul(s,l,g);throw ah(e,i)}function Ul(e,t,i){return new ca(jr.get(e),t,i)}const Ds={};class Ro{static resolve(t){return nb(t)}static resolveAndCreate(t,i){const s=Ro.resolve(t);return Ro.fromResolvedProviders(s,i)}static fromResolvedProviders(t,i){return new ob(t,i)}}let ob=(()=>{class e{constructor(i,s){this._constructionCounter=0,this._providers=i,this.parent=s||null;const l=i.length;this.keyIds=[],this.objs=[];for(let g=0;g<l;g++)this.keyIds[g]=i[g].key.id,this.objs[g]=Ds}get(i,s=Kr){return this._getByKey(jr.get(i),null,s)}resolveAndCreateChild(i){const s=Ro.resolve(i);return this.createChildFromResolved(s)}createChildFromResolved(i){const s=new e(i);return s.parent=this,s}resolveAndInstantiate(i){return this.instantiateResolved(Ro.resolve([i])[0])}instantiateResolved(i){return this._instantiateProvider(i)}getProviderAtIndex(i){if(i<0||i>=this._providers.length)throw function Z_(e){return Error(`Index ${e} is out-of-bounds.`)}(i);return this._providers[i]}_new(i){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function K_(e,t){return Hl(e,t,function(i){return`Cannot instantiate cyclic dependency!${$l(i)}`})}(this,i.key);return this._instantiateProvider(i)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(i){if(i.multiProvider){const s=[];for(let l=0;l<i.resolvedFactories.length;++l)s[l]=this._instantiate(i,i.resolvedFactories[l]);return s}return this._instantiate(i,i.resolvedFactories[0])}_instantiate(i,s){const l=s.factory;let g,D;try{g=s.dependencies.map(w=>this._getByReflectiveDependency(w))}catch(w){throw w.addKey&&w.addKey(this,i.key),w}try{D=l(...g)}catch(w){throw function Y_(e,t,i,s){return Hl(e,s,function(l){const g=p(l[0].token);return`${t.message}: Error during instantiation of ${g}!${$l(l)}.`},t)}(this,w,0,i.key)}return D}_getByReflectiveDependency(i){return this._getByKey(i.key,i.visibility,i.optional?null:Kr)}_getByKey(i,s,l){return i===e.INJECTOR_KEY?this:s instanceof Zs?this._getByKeySelf(i,l):this._getByKeyDefault(i,l,s)}_getObjByKeyId(i){for(let s=0;s<this.keyIds.length;s++)if(this.keyIds[s]===i)return this.objs[s]===Ds&&(this.objs[s]=this._new(this._providers[s])),this.objs[s];return Ds}_throwOrNull(i,s){if(s!==Kr)return s;throw function G_(e,t){return Hl(e,t,function(i){return`No provider for ${p(i[0].token)}!${$l(i)}`})}(this,i)}_getByKeySelf(i,s){const l=this._getObjByKeyId(i.id);return l!==Ds?l:this._throwOrNull(i,s)}_getByKeyDefault(i,s,l){let g;for(g=l instanceof To?this.parent:this;g instanceof e;){const D=g,w=D._getObjByKeyId(i.id);if(w!==Ds)return w;g=D.parent}return null!==g?g.get(i.token,s):this._throwOrNull(i,s)}get displayName(){return`ReflectiveInjector(providers: [${function sb(e,t){const i=[];for(let s=0;s<e._providers.length;++s)i[s]=t(e.getProviderAtIndex(s));return i}(this,s=>' "'+s.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}return e.INJECTOR_KEY=jr.get(Yr),e})();function xo(e,t=Be.Default){const i=St();return null===i?ti(e,t):ud(xn(),i,v(e),t)}function ph(){throw new Error("invalid")}function ua(e,t){return e<<17|t<<2}function or(e){return e>>17&32767}function zl(e){return 2|e}function Br(e){return(131068&e)>>2}function Wl(e,t){return-131069&e|t<<2}function Gl(e){return 1|e}const ec=(()=>Promise.resolve(null))();function wh(e,t){const i=e.contentQueries;if(null!==i)for(let s=0;s<i.length;s+=2){const l=i[s],g=i[s+1];if(-1!==g){const D=e.data[g];es(l),D.contentQueries(2,t[g],g)}}}function ha(e,t,i,s,l,g,D,w,I,L,re){const Re=t.blueprint.slice();return Re[0]=l,Re[2]=76|s,(null!==re||e&&1024&e[2])&&(Re[2]|=1024),Xe(Re),Re[3]=Re[15]=e,Re[8]=i,Re[10]=D||e&&e[10],Re[11]=w||e&&e[11],Re[12]=I||e&&e[12]||null,Re[9]=L||e&&e[9]||null,Re[6]=g,Re[20]=function Xy(){return Jy++}(),Re[21]=re,Re[16]=2==t.type?e[16]:Re,Re}function Fo(e,t,i,s,l){let g=e.data[t];if(null===g)g=tc(e,t,i,s,l),function Ls(){return gt.lFrame.inI18n}()&&(g.flags|=64);else if(64&g.type){g.type=i,g.value=s,g.attrs=l;const D=Hi();g.injectorIndex=null===D?-1:D.injectorIndex}return F(g,!0),g}function tc(e,t,i,s,l){const g=tr(),D=A(),I=e.data[t]=function Eb(e,t,i,s,l,g){return{type:i,index:s,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:l,attrs:g,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next: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,D?g:g&&g.parent,i,t,s,l);return null===e.firstChild&&(e.firstChild=I),null!==g&&(D?null==g.child&&null!==I.parent&&(g.child=I):null===g.next&&(g.next=I)),I}function ko(e,t,i,s){if(0===i)return-1;const l=t.length;for(let g=0;g<i;g++)t.push(s),e.blueprint.push(s),e.data.push(null);return l}function pa(e,t,i){Z(t);try{const s=e.viewQuery;null!==s&&uc(1,s,i);const l=e.template;null!==l&&Mh(e,t,l,1,i),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&wh(e,t),e.staticViewQueries&&uc(2,e.viewQuery,i);const g=e.components;null!==g&&function _b(e,t){for(let i=0;i<t.length;i++)Bb(e,t[i])}(t,g)}catch(s){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),s}finally{t[2]&=-5,Me()}}function Es(e,t,i,s){const l=t[2];if(128!=(128&l)){Z(t);try{Xe(t),Rr(e.bindingStartIndex),null!==i&&Mh(e,t,i,2,s);const D=3==(3&l);if(D){const L=e.preOrderCheckHooks;null!==L&&Gn(t,L,null)}else{const L=e.preOrderHooks;null!==L&&ei(t,L,0,null),Kn(t,0)}if(function Lb(e){for(let t=Al(e);null!==t;t=Pl(t)){if(!t[2])continue;const i=t[9];for(let s=0;s<i.length;s++){const l=i[s],g=l[3];0==(512&l[2])&&Et(g,1),l[2]|=512}}}(t),function Nb(e){for(let t=Al(e);null!==t;t=Pl(t))for(let i=10;i<t.length;i++){const s=t[i],l=s[1];se(s)&&Es(l,s,l.template,s[8])}}(t),null!==e.contentQueries&&wh(e,t),D){const L=e.contentCheckHooks;null!==L&&Gn(t,L)}else{const L=e.contentHooks;null!==L&&ei(t,L,1),Kn(t,1)}!function vb(e,t){const i=e.hostBindingOpCodes;if(null!==i)try{for(let s=0;s<i.length;s++){const l=i[s];if(l<0)wt(~l);else{const g=l,D=i[++s],w=i[++s];Ha(D,g),w(2,t[g])}}}finally{wt(-1)}}(e,t);const w=e.components;null!==w&&function yb(e,t){for(let i=0;i<t.length;i++)jb(e,t[i])}(t,w);const I=e.viewQuery;if(null!==I&&uc(2,I,s),D){const L=e.viewCheckHooks;null!==L&&Gn(t,L)}else{const L=e.viewHooks;null!==L&&ei(t,L,2),Kn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[2]&=-41,512&t[2]&&(t[2]&=-513,Et(t[3],-1))}finally{Me()}}}function bb(e,t,i,s){const l=t[10],D=x(t);try{!D&&l.begin&&l.begin(),D&&pa(e,t,s),Es(e,t,i,s)}finally{!D&&l.end&&l.end()}}function Mh(e,t,i,s,l){const g=ht(),D=2&s;try{wt(-1),D&&t.length>22&&nh(e,t,22,!1),Wn(D?2:0,l),i(s,l)}finally{wt(g),Wn(D?3:1,l)}}function Sh(e,t,i){if(Ti(t)){const l=t.directiveEnd;for(let g=t.directiveStart;g<l;g++){const D=e.data[g];D.contentQueries&&D.contentQueries(1,i[g],g)}}}function nc(e,t,i){!$n()||(function Ib(e,t,i,s){const l=i.directiveStart,g=i.directiveEnd;e.firstCreatePass||is(i,t),di(s,t);const D=i.initialInputs;for(let w=l;w<g;w++){const I=e.data[w],L=Ln(I);L&&xb(t,i,I);const re=rs(t,e,w,i);di(re,t),null!==D&&Fb(0,w-l,re,I,0,D),L&&(Qn(i.index,t)[8]=re)}}(e,t,i,Tn(i,t)),128==(128&i.flags)&&function Ob(e,t,i){const s=i.directiveStart,l=i.directiveEnd,g=i.index,D=function Bs(){return gt.lFrame.currentDirectiveIndex}();try{wt(g);for(let w=s;w<l;w++){const I=e.data[w],L=t[w];qr(w),(null!==I.hostBindings||0!==I.hostVars||null!==I.hostAttrs)&&Fh(I,L)}}finally{wt(-1),qr(D)}}(e,t,i))}function ic(e,t,i=Tn){const s=t.localNames;if(null!==s){let l=t.index+1;for(let g=0;g<s.length;g+=2){const D=s[g+1],w=-1===D?i(t,e):e[D];e[l++]=w}}}function Ih(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=rc(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function rc(e,t,i,s,l,g,D,w,I,L){const re=22+s,Re=re+l,st=function Cb(e,t){const i=[];for(let s=0;s<t;s++)i.push(s<e?null:sn);return i}(re,Re),pt="function"==typeof L?L():L;return st[1]={type:e,blueprint:st,template:i,queries:null,viewQuery:w,declTNode:t,data:st.slice().fill(null,re),bindingStartIndex:re,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 g?g():g,pipeRegistry:"function"==typeof D?D():D,firstChild:null,schemas:I,consts:pt,incompleteFirstPass:!1}}function Oh(e,t,i,s){const l=$h(t);null===i?l.push(s):(l.push(i),e.firstCreatePass&&Hh(e).push(s,l.length-1))}function Ah(e,t,i){for(let s in e)if(e.hasOwnProperty(s)){const l=e[s];(i=null===i?{}:i).hasOwnProperty(s)?i[s].push(t,l):i[s]=[t,l]}return i}function Ph(e,t){const s=t.directiveEnd,l=e.data,g=t.attrs,D=[];let w=null,I=null;for(let L=t.directiveStart;L<s;L++){const re=l[L],Re=re.inputs,st=null===g||Xf(t)?null:kb(Re,g);D.push(st),w=Ah(Re,L,w),I=Ah(re.outputs,L,I)}null!==w&&(w.hasOwnProperty("class")&&(t.flags|=16),w.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=D,t.inputs=w,t.outputs=I}function Fi(e,t,i,s,l,g,D,w){const I=Tn(t,i);let re,L=t.inputs;!w&&null!=L&&(re=L[s])?(dc(e,i,re,s,l),wi(t)&&Rh(i,t.index)):3&t.type&&(s=function Tb(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(s),l=null!=D?D(l,t.value||"",s):l,g.setProperty(I,s,l))}function Rh(e,t){const i=Qn(t,e);16&i[2]||(i[2]|=32)}function oc(e,t,i,s){let l=!1;if($n()){const g=function Ab(e,t,i){const s=e.directiveRegistry;let l=null;if(s)for(let g=0;g<s.length;g++){const D=s[g];qf(i,D.selectors,!1)&&(l||(l=[]),Us(is(i,t),e,D.type),Ln(D)?(kh(e,i),l.unshift(D)):l.push(D))}return l}(e,t,i),D=null===s?null:{"":-1};if(null!==g){l=!0,Nh(i,e.data.length,g.length);for(let re=0;re<g.length;re++){const Re=g[re];Re.providersResolver&&Re.providersResolver(Re)}let w=!1,I=!1,L=ko(e,t,g.length,null);for(let re=0;re<g.length;re++){const Re=g[re];i.mergedAttrs=An(i.mergedAttrs,Re.hostAttrs),Lh(e,i,t,L,Re),Rb(L,Re,D),null!==Re.contentQueries&&(i.flags|=8),(null!==Re.hostBindings||null!==Re.hostAttrs||0!==Re.hostVars)&&(i.flags|=128);const st=Re.type.prototype;!w&&(st.ngOnChanges||st.ngOnInit||st.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(i.index),w=!0),!I&&(st.ngOnChanges||st.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(i.index),I=!0),L++}Ph(e,i)}D&&function Pb(e,t,i){if(t){const s=e.localNames=[];for(let l=0;l<t.length;l+=2){const g=i[t[l+1]];if(null==g)throw new M(-301,!1);s.push(t[l],g)}}}(i,s,D)}return i.mergedAttrs=An(i.mergedAttrs,i.attrs),l}function xh(e,t,i,s,l,g){const D=g.hostBindings;if(D){let w=e.hostBindingOpCodes;null===w&&(w=e.hostBindingOpCodes=[]);const I=~t.index;(function Sb(e){let t=e.length;for(;t>0;){const i=e[--t];if("number"==typeof i&&i<0)return i}return 0})(w)!=I&&w.push(I),w.push(s,l,D)}}function Fh(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function kh(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Rb(e,t,i){if(i){if(t.exportAs)for(let s=0;s<t.exportAs.length;s++)i[t.exportAs[s]]=e;Ln(t)&&(i[""]=e)}}function Nh(e,t,i){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+i,e.providerIndexes=t}function Lh(e,t,i,s,l){e.data[s]=l;const g=l.factory||(l.factory=ni(l.type)),D=new si(g,Ln(l),xo);e.blueprint[s]=D,i[s]=D,xh(e,t,0,s,ko(e,i,l.hostVars,sn),l)}function xb(e,t,i){const s=Tn(t,e),l=Ih(i),g=e[10],D=ma(e,ha(e,l,null,i.onPush?32:16,s,t,g,g.createRenderer(s,i),null,null,null));e[t.index]=D}function Er(e,t,i,s,l,g){const D=Tn(e,t);sc(t[11],D,g,e.value,i,s,l)}function sc(e,t,i,s,l,g,D){if(null==g)e.removeAttribute(t,l,i);else{const w=null==D?P(g):D(g,s||"",l);e.setAttribute(t,l,w,i)}}function Fb(e,t,i,s,l,g){const D=g[t];if(null!==D){const w=s.setInput;for(let I=0;I<D.length;){const L=D[I++],re=D[I++],Re=D[I++];null!==w?s.setInput(i,Re,L,re):i[re]=Re}}}function kb(e,t){let i=null,s=0;for(;s<t.length;){const l=t[s];if(0!==l)if(5!==l){if("number"==typeof l)break;e.hasOwnProperty(l)&&(null===i&&(i=[]),i.push(l,e[l],t[s+1])),s+=2}else s+=2;else s+=4}return i}function jh(e,t,i,s){return new Array(e,!0,!1,t,null,0,s,i,null,null)}function jb(e,t){const i=Qn(t,e);if(se(i)){const s=i[1];48&i[2]?Es(s,i,s.template,i[8]):i[5]>0&&ac(i)}}function ac(e){for(let s=Al(e);null!==s;s=Pl(s))for(let l=10;l<s.length;l++){const g=s[l];if(se(g))if(512&g[2]){const D=g[1];Es(D,g,D.template,g[8])}else g[5]>0&&ac(g)}const i=e[1].components;if(null!==i)for(let s=0;s<i.length;s++){const l=Qn(i[s],e);se(l)&&l[5]>0&&ac(l)}}function Bb(e,t){const i=Qn(t,e),s=i[1];(function Vb(e,t){for(let i=t.length;i<e.blueprint.length;i++)t.push(e.blueprint[i])})(s,i),pa(s,i,i[8])}function ma(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function lc(e){for(;e;){e[2]|=32;const t=bs(e);if(Ni(e)&&!t)return e;e=t}return null}function Bh(e){for(let t=0;t<e.components.length;t++){const i=e.components[t],s=Sl(i);if(null!==s){const l=s[1];bb(l,s,l.template,i)}}}function cc(e,t,i){const s=t[10];s.begin&&s.begin();try{Es(e,t,e.template,i)}catch(l){throw zh(t,l),l}finally{s.end&&s.end()}}function uc(e,t,i){es(0),t(e,i)}const Hb=ec;function $h(e){return e[7]||(e[7]=[])}function Hh(e){return e.cleanup||(e.cleanup=[])}function Uh(e,t,i){return(null===e||Ln(e))&&(i=function vr(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(i[t.index])),i[11]}function zh(e,t){const i=e[9],s=i?i.get(ys,null):null;s&&s.handleError(t)}function dc(e,t,i,s,l){for(let g=0;g<i.length;){const D=i[g++],w=i[g++],I=t[D],L=e.data[D];null!==L.setInput?L.setInput(I,l,s,w):I[w]=l}}function Vr(e,t,i){const s=In(t,e);kf(e[11],s,i)}function ga(e,t,i){let s=i?e.styles:null,l=i?e.classes:null,g=0;if(null!==t)for(let D=0;D<t.length;D++){const w=t[D];"number"==typeof w?g=w:1==g?l=y(l,w):2==g&&(s=y(s,w+": "+t[++D]+";"))}i?e.styles=s:e.stylesWithoutHost=s,i?e.classes=l:e.classesWithoutHost=l}function va(e,t,i,s,l=!1){for(;null!==i;){const g=t[i.index];if(null!==g&&s.push(bn(g)),Nn(g))for(let w=10;w<g.length;w++){const I=g[w],L=I[1].firstChild;null!==L&&va(I[1],I,L,s)}const D=i.type;if(8&D)va(e,t,i.child,s);else if(32&D){const w=Ol(i,t);let I;for(;I=w();)s.push(I)}else if(16&D){const w=Gf(t,i);if(Array.isArray(w))s.push(...w);else{const I=bs(t[16]);va(I[1],I,w,s,!0)}}i=l?i.projectionNext:i.next}return s}class No{constructor(t,i){this._lView=t,this._cdRefInjectingView=i,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,i=t[1];return va(i,t,i.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(Nn(t)){const i=t[8],s=i?i.indexOf(this):-1;s>-1&&(Fl(t,s),Gs(i,s))}this._attachedToViewContainer=!1}Lf(this._lView[1],this._lView)}onDestroy(t){Oh(this._lView[1],this._lView,null,t)}markForCheck(){lc(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){cc(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new M(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function g_(e,t){Cs(e,t,t[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new M(902,!1);this._appRef=t}}class Ub extends No{constructor(t){super(t),this._view=t}detectChanges(){!function Vh(e){Bh(e[8])}(this._view)}checkNoChanges(){}get context(){return null}}class fc extends gs{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const i=ee(t);return new Lo(i,this.ngModule)}}function Wh(e){const t=[];for(let i in e)e.hasOwnProperty(i)&&t.push({propName:e[i],templateName:i});return t}class Wb{constructor(t,i){this.injector=t,this.parentInjector=i}get(t,i,s){const l=this.injector.get(t,oa,s);return l!==oa||i===oa?l:this.parentInjector.get(t,i,s)}}class Lo extends ra{constructor(t,i){super(),this.componentDef=t,this.ngModule=i,this.componentType=t.type,this.selector=function N_(e){return e.map(k_).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!i}get inputs(){return Wh(this.componentDef.inputs)}get outputs(){return Wh(this.componentDef.outputs)}create(t,i,s,l){let g=(l=l||this.ngModule)instanceof so?l:null==l?void 0:l.injector;g&&null!==this.componentDef.getStandaloneInjector&&(g=this.componentDef.getStandaloneInjector(g)||g);const D=g?new Wb(t,g):t,w=D.get(df,null);if(null===w)throw new M(407,!1);const I=D.get(ff,null),L=w.createRenderer(null,this.componentDef),re=this.componentDef.selectors[0][0]||"div",Re=s?function Db(e,t,i){return e.selectRootElement(t,i===xe.ShadowDom)}(L,s,this.componentDef.encapsulation):xl(w.createRenderer(null,this.componentDef),re,function zb(e){const t=e.toLowerCase();return"svg"===t?"svg":"math"===t?"math":null}(re)),st=this.componentDef.onPush?288:272,pt=function Qb(e,t){return{components:[],scheduler:e||a_,clean:Hb,playerHandler:t||null,flags:0}}(),Mt=rc(0,null,null,1,0,null,null,null,null,null),Rt=ha(null,Mt,pt,st,null,null,w,L,I,D,null);let kt,Vt;Z(Rt);try{const qt=function Kb(e,t,i,s,l,g){const D=i[1];i[22]=e;const I=Fo(D,22,2,"#host",null),L=I.mergedAttrs=t.hostAttrs;null!==L&&(ga(I,L,!0),null!==e&&(Gt(l,e,L),null!==I.classes&&Bl(l,e,I.classes),null!==I.styles&&Qf(l,e,I.styles)));const re=s.createRenderer(e,t),Re=ha(i,Ih(t),null,t.onPush?32:16,i[22],I,s,re,g||null,null,null);return D.firstCreatePass&&(Us(is(I,i),D,t.type),kh(D,I),Nh(I,i.length,1)),ma(i,Re),i[22]=Re}(Re,this.componentDef,Rt,w,L);if(Re)if(s)Gt(L,Re,["ng-version",pf.full]);else{const{attrs:Ot,classes:Qt}=function L_(e){const t=[],i=[];let s=1,l=2;for(;s<e.length;){let g=e[s];if("string"==typeof g)2===l?""!==g&&t.push(g,e[++s]):8===l&&i.push(g);else{if(!rr(l))break;l=g}s++}return{attrs:t,classes:i}}(this.componentDef.selectors[0]);Ot&&Gt(L,Re,Ot),Qt&&Qt.length>0&&Bl(L,Re,Qt.join(" "))}if(Vt=er(Mt,22),void 0!==i){const Ot=Vt.projection=[];for(let Qt=0;Qt<this.ngContentSelectors.length;Qt++){const mn=i[Qt];Ot.push(null!=mn?Array.from(mn):null)}}kt=function Yb(e,t,i,s,l){const g=i[1],D=function Mb(e,t,i){const s=xn();e.firstCreatePass&&(i.providersResolver&&i.providersResolver(i),Lh(e,s,t,ko(e,t,1,null),i),Ph(e,s));const l=rs(t,e,s.directiveStart,s);di(l,t);const g=Tn(s,t);return g&&di(g,t),l}(g,i,t);if(s.components.push(D),e[8]=D,null!==l)for(const I of l)I(D,t);if(t.contentQueries){const I=xn();t.contentQueries(1,D,I.directiveStart)}const w=xn();return!g.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(wt(w.index),xh(i[1],w,0,w.directiveStart,w.directiveEnd,t),Fh(t,D)),D}(qt,this.componentDef,Rt,pt,[Kh]),pa(Mt,Rt,null)}finally{Me()}return new Gh(this.componentType,kt,Oo(Vt,Rt),Rt,Vt)}}class Gh extends cf{constructor(t,i,s,l,g){super(),this.location=s,this._rootLView=l,this._tNode=g,this.instance=i,this.hostView=this.changeDetectorRef=new Ub(l),this.componentType=t}setInput(t,i){const s=this._tNode.inputs;let l;if(null!==s&&(l=s[t])){const g=this._rootLView;dc(g[1],g,l,t,i),Rh(g,this._tNode.index)}}get injector(){return new vo(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function Kh(){const e=xn();wn(St()[1],e)}function Zb(e){return xf(e).clean}function Yh(e){return Object.getPrototypeOf(e.prototype).constructor}function hc(e){let t=Yh(e.type),i=!0;const s=[e];for(;t;){let l;if(Ln(e))l=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new M(903,!1);l=t.\u0275dir}if(l){if(i){s.push(l);const D=e;D.inputs=pc(e.inputs),D.declaredInputs=pc(e.declaredInputs),D.outputs=pc(e.outputs);const w=l.hostBindings;w&&e0(e,w);const I=l.viewQuery,L=l.contentQueries;if(I&&Xb(e,I),L&&qb(e,L),d(e.inputs,l.inputs),d(e.declaredInputs,l.declaredInputs),d(e.outputs,l.outputs),Ln(l)&&l.data.animation){const re=e.data;re.animation=(re.animation||[]).concat(l.data.animation)}}const g=l.features;if(g)for(let D=0;D<g.length;D++){const w=g[D];w&&w.ngInherit&&w(e),w===hc&&(i=!1)}}t=Object.getPrototypeOf(t)}!function Jb(e){let t=0,i=null;for(let s=e.length-1;s>=0;s--){const l=e[s];l.hostVars=t+=l.hostVars,l.hostAttrs=An(l.hostAttrs,i=An(i,l.hostAttrs))}}(s)}function pc(e){return e===ke?{}:e===tt?[]:e}function Xb(e,t){const i=e.viewQuery;e.viewQuery=i?(s,l)=>{t(s,l),i(s,l)}:t}function qb(e,t){const i=e.contentQueries;e.contentQueries=i?(s,l,g)=>{t(s,l,g),i(s,l,g)}:t}function e0(e,t){const i=e.hostBindings;e.hostBindings=i?(s,l)=>{t(s,l),i(s,l)}:t}const t0=["providersResolver"],n0=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Qh(e){let i,t=Yh(e.type);i=Ln(e)?t.\u0275cmp:t.\u0275dir;const s=e;for(const l of t0)s[l]=i[l];if(Ln(i))for(const l of n0)s[l]=i[l]}let ya=null;function lo(){if(!ya){const e=W.Symbol;if(e&&e.iterator)ya=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let i=0;i<t.length;++i){const s=t[i];"entries"!==s&&"size"!==s&&Map.prototype[s]===Map.prototype.entries&&(ya=s)}}}return ya}function Ts(e){return!!mc(e)&&(Array.isArray(e)||!(e instanceof Map)&&lo()in e)}function mc(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Zh(e,t){const i=Ts(e),s=Ts(t);return i&&s?function r0(e,t,i){const s=e[lo()](),l=t[lo()]();for(;;){const g=s.next(),D=l.next();if(g.done&&D.done)return!0;if(g.done||D.done||!i(g.value,D.value))return!1}}(e,t,Zh):!(i||!e||"object"!=typeof e&&"function"!=typeof e||s||!t||"object"!=typeof t&&"function"!=typeof t)||Object.is(e,t)}function Tr(e,t,i){return e[t]=i}function ws(e,t){return e[t]}function fi(e,t,i){return!Object.is(e[t],i)&&(e[t]=i,!0)}function co(e,t,i,s){const l=fi(e,t,i);return fi(e,t+1,s)||l}function _a(e,t,i,s,l){const g=co(e,t,i,s);return fi(e,t+2,l)||g}function Ui(e,t,i,s,l,g){const D=co(e,t,i,s);return co(e,t+2,l,g)||D}function gc(e,t,i,s){const l=St();return fi(l,Ur(),t)&&(on(),Er(Pt(),l,e,t,i,s)),gc}function jo(e,t){let i=!1,s=li();for(let g=1;g<t.length;g+=2)i=fi(e,s++,t[g])||i;if(Rr(s),!i)return sn;let l=t[0];for(let g=1;g<t.length;g+=2)l+=P(t[g])+t[g+1];return l}function Bo(e,t,i,s){return fi(e,Ur(),i)?t+P(i)+s:sn}function Vo(e,t,i,s,l,g){const w=co(e,li(),i,l);return nr(2),w?t+P(i)+s+P(l)+g:sn}function $o(e,t,i,s,l,g,D,w){const L=_a(e,li(),i,l,D);return nr(3),L?t+P(i)+s+P(l)+g+P(D)+w:sn}function Ho(e,t,i,s,l,g,D,w,I,L){const Re=Ui(e,li(),i,l,D,I);return nr(4),Re?t+P(i)+s+P(l)+g+P(D)+w+P(I)+L:sn}function Uo(e,t,i,s,l,g,D,w,I,L,re,Re){const st=li();let pt=Ui(e,st,i,l,D,I);return pt=fi(e,st+4,re)||pt,nr(5),pt?t+P(i)+s+P(l)+g+P(D)+w+P(I)+L+P(re)+Re:sn}function zo(e,t,i,s,l,g,D,w,I,L,re,Re,st,pt){const Mt=li();let Rt=Ui(e,Mt,i,l,D,I);return Rt=co(e,Mt+4,re,st)||Rt,nr(6),Rt?t+P(i)+s+P(l)+g+P(D)+w+P(I)+L+P(re)+Re+P(st)+pt:sn}function Wo(e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt){const kt=li();let Vt=Ui(e,kt,i,l,D,I);return Vt=_a(e,kt+4,re,st,Mt)||Vt,nr(7),Vt?t+P(i)+s+P(l)+g+P(D)+w+P(I)+L+P(re)+Re+P(st)+pt+P(Mt)+Rt:sn}function Go(e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt,kt,Vt){const qt=li();let Ot=Ui(e,qt,i,l,D,I);return Ot=Ui(e,qt+4,re,st,Mt,kt)||Ot,nr(8),Ot?t+P(i)+s+P(l)+g+P(D)+w+P(I)+L+P(re)+Re+P(st)+pt+P(Mt)+Rt+P(kt)+Vt:sn}function vc(e,t,i,s,l,g){const D=St(),w=Bo(D,t,i,s);return w!==sn&&Er(Pt(),D,e,w,l,g),vc}function yc(e,t,i,s,l,g,D,w){const I=St(),L=Vo(I,t,i,s,l,g);return L!==sn&&Er(Pt(),I,e,L,D,w),yc}function _c(e,t,i,s,l,g,D,w,I,L){const re=St(),Re=$o(re,t,i,s,l,g,D,w);return Re!==sn&&Er(Pt(),re,e,Re,I,L),_c}function bc(e,t,i,s,l,g,D,w,I,L,re,Re){const st=St(),pt=Ho(st,t,i,s,l,g,D,w,I,L);return pt!==sn&&Er(Pt(),st,e,pt,re,Re),bc}function Cc(e,t,i,s,l,g,D,w,I,L,re,Re,st,pt){const Mt=St(),Rt=Uo(Mt,t,i,s,l,g,D,w,I,L,re,Re);return Rt!==sn&&Er(Pt(),Mt,e,Rt,st,pt),Cc}function Dc(e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt){const kt=St(),Vt=zo(kt,t,i,s,l,g,D,w,I,L,re,Re,st,pt);return Vt!==sn&&Er(Pt(),kt,e,Vt,Mt,Rt),Dc}function Ec(e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt,kt,Vt){const qt=St(),Ot=Wo(qt,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt);return Ot!==sn&&Er(Pt(),qt,e,Ot,kt,Vt),Ec}function Tc(e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt,kt,Vt,qt,Ot){const Qt=St(),mn=Go(Qt,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt,kt,Vt);return mn!==sn&&Er(Pt(),Qt,e,mn,qt,Ot),Tc}function wc(e,t,i,s){const l=St(),g=jo(l,t);return g!==sn&&Er(Pt(),l,e,g,i,s),wc}function Jh(e){const t=Tf(e);cc(t[1],t,e)}function Xh(e){!function $b(e,t){if(0===e.flags&&e.clean==ec){let s;e.flags|=t,e.clean=new Promise(l=>s=l),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,Bh(e)),2&e.flags){e.flags&=-3;const l=e.playerHandler;l&&l.flushPlayers()}e.clean=ec,s(null)})}}(lc(Tf(e))[8],1)}function qh(e,t,i,s,l,g,D,w){const I=St(),L=on(),re=e+22,Re=L.firstCreatePass?function s0(e,t,i,s,l,g,D,w,I){const L=t.consts,re=Fo(t,e,4,D||null,fe(L,w));oc(t,i,re,fe(L,I)),wn(t,re);const Re=re.tViews=rc(2,re,s,l,g,t.directiveRegistry,t.pipeRegistry,null,t.schemas,L);return null!==t.queries&&(t.queries.template(t,re),Re.queries=t.queries.embeddedTView(re)),re}(re,L,I,t,i,s,l,g,D):L.data[re];F(Re,!1);const st=I[11].createComment("");aa(L,I,st,Re),di(st,I),ma(I,I[re]=jh(st,I,st,Re)),bi(Re)&&nc(L,I,Re),null!=D&&ic(I,Re,w)}function ep(e,t,i,s){i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=s}function tp(e){return gi(function Ct(){return gt.lFrame.contextLView}(),22+e)}function Mc(e,t,i){const s=St();return fi(s,Ur(),t)&&Fi(on(),Pt(),s,e,t,s[11],i,!1),Mc}function Sc(e,t,i,s,l){const D=l?"class":"style";dc(e,i,t.inputs[D],D,s)}function ba(e,t,i,s){const l=St(),g=on(),D=22+e,w=l[11],I=l[D]=xl(w,t,function tn(){return gt.lFrame.currentNamespace}()),L=g.firstCreatePass?function a0(e,t,i,s,l,g,D){const w=t.consts,L=Fo(t,e,2,l,fe(w,g));return oc(t,i,L,fe(w,D)),null!==L.attrs&&ga(L,L.attrs,!1),null!==L.mergedAttrs&&ga(L,L.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,L),L}(D,g,l,0,t,i,s):g.data[D];F(L,!0);const re=L.mergedAttrs;null!==re&&Gt(w,I,re);const Re=L.classes;null!==Re&&Bl(w,I,Re);const st=L.styles;return null!==st&&Qf(w,I,st),64!=(64&L.flags)&&aa(g,l,I,L),0===function Cn(){return gt.lFrame.elementDepthCount}()&&di(I,l),function Sn(){gt.lFrame.elementDepthCount++}(),bi(L)&&(nc(g,l,L),Sh(g,L,l)),null!==s&&ic(l,L),ba}function Ca(){let e=xn();A()?S():(e=e.parent,F(e,!1));const t=e;!function fn(){gt.lFrame.elementDepthCount--}();const i=on();return i.firstCreatePass&&(wn(i,e),Ti(e)&&i.queries.elementEnd(e)),null!=t.classesWithoutHost&&function to(e){return 0!=(16&e.flags)}(t)&&Sc(i,t,St(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function zr(e){return 0!=(32&e.flags)}(t)&&Sc(i,t,St(),t.stylesWithoutHost,!1),Ca}function Ic(e,t,i,s){return ba(e,t,i,s),Ca(),Ic}function Da(e,t,i){const s=St(),l=on(),g=e+22,D=l.firstCreatePass?function l0(e,t,i,s,l){const g=t.consts,D=fe(g,s),w=Fo(t,e,8,"ng-container",D);return null!==D&&ga(w,D,!0),oc(t,i,w,fe(g,l)),null!==t.queries&&t.queries.elementStart(t,w),w}(g,l,s,t,i):l.data[g];F(D,!0);const w=s[g]=s[11].createComment("");return aa(l,s,w,D),di(w,s),bi(D)&&(nc(l,s,D),Sh(l,D,s)),null!=i&&ic(s,D),Da}function Ea(){let e=xn();const t=on();return A()?S():(e=e.parent,F(e,!1)),t.firstCreatePass&&(wn(t,e),Ti(e)&&t.queries.elementEnd(e)),Ea}function Oc(e,t,i){return Da(e,t,i),Ea(),Oc}function np(){return St()}function Ac(e){return!!e&&"function"==typeof e.then}function ip(e){return!!e&&"function"==typeof e.subscribe}const rp=ip;function Pc(e,t,i,s){const l=St(),g=on(),D=xn();return op(g,l,l[11],D,e,t,0,s),Pc}function Rc(e,t){const i=xn(),s=St(),l=on();return op(l,s,Uh(eo(l.data),i,s),i,e,t),Rc}function op(e,t,i,s,l,g,D,w){const I=bi(s),re=e.firstCreatePass&&Hh(e),Re=t[8],st=$h(t);let pt=!0;if(3&s.type||w){const kt=Tn(s,t),Vt=w?w(kt):kt,qt=st.length,Ot=w?mn=>w(bn(mn[s.index])):s.index;let Qt=null;if(!w&&I&&(Qt=function c0(e,t,i,s){const l=e.cleanup;if(null!=l)for(let g=0;g<l.length-1;g+=2){const D=l[g];if(D===i&&l[g+1]===s){const w=t[7],I=l[g+2];return w.length>I?w[I]:null}"string"==typeof D&&(g+=2)}return null}(e,t,l,s.index)),null!==Qt)(Qt.__ngLastListenerFn__||Qt).__ngNextListenerFn__=g,Qt.__ngLastListenerFn__=g,pt=!1;else{g=ap(s,t,Re,g,!1);const mn=i.listen(Vt,l,g);st.push(g,mn),re&&re.push(l,Ot,qt,qt+1)}}else g=ap(s,t,Re,g,!1);const Mt=s.outputs;let Rt;if(pt&&null!==Mt&&(Rt=Mt[l])){const kt=Rt.length;if(kt)for(let Vt=0;Vt<kt;Vt+=2){const Vn=t[Rt[Vt]][Rt[Vt+1]].subscribe(g),mo=st.length;st.push(g,Vn),re&&re.push(l,s.index,mo,-(mo+1))}}}function sp(e,t,i,s){try{return Wn(6,t,i),!1!==i(s)}catch(l){return zh(e,l),!1}finally{Wn(7,t,i)}}function ap(e,t,i,s,l){return function g(D){if(D===Function)return s;lc(2&e.flags?Qn(e.index,t):t);let I=sp(t,i,s,D),L=g.__ngNextListenerFn__;for(;L;)I=sp(t,i,L,D)&&I,L=L.__ngNextListenerFn__;return l&&!1===I&&(D.preventDefault(),D.returnValue=!1),I}}function lp(e=1){return function nt(e){return(gt.lFrame.contextLView=function ot(e,t){for(;e>0;)t=t[15],e--;return t}(e,gt.lFrame.contextLView))[8]}(e)}function u0(e,t){let i=null;const s=function P_(e){const t=e.attrs;if(null!=t){const i=t.indexOf(5);if(0==(1&i))return t[i+1]}return null}(e);for(let l=0;l<t.length;l++){const g=t[l];if("*"!==g){if(null===s?qf(e,g,!0):F_(s,g))return l}else i=l}return i}function cp(e){const t=St()[16][6];if(!t.projection){const s=t.projection=as(e?e.length:1,null),l=s.slice();let g=t.child;for(;null!==g;){const D=e?u0(g,e):0;null!==D&&(l[D]?l[D].projectionNext=g:s[D]=g,l[D]=g),g=g.next}}}function up(e,t=0,i){const s=St(),l=on(),g=Fo(l,22+e,16,null,i||null);null===g.projection&&(g.projection=t),S(),64!=(64&g.flags)&&function T_(e,t,i){Yf(t[11],0,t,i,jf(e,i,t),Hf(i.parent||t[6],i,t))}(l,s,g)}function xc(e,t,i){return Ta(e,"",t,"",i),xc}function Ta(e,t,i,s,l){const g=St(),D=Bo(g,t,i,s);return D!==sn&&Fi(on(),Pt(),g,e,D,g[11],l,!1),Ta}function Fc(e,t,i,s,l,g,D){const w=St(),I=Vo(w,t,i,s,l,g);return I!==sn&&Fi(on(),Pt(),w,e,I,w[11],D,!1),Fc}function kc(e,t,i,s,l,g,D,w,I){const L=St(),re=$o(L,t,i,s,l,g,D,w);return re!==sn&&Fi(on(),Pt(),L,e,re,L[11],I,!1),kc}function Nc(e,t,i,s,l,g,D,w,I,L,re){const Re=St(),st=Ho(Re,t,i,s,l,g,D,w,I,L);return st!==sn&&Fi(on(),Pt(),Re,e,st,Re[11],re,!1),Nc}function Lc(e,t,i,s,l,g,D,w,I,L,re,Re,st){const pt=St(),Mt=Uo(pt,t,i,s,l,g,D,w,I,L,re,Re);return Mt!==sn&&Fi(on(),Pt(),pt,e,Mt,pt[11],st,!1),Lc}function jc(e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt){const Rt=St(),kt=zo(Rt,t,i,s,l,g,D,w,I,L,re,Re,st,pt);return kt!==sn&&Fi(on(),Pt(),Rt,e,kt,Rt[11],Mt,!1),jc}function Bc(e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt,kt){const Vt=St(),qt=Wo(Vt,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt);return qt!==sn&&Fi(on(),Pt(),Vt,e,qt,Vt[11],kt,!1),Bc}function Vc(e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt,kt,Vt,qt){const Ot=St(),Qt=Go(Ot,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt,kt,Vt);return Qt!==sn&&Fi(on(),Pt(),Ot,e,Qt,Ot[11],qt,!1),Vc}function $c(e,t,i){const s=St(),l=jo(s,t);return l!==sn&&Fi(on(),Pt(),s,e,l,s[11],i,!1),$c}function dp(e,t,i,s,l){const g=e[i+1],D=null===t;let w=s?or(g):Br(g),I=!1;for(;0!==w&&(!1===I||D);){const re=e[w+1];h0(e[w],t)&&(I=!0,e[w+1]=s?Gl(re):zl(re)),w=s?or(re):Br(re)}I&&(e[i+1]=s?zl(g):Gl(g))}function h0(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Eo(e,t)>=0}const oi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function fp(e){return e.substring(oi.key,oi.keyEnd)}function p0(e){return e.substring(oi.value,oi.valueEnd)}function hp(e,t){const i=oi.textEnd;return i===t?-1:(t=oi.keyEnd=function v0(e,t,i){for(;t<i&&e.charCodeAt(t)>32;)t++;return t}(e,oi.key=t,i),Ko(e,t,i))}function pp(e,t){const i=oi.textEnd;let s=oi.key=Ko(e,t,i);return i===s?-1:(s=oi.keyEnd=function y0(e,t,i){let s;for(;t<i&&(45===(s=e.charCodeAt(t))||95===s||(-33&s)>=65&&(-33&s)<=90||s>=48&&s<=57);)t++;return t}(e,s,i),s=gp(e,s,i),s=oi.value=Ko(e,s,i),s=oi.valueEnd=function _0(e,t,i){let s=-1,l=-1,g=-1,D=t,w=D;for(;D<i;){const I=e.charCodeAt(D++);if(59===I)return w;34===I||39===I?w=D=vp(e,I,D,i):t===D-4&&85===g&&82===l&&76===s&&40===I?w=D=vp(e,41,D,i):I>32&&(w=D),g=l,l=s,s=-33&I}return w}(e,s,i),gp(e,s,i))}function mp(e){oi.key=0,oi.keyEnd=0,oi.value=0,oi.valueEnd=0,oi.textEnd=e.length}function Ko(e,t,i){for(;t<i&&e.charCodeAt(t)<=32;)t++;return t}function gp(e,t,i,s){return(t=Ko(e,t,i))<i&&t++,t}function vp(e,t,i,s){let l=-1,g=i;for(;g<s;){const D=e.charCodeAt(g++);if(D==t&&92!==l)return g;l=92==D&&92===l?0:D}throw new Error}function Hc(e,t,i){return ar(e,t,i,!1),Hc}function Uc(e,t){return ar(e,t,null,!0),Uc}function sr(e){lr(Cp,b0,e,!1)}function b0(e,t){for(let i=function g0(e){return mp(e),pp(e,Ko(e,0,oi.textEnd))}(t);i>=0;i=pp(t,i))Cp(e,fp(t),p0(t))}function yp(e){lr(xi,wr,e,!0)}function wr(e,t){for(let i=function m0(e){return mp(e),hp(e,Ko(e,0,oi.textEnd))}(t);i>=0;i=hp(t,i))xi(e,fp(t),!0)}function ar(e,t,i,s){const l=St(),g=on(),D=nr(2);g.firstUpdatePass&&bp(g,e,D,s),t!==sn&&fi(l,D,t)&&Dp(g,g.data[ht()],l,l[11],e,l[D+1]=function S0(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=p(Nr(e)))),e}(t,i),s,D)}function lr(e,t,i,s){const l=on(),g=nr(2);l.firstUpdatePass&&bp(l,null,g,s);const D=St();if(i!==sn&&fi(D,g,i)){const w=l.data[ht()];if(Tp(w,s)&&!_p(l,g)){let I=s?w.classesWithoutHost:w.stylesWithoutHost;null!==I&&(i=y(I,i||"")),Sc(l,w,D,i,s)}else!function M0(e,t,i,s,l,g,D,w){l===sn&&(l=tt);let I=0,L=0,re=0<l.length?l[0]:null,Re=0<g.length?g[0]:null;for(;null!==re||null!==Re;){const st=I<l.length?l[I+1]:void 0,pt=L<g.length?g[L+1]:void 0;let Rt,Mt=null;re===Re?(I+=2,L+=2,st!==pt&&(Mt=Re,Rt=pt)):null===Re||null!==re&&re<Re?(I+=2,Mt=re):(L+=2,Mt=Re,Rt=pt),null!==Mt&&Dp(e,t,i,s,Mt,Rt,D,w),re=I<l.length?l[I]:null,Re=L<g.length?g[L]:null}}(l,w,D,D[11],D[g+1],D[g+1]=function w0(e,t,i){if(null==i||""===i)return tt;const s=[],l=Nr(i);if(Array.isArray(l))for(let g=0;g<l.length;g++)e(s,l[g],!0);else if("object"==typeof l)for(const g in l)l.hasOwnProperty(g)&&e(s,g,l[g]);else"string"==typeof l&&t(s,l);return s}(e,t,i),s,g)}}function _p(e,t){return t>=e.expandoStartIndex}function bp(e,t,i,s){const l=e.data;if(null===l[i+1]){const g=l[ht()],D=_p(e,i);Tp(g,s)&&null===t&&!D&&(t=!1),t=function C0(e,t,i,s){const l=eo(e);let g=s?t.residualClasses:t.residualStyles;if(null===l)0===(s?t.classBindings:t.styleBindings)&&(i=Ms(i=zc(null,e,t,i,s),t.attrs,s),g=null);else{const D=t.directiveStylingLast;if(-1===D||e[D]!==l)if(i=zc(l,e,t,i,s),null===g){let I=function D0(e,t,i){const s=i?t.classBindings:t.styleBindings;if(0!==Br(s))return e[or(s)]}(e,t,s);void 0!==I&&Array.isArray(I)&&(I=zc(null,e,t,I[1],s),I=Ms(I,t.attrs,s),function E0(e,t,i,s){e[or(i?t.classBindings:t.styleBindings)]=s}(e,t,s,I))}else g=function T0(e,t,i){let s;const l=t.directiveEnd;for(let g=1+t.directiveStylingLast;g<l;g++)s=Ms(s,e[g].hostAttrs,i);return Ms(s,t.attrs,i)}(e,t,s)}return void 0!==g&&(s?t.residualClasses=g:t.residualStyles=g),i}(l,g,t,s),function d0(e,t,i,s,l,g){let D=g?t.classBindings:t.styleBindings,w=or(D),I=Br(D);e[s]=i;let re,L=!1;if(Array.isArray(i)){const Re=i;re=Re[1],(null===re||Eo(Re,re)>0)&&(L=!0)}else re=i;if(l)if(0!==I){const st=or(e[w+1]);e[s+1]=ua(st,w),0!==st&&(e[st+1]=Wl(e[st+1],s)),e[w+1]=function ab(e,t){return 131071&e|t<<17}(e[w+1],s)}else e[s+1]=ua(w,0),0!==w&&(e[w+1]=Wl(e[w+1],s)),w=s;else e[s+1]=ua(I,0),0===w?w=s:e[I+1]=Wl(e[I+1],s),I=s;L&&(e[s+1]=zl(e[s+1])),dp(e,re,s,!0),dp(e,re,s,!1),function f0(e,t,i,s,l){const g=l?e.residualClasses:e.residualStyles;null!=g&&"string"==typeof t&&Eo(g,t)>=0&&(i[s+1]=Gl(i[s+1]))}(t,re,e,s,g),D=ua(w,I),g?t.classBindings=D:t.styleBindings=D}(l,g,t,i,D,s)}}function zc(e,t,i,s,l){let g=null;const D=i.directiveEnd;let w=i.directiveStylingLast;for(-1===w?w=i.directiveStart:w++;w<D&&(g=t[w],s=Ms(s,g.hostAttrs,l),g!==e);)w++;return null!==e&&(i.directiveStylingLast=w),s}function Ms(e,t,i){const s=i?1:2;let l=-1;if(null!==t)for(let g=0;g<t.length;g++){const D=t[g];"number"==typeof D?l=D:l===s&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),xi(e,D,!!i||t[++g]))}return void 0===e?null:e}function Cp(e,t,i){xi(e,t,Nr(i))}function Dp(e,t,i,s,l,g,D,w){if(!(3&t.type))return;const I=e.data,L=I[w+1];wa(function vh(e){return 1==(1&e)}(L)?Ep(I,t,i,l,Br(L),D):void 0)||(wa(g)||function gh(e){return 2==(2&e)}(L)&&(g=Ep(I,null,i,l,w,D)),function M_(e,t,i,s,l){if(t)l?e.addClass(i,s):e.removeClass(i,s);else{let g=-1===s.indexOf("-")?void 0:Dr.DashCase;null==l?e.removeStyle(i,s,g):("string"==typeof l&&l.endsWith("!important")&&(l=l.slice(0,-10),g|=Dr.Important),e.setStyle(i,s,l,g))}}(s,D,In(ht(),i),l,g))}function Ep(e,t,i,s,l,g){const D=null===t;let w;for(;l>0;){const I=e[l],L=Array.isArray(I),re=L?I[1]:I,Re=null===re;let st=i[l+1];st===sn&&(st=Re?tt:void 0);let pt=Re?Za(st,s):re===s?st:void 0;if(L&&!wa(pt)&&(pt=Za(I,s)),wa(pt)&&(w=pt,D))return w;const Mt=e[l+1];l=D?or(Mt):Br(Mt)}if(null!==t){let I=g?t.residualClasses:t.residualStyles;null!=I&&(w=Za(I,s))}return w}function wa(e){return void 0!==e}function Tp(e,t){return 0!=(e.flags&(t?16:32))}function wp(e,t=""){const i=St(),s=on(),l=e+22,g=s.firstCreatePass?Fo(s,l,1,t,null):s.data[l],D=i[l]=Rl(i[11],t);aa(s,i,D,g),F(g,!1)}function Wc(e){return Ma("",e,""),Wc}function Ma(e,t,i){const s=St(),l=Bo(s,e,t,i);return l!==sn&&Vr(s,ht(),l),Ma}function Gc(e,t,i,s,l){const g=St(),D=Vo(g,e,t,i,s,l);return D!==sn&&Vr(g,ht(),D),Gc}function Kc(e,t,i,s,l,g,D){const w=St(),I=$o(w,e,t,i,s,l,g,D);return I!==sn&&Vr(w,ht(),I),Kc}function Yc(e,t,i,s,l,g,D,w,I){const L=St(),re=Ho(L,e,t,i,s,l,g,D,w,I);return re!==sn&&Vr(L,ht(),re),Yc}function Qc(e,t,i,s,l,g,D,w,I,L,re){const Re=St(),st=Uo(Re,e,t,i,s,l,g,D,w,I,L,re);return st!==sn&&Vr(Re,ht(),st),Qc}function Zc(e,t,i,s,l,g,D,w,I,L,re,Re,st){const pt=St(),Mt=zo(pt,e,t,i,s,l,g,D,w,I,L,re,Re,st);return Mt!==sn&&Vr(pt,ht(),Mt),Zc}function Jc(e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt){const Rt=St(),kt=Wo(Rt,e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt);return kt!==sn&&Vr(Rt,ht(),kt),Jc}function Xc(e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt,kt){const Vt=St(),qt=Go(Vt,e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt,kt);return qt!==sn&&Vr(Vt,ht(),qt),Xc}function qc(e){const t=St(),i=jo(t,e);return i!==sn&&Vr(t,ht(),i),qc}function Mp(e,t,i){lr(xi,wr,Bo(St(),e,t,i),!0)}function Sp(e,t,i,s,l){lr(xi,wr,Vo(St(),e,t,i,s,l),!0)}function Ip(e,t,i,s,l,g,D){lr(xi,wr,$o(St(),e,t,i,s,l,g,D),!0)}function Op(e,t,i,s,l,g,D,w,I){lr(xi,wr,Ho(St(),e,t,i,s,l,g,D,w,I),!0)}function Ap(e,t,i,s,l,g,D,w,I,L,re){lr(xi,wr,Uo(St(),e,t,i,s,l,g,D,w,I,L,re),!0)}function Pp(e,t,i,s,l,g,D,w,I,L,re,Re,st){lr(xi,wr,zo(St(),e,t,i,s,l,g,D,w,I,L,re,Re,st),!0)}function Rp(e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt){lr(xi,wr,Wo(St(),e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt),!0)}function xp(e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt,kt){lr(xi,wr,Go(St(),e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt,kt),!0)}function Fp(e){lr(xi,wr,jo(St(),e),!0)}function kp(e,t,i){sr(Bo(St(),e,t,i))}function Np(e,t,i,s,l){sr(Vo(St(),e,t,i,s,l))}function Lp(e,t,i,s,l,g,D){sr($o(St(),e,t,i,s,l,g,D))}function jp(e,t,i,s,l,g,D,w,I){sr(Ho(St(),e,t,i,s,l,g,D,w,I))}function Bp(e,t,i,s,l,g,D,w,I,L,re){sr(Uo(St(),e,t,i,s,l,g,D,w,I,L,re))}function Vp(e,t,i,s,l,g,D,w,I,L,re,Re,st){sr(zo(St(),e,t,i,s,l,g,D,w,I,L,re,Re,st))}function $p(e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt){sr(Wo(St(),e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt))}function Hp(e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt,kt){sr(Go(St(),e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt,kt))}function Up(e){sr(jo(St(),e))}function eu(e,t,i,s,l){return ar(e,Bo(St(),t,i,s),l,!1),eu}function tu(e,t,i,s,l,g,D){return ar(e,Vo(St(),t,i,s,l,g),D,!1),tu}function nu(e,t,i,s,l,g,D,w,I){return ar(e,$o(St(),t,i,s,l,g,D,w),I,!1),nu}function iu(e,t,i,s,l,g,D,w,I,L,re){return ar(e,Ho(St(),t,i,s,l,g,D,w,I,L),re,!1),iu}function ru(e,t,i,s,l,g,D,w,I,L,re,Re,st){return ar(e,Uo(St(),t,i,s,l,g,D,w,I,L,re,Re),st,!1),ru}function ou(e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt){return ar(e,zo(St(),t,i,s,l,g,D,w,I,L,re,Re,st,pt),Mt,!1),ou}function su(e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt,kt){return ar(e,Wo(St(),t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt),kt,!1),su}function au(e,t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt,kt,Vt,qt){return ar(e,Go(St(),t,i,s,l,g,D,w,I,L,re,Re,st,pt,Mt,Rt,kt,Vt),qt,!1),au}function lu(e,t,i){return ar(e,jo(St(),t),i,!1),lu}function cu(e,t,i){const s=St();return fi(s,Ur(),t)&&Fi(on(),Pt(),s,e,t,s[11],i,!0),cu}function uu(e,t,i){const s=St();if(fi(s,Ur(),t)){const g=on(),D=Pt();Fi(g,D,s,e,t,Uh(eo(g.data),D,s),i,!0)}return uu}const uo=void 0;var O0=["en",[["a","p"],["AM","PM"],uo],[["AM","PM"],uo,uo],[["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"]],uo,[["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"]],uo,[["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}",uo,"{1} 'at' {0}",uo],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function I0(e){const i=Math.floor(Math.abs(e)),s=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===s?1:5}];let Yo={};function A0(e,t,i){"string"!=typeof t&&(i=t,t=e[Jt.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Yo[t]=e,i&&(Yo[t][Jt.ExtraData]=i)}function du(e){const t=function x0(e){return e.toLowerCase().replace(/_/g,"-")}(e);let i=Wp(t);if(i)return i;const s=t.split("-")[0];if(i=Wp(s),i)return i;if("en"===s)return O0;throw new M(701,!1)}function P0(e){return du(e)[Jt.CurrencyCode]||null}function zp(e){return du(e)[Jt.PluralCase]}function Wp(e){return e in Yo||(Yo[e]=W.ng&&W.ng.common&&W.ng.common.locales&&W.ng.common.locales[e]),Yo[e]}function R0(){Yo={}}var Jt=(()=>((Jt=Jt||{})[Jt.LocaleId=0]="LocaleId",Jt[Jt.DayPeriodsFormat=1]="DayPeriodsFormat",Jt[Jt.DayPeriodsStandalone=2]="DayPeriodsStandalone",Jt[Jt.DaysFormat=3]="DaysFormat",Jt[Jt.DaysStandalone=4]="DaysStandalone",Jt[Jt.MonthsFormat=5]="MonthsFormat",Jt[Jt.MonthsStandalone=6]="MonthsStandalone",Jt[Jt.Eras=7]="Eras",Jt[Jt.FirstDayOfWeek=8]="FirstDayOfWeek",Jt[Jt.WeekendRange=9]="WeekendRange",Jt[Jt.DateFormat=10]="DateFormat",Jt[Jt.TimeFormat=11]="TimeFormat",Jt[Jt.DateTimeFormat=12]="DateTimeFormat",Jt[Jt.NumberSymbols=13]="NumberSymbols",Jt[Jt.NumberFormats=14]="NumberFormats",Jt[Jt.CurrencyCode=15]="CurrencyCode",Jt[Jt.CurrencySymbol=16]="CurrencySymbol",Jt[Jt.CurrencyName=17]="CurrencyName",Jt[Jt.Currencies=18]="Currencies",Jt[Jt.Directionality=19]="Directionality",Jt[Jt.PluralCase=20]="PluralCase",Jt[Jt.ExtraData=21]="ExtraData",Jt))();const F0=["zero","one","two","few","many"],fo="en-US",Sa={marker:"element"},Ia={marker:"ICU"};var Yn=(()=>((Yn=Yn||{})[Yn.SHIFT=2]="SHIFT",Yn[Yn.APPEND_EAGERLY=1]="APPEND_EAGERLY",Yn[Yn.COMMENT=2]="COMMENT",Yn))();let Gp=fo;function fu(e){(function Ae(e,t){null==e&&$(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Gp=e.toLowerCase().replace(/_/g,"-"))}function Kp(e,t,i){const s=t.insertBeforeIndex,l=Array.isArray(s)?s[0]:s;return null===l?Uf(e,0,i):bn(i[l])}function Yp(e,t,i,s,l){const g=t.insertBeforeIndex;if(Array.isArray(g)){let D=s,w=null;if(3&t.type||(w=D,D=l),null!==D&&0==(2&t.flags))for(let I=1;I<g.length;I++)ao(e,D,i[g[I]],w,!1)}}function Qp(e,t){if(e.push(t),e.length>1)for(let i=e.length-2;i>=0;i--){const s=e[i];Zp(s)||j0(s,t)&&null===B0(s)&&V0(s,t.index)}}function Zp(e){return!(64&e.type)}function j0(e,t){return Zp(t)||e.index>t.index}function B0(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function V0(e,t){const i=e.insertBeforeIndex;Array.isArray(i)?i[0]=t:(Wf(Kp,Yp),e.insertBeforeIndex=t)}function Ss(e,t){const i=e.data[t];return null===i||"string"==typeof i?null:i.hasOwnProperty("currentCaseLViewIndex")?i:i.value}function U0(e,t,i){const s=tc(e,i,64,null,null);return Qp(t,s),s}function Oa(e,t){const i=t[e.currentCaseLViewIndex];return null===i?i:i<0?~i:i}function Jp(e){return e>>>17}function Xp(e){return(131070&e)>>>1}let Is=0,Os=0;function em(e,t,i,s){const l=i[11];let D,g=null;for(let w=0;w<t.length;w++){const I=t[w];if("string"==typeof I){const L=t[++w];null===i[L]&&(i[L]=Rl(l,I))}else if("number"==typeof I)switch(1&I){case 0:const L=Jp(I);let re,Re;if(null===g&&(g=L,D=sa(l,s)),L===g?(re=s,Re=D):(re=null,Re=bn(i[L])),null!==Re){const Rt=Xp(I);ao(l,Re,i[Rt],re,!1);const Vt=Ss(e,Rt);if(null!==Vt&&"object"==typeof Vt){const qt=Oa(Vt,i);null!==qt&&em(e,Vt.create[qt],i,i[Vt.anchorIdx])}}break;case 1:const pt=t[++w],Mt=t[++w];sc(l,In(I>>>1,i),null,null,pt,Mt,null)}else switch(I){case Ia:const L=t[++w],re=t[++w];null===i[re]&&di(i[re]=h_(l,L),i);break;case Sa:const Re=t[++w],st=t[++w];null===i[st]&&di(i[st]=xl(l,Re,null),i)}}}function tm(e,t,i,s,l){for(let g=0;g<i.length;g++){const D=i[g],w=i[++g];if(D&l){let I="";for(let L=g+1;L<=g+w;L++){const re=i[L];if("string"==typeof re)I+=re;else if("number"==typeof re)if(re<0)I+=P(t[s-re]);else{const Re=re>>>2;switch(3&re){case 1:const st=i[++L],pt=i[++L],Mt=e.data[Re];"string"==typeof Mt?sc(t[11],t[Re],null,Mt,st,I,pt):Fi(e,Mt,t,st,I,t[11],pt,!1);break;case 0:const Rt=t[Re];null!==Rt&&kf(t[11],Rt,I);break;case 2:Y0(e,Ss(e,Re),t,I);break;case 3:nm(e,Ss(e,Re),s,t)}}}}else{const I=i[g+1];if(I>0&&3==(3&I)){const re=Ss(e,I>>>2);t[re.currentCaseLViewIndex]<0&&nm(e,re,s,t)}}g+=w}}function nm(e,t,i,s){let l=s[t.currentCaseLViewIndex];if(null!==l){let g=Is;l<0&&(l=s[t.currentCaseLViewIndex]=~l,g=-1),tm(e,s,t.update[l],i,g)}}function Y0(e,t,i,s){const l=function Q0(e,t){let i=e.cases.indexOf(t);if(-1===i)switch(e.type){case 1:{const s=function k0(e,t){const i=zp(t)(parseInt(e,10)),s=F0[i];return void 0!==s?s:"other"}(t,function L0(){return Gp}());i=e.cases.indexOf(s),-1===i&&"other"!==s&&(i=e.cases.indexOf("other"));break}case 0:i=e.cases.indexOf("other")}return-1===i?null:i}(t,s);if(Oa(t,i)!==l&&(im(e,t,i),i[t.currentCaseLViewIndex]=null===l?null:~l,null!==l)){const D=i[t.anchorIdx];D&&em(e,t.create[l],i,D)}}function im(e,t,i){let s=Oa(t,i);if(null!==s){const l=t.remove[s];for(let g=0;g<l.length;g++){const D=l[g];if(D>0){const w=In(D,i);null!==w&&Kf(i[11],w)}else im(e,Ss(e,~D),i)}}}function Z0(){const e=[];let i,s,t=-1;function g(w,I){t=0;const L=Oa(w,I);s=null!==L?w.remove[L]:tt}function D(){if(t<s.length){const w=s[t++];return w>0?i[w]:(e.push(t,s),g(i[1].data[~w],i),D())}return 0===e.length?null:(s=e.pop(),t=e.pop(),D())}return function l(w,I){for(i=I;e.length;)e.pop();return g(w.value,I),D}}const Aa=/\ufffd(\d+):?\d*\ufffd/gi,J0=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,X0=/\ufffd(\d+)\ufffd/,om=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,q0=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,eC=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,tC=/\uE500/g;function sm(e,t,i,s,l,g,D){const w=ko(e,s,1,null);let I=w<<Yn.SHIFT,L=Hi();t===L&&(L=null),null===L&&(I|=Yn.APPEND_EAGERLY),D&&(I|=Yn.COMMENT,function u_(e){void 0===Il&&(Il=e())}(Z0)),l.push(I,null===g?"":g);const re=tc(e,w,D?32:1,null===g?"":g,null);Qp(i,re);const Re=re.index;return F(re,!1),null!==L&&t!==L&&function H0(e,t){let i=e.insertBeforeIndex;null===i?(Wf(Kp,Yp),i=e.insertBeforeIndex=[null,t]):(function it(e,t,i){e!=t&&$(i,e,t,"==")}(Array.isArray(i),!0,"Expecting array here"),i.push(t))}(L,Re),re}function rC(e,t,i,s,l,g,D){const w=D.match(Aa),I=sm(e,t,i,g,s,w?null:D,!1);w&&Qo(l,D,I.index,null,0,null)}function Qo(e,t,i,s,l,g){const D=e.length,w=D+1;e.push(null,null);const I=D+2,L=t.split(Aa);let re=0;for(let Re=0;Re<L.length;Re++){const st=L[Re];if(1&Re){const pt=l+parseInt(st,10);e.push(-1-pt),re|=am(pt)}else""!==st&&e.push(st)}return e.push(i<<2|(s?1:0)),s&&e.push(s,g),e[D]=re,e[w]=e.length-I,re}function sC(e){let t=0;for(let i=0;i<e.length;i++){const s=e[i];"number"==typeof s&&s<0&&t++}return t}function am(e){return 1<<Math.min(e,31)}function lm(e){let t,g,i="",s=0,l=!1;for(;null!==(t=q0.exec(e));)l?t[0]===`\ufffd/*${g}\ufffd`&&(s=t.index,l=!1):(i+=e.substring(s,t.index+t[0].length),g=t[1],l=!0);return i+=e.slice(s),i}function cm(e,t,i,s,l,g){let D=0;const w={type:l.type,currentCaseLViewIndex:ko(e,t,1,null),anchorIdx:g,cases:[],create:[],remove:[],update:[]};(function fC(e,t,i){e.push(am(t.mainBinding),2,-1-t.mainBinding,i<<2|2)})(i,l,g),function $0(e,t,i){const s=e.data[t];null===s?e.data[t]=i:s.value=i}(e,g,w);const I=l.values;for(let L=0;L<I.length;L++){const re=I[L],Re=[];for(let st=0;st<re.length;st++){const pt=re[st];if("string"!=typeof pt){const Mt=Re.push(pt)-1;re[st]=`\x3c!--\ufffd${Mt}\ufffd--\x3e`}}D=uC(e,w,t,i,s,l.cases[L],re.join(""),Re)|D}D&&function hC(e,t,i){e.push(t,1,i<<2|3)}(i,D,g)}function cC(e){const t=[],i=[];let s=1,l=0;const g=hu(e=e.replace(om,function(D,w,I){return s="select"===I?0:1,l=parseInt(w.slice(1),10),""}));for(let D=0;D<g.length;){let w=g[D++].trim();1===s&&(w=w.replace(/\s*(?:=)?(\w+)\s*/,"$1")),w.length&&t.push(w);const I=hu(g[D++]);t.length>i.length&&i.push(I)}return{type:s,mainBinding:l,cases:t,values:i}}function hu(e){if(!e)return[];let t=0;const i=[],s=[],l=/[{}]/g;let g;for(l.lastIndex=0;g=l.exec(e);){const w=g.index;if("}"==g[0]){if(i.pop(),0==i.length){const I=e.substring(t,w);om.test(I)?s.push(cC(I)):s.push(I),t=w+1}}else{if(0==i.length){const I=e.substring(t,w);s.push(I),t=w+1}i.push("{")}}const D=e.substring(t);return s.push(D),s}function uC(e,t,i,s,l,g,D,w){const I=[],L=[],re=[];t.cases.push(g),t.create.push(I),t.remove.push(L),t.update.push(re);const st=jd(xd()).getInertBodyElement(D),pt=ll(st)||st;return pt?um(e,t,i,s,I,L,re,pt,l,w,0):0}function um(e,t,i,s,l,g,D,w,I,L,re){let Re=0,st=w.firstChild;for(;st;){const pt=ko(e,i,1,null);switch(st.nodeType){case Node.ELEMENT_NODE:const Mt=st,Rt=Mt.tagName.toLowerCase();if(ol.hasOwnProperty(Rt)){pu(l,Sa,Rt,I,pt),e.data[pt]=Rt;const Ot=Mt.attributes;for(let Qt=0;Qt<Ot.length;Qt++){const mn=Ot.item(Qt),Vn=mn.name.toLowerCase();mn.value.match(Aa)?Ud.hasOwnProperty(Vn)&&Qo(D,mn.value,pt,mn.name,0,sl[Vn]?hs:al[Vn]?Bd:null):pC(l,pt,mn)}Re=um(e,t,i,s,l,g,D,st,pt,L,re+1)|Re,dm(g,pt,re)}break;case Node.TEXT_NODE:const kt=st.textContent||"",Vt=kt.match(Aa);pu(l,null,Vt?"":kt,I,pt),dm(g,pt,re),Vt&&(Re=Qo(D,kt,pt,null,0,null)|Re);break;case Node.COMMENT_NODE:const qt=X0.exec(st.textContent||"");if(qt){const Qt=L[parseInt(qt[1],10)];pu(l,Ia,"",I,pt),cm(e,i,s,I,Qt,pt),dC(g,pt,re)}}st=st.nextSibling}return Re}function dm(e,t,i){0===i&&e.push(t)}function dC(e,t,i){0===i&&(e.push(~t),e.push(t))}function pu(e,t,i,s,l){null!==t&&e.push(t),e.push(i,l,function z0(e,t,i){return e|t<<17|i<<1}(0,s,l))}function pC(e,t,i){e.push(t<<1|1,i.name,i.value)}const mC=/\[(\ufffd.+?\ufffd?)\]/,gC=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,vC=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,yC=/{([A-Z0-9_]+)}/g,_C=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,bC=/\/\*/,CC=/\d+\:(\d+)/;function mu(e,t,i=-1){const s=on(),l=St(),g=22+e,D=fe(s.consts,t),w=Hi();s.firstCreatePass&&function iC(e,t,i,s,l,g){const D=Hi(),w=[],I=[],L=[[]];l=function lC(e,t){if(function aC(e){return-1===e}(t))return lm(e);{const i=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,s=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return lm(e.substring(i,s))}}(l,g);const re=function nC(e){return e.replace(tC," ")}(l).split(eC);for(let Re=0;Re<re.length;Re++){let st=re[Re];if(0==(1&Re)){const pt=hu(st);for(let Mt=0;Mt<pt.length;Mt++){let Rt=pt[Mt];if(0==(1&Mt)){const kt=Rt;""!==kt&&rC(e,D,L[0],w,I,i,kt)}else{const kt=Rt;if("object"!=typeof kt)throw new Error(`Unable to parse ICU expression in "${l}" message.`);cm(e,i,I,t,kt,sm(e,D,L[0],i,w,"",!0).index)}}}else{const pt=47===st.charCodeAt(0),Rt=(st.charCodeAt(pt?1:0),22+Number.parseInt(st.substring(pt?2:1)));if(pt)L.shift(),F(Hi(),!1);else{const kt=U0(e,L[0],Rt);L.unshift([]),F(kt,!0)}}}e.data[s]={create:w,update:I}}(s,null===w?0:w.index,l,g,D,i);const I=s.data[g],re=Bf(s,w===l[6]?null:w,l);(function K0(e,t,i,s){const l=e[11];for(let g=0;g<t.length;g++){const D=t[g++],w=t[g],I=(D&Yn.COMMENT)===Yn.COMMENT,L=(D&Yn.APPEND_EAGERLY)===Yn.APPEND_EAGERLY,re=D>>>Yn.SHIFT;let Re=e[re];null===Re&&(Re=e[re]=I?l.createComment(w):Rl(l,w)),L&&null!==i&&ao(l,i,Re,s,!1)}})(l,I.create,re,w&&8&w.type?l[w.index]:null),js(!0)}function gu(){js(!1)}function hm(e,t,i){mu(e,t,i),gu()}function pm(e,t){const i=on();!function oC(e,t,i){const l=xn().index,g=[];if(e.firstCreatePass&&null===e.data[t]){for(let D=0;D<i.length;D+=2){const w=i[D],I=i[D+1];if(""!==I){if(J0.test(I))throw new Error(`ICU expressions are not supported in attributes. Message: "${I}".`);Qo(g,I,l,w,sC(g),null)}}e.data[t]=g}}(i,e+22,fe(i.consts,t))}function vu(e){return function W0(e){e&&(Is|=1<<Math.min(Os,31)),Os++}(fi(St(),Ur(),e)),vu}function mm(e){!function G0(e,t,i){if(Os>0){const s=e.data[i];tm(e,t,Array.isArray(s)?s:s.update,li()-Os-1,Is)}Is=0,Os=0}(on(),St(),e+22)}function gm(e,t={}){return function DC(e,t={}){let i=e;if(mC.test(e)){const s={},l=[0];i=i.replace(gC,(g,D,w)=>{const I=D||w,L=s[I]||[];if(L.length||(I.split("|").forEach(Rt=>{const kt=Rt.match(CC),Vt=kt?parseInt(kt[1],10):0,qt=bC.test(Rt);L.push([Vt,qt,Rt])}),s[I]=L),!L.length)throw new Error(`i18n postprocess: unmatched placeholder - ${I}`);const re=l[l.length-1];let Re=0;for(let Rt=0;Rt<L.length;Rt++)if(L[Rt][0]===re){Re=Rt;break}const[st,pt,Mt]=L[Re];return pt?l.pop():re!==st&&l.push(st),L.splice(Re,1),Mt})}return Object.keys(t).length&&(i=i.replace(vC,(s,l,g,D,w,I)=>t.hasOwnProperty(g)?`${l}${t[g]}${I}`:s),i=i.replace(yC,(s,l)=>t.hasOwnProperty(l)?t[l]:s),i=i.replace(_C,(s,l)=>{if(t.hasOwnProperty(l)){const g=t[l];if(!g.length)throw new Error(`i18n postprocess: unmatched ICU - ${s} with key: ${l}`);return g.shift()}return s})),i}(e,t)}function yu(e,t,i,s,l){if(e=v(e),Array.isArray(e))for(let g=0;g<e.length;g++)yu(e[g],t,i,s,l);else{const g=on(),D=St();let w=oo(e)?e:v(e.provide),I=lf(e);const L=xn(),re=1048575&L.providerIndexes,Re=L.directiveStart,st=L.providerIndexes>>20;if(oo(e)||!e.multi){const pt=new si(I,l,xo),Mt=bu(w,t,l?re:re+st,Re);-1===Mt?(Us(is(L,D),g,w),_u(g,e,t.length),t.push(w),L.directiveStart++,L.directiveEnd++,l&&(L.providerIndexes+=1048576),i.push(pt),D.push(pt)):(i[Mt]=pt,D[Mt]=pt)}else{const pt=bu(w,t,re+st,Re),Mt=bu(w,t,re,re+st),Rt=pt>=0&&i[pt],kt=Mt>=0&&i[Mt];if(l&&!kt||!l&&!Rt){Us(is(L,D),g,w);const Vt=function MC(e,t,i,s,l){const g=new si(e,i,xo);return g.multi=[],g.index=t,g.componentProviders=0,vm(g,l,s&&!i),g}(l?wC:TC,i.length,l,s,I);!l&&kt&&(i[Mt].providerFactory=Vt),_u(g,e,t.length,0),t.push(w),L.directiveStart++,L.directiveEnd++,l&&(L.providerIndexes+=1048576),i.push(Vt),D.push(Vt)}else _u(g,e,pt>-1?pt:Mt,vm(i[l?Mt:pt],I,!l&&s));!l&&s&&kt&&i[Mt].componentProviders++}}}function _u(e,t,i,s){const l=oo(t),g=function Ty(e){return!!e.useClass}(t);if(l||g){const I=(g?v(t.useClass):t).prototype.ngOnDestroy;if(I){const L=e.destroyHooks||(e.destroyHooks=[]);if(!l&&t.multi){const re=L.indexOf(i);-1===re?L.push(i,[s,I]):L[re+1].push(s,I)}else L.push(i,I)}}}function vm(e,t,i){return i&&e.componentProviders++,e.multi.push(t)-1}function bu(e,t,i,s){for(let l=i;l<s;l++)if(t[l]===e)return l;return-1}function TC(e,t,i,s){return Cu(this.multi,[])}function wC(e,t,i,s){const l=this.multi;let g;if(this.providerFactory){const D=this.providerFactory.componentProviders,w=rs(i,i[1],this.providerFactory.index,s);g=w.slice(0,D),Cu(l,g);for(let I=D;I<w.length;I++)g.push(w[I])}else g=[],Cu(l,g);return g}function Cu(e,t){for(let i=0;i<e.length;i++)t.push((0,e[i])());return t}function ym(e,t=[]){return i=>{i.providersResolver=(s,l)=>function EC(e,t,i){const s=on();if(s.firstCreatePass){const l=Ln(e);yu(i,s.data,s.blueprint,l,!0),yu(t,s.data,s.blueprint,l,!1)}}(s,l?l(e):e,t)}}class Zo{}class _m{}function bm(e,t){return new Du(e,null!=t?t:null)}const SC=bm;class Du extends Zo{constructor(t,i){super(),this._parent=i,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new fc(this);const s=Dt(t);this._bootstrapComponents=Lr(s.bootstrap),this._r3Injector=sh(t,i,[{provide:Zo,useValue:this},{provide:gs,useValue:this.componentFactoryResolver}],p(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(i=>i()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class Pa extends _m{constructor(t){super(),this.moduleType=t}create(t){return new Du(this.moduleType,t)}}class IC extends Zo{constructor(t,i,s){super(),this.componentFactoryResolver=new fc(this),this.instance=null;const l=new af([...t,{provide:Zo,useValue:this},{provide:gs,useValue:this.componentFactoryResolver}],i||ia(),s,new Set(["environment"]));this.injector=l,l.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(t){this.injector.onDestroy(t)}}function Eu(e,t,i=null){return new IC(e,t,i).injector}let OC=(()=>{class e{constructor(i){this._injector=i,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(i){if(!i.standalone)return null;if(!this.cachedInjectors.has(i.id)){const s=tf(0,i.type),l=s.length>0?Eu([s],this._injector,`Standalone[${i.type.name}]`):null;this.cachedInjectors.set(i.id,l)}return this.cachedInjectors.get(i.id)}ngOnDestroy(){try{for(const i of this.cachedInjectors.values())null!==i&&i.destroy()}finally{this.cachedInjectors.clear()}}}return e.\u0275prov=Ve({token:e,providedIn:"environment",factory:()=>new e(ti(so))}),e})();function Cm(e){e.getStandaloneInjector=t=>t.get(OC).getOrCreateStandaloneInjector(e)}function Tu(e){const t=ui(e);if(null===t)return null;if(void 0===t.component){const i=t.lView;if(null===i)return null;t.component=function o_(e,t){const i=t[1].data[e];return 2&i.flags?t[i.directiveStart]:null}(t.nodeIndex,i)}return t.component}function Dm(e){!function kC(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}(e);const t=ui(e),i=t?t.lView:null;return null===i?null:i[8]}function Em(e){const t=ui(e);let s,i=t?t.lView:null;if(null===i)return null;for(;2===i[1].type&&(s=bs(i));)i=s;return 256&i[2]?null:i[8]}function Tm(e){const t=Sl(e);return null!==t?[...xf(t).components]:[]}function wm(e){const t=ui(e),i=t?t.lView:null;return null===i?Yr.NULL:new vo(i[1].data[t.nodeIndex],i)}function Mm(e){if(e instanceof Text)return[];const t=ui(e),i=t?t.lView:null;if(null===i)return[];const s=i[1],l=t.nodeIndex;return null!=s&&s.data[l]?(void 0===t.directives&&(t.directives=Sf(l,i,!1)),null===t.directives?[]:[...t.directives]):[]}function PC(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const i=ee(t);if(i)return{inputs:i.inputs,outputs:i.outputs,encapsulation:i.encapsulation,changeDetection:i.onPush?ve.OnPush:ve.Default};const s=Ie(t);return s?{inputs:s.inputs,outputs:s.outputs}:null}function wu(e){return ui(e).native}function Sm(e){const t=ui(e),i=null===t?null:t.lView;if(null===i)return[];const l=i[7],g=i[1].cleanup,D=[];if(g&&l)for(let w=0;w<g.length;){const I=g[w++],L=g[w++];if("string"==typeof I){const re=I,Re=bn(i[L]),st=l[g[w++]],pt=g[w++],Mt="boolean"==typeof pt||pt>=0?"dom":"output",Rt="boolean"==typeof pt&&pt;e==Re&&D.push({element:e,name:re,callback:st,useCapture:Rt,type:Mt})}}return D.sort(xC),D}function xC(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function FC(e){return void 0!==e.type&&void 0!==e.template&&void 0!==e.declaredInputs}function Im(e,t,i,s){return We(()=>{const l=e;null!==t&&(l.hasOwnProperty("decorators")&&void 0!==l.decorators?l.decorators.push(...t):l.decorators=t),null!==i&&(l.ctorParameters=i),null!==s&&(l.propDecorators=l.hasOwnProperty("propDecorators")&&void 0!==l.propDecorators?Object.assign(Object.assign({},l.propDecorators),s):s)})}function Om(e,t,i){const s=Fn()+e,l=St();return l[s]===sn?Tr(l,s,i?t.call(i):t()):ws(l,s)}function Am(e,t,i,s){return Bm(St(),Fn(),e,t,i,s)}function Pm(e,t,i,s,l){return Vm(St(),Fn(),e,t,i,s,l)}function Rm(e,t,i,s,l,g){return $m(St(),Fn(),e,t,i,s,l,g)}function xm(e,t,i,s,l,g,D){return Hm(St(),Fn(),e,t,i,s,l,g,D)}function Fm(e,t,i,s,l,g,D,w){const I=Fn()+e,L=St(),re=Ui(L,I,i,s,l,g);return fi(L,I+4,D)||re?Tr(L,I+5,w?t.call(w,i,s,l,g,D):t(i,s,l,g,D)):ws(L,I+5)}function km(e,t,i,s,l,g,D,w,I){const L=Fn()+e,re=St(),Re=Ui(re,L,i,s,l,g);return co(re,L+4,D,w)||Re?Tr(re,L+6,I?t.call(I,i,s,l,g,D,w):t(i,s,l,g,D,w)):ws(re,L+6)}function Nm(e,t,i,s,l,g,D,w,I,L){const re=Fn()+e,Re=St();let st=Ui(Re,re,i,s,l,g);return _a(Re,re+4,D,w,I)||st?Tr(Re,re+7,L?t.call(L,i,s,l,g,D,w,I):t(i,s,l,g,D,w,I)):ws(Re,re+7)}function Lm(e,t,i,s,l,g,D,w,I,L,re){const Re=Fn()+e,st=St(),pt=Ui(st,Re,i,s,l,g);return Ui(st,Re+4,D,w,I,L)||pt?Tr(st,Re+8,re?t.call(re,i,s,l,g,D,w,I,L):t(i,s,l,g,D,w,I,L)):ws(st,Re+8)}function jm(e,t,i,s){return Um(St(),Fn(),e,t,i,s)}function Ps(e,t){const i=e[t];return i===sn?void 0:i}function Bm(e,t,i,s,l,g){const D=t+i;return fi(e,D,l)?Tr(e,D+1,g?s.call(g,l):s(l)):Ps(e,D+1)}function Vm(e,t,i,s,l,g,D){const w=t+i;return co(e,w,l,g)?Tr(e,w+2,D?s.call(D,l,g):s(l,g)):Ps(e,w+2)}function $m(e,t,i,s,l,g,D,w){const I=t+i;return _a(e,I,l,g,D)?Tr(e,I+3,w?s.call(w,l,g,D):s(l,g,D)):Ps(e,I+3)}function Hm(e,t,i,s,l,g,D,w,I){const L=t+i;return Ui(e,L,l,g,D,w)?Tr(e,L+4,I?s.call(I,l,g,D,w):s(l,g,D,w)):Ps(e,L+4)}function Um(e,t,i,s,l,g){let D=t+i,w=!1;for(let I=0;I<l.length;I++)fi(e,D++,l[I])&&(w=!0);return w?Tr(e,D,s.apply(g,l)):Ps(e,D)}function zm(e,t){const i=on();let s;const l=e+22;i.firstCreatePass?(s=function NC(e,t){if(t)for(let i=t.length-1;i>=0;i--){const s=t[i];if(e===s.name)return s}}(t,i.pipeRegistry),i.data[l]=s,s.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(l,s.onDestroy)):s=i.data[l];const g=s.factory||(s.factory=ni(s.type)),D=Te(xo);try{const w=Zn(!1),I=g();return Zn(w),ep(i,St(),l,I),I}finally{Te(D)}}function Wm(e,t,i){const s=e+22,l=St(),g=gi(l,s);return Rs(l,s)?Bm(l,Fn(),t,g.transform,i,g):g.transform(i)}function Gm(e,t,i,s){const l=e+22,g=St(),D=gi(g,l);return Rs(g,l)?Vm(g,Fn(),t,D.transform,i,s,D):D.transform(i,s)}function Km(e,t,i,s,l){const g=e+22,D=St(),w=gi(D,g);return Rs(D,g)?$m(D,Fn(),t,w.transform,i,s,l,w):w.transform(i,s,l)}function Ym(e,t,i,s,l,g){const D=e+22,w=St(),I=gi(w,D);return Rs(w,D)?Hm(w,Fn(),t,I.transform,i,s,l,g,I):I.transform(i,s,l,g)}function Qm(e,t,i){const s=e+22,l=St(),g=gi(l,s);return Rs(l,s)?Um(l,Fn(),t,g.transform,i,g):g.transform.apply(g,i)}function Rs(e,t){return e[1].data[t].pure}function Mu(e){return t=>{setTimeout(e,void 0,t)}}const Mr=class LC extends n.x{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,i,s){var l,g,D;let w=t,I=i||(()=>null),L=s;if(t&&"object"==typeof t){const Re=t;w=null===(l=Re.next)||void 0===l?void 0:l.bind(Re),I=null===(g=Re.error)||void 0===g?void 0:g.bind(Re),L=null===(D=Re.complete)||void 0===D?void 0:D.bind(Re)}this.__isAsync&&(I=Mu(I),w&&(w=Mu(w)),L&&(L=Mu(L)));const re=super.subscribe({next:w,error:I,complete:L});return t instanceof h.w0&&t.add(re),re}};function jC(){return this._results[lo()]()}class Ra{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 i=lo(),s=Ra.prototype;s[i]||(s[i]=jC)}get changes(){return this._changes||(this._changes=new Mr)}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,i){return this._results.reduce(t,i)}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,i){const s=this;s.dirty=!1;const l=Ri(t);(this._changesDetected=!function Pv(e,t,i){if(e.length!==t.length)return!1;for(let s=0;s<e.length;s++){let l=e[s],g=t[s];if(i&&(l=i(l),g=i(g)),g!==l)return!1}return!0}(s._results,l,i))&&(s._results=l,s.length=l.length,s.last=l[this.length-1],s.first=l[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let xs=(()=>{class e{}return e.__NG_ELEMENT_ID__=$C,e})();const BC=xs,VC=class extends BC{constructor(t,i,s){super(),this._declarationLView=t,this._declarationTContainer=i,this.elementRef=s}createEmbeddedView(t,i){const s=this._declarationTContainer.tViews,l=ha(this._declarationLView,s,t,16,null,s.declTNode,null,null,null,null,i||null);l[17]=this._declarationLView[this._declarationTContainer.index];const D=this._declarationLView[19];return null!==D&&(l[19]=D.createEmbeddedView(s)),pa(s,l,t),new No(l)}};function $C(){return xa(xn(),St())}function xa(e,t){return 4&e.type?new VC(t,e,Oo(e,t)):null}let Fa=(()=>{class e{}return e.__NG_ELEMENT_ID__=HC,e})();function HC(){return Xm(xn(),St())}const UC=Fa,Zm=class extends UC{constructor(t,i,s){super(),this._lContainer=t,this._hostTNode=i,this._hostLView=s}get element(){return Oo(this._hostTNode,this._hostLView)}get injector(){return new vo(this._hostTNode,this._hostLView)}get parentInjector(){const t=Hs(this._hostTNode,this._hostLView);if(ci(t)){const i=Fr(t,this._hostLView),s=vi(t);return new vo(i[1].data[s+8],i)}return new vo(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const i=Jm(this._lContainer);return null!==i&&i[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,i,s){let l,g;"number"==typeof s?l=s:null!=s&&(l=s.index,g=s.injector);const D=t.createEmbeddedView(i||{},g);return this.insert(D,l),D}createComponent(t,i,s,l,g){const D=t&&!ss(t);let w;if(D)w=i;else{const Re=i||{};w=Re.index,s=Re.injector,l=Re.projectableNodes,g=Re.environmentInjector||Re.ngModuleRef}const I=D?t:new Lo(ee(t)),L=s||this.parentInjector;if(!g&&null==I.ngModule){const st=(D?L:this.parentInjector).get(so,null);st&&(g=st)}const re=I.create(L,l,void 0,g);return this.insert(re.hostView,w),re}insert(t,i){const s=t._lView,l=s[1];if(function k(e){return Nn(e[3])}(s)){const re=this.indexOf(t);if(-1!==re)this.detach(re);else{const Re=s[3],st=new Zm(Re,Re[6],Re[3]);st.detach(st.indexOf(t))}}const g=this._adjustIndex(i),D=this._lContainer;!function y_(e,t,i,s){const l=10+s,g=i.length;s>0&&(i[l-1][4]=t),s<g-10?(t[4]=i[l],yd(i,10+s,t)):(i.push(t),t[4]=null),t[3]=i;const D=t[17];null!==D&&i!==D&&function __(e,t){const i=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===i?e[9]=[t]:i.push(t)}(D,t);const w=t[19];null!==w&&w.insertView(e),t[2]|=64}(l,s,D,g);const w=Ll(g,D),I=s[11],L=sa(I,D[7]);return null!==L&&function m_(e,t,i,s,l,g){s[0]=l,s[6]=t,Cs(e,s,i,1,l,g)}(l,D[6],I,s,L,w),t.attachToViewContainerRef(),yd(Su(D),g,t),t}move(t,i){return this.insert(t,i)}indexOf(t){const i=Jm(this._lContainer);return null!==i?i.indexOf(t):-1}remove(t){const i=this._adjustIndex(t,-1),s=Fl(this._lContainer,i);s&&(Gs(Su(this._lContainer),i),Lf(s[1],s))}detach(t){const i=this._adjustIndex(t,-1),s=Fl(this._lContainer,i);return s&&null!=Gs(Su(this._lContainer),i)?new No(s):null}_adjustIndex(t,i=0){return null==t?this.length+i:t}};function Jm(e){return e[8]}function Su(e){return e[8]||(e[8]=[])}function Xm(e,t){let i;const s=t[e.index];if(Nn(s))i=s;else{let l;if(8&e.type)l=bn(s);else{const g=t[11];l=g.createComment("");const D=Tn(e,t);ao(g,sa(g,D),l,function E_(e,t){return e.nextSibling(t)}(g,D),!1)}t[e.index]=i=jh(s,t,l,e),ma(t,i)}return new Zm(i,e,t)}class Iu{constructor(t){this.queryList=t,this.matches=null}clone(){return new Iu(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ou{constructor(t=[]){this.queries=t}createEmbeddedView(t){const i=t.queries;if(null!==i){const s=null!==t.contentQueries?t.contentQueries[0]:i.length,l=[];for(let g=0;g<s;g++){const D=i.getByIndex(g);l.push(this.queries[D.indexInDeclarationView].clone())}return new Ou(l)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let i=0;i<this.queries.length;i++)null!==ag(t,i).matches&&this.queries[i].setDirty()}}class qm{constructor(t,i,s=null){this.predicate=t,this.flags=i,this.read=s}}class Au{constructor(t=[]){this.queries=t}elementStart(t,i){for(let s=0;s<this.queries.length;s++)this.queries[s].elementStart(t,i)}elementEnd(t){for(let i=0;i<this.queries.length;i++)this.queries[i].elementEnd(t)}embeddedTView(t){let i=null;for(let s=0;s<this.length;s++){const l=null!==i?i.length:0,g=this.getByIndex(s).embeddedTView(t,l);g&&(g.indexInDeclarationView=s,null!==i?i.push(g):i=[g])}return null!==i?new Au(i):null}template(t,i){for(let s=0;s<this.queries.length;s++)this.queries[s].template(t,i)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class Pu{constructor(t,i=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=i}elementStart(t,i){this.isApplyingToNode(i)&&this.matchTNode(t,i)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,i){this.elementStart(t,i)}embeddedTView(t,i){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,i),new Pu(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const i=this._declarationNodeIndex;let s=t.parent;for(;null!==s&&8&s.type&&s.index!==i;)s=s.parent;return i===(null!==s?s.index:-1)}return this._appliesToNextNode}matchTNode(t,i){const s=this.metadata.predicate;if(Array.isArray(s))for(let l=0;l<s.length;l++){const g=s[l];this.matchTNodeWithReadOption(t,i,GC(i,g)),this.matchTNodeWithReadOption(t,i,zs(i,t,g,!1,!1))}else s===xs?4&i.type&&this.matchTNodeWithReadOption(t,i,-1):this.matchTNodeWithReadOption(t,i,zs(i,t,s,!1,!1))}matchTNodeWithReadOption(t,i,s){if(null!==s){const l=this.metadata.read;if(null!==l)if(l===vs||l===Fa||l===xs&&4&i.type)this.addMatch(i.index,-2);else{const g=zs(i,t,l,!1,!1);null!==g&&this.addMatch(i.index,g)}else this.addMatch(i.index,s)}}addMatch(t,i){null===this.matches?this.matches=[t,i]:this.matches.push(t,i)}}function GC(e,t){const i=e.localNames;if(null!==i)for(let s=0;s<i.length;s+=2)if(i[s]===t)return i[s+1];return null}function YC(e,t,i,s){return-1===i?function KC(e,t){return 11&e.type?Oo(e,t):4&e.type?xa(e,t):null}(t,e):-2===i?function QC(e,t,i){return i===vs?Oo(t,e):i===xs?xa(t,e):i===Fa?Xm(t,e):void 0}(e,t,s):rs(e,e[1],i,t)}function eg(e,t,i,s){const l=t[19].queries[s];if(null===l.matches){const g=e.data,D=i.matches,w=[];for(let I=0;I<D.length;I+=2){const L=D[I];w.push(L<0?null:YC(t,g[L],D[I+1],i.metadata.read))}l.matches=w}return l.matches}function Ru(e,t,i,s){const l=e.queries.getByIndex(i),g=l.matches;if(null!==g){const D=eg(e,t,l,i);for(let w=0;w<g.length;w+=2){const I=g[w];if(I>0)s.push(D[w/2]);else{const L=g[w+1],re=t[-I];for(let Re=10;Re<re.length;Re++){const st=re[Re];st[17]===st[3]&&Ru(st[1],st,L,s)}if(null!==re[9]){const Re=re[9];for(let st=0;st<Re.length;st++){const pt=Re[st];Ru(pt[1],pt,L,s)}}}}}return s}function tg(e){const t=St(),i=on(),s=Vs();es(s+1);const l=ag(i,s);if(e.dirty&&x(t)===(2==(2&l.metadata.flags))){if(null===l.matches)e.reset([]);else{const g=l.crossesNgTemplate?Ru(i,t,s,[]):eg(i,t,l,s);e.reset(g,ky),e.notifyOnChanges()}return!0}return!1}function ng(e,t,i){const s=on();s.firstCreatePass&&(sg(s,new qm(e,t,i),-1),2==(2&t)&&(s.staticViewQueries=!0)),og(s,St(),t)}function ig(e,t,i,s){const l=on();if(l.firstCreatePass){const g=xn();sg(l,new qm(t,i,s),g.index),function JC(e,t){const i=e.contentQueries||(e.contentQueries=[]);t!==(i.length?i[i.length-1]:-1)&&i.push(e.queries.length-1,t)}(l,e),2==(2&i)&&(l.staticContentQueries=!0)}og(l,St(),i)}function rg(){return function ZC(e,t){return e[19].queries[t].queryList}(St(),Vs())}function og(e,t,i){const s=new Ra(4==(4&i));Oh(e,t,s,s.destroy),null===t[19]&&(t[19]=new Ou),t[19].queries.push(new Iu(s))}function sg(e,t,i){null===e.queries&&(e.queries=new Au),e.queries.track(new Pu(t,i))}function ag(e,t){return e.queries.getByIndex(t)}function lg(e,t){return xa(e,t)}const _i=(()=>({\u0275\u0275attribute:gc,\u0275\u0275attributeInterpolate1:vc,\u0275\u0275attributeInterpolate2:yc,\u0275\u0275attributeInterpolate3:_c,\u0275\u0275attributeInterpolate4:bc,\u0275\u0275attributeInterpolate5:Cc,\u0275\u0275attributeInterpolate6:Dc,\u0275\u0275attributeInterpolate7:Ec,\u0275\u0275attributeInterpolate8:Tc,\u0275\u0275attributeInterpolateV:wc,\u0275\u0275defineComponent:be,\u0275\u0275defineDirective:Ge,\u0275\u0275defineInjectable:Ve,\u0275\u0275defineInjector:Ue,\u0275\u0275defineNgModule:j,\u0275\u0275definePipe:yt,\u0275\u0275directiveInject:xo,\u0275\u0275getInheritedFactory:pd,\u0275\u0275inject:ti,\u0275\u0275injectAttribute:Ya,\u0275\u0275invalidFactory:ph,\u0275\u0275invalidFactoryDep:qa,\u0275\u0275templateRefExtractor:lg,\u0275\u0275resetView:ai,\u0275\u0275NgOnChangesFeature:ji,\u0275\u0275ProvidersFeature:ym,\u0275\u0275CopyDefinitionFeature:Qh,\u0275\u0275InheritDefinitionFeature:hc,\u0275\u0275StandaloneFeature:Cm,\u0275\u0275nextContext:lp,\u0275\u0275namespaceHTML:un,\u0275\u0275namespaceMathML:an,\u0275\u0275namespaceSVG:$t,\u0275\u0275enableBindings:Dn,\u0275\u0275disableBindings:Rn,\u0275\u0275elementStart:ba,\u0275\u0275elementEnd:Ca,\u0275\u0275element:Ic,\u0275\u0275elementContainerStart:Da,\u0275\u0275elementContainerEnd:Ea,\u0275\u0275elementContainer:Oc,\u0275\u0275pureFunction0:Om,\u0275\u0275pureFunction1:Am,\u0275\u0275pureFunction2:Pm,\u0275\u0275pureFunction3:Rm,\u0275\u0275pureFunction4:xm,\u0275\u0275pureFunction5:Fm,\u0275\u0275pureFunction6:km,\u0275\u0275pureFunction7:Nm,\u0275\u0275pureFunction8:Lm,\u0275\u0275pureFunctionV:jm,\u0275\u0275getCurrentView:np,\u0275\u0275restoreView:$i,\u0275\u0275listener:Pc,\u0275\u0275projection:up,\u0275\u0275syntheticHostProperty:uu,\u0275\u0275syntheticHostListener:Rc,\u0275\u0275pipeBind1:Wm,\u0275\u0275pipeBind2:Gm,\u0275\u0275pipeBind3:Km,\u0275\u0275pipeBind4:Ym,\u0275\u0275pipeBindV:Qm,\u0275\u0275projectionDef:cp,\u0275\u0275hostProperty:cu,\u0275\u0275property:Mc,\u0275\u0275propertyInterpolate:xc,\u0275\u0275propertyInterpolate1:Ta,\u0275\u0275propertyInterpolate2:Fc,\u0275\u0275propertyInterpolate3:kc,\u0275\u0275propertyInterpolate4:Nc,\u0275\u0275propertyInterpolate5:Lc,\u0275\u0275propertyInterpolate6:jc,\u0275\u0275propertyInterpolate7:Bc,\u0275\u0275propertyInterpolate8:Vc,\u0275\u0275propertyInterpolateV:$c,\u0275\u0275pipe:zm,\u0275\u0275queryRefresh:tg,\u0275\u0275viewQuery:ng,\u0275\u0275loadQuery:rg,\u0275\u0275contentQuery:ig,\u0275\u0275reference:tp,\u0275\u0275classMap:yp,\u0275\u0275classMapInterpolate1:Mp,\u0275\u0275classMapInterpolate2:Sp,\u0275\u0275classMapInterpolate3:Ip,\u0275\u0275classMapInterpolate4:Op,\u0275\u0275classMapInterpolate5:Ap,\u0275\u0275classMapInterpolate6:Pp,\u0275\u0275classMapInterpolate7:Rp,\u0275\u0275classMapInterpolate8:xp,\u0275\u0275classMapInterpolateV:Fp,\u0275\u0275styleMap:sr,\u0275\u0275styleMapInterpolate1:kp,\u0275\u0275styleMapInterpolate2:Np,\u0275\u0275styleMapInterpolate3:Lp,\u0275\u0275styleMapInterpolate4:jp,\u0275\u0275styleMapInterpolate5:Bp,\u0275\u0275styleMapInterpolate6:Vp,\u0275\u0275styleMapInterpolate7:$p,\u0275\u0275styleMapInterpolate8:Hp,\u0275\u0275styleMapInterpolateV:Up,\u0275\u0275styleProp:Hc,\u0275\u0275stylePropInterpolate1:eu,\u0275\u0275stylePropInterpolate2:tu,\u0275\u0275stylePropInterpolate3:nu,\u0275\u0275stylePropInterpolate4:iu,\u0275\u0275stylePropInterpolate5:ru,\u0275\u0275stylePropInterpolate6:ou,\u0275\u0275stylePropInterpolate7:su,\u0275\u0275stylePropInterpolate8:au,\u0275\u0275stylePropInterpolateV:lu,\u0275\u0275classProp:Uc,\u0275\u0275advance:th,\u0275\u0275template:qh,\u0275\u0275text:wp,\u0275\u0275textInterpolate:Wc,\u0275\u0275textInterpolate1:Ma,\u0275\u0275textInterpolate2:Gc,\u0275\u0275textInterpolate3:Kc,\u0275\u0275textInterpolate4:Yc,\u0275\u0275textInterpolate5:Qc,\u0275\u0275textInterpolate6:Zc,\u0275\u0275textInterpolate7:Jc,\u0275\u0275textInterpolate8:Xc,\u0275\u0275textInterpolateV:qc,\u0275\u0275i18n:hm,\u0275\u0275i18nAttributes:pm,\u0275\u0275i18nExp:vu,\u0275\u0275i18nStart:mu,\u0275\u0275i18nEnd:gu,\u0275\u0275i18nApply:mm,\u0275\u0275i18nPostprocess:gm,\u0275\u0275resolveWindow:If,\u0275\u0275resolveDocument:Of,\u0275\u0275resolveBody:Af,\u0275\u0275setComponentScope:me,\u0275\u0275setNgModuleScope:we,\u0275\u0275registerNgModuleType:tl,\u0275\u0275sanitizeHtml:Gd,\u0275\u0275sanitizeStyle:Kd,\u0275\u0275sanitizeResourceUrl:ul,\u0275\u0275sanitizeScript:Yd,\u0275\u0275sanitizeUrl:cl,\u0275\u0275sanitizeUrlOrResourceUrl:Jd,\u0275\u0275trustConstantHtml:Qd,\u0275\u0275trustConstantResourceUrl:Zd,forwardRef:b,resolveForwardRef:v}))();let Jo=null;function eD(){Jo=null}function ug(e){return!!Dt(e)}const Fs=[];let xu=!1;function dg(){if(!xu){xu=!0;try{for(let e=Fs.length-1;e>=0;e--){const{moduleType:t,ngModule:i}=Fs[e];i.declarations&&i.declarations.every(fg)&&(Fs.splice(e,1),rD(t,i))}}finally{xu=!1}}}function fg(e){return Array.isArray(e)?e.every(fg):!!v(e)}function hg(e,t={}){pg(e,t),void 0!==t.id&&tl(e,t.id),function tD(e,t){Fs.push({moduleType:e,ngModule:t})}(e,t)}function pg(e,t,i=!1){const s=Ri(t.declarations||tt);let l=null;Object.defineProperty(e,Yt,{configurable:!0,get:()=>(null===l&&(l=ri().compileNgModule(_i,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:Ri(t.bootstrap||tt).map(v),declarations:s.map(v),imports:Ri(t.imports||tt).map(v).map(yg),exports:Ri(t.exports||tt).map(v).map(yg),schemas:t.schemas?Ri(t.schemas):null,id:t.id||null}),l.schemas||(l.schemas=[])),l)});let g=null;Object.defineProperty(e,Nt,{get:()=>{if(null===g){const w=ri();g=w.compileFactory(_i,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Js(e),target:w.FactoryTarget.NgModule,typeArgumentCount:0})}return g},configurable:!1});let D=null;Object.defineProperty(e,Le,{get:()=>{if(null===D){const w={name:e.name,type:e,providers:t.providers||tt,imports:[(t.imports||tt).map(v),(t.exports||tt).map(v)]};D=ri().compileInjector(_i,`ng:///${e.name}/\u0275inj.js`,w)}return D},configurable:!1})}function Xo(e){const t=ee(e)||Ie(e)||at(e);return null!==t&&t.standalone}let ka=new WeakMap,ku=new WeakMap;function iD(){ka=new WeakMap,ku=new WeakMap,Fs.length=0}function rD(e,t){const i=Ri(t.declarations||tt),s=ho(e);i.forEach(l=>{(l=v(l)).hasOwnProperty(mt)?Nu(ee(l),s):!l.hasOwnProperty(Ft)&&!l.hasOwnProperty(At)&&(l.ngSelectorScope=e)})}function Nu(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(i=>i.hasOwnProperty(mt)?ee(i):Ie(i)).filter(i=>!!i),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(i=>at(i)),e.schemas=t.schemas,e.tView=null}function ho(e){if(ug(e))return function oD(e){const t=Dt(e,!0);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const i={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Lr(t.imports).forEach(s=>{const l=ho(s);l.exported.directives.forEach(g=>i.compilation.directives.add(g)),l.exported.pipes.forEach(g=>i.compilation.pipes.add(g))}),Lr(t.declarations).forEach(s=>{at(s)?i.compilation.pipes.add(s):i.compilation.directives.add(s)}),Lr(t.exports).forEach(s=>{const l=s;if(ug(l)){const g=ho(l);g.exported.directives.forEach(D=>{i.compilation.directives.add(D),i.exported.directives.add(D)}),g.exported.pipes.forEach(D=>{i.compilation.pipes.add(D),i.exported.pipes.add(D)})}else at(l)?i.exported.pipes.add(l):i.exported.directives.add(l)}),t.transitiveCompileScopes=i,i}(e);if(Xo(e)){if(null!==(ee(e)||Ie(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==at(e))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([e])}}}throw new Error(`${e.name} does not have a module def (\u0275mod property)`)}function yg(e){return function cg(e){return void 0!==e.ngModule}(e)?e.ngModule:e}let Lu=0;function _g(e,t){let i=null;(function Kv(e,t){Od(t)&&(wo.set(e,t),fs.add(e))})(e,t),Cg(e,t),Object.defineProperty(e,mt,{get:()=>{if(null===i){const s=ri();if(Od(t)){const L=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&L.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&L.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),L.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(L.join("\n"))}const l=function qC(){return Jo}();let g=t.preserveWhitespaces;void 0===g&&(g=null!==l&&void 0!==l.preserveWhitespaces&&l.preserveWhitespaces);let D=t.encapsulation;void 0===D&&(D=null!==l&&void 0!==l.defaultEncapsulation?l.defaultEncapsulation:xe.Emulated);const w=t.templateUrl||`ng:///${e.name}/template.html`,I=Object.assign(Object.assign({},Dg(e,t)),{typeSourceSpan:s.createParseSourceSpan("Component",e.name,w),template:t.template||"",preserveWhitespaces:g,styles:t.styles||tt,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:D,interpolation:t.interpolation,viewProviders:t.viewProviders||null,isStandalone:!!t.standalone});Lu++;try{if(I.usesInheritance&&Eg(e),i=s.compileComponent(_i,w,I),t.standalone){const L=Ri(t.imports||tt),{directiveDefs:re,pipeDefs:Re}=function aD(e,t){let i=null,s=null;return{directiveDefs:()=>{if(null===i){i=[ee(e)];const D=new Set;for(const w of t){const I=v(w);if(!D.has(I))if(D.add(I),Dt(I)){const L=ho(I);for(const re of L.exported.directives){const Re=ee(re)||Ie(re);Re&&!D.has(re)&&(D.add(re),i.push(Re))}}else{const L=ee(I)||Ie(I);L&&i.push(L)}}}return i},pipeDefs:()=>{if(null===s){s=[];const D=new Set;for(const w of t){const I=v(w);if(!D.has(I))if(D.add(I),Dt(I)){const L=ho(I);for(const re of L.exported.pipes){const Re=at(re);Re&&!D.has(re)&&(D.add(re),s.push(Re))}}else{const L=at(I);L&&s.push(L)}}}return s}}}(e,L);i.directiveDefs=re,i.pipeDefs=Re,i.dependencies=()=>L.map(v)}}finally{Lu--}if(0===Lu&&dg(),function lD(e){return void 0!==e.ngSelectorScope}(e)){const L=ho(e.ngSelectorScope);Nu(i,L)}if(t.schemas){if(!t.standalone)throw new Error(`The 'schemas' was specified for the ${N(e)} but is only valid on a component that is standalone.`);i.schemas=t.schemas}else t.standalone&&(i.schemas=[])}return i},configurable:!1})}function ju(e,t){let i=null;Cg(e,t||{}),Object.defineProperty(e,Ft,{get:()=>{if(null===i){const s=bg(e,t||{});i=ri().compileDirective(_i,s.sourceMapUrl,s.metadata)}return i},configurable:!1})}function bg(e,t){const i=e&&e.name,s=`ng:///${i}/\u0275dir.js`,l=ri(),g=Dg(e,t);return g.typeSourceSpan=l.createParseSourceSpan("Directive",i,s),g.usesInheritance&&Eg(e),{metadata:g,sourceMapUrl:s}}function Cg(e,t){let i=null;Object.defineProperty(e,Nt,{get:()=>{if(null===i){const s=bg(e,t),l=ri();i=l.compileFactory(_i,`ng:///${e.name}/\u0275fac.js`,{name:s.metadata.name,type:s.metadata.type,typeArgumentCount:0,deps:Js(e),target:l.FactoryTarget.Directive})}return i},configurable:!1})}function cD(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Dg(e,t){const i=ds(),s=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||ke,propMetadata:s,inputs:t.inputs||tt,outputs:t.outputs||tt,queries:Tg(e,s,wg),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!cD(e),exportAs:fD(t.exportAs),providers:t.providers||null,viewQueries:Tg(e,s,Mg),isStandalone:!!t.standalone}}function Eg(e){const t=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==t;)!Ie(i)&&!ee(i)&&pD(i)&&ju(i,null),i=Object.getPrototypeOf(i)}function uD(e){return"string"==typeof e?Ig(e):v(e)}function dD(e,t){return{propertyName:e,predicate:uD(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function Tg(e,t,i){const s=[];for(const l in t)if(t.hasOwnProperty(l)){const g=t[l];g.forEach(D=>{if(i(D)){if(!D.selector)throw new Error(`Can't construct a query for the property "${l}" of "${N(e)}" since the query selector wasn't defined.`);if(g.some(Sg))throw new Error("Cannot combine @Input decorators with query decorators");s.push(dD(l,D))}})}return s}function fD(e){return void 0===e?null:Ig(e)}function wg(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function Mg(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Sg(e){return"Input"===e.ngMetadataName}function Ig(e){return e.split(",").map(t=>t.trim())}const hD=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function pD(e){const t=ds();if(hD.some(s=>t.hasLifecycleHook(e,s)))return!0;const i=t.propMetadata(e);for(const s in i){const l=i[s];for(let g=0;g<l.length;g++){const D=l[g],w=D.ngMetadataName;if(Sg(D)||wg(D)||Mg(D)||"Output"===w||"HostBinding"===w||"HostListener"===w)return!0}}return!1}function Og(e,t){let i=null,s=null;Object.defineProperty(e,Nt,{get:()=>{if(null===s){const l=Ag(e,t),g=ri();s=g.compileFactory(_i,`ng:///${l.name}/\u0275fac.js`,{name:l.name,type:l.type,typeArgumentCount:0,deps:Js(e),target:g.FactoryTarget.Pipe})}return s},configurable:!1}),Object.defineProperty(e,At,{get:()=>{if(null===i){const l=Ag(e,t);i=ri().compilePipe(_i,`ng:///${l.name}/\u0275pipe.js`,l)}return i},configurable:!1})}function Ag(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure,isStandalone:!!t.standalone}}const Pg=Co("Directive",(e={})=>e,void 0,void 0,(e,t)=>ju(e,t)),mD=Co("Component",(e={})=>Object.assign({changeDetection:ve.Default},e),Pg,void 0,(e,t)=>_g(e,t)),gD=Co("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>Og(e,t)),vD=Gr("Input",e=>({bindingPropertyName:e})),yD=Gr("Output",e=>({bindingPropertyName:e})),_D=Gr("HostBinding",e=>({hostPropertyName:e})),bD=Gr("HostListener",(e,t)=>({eventName:e,args:t})),CD=Co("NgModule",e=>e,void 0,void 0,(e,t)=>hg(e,t));function Na(...e){}const Rg=new Pn("Application Initializer");let La=(()=>{class e{constructor(i){this.appInits=i,this.resolve=Na,this.reject=Na,this.initialized=!1,this.done=!1,this.donePromise=new Promise((s,l)=>{this.resolve=s,this.reject=l})}runInitializers(){if(this.initialized)return;const i=[],s=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let l=0;l<this.appInits.length;l++){const g=this.appInits[l]();if(Ac(g))i.push(g);else if(rp(g)){const D=new Promise((w,I)=>{g.subscribe({complete:w,error:I})});i.push(D)}}Promise.all(i).then(()=>{s()}).catch(l=>{this.reject(l)}),0===i.length&&s(),this.initialized=!0}}return e.\u0275fac=function(i){return new(i||e)(ti(Rg,8))},e.\u0275prov=Ve({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const xg=new Pn("AppId",{providedIn:"root",factory:Fg});function Fg(){return`${Bu()}${Bu()}${Bu()}`}const DD={provide:xg,useFactory:Fg,deps:[]};function Bu(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const kg=new Pn("Platform Initializer"),ED=new Pn("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Ng=new Pn("appBootstrapListener"),TD=new Pn("Application Packages Root URL"),wD=new Pn("AnimationModuleType");let MD=(()=>{class e{log(i){console.log(i)}warn(i){console.warn(i)}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Ve({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const ja=new Pn("LocaleId",{providedIn:"root",factory:()=>Td(ja,Be.Optional|Be.SkipSelf)||function SD(){return"undefined"!=typeof $localize&&$localize.locale||fo}()}),ID=new Pn("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"}),OD=new Pn("Translations"),AD=new Pn("TranslationsFormat");var Sr=(()=>((Sr=Sr||{})[Sr.Error=0]="Error",Sr[Sr.Warning=1]="Warning",Sr[Sr.Ignore=2]="Ignore",Sr))();class Lg{constructor(t,i){this.ngModuleFactory=t,this.componentFactories=i}}let PD=(()=>{class e{compileModuleSync(i){return new Pa(i)}compileModuleAsync(i){return Promise.resolve(this.compileModuleSync(i))}compileModuleAndAllComponentsSync(i){const s=this.compileModuleSync(i),g=Lr(Dt(i).declarations).reduce((D,w)=>{const I=ee(w);return I&&D.push(new Lo(I)),D},[]);return new Lg(s,g)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Ve({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const jg=new Pn("compilerOptions");class RD{}function xD(e){Xh(e),Tm(e).forEach(t=>Jh(t))}let Vg=!1;function FD(){Vg||(Vg=!0,zi("\u0275setProfiler",mr),zi("getDirectiveMetadata",PC),zi("getComponent",Tu),zi("getContext",Dm),zi("getListeners",Sm),zi("getOwningComponent",Em),zi("getHostElement",wu),zi("getInjector",wm),zi("getRootComponents",Tm),zi("getDirectives",Mm),zi("applyChanges",xD))}function zi(e,t){if("undefined"==typeof COMPILED||!COMPILED){const i=W;if(i){let s=i.ng;s||(s=i.ng={}),s[e]=t}}}const kD=(()=>Promise.resolve(0))();function Vu(e){"undefined"==typeof Zone?kD.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class ki{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:i=!1,shouldCoalesceRunChangeDetection:s=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mr(!1),this.onMicrotaskEmpty=new Mr(!1),this.onStable=new Mr(!1),this.onError=new Mr(!1),"undefined"==typeof Zone)throw new M(908,!1);Zone.assertZonePatched();const l=this;if(l._nesting=0,l._outer=l._inner=Zone.current,Zone.AsyncStackTaggingZoneSpec){const g=Zone.AsyncStackTaggingZoneSpec;l._inner=l._inner.fork(new g("Angular"))}Zone.TaskTrackingZoneSpec&&(l._inner=l._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(l._inner=l._inner.fork(Zone.longStackTraceZoneSpec)),l.shouldCoalesceEventChangeDetection=!s&&i,l.shouldCoalesceRunChangeDetection=s,l.lastRequestAnimationFrameId=-1,l.nativeRequestAnimationFrame=function ND(){let e=W.requestAnimationFrame,t=W.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const i=e[Zone.__symbol__("OriginalDelegate")];i&&(e=i);const s=t[Zone.__symbol__("OriginalDelegate")];s&&(t=s)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function BD(e){const t=()=>{!function jD(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(W,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Hu(e),e.isCheckStableRunning=!0,$u(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Hu(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(i,s,l,g,D,w)=>{try{return $g(e),i.invokeTask(l,g,D,w)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===g.type||e.shouldCoalesceRunChangeDetection)&&t(),Hg(e)}},onInvoke:(i,s,l,g,D,w,I)=>{try{return $g(e),i.invoke(l,g,D,w,I)}finally{e.shouldCoalesceRunChangeDetection&&t(),Hg(e)}},onHasTask:(i,s,l,g)=>{i.hasTask(l,g),s===l&&("microTask"==g.change?(e._hasPendingMicrotasks=g.microTask,Hu(e),$u(e)):"macroTask"==g.change&&(e.hasPendingMacrotasks=g.macroTask))},onHandleError:(i,s,l,g)=>(i.handleError(l,g),e.runOutsideAngular(()=>e.onError.emit(g)),!1)})}(l)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!ki.isInAngularZone())throw new M(909,!1)}static assertNotInAngularZone(){if(ki.isInAngularZone())throw new M(909,!1)}run(t,i,s){return this._inner.run(t,i,s)}runTask(t,i,s,l){const g=this._inner,D=g.scheduleEventTask("NgZoneEvent: "+l,t,LD,Na,Na);try{return g.runTask(D,i,s)}finally{g.cancelTask(D)}}runGuarded(t,i,s){return this._inner.runGuarded(t,i,s)}runOutsideAngular(t){return this._outer.run(t)}}const LD={};function $u(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 Hu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function $g(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Hg(e){e._nesting--,$u(e)}class Ug{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mr,this.onMicrotaskEmpty=new Mr,this.onStable=new Mr,this.onError=new Mr}run(t,i,s){return t.apply(i,s)}runGuarded(t,i,s){return t.apply(i,s)}runOutsideAngular(t){return t()}runTask(t,i,s,l){return t.apply(i,s)}}const zg=new Pn(""),Wg=new Pn("");let ks,VD=(()=>{class e{constructor(i,s,l){this._ngZone=i,this.registry=s,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,ks||(Kg(l),l.addToWindow(s)),this._watchAngularEvents(),i.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?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:()=>{ki.assertNotInAngularZone(),Vu(()=>{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())Vu(()=>{for(;0!==this._callbacks.length;){let i=this._callbacks.pop();clearTimeout(i.timeoutId),i.doneCb(this._didWork)}this._didWork=!1});else{let i=this.getPendingTasks();this._callbacks=this._callbacks.filter(s=>!s.updateCb||!s.updateCb(i)||(clearTimeout(s.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(i=>({source:i.source,creationLocation:i.creationLocation,data:i.data})):[]}addCallback(i,s,l){let g=-1;s&&s>0&&(g=setTimeout(()=>{this._callbacks=this._callbacks.filter(D=>D.timeoutId!==g),i(this._didWork,this.getPendingTasks())},s)),this._callbacks.push({doneCb:i,timeoutId:g,updateCb:l})}whenStable(i,s,l){if(l&&!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(i,s,l),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(i){this.registry.registerApplication(i,this)}unregisterApplication(i){this.registry.unregisterApplication(i)}findProviders(i,s,l){return[]}}return e.\u0275fac=function(i){return new(i||e)(ti(ki),ti(Gg),ti(Wg))},e.\u0275prov=Ve({token:e,factory:e.\u0275fac}),e})(),Gg=(()=>{class e{constructor(){this._applications=new Map}registerApplication(i,s){this._applications.set(i,s)}unregisterApplication(i){this._applications.delete(i)}unregisterAllApplications(){this._applications.clear()}getTestability(i){return this._applications.get(i)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(i,s=!0){var l;return null!==(l=null==ks?void 0:ks.findTestabilityInTree(this,i,s))&&void 0!==l?l:null}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Ve({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function Kg(e){ks=e}let Ir=null;const Uu=new Pn("AllowMultipleToken"),zu=new Pn("PlatformDestroyListeners");function Yg(e,t,i){const s=new Pa(i);return Promise.resolve(s)}function Qg(e){return e.isBoundToModule}class $D{constructor(t,i){this.name=t,this.token=i}}function Zg(e){if(Ir&&!Ir.get(Uu,!1))throw new M(400,!1);Ir=e;const t=e.get(Wu);return Jg(e),t}function Jg(e){const t=e.get(kg,null);t&&t.forEach(i=>i())}function UD(e){const{rootComponent:t,appProviders:i,platformProviders:s}=e,l=function HD(e=[]){if(Ir)return Ir;const t=ev(e);return Ir=t,Jg(t),t}(s),g=new ki(tv());return g.run(()=>{const w=Eu([{provide:ki,useValue:g},...i||[]],l,"Environment Injector"),I=w.get(ys,null);let L;return g.runOutsideAngular(()=>{L=g.onError.subscribe({next:re=>{I.handleError(re)}})}),nv(I,g,()=>{const re=w.get(La);return re.runInitializers(),re.donePromise.then(()=>{fu(w.get(ja,fo)||fo);const st=w.get(Va),pt=()=>st.destroy(),Mt=l.get(zu,null);return null==Mt||Mt.add(pt),st.onDestroy(()=>{null==Mt||Mt.delete(pt),L.unsubscribe()}),st.bootstrap(t),st})})})}function Xg(e,t,i=[]){const s=`Platform: ${t}`,l=new Pn(s);return(g=[])=>{let D=Ba();if(!D||D.injector.get(Uu,!1)){const w=[...i,...g,{provide:l,useValue:!0}];e?e(w):Zg(ev(w,s))}return qg()}}function qg(e){const t=Ba();if(!t)throw new M(401,!1);return t}function ev(e=[],t){return Yr.create({name:t,providers:[{provide:ml,useValue:"platform"},{provide:zu,useValue:new Set([()=>Ir=null])},...e]})}function zD(){var e;null===(e=Ba())||void 0===e||e.destroy()}function Ba(){var e;return null!==(e=null==Ir?void 0:Ir.get(Wu))&&void 0!==e?e:null}let Wu=(()=>{class e{constructor(i){this._injector=i,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(i,s){const l=function WD(e,t){let i;return i="noop"===e?new Ug:("zone.js"===e?void 0:e)||new ki(t),i}(null==s?void 0:s.ngZone,tv(s)),g=[{provide:ki,useValue:l}];return l.run(()=>{const D=Yr.create({providers:g,parent:this.injector,name:i.moduleType.name}),w=i.create(D),I=w.injector.get(ys,null);if(!I)throw new M(402,!1);return l.runOutsideAngular(()=>{const L=l.onError.subscribe({next:re=>{I.handleError(re)}});w.onDestroy(()=>{$a(this._modules,w),L.unsubscribe()})}),nv(I,l,()=>{const L=w.injector.get(La);return L.runInitializers(),L.donePromise.then(()=>(fu(w.injector.get(ja,fo)||fo),this._moduleDoBootstrap(w),w))})})}bootstrapModule(i,s=[]){const l=iv({},s);return Yg(0,0,i).then(g=>this.bootstrapModuleFactory(g,l))}_moduleDoBootstrap(i){const s=i.injector.get(Va);if(i._bootstrapComponents.length>0)i._bootstrapComponents.forEach(l=>s.bootstrap(l));else{if(!i.instance.ngDoBootstrap)throw new M(403,!1);i.instance.ngDoBootstrap(s)}this._modules.push(i)}onDestroy(i){this._destroyListeners.push(i)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new M(404,!1);this._modules.slice().forEach(s=>s.destroy()),this._destroyListeners.forEach(s=>s());const i=this._injector.get(zu,null);i&&(i.forEach(s=>s()),i.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(i){return new(i||e)(ti(Yr))},e.\u0275prov=Ve({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();function tv(e){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!e||!e.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!e||!e.ngZoneRunCoalescing)||!1}}function nv(e,t,i){try{const s=i();return Ac(s)?s.catch(l=>{throw t.runOutsideAngular(()=>e.handleError(l)),l}):s}catch(s){throw t.runOutsideAngular(()=>e.handleError(s)),s}}function iv(e,t){return Array.isArray(t)?t.reduce(iv,e):Object.assign(Object.assign({},e),t)}let Va=(()=>{class e{constructor(i,s,l){this._zone=i,this._injector=s,this._exceptionHandler=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const g=new _.y(w=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{w.next(this._stable),w.complete()})}),D=new _.y(w=>{let I;this._zone.runOutsideAngular(()=>{I=this._zone.onStable.subscribe(()=>{ki.assertNotInAngularZone(),Vu(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,w.next(!0))})})});const L=this._zone.onUnstable.subscribe(()=>{ki.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{w.next(!1)}))});return()=>{I.unsubscribe(),L.unsubscribe()}});this.isStable=(0,u.T)(g,D.pipe((0,r.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(i,s){const l=i instanceof ra;if(!this._injector.get(La).done)throw!l&&Xo(i),new M(405,false);let D;D=l?i:this._injector.get(gs).resolveComponentFactory(i),this.componentTypes.push(D.componentType);const w=Qg(D)?void 0:this._injector.get(Zo),L=D.create(Yr.NULL,[],s||D.selector,w),re=L.location.nativeElement,Re=L.injector.get(zg,null);return null==Re||Re.registerApplication(re),L.onDestroy(()=>{this.detachView(L.hostView),$a(this.components,L),null==Re||Re.unregisterApplication(re)}),this._loadComponent(L),L}tick(){if(this._runningTick)throw new M(101,!1);try{this._runningTick=!0;for(let i of this._views)i.detectChanges()}catch(i){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(i))}finally{this._runningTick=!1}}attachView(i){const s=i;this._views.push(s),s.attachToAppRef(this)}detachView(i){const s=i;$a(this._views,s),s.detachFromAppRef()}_loadComponent(i){this.attachView(i.hostView),this.tick(),this.components.push(i),this._injector.get(Ng,[]).concat(this._bootstrapListeners).forEach(l=>l(i))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(i=>i()),this._views.slice().forEach(i=>i.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(i){return this._destroyListeners.push(i),()=>$a(this._destroyListeners,i)}destroy(){if(this._destroyed)throw new M(406,!1);const i=this._injector;i.destroy&&!i.destroyed&&i.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return e.\u0275fac=function(i){return new(i||e)(ti(ki),ti(so),ti(ys))},e.\u0275prov=Ve({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();function $a(e,t){const i=e.indexOf(t);i>-1&&e.splice(i,1)}let ov=!0,sv=!1;function KD(){return sv=!0,ov}function YD(){if(sv)throw new Error("Cannot enable prod mode after platform setup.");ov=!1}function QD(e){const t=Rd(e);if(!t)throw av(e);return new Pa(t)}function ZD(e){const t=Rd(e);if(!t)throw av(e);return t}function av(e){return new Error(`No module with ID ${e} loaded`)}let lv=(()=>{class e{}return e.__NG_ELEMENT_ID__=cv,e})();function cv(e){return function JD(e,t,i){if(wi(e)&&!i){const s=Qn(e.index,t);return new No(s,s)}return 47&e.type?new No(t[16],t):null}(xn(),St(),16==(16&e))}class uv extends lv{}class XD extends uv{}class qD{constructor(t,i){this.name=t,this.callback=i}}function eE(e){return e.map(t=>t.nativeElement)}class Gu{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new Ns(t):null}get injector(){return wm(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(Tu(t)||Em(t))}get context(){return Tu(this.nativeNode)||Dm(this.nativeNode)}get listeners(){return Sm(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function RC(e){const t=ui(e);if(null===t)return{};if(void 0===t.localRefs){const i=t.lView;if(null===i)return{};t.localRefs=function s_(e,t){const i=e[1].data[t];if(i&&i.localNames){const s={};let l=i.index+1;for(let g=0;g<i.localNames.length;g+=2)s[i.localNames[g]]=e[l],l++;return s}return null}(i,t.nodeIndex)}return t.localRefs||{}}(this.nativeNode)}get providerTokens(){return function AC(e){const t=ui(e),i=t?t.lView:null;if(null===i)return[];const s=i[1],l=s.data[t.nodeIndex],g=[],w=l.directiveEnd;for(let I=1048575&l.providerIndexes;I<w;I++){let L=s.data[I];FC(L)&&(L=L.type),g.push(L)}return g}(this.nativeNode)}}class Ns extends Gu{constructor(t){super(t)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){const t=ui(this.nativeNode),i=t?t.lView:null;return null!==i?i[1].data[t.nodeIndex].value:this.nativeNode.nodeName}get properties(){const t=ui(this.nativeNode),i=t?t.lView:null;if(null===i)return{};const s=i[1].data,l=s[t.nodeIndex],g={};return function tE(e,t){if(e){let i=Object.getPrototypeOf(e);const s=Node.prototype;for(;null!==i&&i!==s;){const l=Object.getOwnPropertyDescriptors(i);for(let g in l)if(!g.startsWith("__")&&!g.startsWith("on")){const D=e[g];nE(D)&&(t[g]=D)}i=Object.getPrototypeOf(i)}}}(this.nativeElement,g),function iE(e,t,i,s){let l=t.propertyBindings;if(null!==l)for(let g=0;g<l.length;g++){const D=l[g],I=s[D].split("\ufffd"),L=I[0];if(I.length>1){let re=I[1];for(let Re=1;Re<I.length-1;Re++)re+=P(i[D+Re-1])+I[Re+1];e[L]=re}else e[L]=i[D]}}(g,l,i,s),g}get attributes(){const t={},i=this.nativeElement;if(!i)return t;const s=ui(i),l=s?s.lView:null;if(null===l)return{};const g=l[1].data[s.nodeIndex].attrs,D=[];if(g){let I=0;for(;I<g.length;){const L=g[I];if("string"!=typeof L)break;t[L]=g[I+1],D.push(L.toLowerCase()),I+=2}}const w=i.attributes;for(let I=0;I<w.length;I++){const L=w[I],re=L.name.toLowerCase();-1===D.indexOf(re)&&(t[re]=L.value)}return t}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const t={},s=this.nativeElement.className;return("string"!=typeof s?s.baseVal.split(" "):s.split(" ")).forEach(g=>t[g]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,i=[];for(let s=0;s<t.length;s++)i.push(qo(t[s]));return i}get children(){const t=this.nativeElement;if(!t)return[];const i=t.children,s=[];for(let l=0;l<i.length;l++)s.push(qo(i[l]));return s}query(t){return this.queryAll(t)[0]||null}queryAll(t){const i=[];return dv(this,t,i,!0),i}queryAllNodes(t){const i=[];return dv(this,t,i,!1),i}triggerEventHandler(t,i){const s=this.nativeNode,l=[];this.listeners.forEach(g=>{if(g.name===t){const D=g.callback;D.call(s,i),l.push(D)}}),"function"==typeof s.eventListeners&&s.eventListeners(t).forEach(g=>{if(-1!==g.toString().indexOf("__ngUnwrap__")){const D=g("__ngUnwrap__");return-1===l.indexOf(D)&&D.call(s,i)}})}}function nE(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function dv(e,t,i,s){const l=ui(e.nativeNode),g=l?l.lView:null;null!==g?po(g[1].data[l.nodeIndex],g,t,i,s,e.nativeNode):Yu(e.nativeNode,t,i,s)}function po(e,t,i,s,l,g){const D=function qn(e,t){const i=null===e?-1:e.index;return-1!==i?bn(t[i]):null}(e,t);if(11&e.type){if(Ku(D,i,s,l,g),wi(e)){const I=Qn(e.index,t);I&&I[1].firstChild&&po(I[1].firstChild,I,i,s,l,g)}else e.child&&po(e.child,t,i,s,l,g),D&&Yu(D,i,s,l);const w=t[e.index];Nn(w)&&fv(w,i,s,l,g)}else if(4&e.type){const w=t[e.index];Ku(w[7],i,s,l,g),fv(w,i,s,l,g)}else if(16&e.type){const w=t[16],L=w[6].projection[e.projection];if(Array.isArray(L))for(let re of L)Ku(re,i,s,l,g);else if(L){const re=w[3];po(re[1].data[L.index],re,i,s,l,g)}}else e.child&&po(e.child,t,i,s,l,g);if(g!==D){const w=4&e.flags?e.projectionNext:e.next;w&&po(w,t,i,s,l,g)}}function fv(e,t,i,s,l){for(let g=10;g<e.length;g++){const D=e[g],w=D[1].firstChild;w&&po(w,D,t,i,s,l)}}function Ku(e,t,i,s,l){if(l!==e){const g=qo(e);if(!g)return;(s&&g instanceof Ns&&t(g)&&-1===i.indexOf(g)||!s&&t(g)&&-1===i.indexOf(g))&&i.push(g)}}function Yu(e,t,i,s){const l=e.childNodes,g=l.length;for(let D=0;D<g;D++){const w=l[D],I=qo(w);I&&((s&&I instanceof Ns&&t(I)&&-1===i.indexOf(I)||!s&&t(I)&&-1===i.indexOf(I))&&i.push(I),Yu(w,t,i,s))}}const Zu="__ng_debug__";function qo(e){return e instanceof Node?(e.hasOwnProperty(Zu)||(e[Zu]=e.nodeType==Node.ELEMENT_NODE?new Ns(e):new Gu(e)),e[Zu]):null}function rE(e){return null}class hv{constructor(){}supports(t){return Ts(t)}create(t){return new pv(t)}}const oE=(e,t)=>t;class pv{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||oE}forEachItem(t){let i;for(i=this._itHead;null!==i;i=i._next)t(i)}forEachOperation(t){let i=this._itHead,s=this._removalsHead,l=0,g=null;for(;i||s;){const D=!s||i&&i.currentIndex<gv(s,l,g)?i:s,w=gv(D,l,g),I=D.currentIndex;if(D===s)l--,s=s._nextRemoved;else if(i=i._next,null==D.previousIndex)l++;else{g||(g=[]);const L=w-l,re=I-l;if(L!=re){for(let st=0;st<L;st++){const pt=st<g.length?g[st]:g[st]=0,Mt=pt+st;re<=Mt&&Mt<L&&(g[st]=pt+1)}g[D.previousIndex]=re-L}}w!==I&&t(D,w,I)}}forEachPreviousItem(t){let i;for(i=this._previousItHead;null!==i;i=i._nextPrevious)t(i)}forEachAddedItem(t){let i;for(i=this._additionsHead;null!==i;i=i._nextAdded)t(i)}forEachMovedItem(t){let i;for(i=this._movesHead;null!==i;i=i._nextMoved)t(i)}forEachRemovedItem(t){let i;for(i=this._removalsHead;null!==i;i=i._nextRemoved)t(i)}forEachIdentityChange(t){let i;for(i=this._identityChangesHead;null!==i;i=i._nextIdentityChange)t(i)}diff(t){if(null==t&&(t=[]),!Ts(t))throw new M(900,!1);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let l,g,D,i=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(let w=0;w<this.length;w++)g=t[w],D=this._trackByFn(w,g),null!==i&&Object.is(i.trackById,D)?(s&&(i=this._verifyReinsertion(i,g,D,w)),Object.is(i.item,g)||this._addIdentityChange(i,g)):(i=this._mismatch(i,g,D,w),s=!0),i=i._next}else l=0,function o0(e,t){if(Array.isArray(e))for(let i=0;i<e.length;i++)t(e[i]);else{const i=e[lo()]();let s;for(;!(s=i.next()).done;)t(s.value)}}(t,w=>{D=this._trackByFn(l,w),null!==i&&Object.is(i.trackById,D)?(s&&(i=this._verifyReinsertion(i,w,D,l)),Object.is(i.item,w)||this._addIdentityChange(i,w)):(i=this._mismatch(i,w,D,l),s=!0),i=i._next,l++}),this.length=l;return this._truncate(i),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,i,s,l){let g;return null===t?g=this._itTail:(g=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._reinsertAfter(t,g,l)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(s,l))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,g,l)):t=this._addAfter(new sE(i,s),g,l),t}_verifyReinsertion(t,i,s,l){let g=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null);return null!==g?t=this._reinsertAfter(g,t._prev,l):t.currentIndex!=l&&(t.currentIndex=l,this._addToMoves(t,l)),t}_truncate(t){for(;null!==t;){const i=t._next;this._addToRemovals(this._unlink(t)),t=i}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,i,s){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const l=t._prevRemoved,g=t._nextRemoved;return null===l?this._removalsHead=g:l._nextRemoved=g,null===g?this._removalsTail=l:g._prevRemoved=l,this._insertAfter(t,i,s),this._addToMoves(t,s),t}_moveAfter(t,i,s){return this._unlink(t),this._insertAfter(t,i,s),this._addToMoves(t,s),t}_addAfter(t,i,s){return this._insertAfter(t,i,s),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,i,s){const l=null===i?this._itHead:i._next;return t._next=l,t._prev=i,null===l?this._itTail=t:l._prev=t,null===i?this._itHead=t:i._next=t,null===this._linkedRecords&&(this._linkedRecords=new mv),this._linkedRecords.put(t),t.currentIndex=s,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const i=t._prev,s=t._next;return null===i?this._itHead=s:i._next=s,null===s?this._itTail=i:s._prev=i,t}_addToMoves(t,i){return t.previousIndex===i||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new mv),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,i){return t.item=i,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class sE{constructor(t,i){this.item=t,this.trackById=i,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 aE{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,i){let s;for(s=this._head;null!==s;s=s._nextDup)if((null===i||i<=s.currentIndex)&&Object.is(s.trackById,t))return s;return null}remove(t){const i=t._prevDup,s=t._nextDup;return null===i?this._head=s:i._nextDup=s,null===s?this._tail=i:s._prevDup=i,null===this._head}}class mv{constructor(){this.map=new Map}put(t){const i=t.trackById;let s=this.map.get(i);s||(s=new aE,this.map.set(i,s)),s.add(t)}get(t,i){const l=this.map.get(t);return l?l.get(t,i):null}remove(t){const i=t.trackById;return this.map.get(i).remove(t)&&this.map.delete(i),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function gv(e,t,i){const s=e.previousIndex;if(null===s)return s;let l=0;return i&&s<i.length&&(l=i[s]),s+t+l}class vv{constructor(){}supports(t){return t instanceof Map||mc(t)}create(){return new lE}}class lE{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 i;for(i=this._mapHead;null!==i;i=i._next)t(i)}forEachPreviousItem(t){let i;for(i=this._previousMapHead;null!==i;i=i._nextPrevious)t(i)}forEachChangedItem(t){let i;for(i=this._changesHead;null!==i;i=i._nextChanged)t(i)}forEachAddedItem(t){let i;for(i=this._additionsHead;null!==i;i=i._nextAdded)t(i)}forEachRemovedItem(t){let i;for(i=this._removalsHead;null!==i;i=i._nextRemoved)t(i)}diff(t){if(t){if(!(t instanceof Map||mc(t)))throw new M(900,!1)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i=this._mapHead;if(this._appendAfter=null,this._forEach(t,(s,l)=>{if(i&&i.key===l)this._maybeAddToChanges(i,s),this._appendAfter=i,i=i._next;else{const g=this._getOrCreateRecordForKey(l,s);i=this._insertBeforeOrAppend(i,g)}}),i){i._prev&&(i._prev._next=null),this._removalsHead=i;for(let s=i;null!==s;s=s._nextRemoved)s===this._mapHead&&(this._mapHead=null),this._records.delete(s.key),s._nextRemoved=s._next,s.previousValue=s.currentValue,s.currentValue=null,s._prev=null,s._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,i){if(t){const s=t._prev;return i._next=t,i._prev=s,t._prev=i,s&&(s._next=i),t===this._mapHead&&(this._mapHead=i),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=i,i._prev=this._appendAfter):this._mapHead=i,this._appendAfter=i,null}_getOrCreateRecordForKey(t,i){if(this._records.has(t)){const l=this._records.get(t);this._maybeAddToChanges(l,i);const g=l._prev,D=l._next;return g&&(g._next=D),D&&(D._prev=g),l._next=null,l._prev=null,l}const s=new cE(t);return this._records.set(t,s),s.currentValue=i,this._addToAdditions(s),s}_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,i){Object.is(i,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=i,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,i){t instanceof Map?t.forEach(i):Object.keys(t).forEach(s=>i(t[s],s))}}class cE{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 yv(){return new Ju([new hv])}let Ju=(()=>{class e{constructor(i){this.factories=i}static create(i,s){if(null!=s){const l=s.factories.slice();i=i.concat(l)}return new e(i)}static extend(i){return{provide:e,useFactory:s=>e.create(i,s||yv()),deps:[[e,new To,new us]]}}find(i){const s=this.factories.find(l=>l.supports(i));if(null!=s)return s;throw new M(901,!1)}}return e.\u0275prov=Ve({token:e,providedIn:"root",factory:yv}),e})();function _v(){return new Xu([new vv])}let Xu=(()=>{class e{constructor(i){this.factories=i}static create(i,s){if(s){const l=s.factories.slice();i=i.concat(l)}return new e(i)}static extend(i){return{provide:e,useFactory:s=>e.create(i,s||_v()),deps:[[e,new To,new us]]}}find(i){const s=this.factories.find(l=>l.supports(i));if(s)return s;throw new M(901,!1)}}return e.\u0275prov=Ve({token:e,providedIn:"root",factory:_v}),e})();const uE=[new vv],fE=new Ju([new hv]),hE=new Xu(uE),pE=Xg(null,"core",[]);let mE=(()=>{class e{constructor(i){}}return e.\u0275fac=function(i){return new(i||e)(ti(Va))},e.\u0275mod=j({type:e}),e.\u0275inj=Ue({}),e})();function gE(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}const vE=!0;function yE(e){return ri().compileDirectiveDeclaration(_i,`ng:///${e.type.name}/\u0275fac.js`,e)}function _E(e){var t,i;Im(e.type,e.decorators,null!==(t=e.ctorParameters)&&void 0!==t?t:null,null!==(i=e.propDecorators)&&void 0!==i?i:null)}function bE(e){return ri().compileComponentDeclaration(_i,`ng:///${e.type.name}/\u0275cmp.js`,e)}function CE(e){return ri(function DE(e){switch(e){case ii.Directive:return"directive";case ii.Component:return"component";case ii.Injectable:return"injectable";case ii.Pipe:return"pipe";case ii.NgModule:return"NgModule"}}(e.target)).compileFactoryDeclaration(_i,`ng:///${e.type.name}/\u0275fac.js`,e)}function EE(e){return ri().compileInjectableDeclaration(_i,`ng:///${e.type.name}/\u0275prov.js`,e)}function TE(e){return ri().compileInjectorDeclaration(_i,`ng:///${e.type.name}/\u0275inj.js`,e)}function wE(e){return ri().compileNgModuleDeclaration(_i,`ng:///${e.type.name}/\u0275mod.js`,e)}function ME(e){return ri().compilePipeDeclaration(_i,`ng:///${e.type.name}/\u0275pipe.js`,e)}function SE(e,t){const i=ee(e),s=t.elementInjector||ia();return new Lo(i).create(s,t.projectableNodes,t.hostElement,t.environmentInjector)}function IE(e){const t=ee(e);if(!t)return null;const i=new Lo(t);return{get selector(){return i.selector},get type(){return i.componentType},get inputs(){return i.inputs},get outputs(){return i.outputs},get ngContentSelectors(){return i.ngContentSelectors},get isStandalone(){return t.standalone}}}},3075:(U,o,a)=>{"use strict";a.r(o),a.d(o,{AbstractControl:()=>ee,AbstractControlDirective:()=>$e,AbstractFormGroupDirective:()=>Nn,COMPOSITION_BUFFER_MODE:()=>m,CheckboxControlValueAccessor:()=>f,CheckboxRequiredValidator:()=>Qn,ControlContainer:()=>Le,DefaultValueAccessor:()=>C,EmailValidator:()=>se,FormArray:()=>Rn,FormArrayName:()=>ni,FormBuilder:()=>ai,FormControl:()=>On,FormControlDirective:()=>Mi,FormControlName:()=>Ii,FormGroup:()=>Ie,FormGroupDirective:()=>Ei,FormGroupName:()=>Si,FormRecord:()=>Ht,FormsModule:()=>$n,MaxLengthValidator:()=>Et,MaxValidator:()=>mi,MinLengthValidator:()=>fe,MinValidator:()=>Tn,NG_ASYNC_VALIDATORS:()=>Q,NG_VALIDATORS:()=>N,NG_VALUE_ACCESSOR:()=>p,NgControl:()=>Pe,NgControlStatus:()=>Ke,NgControlStatusGroup:()=>Y,NgForm:()=>nn,NgModel:()=>Ki,NgModelGroup:()=>Wi,NgSelectOption:()=>Vi,NonNullableFormBuilder:()=>xn,NumberValueAccessor:()=>Xn,PatternValidator:()=>Bt,RadioControlValueAccessor:()=>Di,RangeValueAccessor:()=>Yi,ReactiveFormsModule:()=>Dn,RequiredValidator:()=>gi,SelectControlValueAccessor:()=>hi,SelectMultipleControlValueAccessor:()=>pi,UntypedFormArray:()=>St,UntypedFormBuilder:()=>tr,UntypedFormControl:()=>kn,UntypedFormGroup:()=>at,VERSION:()=>Hi,Validators:()=>G,\u0275InternalFormsSharedModule:()=>fn,\u0275NgNoValidate:()=>cr,\u0275NgSelectMultipleOption:()=>Oi});var n=a(5e3),h=a(9808),_=a(2076),u=a(4128),r=a(4004);let c=(()=>{class F{constructor(S,ce){this._renderer=S,this._elementRef=ce,this.onChange=Ct=>{},this.onTouched=()=>{}}setProperty(S,ce){this._renderer.setProperty(this._elementRef.nativeElement,S,ce)}registerOnTouched(S){this.onTouched=S}registerOnChange(S){this.onChange=S}setDisabledState(S){this.setProperty("disabled",S)}}return F.\u0275fac=function(S){return new(S||F)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F}),F})(),d=(()=>{class F extends c{}return F.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(F)))(ce||F)}}(),F.\u0275dir=n.\u0275\u0275defineDirective({type:F,features:[n.\u0275\u0275InheritDefinitionFeature]}),F})();const p=new n.InjectionToken("NgValueAccessor"),y={provide:p,useExisting:(0,n.forwardRef)(()=>f),multi:!0};let f=(()=>{class F extends d{writeValue(S){this.setProperty("checked",S)}}return F.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(F)))(ce||F)}}(),F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(S,ce){1&S&&n.\u0275\u0275listener("change",function(jt){return ce.onChange(jt.target.checked)})("blur",function(){return ce.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([y]),n.\u0275\u0275InheritDefinitionFeature]}),F})();const b={provide:p,useExisting:(0,n.forwardRef)(()=>C),multi:!0},m=new n.InjectionToken("CompositionEventMode");let C=(()=>{class F extends c{constructor(S,ce,Ct){super(S,ce),this._compositionMode=Ct,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function v(){const F=(0,h.\u0275getDOM)()?(0,h.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(F.toLowerCase())}())}writeValue(S){this.setProperty("value",null==S?"":S)}_handleInput(S){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(S)}_compositionStart(){this._composing=!0}_compositionEnd(S){this._composing=!1,this._compositionMode&&this.onChange(S)}}return F.\u0275fac=function(S){return new(S||F)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(m,8))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,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(S,ce){1&S&&n.\u0275\u0275listener("input",function(jt){return ce._handleInput(jt.target.value)})("blur",function(){return ce.onTouched()})("compositionstart",function(){return ce._compositionStart()})("compositionend",function(jt){return ce._compositionEnd(jt.target.value)})},features:[n.\u0275\u0275ProvidersFeature([b]),n.\u0275\u0275InheritDefinitionFeature]}),F})();function O(F){return null==F||("string"==typeof F||Array.isArray(F))&&0===F.length}function P(F){return null!=F&&"number"==typeof F.length}const N=new n.InjectionToken("NgValidators"),Q=new n.InjectionToken("NgAsyncValidators"),H=/^(?=.{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 G{static min(A){return B(A)}static max(A){return X(A)}static required(A){return oe(A)}static requiredTrue(A){return pe(A)}static email(A){return Fe(A)}static minLength(A){return it(A)}static maxLength(A){return z(A)}static pattern(A){return q(A)}static nullValidator(A){return null}static compose(A){return $(A)}static composeAsync(A){return Ce(A)}}function B(F){return A=>{if(O(A.value)||O(F))return null;const S=parseFloat(A.value);return!isNaN(S)&&S<F?{min:{min:F,actual:A.value}}:null}}function X(F){return A=>{if(O(A.value)||O(F))return null;const S=parseFloat(A.value);return!isNaN(S)&&S>F?{max:{max:F,actual:A.value}}:null}}function oe(F){return O(F.value)?{required:!0}:null}function pe(F){return!0===F.value?null:{required:!0}}function Fe(F){return O(F.value)||H.test(F.value)?null:{email:!0}}function it(F){return A=>O(A.value)||!P(A.value)?null:A.value.length<F?{minlength:{requiredLength:F,actualLength:A.value.length}}:null}function z(F){return A=>P(A.value)&&A.value.length>F?{maxlength:{requiredLength:F,actualLength:A.value.length}}:null}function q(F){if(!F)return V;let A,S;return"string"==typeof F?(S="","^"!==F.charAt(0)&&(S+="^"),S+=F,"$"!==F.charAt(F.length-1)&&(S+="$"),A=new RegExp(S)):(S=F.toString(),A=F),ce=>{if(O(ce.value))return null;const Ct=ce.value;return A.test(Ct)?null:{pattern:{requiredPattern:S,actualValue:Ct}}}}function V(F){return null}function te(F){return null!=F}function Ee(F){return(0,n.\u0275isPromise)(F)?(0,_.D)(F):F}function Oe(F){let A={};return F.forEach(S=>{A=null!=S?Object.assign(Object.assign({},A),S):A}),0===Object.keys(A).length?null:A}function K(F,A){return A.map(S=>S(F))}function Ae(F){return F.map(A=>function ie(F){return!F.validate}(A)?A:S=>A.validate(S))}function $(F){if(!F)return null;const A=F.filter(te);return 0==A.length?null:function(S){return Oe(K(S,A))}}function ye(F){return null!=F?$(Ae(F)):null}function Ce(F){if(!F)return null;const A=F.filter(te);return 0==A.length?null:function(S){const ce=K(S,A).map(Ee);return(0,u.D)(ce).pipe((0,r.U)(Oe))}}function De(F){return null!=F?Ce(Ae(F)):null}function Ve(F,A){return null===F?[A]:Array.isArray(F)?[...F,A]:[F,A]}function Se(F){return F._rawValidators}function Ue(F){return F._rawAsyncValidators}function ut(F){return F?Array.isArray(F)?F:[F]:[]}function _t(F,A){return Array.isArray(F)?F.includes(A):F===A}function bt(F,A){const S=ut(A);return ut(F).forEach(Ct=>{_t(S,Ct)||S.push(Ct)}),S}function dt(F,A){return ut(A).filter(S=>!_t(F,S))}class $e{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(A){this._rawValidators=A||[],this._composedValidatorFn=ye(this._rawValidators)}_setAsyncValidators(A){this._rawAsyncValidators=A||[],this._composedAsyncValidatorFn=De(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(A){this._onDestroyCallbacks.push(A)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(A=>A()),this._onDestroyCallbacks=[]}reset(A){this.control&&this.control.reset(A)}hasError(A,S){return!!this.control&&this.control.hasError(A,S)}getError(A,S){return this.control?this.control.getError(A,S):null}}class Pe extends $e{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Le extends $e{get formDirective(){return null}get path(){return null}}class he{constructor(A){this._cd=A}get isTouched(){var A,S;return!(null===(S=null===(A=this._cd)||void 0===A?void 0:A.control)||void 0===S||!S.touched)}get isUntouched(){var A,S;return!(null===(S=null===(A=this._cd)||void 0===A?void 0:A.control)||void 0===S||!S.untouched)}get isPristine(){var A,S;return!(null===(S=null===(A=this._cd)||void 0===A?void 0:A.control)||void 0===S||!S.pristine)}get isDirty(){var A,S;return!(null===(S=null===(A=this._cd)||void 0===A?void 0:A.control)||void 0===S||!S.dirty)}get isValid(){var A,S;return!(null===(S=null===(A=this._cd)||void 0===A?void 0:A.control)||void 0===S||!S.valid)}get isInvalid(){var A,S;return!(null===(S=null===(A=this._cd)||void 0===A?void 0:A.control)||void 0===S||!S.invalid)}get isPending(){var A,S;return!(null===(S=null===(A=this._cd)||void 0===A?void 0:A.control)||void 0===S||!S.pending)}get isSubmitted(){var A;return!(null===(A=this._cd)||void 0===A||!A.submitted)}}let Ke=(()=>{class F extends he{constructor(S){super(S)}}return F.\u0275fac=function(S){return new(S||F)(n.\u0275\u0275directiveInject(Pe,2))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(S,ce){2&S&&n.\u0275\u0275classProp("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:[n.\u0275\u0275InheritDefinitionFeature]}),F})(),Y=(()=>{class F extends he{constructor(S){super(S)}}return F.\u0275fac=function(S){return new(S||F)(n.\u0275\u0275directiveInject(Le,10))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(S,ce){2&S&&n.\u0275\u0275classProp("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:[n.\u0275\u0275InheritDefinitionFeature]}),F})();const rt="VALID",Je="INVALID",be="PENDING",me="DISABLED";function ae(F){return(vt(F)?F.validators:F)||null}function le(F){return Array.isArray(F)?ye(F):F||null}function j(F,A){return(vt(A)?A.asyncValidators:F)||null}function we(F){return Array.isArray(F)?De(F):F||null}function vt(F){return null!=F&&!Array.isArray(F)&&"object"==typeof F}function Ge(F,A,S){const ce=F.controls;if(!(A?Object.keys(ce):ce).length)throw new n.\u0275RuntimeError(1e3,"");if(!ce[S])throw new n.\u0275RuntimeError(1001,"")}function yt(F,A,S){F._forEachChild((ce,Ct)=>{if(void 0===S[Ct])throw new n.\u0275RuntimeError(1002,"")})}class ee{constructor(A,S){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=A,this._rawAsyncValidators=S,this._composedValidatorFn=le(this._rawValidators),this._composedAsyncValidatorFn=we(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(A){this._rawValidators=this._composedValidatorFn=A}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(A){this._rawAsyncValidators=this._composedAsyncValidatorFn=A}get parent(){return this._parent}get valid(){return this.status===rt}get invalid(){return this.status===Je}get pending(){return this.status==be}get disabled(){return this.status===me}get enabled(){return this.status!==me}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(A){this._rawValidators=A,this._composedValidatorFn=le(A)}setAsyncValidators(A){this._rawAsyncValidators=A,this._composedAsyncValidatorFn=we(A)}addValidators(A){this.setValidators(bt(A,this._rawValidators))}addAsyncValidators(A){this.setAsyncValidators(bt(A,this._rawAsyncValidators))}removeValidators(A){this.setValidators(dt(A,this._rawValidators))}removeAsyncValidators(A){this.setAsyncValidators(dt(A,this._rawAsyncValidators))}hasValidator(A){return _t(this._rawValidators,A)}hasAsyncValidator(A){return _t(this._rawAsyncValidators,A)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(A={}){this.touched=!0,this._parent&&!A.onlySelf&&this._parent.markAsTouched(A)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(A=>A.markAllAsTouched())}markAsUntouched(A={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(S=>{S.markAsUntouched({onlySelf:!0})}),this._parent&&!A.onlySelf&&this._parent._updateTouched(A)}markAsDirty(A={}){this.pristine=!1,this._parent&&!A.onlySelf&&this._parent.markAsDirty(A)}markAsPristine(A={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(S=>{S.markAsPristine({onlySelf:!0})}),this._parent&&!A.onlySelf&&this._parent._updatePristine(A)}markAsPending(A={}){this.status=be,!1!==A.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!A.onlySelf&&this._parent.markAsPending(A)}disable(A={}){const S=this._parentMarkedDirty(A.onlySelf);this.status=me,this.errors=null,this._forEachChild(ce=>{ce.disable(Object.assign(Object.assign({},A),{onlySelf:!0}))}),this._updateValue(),!1!==A.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},A),{skipPristineCheck:S})),this._onDisabledChange.forEach(ce=>ce(!0))}enable(A={}){const S=this._parentMarkedDirty(A.onlySelf);this.status=rt,this._forEachChild(ce=>{ce.enable(Object.assign(Object.assign({},A),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:A.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},A),{skipPristineCheck:S})),this._onDisabledChange.forEach(ce=>ce(!1))}_updateAncestors(A){this._parent&&!A.onlySelf&&(this._parent.updateValueAndValidity(A),A.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(A){this._parent=A}getRawValue(){return this.value}updateValueAndValidity(A={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===rt||this.status===be)&&this._runAsyncValidator(A.emitEvent)),!1!==A.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!A.onlySelf&&this._parent.updateValueAndValidity(A)}_updateTreeValidity(A={emitEvent:!0}){this._forEachChild(S=>S._updateTreeValidity(A)),this.updateValueAndValidity({onlySelf:!0,emitEvent:A.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?me:rt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(A){if(this.asyncValidator){this.status=be,this._hasOwnPendingAsyncValidator=!0;const S=Ee(this.asyncValidator(this));this._asyncValidationSubscription=S.subscribe(ce=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(ce,{emitEvent:A})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(A,S={}){this.errors=A,this._updateControlsErrors(!1!==S.emitEvent)}get(A){let S=A;return null==S||(Array.isArray(S)||(S=S.split(".")),0===S.length)?null:S.reduce((ce,Ct)=>ce&&ce._find(Ct),this)}getError(A,S){const ce=S?this.get(S):this;return ce&&ce.errors?ce.errors[A]:null}hasError(A,S){return!!this.getError(A,S)}get root(){let A=this;for(;A._parent;)A=A._parent;return A}_updateControlsErrors(A){this.status=this._calculateStatus(),A&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(A)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?me:this.errors?Je:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(be)?be:this._anyControlsHaveStatus(Je)?Je:rt}_anyControlsHaveStatus(A){return this._anyControls(S=>S.status===A)}_anyControlsDirty(){return this._anyControls(A=>A.dirty)}_anyControlsTouched(){return this._anyControls(A=>A.touched)}_updatePristine(A={}){this.pristine=!this._anyControlsDirty(),this._parent&&!A.onlySelf&&this._parent._updatePristine(A)}_updateTouched(A={}){this.touched=this._anyControlsTouched(),this._parent&&!A.onlySelf&&this._parent._updateTouched(A)}_registerOnCollectionChange(A){this._onCollectionChange=A}_setUpdateStrategy(A){vt(A)&&null!=A.updateOn&&(this._updateOn=A.updateOn)}_parentMarkedDirty(A){return!A&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(A){return null}}class Ie extends ee{constructor(A,S,ce){super(ae(S),j(ce,S)),this.controls=A,this._initObservables(),this._setUpdateStrategy(S),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(A,S){return this.controls[A]?this.controls[A]:(this.controls[A]=S,S.setParent(this),S._registerOnCollectionChange(this._onCollectionChange),S)}addControl(A,S,ce={}){this.registerControl(A,S),this.updateValueAndValidity({emitEvent:ce.emitEvent}),this._onCollectionChange()}removeControl(A,S={}){this.controls[A]&&this.controls[A]._registerOnCollectionChange(()=>{}),delete this.controls[A],this.updateValueAndValidity({emitEvent:S.emitEvent}),this._onCollectionChange()}setControl(A,S,ce={}){this.controls[A]&&this.controls[A]._registerOnCollectionChange(()=>{}),delete this.controls[A],S&&this.registerControl(A,S),this.updateValueAndValidity({emitEvent:ce.emitEvent}),this._onCollectionChange()}contains(A){return this.controls.hasOwnProperty(A)&&this.controls[A].enabled}setValue(A,S={}){yt(this,0,A),Object.keys(A).forEach(ce=>{Ge(this,!0,ce),this.controls[ce].setValue(A[ce],{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S)}patchValue(A,S={}){null!=A&&(Object.keys(A).forEach(ce=>{const Ct=this.controls[ce];Ct&&Ct.patchValue(A[ce],{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S))}reset(A={},S={}){this._forEachChild((ce,Ct)=>{ce.reset(A[Ct],{onlySelf:!0,emitEvent:S.emitEvent})}),this._updatePristine(S),this._updateTouched(S),this.updateValueAndValidity(S)}getRawValue(){return this._reduceChildren({},(A,S,ce)=>(A[ce]=S.getRawValue(),A))}_syncPendingControls(){let A=this._reduceChildren(!1,(S,ce)=>!!ce._syncPendingControls()||S);return A&&this.updateValueAndValidity({onlySelf:!0}),A}_forEachChild(A){Object.keys(this.controls).forEach(S=>{const ce=this.controls[S];ce&&A(ce,S)})}_setUpControls(){this._forEachChild(A=>{A.setParent(this),A._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(A){for(const[S,ce]of Object.entries(this.controls))if(this.contains(S)&&A(ce))return!0;return!1}_reduceValue(){return this._reduceChildren({},(S,ce,Ct)=>((ce.enabled||this.disabled)&&(S[Ct]=ce.value),S))}_reduceChildren(A,S){let ce=A;return this._forEachChild((Ct,jt)=>{ce=S(ce,Ct,jt)}),ce}_allControlsDisabled(){for(const A of Object.keys(this.controls))if(this.controls[A].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(A){return this.controls.hasOwnProperty(A)?this.controls[A]:null}}const at=Ie;class Ht extends Ie{}function Xt(F,A){return[...A.path,F]}function vn(F,A){var S,ce;et(F,A),A.valueAccessor.writeValue(F.value),F.disabled&&(null===(ce=(S=A.valueAccessor).setDisabledState)||void 0===ce||ce.call(S,!0)),function It(F,A){A.valueAccessor.registerOnChange(S=>{F._pendingValue=S,F._pendingChange=!0,F._pendingDirty=!0,"change"===F.updateOn&&Wt(F,A)})}(F,A),function yn(F,A){const S=(ce,Ct)=>{A.valueAccessor.writeValue(ce),Ct&&A.viewToModelUpdate(ce)};F.registerOnChange(S),A._registerOnDestroy(()=>{F._unregisterOnChange(S)})}(F,A),function Lt(F,A){A.valueAccessor.registerOnTouched(()=>{F._pendingTouched=!0,"blur"===F.updateOn&&F._pendingChange&&Wt(F,A),"submit"!==F.updateOn&&F.markAsTouched()})}(F,A),function _e(F,A){if(A.valueAccessor.setDisabledState){const S=ce=>{A.valueAccessor.setDisabledState(ce)};F.registerOnDisabledChange(S),A._registerOnDestroy(()=>{F._unregisterOnDisabledChange(S)})}}(F,A)}function qe(F,A,S=!0){const ce=()=>{};A.valueAccessor&&(A.valueAccessor.registerOnChange(ce),A.valueAccessor.registerOnTouched(ce)),lt(F,A),F&&(A._invokeOnDestroyCallbacks(),F._registerOnCollectionChange(()=>{}))}function Ye(F,A){F.forEach(S=>{S.registerOnValidatorChange&&S.registerOnValidatorChange(A)})}function et(F,A){const S=Se(F);null!==A.validator?F.setValidators(Ve(S,A.validator)):"function"==typeof S&&F.setValidators([S]);const ce=Ue(F);null!==A.asyncValidator?F.setAsyncValidators(Ve(ce,A.asyncValidator)):"function"==typeof ce&&F.setAsyncValidators([ce]);const Ct=()=>F.updateValueAndValidity();Ye(A._rawValidators,Ct),Ye(A._rawAsyncValidators,Ct)}function lt(F,A){let S=!1;if(null!==F){if(null!==A.validator){const Ct=Se(F);if(Array.isArray(Ct)&&Ct.length>0){const jt=Ct.filter(jn=>jn!==A.validator);jt.length!==Ct.length&&(S=!0,F.setValidators(jt))}}if(null!==A.asyncValidator){const Ct=Ue(F);if(Array.isArray(Ct)&&Ct.length>0){const jt=Ct.filter(jn=>jn!==A.asyncValidator);jt.length!==Ct.length&&(S=!0,F.setAsyncValidators(jt))}}}const ce=()=>{};return Ye(A._rawValidators,ce),Ye(A._rawAsyncValidators,ce),S}function Wt(F,A){F._pendingDirty&&F.markAsDirty(),F.setValue(F._pendingValue,{emitModelToViewChange:!1}),A.viewToModelUpdate(F._pendingValue),F._pendingChange=!1}function gn(F,A){et(F,A)}function ft(F,A){if(!F.hasOwnProperty("model"))return!1;const S=F.model;return!!S.isFirstChange()||!Object.is(A,S.currentValue)}function xt(F,A){F._syncPendingControls(),A.forEach(S=>{const ce=S.control;"submit"===ce.updateOn&&ce._pendingChange&&(S.viewToModelUpdate(ce._pendingValue),ce._pendingChange=!1)})}function Kt(F,A){if(!A)return null;let S,ce,Ct;return Array.isArray(A),A.forEach(jt=>{jt.constructor===C?S=jt:function Tt(F){return Object.getPrototypeOf(F.constructor)===d}(jt)?ce=jt:Ct=jt}),Ct||ce||S||null}const dn={provide:Le,useExisting:(0,n.forwardRef)(()=>nn)},ln=(()=>Promise.resolve(null))();let nn=(()=>{class F extends Le{constructor(S,ce){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new Ie({},ye(S),De(ce))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(S){ln.then(()=>{const ce=this._findContainer(S.path);S.control=ce.registerControl(S.name,S.control),vn(S.control,S),S.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(S)})}getControl(S){return this.form.get(S.path)}removeControl(S){ln.then(()=>{const ce=this._findContainer(S.path);ce&&ce.removeControl(S.name),this._directives.delete(S)})}addFormGroup(S){ln.then(()=>{const ce=this._findContainer(S.path),Ct=new Ie({});gn(Ct,S),ce.registerControl(S.name,Ct),Ct.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(S){ln.then(()=>{const ce=this._findContainer(S.path);ce&&ce.removeControl(S.name)})}getFormGroup(S){return this.form.get(S.path)}updateModel(S,ce){ln.then(()=>{this.form.get(S.path).setValue(ce)})}setValue(S){this.control.setValue(S)}onSubmit(S){return this.submitted=!0,xt(this.form,this._directives),this.ngSubmit.emit(S),!1}onReset(){this.resetForm()}resetForm(S){this.form.reset(S),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(S){return S.pop(),S.length?this.form.get(S):this.form}}return F.\u0275fac=function(S){return new(S||F)(n.\u0275\u0275directiveInject(N,10),n.\u0275\u0275directiveInject(Q,10))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(S,ce){1&S&&n.\u0275\u0275listener("submit",function(jt){return ce.onSubmit(jt)})("reset",function(){return ce.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([dn]),n.\u0275\u0275InheritDefinitionFeature]}),F})();function zn(F,A){const S=F.indexOf(A);S>-1&&F.splice(S,1)}function cn(F){return"object"==typeof F&&null!==F&&2===Object.keys(F).length&&"value"in F&&"disabled"in F}const On=class extends ee{constructor(A=null,S,ce){super(ae(S),j(ce,S)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(A),this._setUpdateStrategy(S),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),vt(S)&&(S.nonNullable||S.initialValueIsDefault)&&(this.defaultValue=cn(A)?A.value:A)}setValue(A,S={}){this.value=this._pendingValue=A,this._onChange.length&&!1!==S.emitModelToViewChange&&this._onChange.forEach(ce=>ce(this.value,!1!==S.emitViewToModelChange)),this.updateValueAndValidity(S)}patchValue(A,S={}){this.setValue(A,S)}reset(A=this.defaultValue,S={}){this._applyFormState(A),this.markAsPristine(S),this.markAsUntouched(S),this.setValue(this.value,S),this._pendingChange=!1}_updateValue(){}_anyControls(A){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(A){this._onChange.push(A)}_unregisterOnChange(A){zn(this._onChange,A)}registerOnDisabledChange(A){this._onDisabledChange.push(A)}_unregisterOnDisabledChange(A){zn(this._onDisabledChange,A)}_forEachChild(A){}_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(A){cn(A)?(this.value=this._pendingValue=A.value,A.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=A}},kn=On;let Nn=(()=>{class F extends Le{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Xt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return F.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(F)))(ce||F)}}(),F.\u0275dir=n.\u0275\u0275defineDirective({type:F,features:[n.\u0275\u0275InheritDefinitionFeature]}),F})();const Ni={provide:Le,useExisting:(0,n.forwardRef)(()=>Wi)};let Wi=(()=>{class F extends Nn{constructor(S,ce,Ct){super(),this._parent=S,this._setValidators(ce),this._setAsyncValidators(Ct)}_checkParentType(){}}return F.\u0275fac=function(S){return new(S||F)(n.\u0275\u0275directiveInject(Le,5),n.\u0275\u0275directiveInject(N,10),n.\u0275\u0275directiveInject(Q,10))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([Ni]),n.\u0275\u0275InheritDefinitionFeature]}),F})();const Ci={provide:Pe,useExisting:(0,n.forwardRef)(()=>Ki)},Gi=(()=>Promise.resolve(null))();let Ki=(()=>{class F extends Pe{constructor(S,ce,Ct,jt,jn){super(),this._changeDetectorRef=jn,this.control=new On,this._registered=!1,this.update=new n.EventEmitter,this._parent=S,this._setValidators(ce),this._setAsyncValidators(Ct),this.valueAccessor=Kt(0,jt)}ngOnChanges(S){if(this._checkForErrors(),!this._registered||"name"in S){if(this._registered&&(this._checkName(),this.formDirective)){const ce=S.name.previousValue;this.formDirective.removeControl({name:ce,path:this._getPath(ce)})}this._setUpControl()}"isDisabled"in S&&this._updateDisabled(S),ft(S,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(S){this.viewModel=S,this.update.emit(S)}_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(){vn(this.control,this),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(S){Gi.then(()=>{var ce;this.control.setValue(S,{emitViewToModelChange:!1}),null===(ce=this._changeDetectorRef)||void 0===ce||ce.markForCheck()})}_updateDisabled(S){const ce=S.isDisabled.currentValue,Ct=0!==ce&&(0,n.\u0275coerceToBoolean)(ce);Gi.then(()=>{var jt;Ct&&!this.control.disabled?this.control.disable():!Ct&&this.control.disabled&&this.control.enable(),null===(jt=this._changeDetectorRef)||void 0===jt||jt.markForCheck()})}_getPath(S){return this._parent?Xt(S,this._parent):[S]}}return F.\u0275fac=function(S){return new(S||F)(n.\u0275\u0275directiveInject(Le,9),n.\u0275\u0275directiveInject(N,10),n.\u0275\u0275directiveInject(Q,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n.\u0275\u0275ProvidersFeature([Ci]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),F})(),cr=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),F})();const Jr={provide:p,useExisting:(0,n.forwardRef)(()=>Xn),multi:!0};let Xn=(()=>{class F extends d{writeValue(S){this.setProperty("value",null==S?"":S)}registerOnChange(S){this.onChange=ce=>{S(""==ce?null:parseFloat(ce))}}}return F.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(F)))(ce||F)}}(),F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(S,ce){1&S&&n.\u0275\u0275listener("input",function(jt){return ce.onChange(jt.target.value)})("blur",function(){return ce.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([Jr]),n.\u0275\u0275InheritDefinitionFeature]}),F})();const ur={provide:p,useExisting:(0,n.forwardRef)(()=>Di),multi:!0};let Li=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({}),F})(),dr=(()=>{class F{constructor(){this._accessors=[]}add(S,ce){this._accessors.push([S,ce])}remove(S){for(let ce=this._accessors.length-1;ce>=0;--ce)if(this._accessors[ce][1]===S)return void this._accessors.splice(ce,1)}select(S){this._accessors.forEach(ce=>{this._isSameGroup(ce,S)&&ce[1]!==S&&ce[1].fireUncheck(S.value)})}_isSameGroup(S,ce){return!!S[0].control&&S[0]._parent===ce._control._parent&&S[1].name===ce.name}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac,providedIn:Li}),F})(),Di=(()=>{class F extends d{constructor(S,ce,Ct,jt){super(S,ce),this._registry=Ct,this._injector=jt,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(Pe),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(S){this._state=S===this.value,this.setProperty("checked",this._state)}registerOnChange(S){this._fn=S,this.onChange=()=>{S(this.value),this._registry.select(this)}}fireUncheck(S){this.writeValue(S)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return F.\u0275fac=function(S){return new(S||F)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(dr),n.\u0275\u0275directiveInject(n.Injector))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(S,ce){1&S&&n.\u0275\u0275listener("change",function(){return ce.onChange()})("blur",function(){return ce.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([ur]),n.\u0275\u0275InheritDefinitionFeature]}),F})();const Or={provide:p,useExisting:(0,n.forwardRef)(()=>Yi),multi:!0};let Yi=(()=>{class F extends d{writeValue(S){this.setProperty("value",parseFloat(S))}registerOnChange(S){this.onChange=ce=>{S(""==ce?null:parseFloat(ce))}}}return F.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(F)))(ce||F)}}(),F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(S,ce){1&S&&n.\u0275\u0275listener("change",function(jt){return ce.onChange(jt.target.value)})("input",function(jt){return ce.onChange(jt.target.value)})("blur",function(){return ce.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([Or]),n.\u0275\u0275InheritDefinitionFeature]}),F})();const Qi=new n.InjectionToken("NgModelWithFormControlWarning"),Hr={provide:Pe,useExisting:(0,n.forwardRef)(()=>Mi)};let Mi=(()=>{class F extends Pe{constructor(S,ce,Ct,jt){super(),this._ngModelWarningConfig=jt,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(S),this._setAsyncValidators(ce),this.valueAccessor=Kt(0,Ct)}set isDisabled(S){}ngOnChanges(S){if(this._isControlChanged(S)){const ce=S.form.previousValue;ce&&qe(ce,this,!1),vn(this.form,this),this.form.updateValueAndValidity({emitEvent:!1})}ft(S,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&qe(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(S){this.viewModel=S,this.update.emit(S)}_isControlChanged(S){return S.hasOwnProperty("form")}}return F._ngModelWarningSentOnce=!1,F.\u0275fac=function(S){return new(S||F)(n.\u0275\u0275directiveInject(N,10),n.\u0275\u0275directiveInject(Q,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(Qi,8))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Hr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),F})();const fr={provide:Le,useExisting:(0,n.forwardRef)(()=>Ei)};let Ei=(()=>{class F extends Le{constructor(S,ce){super(),this.validators=S,this.asyncValidators=ce,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(S),this._setAsyncValidators(ce)}ngOnChanges(S){this._checkFormPresent(),S.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(lt(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(S){const ce=this.form.get(S.path);return vn(ce,S),ce.updateValueAndValidity({emitEvent:!1}),this.directives.push(S),ce}getControl(S){return this.form.get(S.path)}removeControl(S){qe(S.control||null,S,!1),function Ut(F,A){const S=F.indexOf(A);S>-1&&F.splice(S,1)}(this.directives,S)}addFormGroup(S){this._setUpFormContainer(S)}removeFormGroup(S){this._cleanUpFormContainer(S)}getFormGroup(S){return this.form.get(S.path)}addFormArray(S){this._setUpFormContainer(S)}removeFormArray(S){this._cleanUpFormContainer(S)}getFormArray(S){return this.form.get(S.path)}updateModel(S,ce){this.form.get(S.path).setValue(ce)}onSubmit(S){return this.submitted=!0,xt(this.form,this.directives),this.ngSubmit.emit(S),!1}onReset(){this.resetForm()}resetForm(S){this.form.reset(S),this.submitted=!1}_updateDomValue(){this.directives.forEach(S=>{const ce=S.control,Ct=this.form.get(S.path);ce!==Ct&&(qe(ce||null,S),(F=>F instanceof On)(Ct)&&(vn(Ct,S),S.control=Ct))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(S){const ce=this.form.get(S.path);gn(ce,S),ce.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(S){if(this.form){const ce=this.form.get(S.path);ce&&function Hn(F,A){return lt(F,A)}(ce,S)&&ce.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){et(this.form,this),this._oldForm&&lt(this._oldForm,this)}_checkFormPresent(){}}return F.\u0275fac=function(S){return new(S||F)(n.\u0275\u0275directiveInject(N,10),n.\u0275\u0275directiveInject(Q,10))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","formGroup",""]],hostBindings:function(S,ce){1&S&&n.\u0275\u0275listener("submit",function(jt){return ce.onSubmit(jt)})("reset",function(){return ce.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([fr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),F})();const Ar={provide:Le,useExisting:(0,n.forwardRef)(()=>Si)};let Si=(()=>{class F extends Nn{constructor(S,ce,Ct){super(),this._parent=S,this._setValidators(ce),this._setAsyncValidators(Ct)}_checkParentType(){Ji(this._parent)}}return F.\u0275fac=function(S){return new(S||F)(n.\u0275\u0275directiveInject(Le,13),n.\u0275\u0275directiveInject(N,10),n.\u0275\u0275directiveInject(Q,10))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([Ar]),n.\u0275\u0275InheritDefinitionFeature]}),F})();const Zi={provide:Le,useExisting:(0,n.forwardRef)(()=>ni)};let ni=(()=>{class F extends Le{constructor(S,ce,Ct){super(),this._parent=S,this._setValidators(ce),this._setAsyncValidators(Ct)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Xt(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Ji(this._parent)}}return F.\u0275fac=function(S){return new(S||F)(n.\u0275\u0275directiveInject(Le,13),n.\u0275\u0275directiveInject(N,10),n.\u0275\u0275directiveInject(Q,10))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([Zi]),n.\u0275\u0275InheritDefinitionFeature]}),F})();function Ji(F){return!(F instanceof Si||F instanceof Ei||F instanceof ni)}const ji={provide:Pe,useExisting:(0,n.forwardRef)(()=>Ii)};let Ii=(()=>{class F extends Pe{constructor(S,ce,Ct,jt,jn){super(),this._ngModelWarningConfig=jn,this._added=!1,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=S,this._setValidators(ce),this._setAsyncValidators(Ct),this.valueAccessor=Kt(0,jt)}set isDisabled(S){}ngOnChanges(S){this._added||this._setUpControl(),ft(S,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(S){this.viewModel=S,this.update.emit(S)}get path(){return Xt(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return F._ngModelWarningSentOnce=!1,F.\u0275fac=function(S){return new(S||F)(n.\u0275\u0275directiveInject(Le,13),n.\u0275\u0275directiveInject(N,10),n.\u0275\u0275directiveInject(Q,10),n.\u0275\u0275directiveInject(p,10),n.\u0275\u0275directiveInject(Qi,8))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([ji]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),F})();const hr={provide:p,useExisting:(0,n.forwardRef)(()=>hi),multi:!0};function Xi(F,A){return null==F?`${A}`:(A&&"object"==typeof A&&(A="Object"),`${F}: ${A}`.slice(0,50))}let hi=(()=>{class F extends d{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(S){this._compareWith=S}writeValue(S){this.value=S;const Ct=Xi(this._getOptionId(S),S);this.setProperty("value",Ct)}registerOnChange(S){this.onChange=ce=>{this.value=this._getOptionValue(ce),S(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(S){for(const ce of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(ce),S))return ce;return null}_getOptionValue(S){const ce=function Bi(F){return F.split(":")[0]}(S);return this._optionMap.has(ce)?this._optionMap.get(ce):S}}return F.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(F)))(ce||F)}}(),F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(S,ce){1&S&&n.\u0275\u0275listener("change",function(jt){return ce.onChange(jt.target.value)})("blur",function(){return ce.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([hr]),n.\u0275\u0275InheritDefinitionFeature]}),F})(),Vi=(()=>{class F{constructor(S,ce,Ct){this._element=S,this._renderer=ce,this._select=Ct,this._select&&(this.id=this._select._registerOption())}set ngValue(S){null!=this._select&&(this._select._optionMap.set(this.id,S),this._setElementValue(Xi(this.id,S)),this._select.writeValue(this._select.value))}set value(S){this._setElementValue(S),this._select&&this._select.writeValue(this._select.value)}_setElementValue(S){this._renderer.setProperty(this._element.nativeElement,"value",S)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return F.\u0275fac=function(S){return new(S||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(hi,9))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),F})();const pr={provide:p,useExisting:(0,n.forwardRef)(()=>pi),multi:!0};function mr(F,A){return null==F?`${A}`:("string"==typeof A&&(A=`'${A}'`),A&&"object"==typeof A&&(A="Object"),`${F}: ${A}`.slice(0,50))}let pi=(()=>{class F extends d{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(S){this._compareWith=S}writeValue(S){let ce;if(this.value=S,Array.isArray(S)){const Ct=S.map(jt=>this._getOptionId(jt));ce=(jt,jn)=>{jt._setSelected(Ct.indexOf(jn.toString())>-1)}}else ce=(Ct,jt)=>{Ct._setSelected(!1)};this._optionMap.forEach(ce)}registerOnChange(S){this.onChange=ce=>{const Ct=[],jt=ce.selectedOptions;if(void 0!==jt){const jn=jt;for(let Fn=0;Fn<jn.length;Fn++){const Rr=this._getOptionValue(jn[Fn].value);Ct.push(Rr)}}else{const jn=ce.options;for(let Fn=0;Fn<jn.length;Fn++){const li=jn[Fn];if(li.selected){const Rr=this._getOptionValue(li.value);Ct.push(Rr)}}}this.value=Ct,S(Ct)}}_registerOption(S){const ce=(this._idCounter++).toString();return this._optionMap.set(ce,S),ce}_getOptionId(S){for(const ce of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(ce)._value,S))return ce;return null}_getOptionValue(S){const ce=function Wn(F){return F.split(":")[0]}(S);return this._optionMap.has(ce)?this._optionMap.get(ce)._value:S}}return F.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(F)))(ce||F)}}(),F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(S,ce){1&S&&n.\u0275\u0275listener("change",function(jt){return ce.onChange(jt.target)})("blur",function(){return ce.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([pr]),n.\u0275\u0275InheritDefinitionFeature]}),F})(),Oi=(()=>{class F{constructor(S,ce,Ct){this._element=S,this._renderer=ce,this._select=Ct,this._select&&(this.id=this._select._registerOption(this))}set ngValue(S){null!=this._select&&(this._value=S,this._setElementValue(mr(this.id,S)),this._select.writeValue(this._select.value))}set value(S){this._select?(this._value=S,this._setElementValue(mr(this.id,S)),this._select.writeValue(this._select.value)):this._setElementValue(S)}_setElementValue(S){this._renderer.setProperty(this._element.nativeElement,"value",S)}_setSelected(S){this._renderer.setProperty(this._element.nativeElement,"selected",S)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return F.\u0275fac=function(S){return new(S||F)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(pi,9))},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),F})();function gr(F){return"number"==typeof F?F:parseInt(F,10)}function Pr(F){return"number"==typeof F?F:parseFloat(F)}let bn=(()=>{class F{constructor(){this._validator=V}ngOnChanges(S){if(this.inputName in S){const ce=this.normalizeInput(S[this.inputName].currentValue);this._enabled=this.enabled(ce),this._validator=this._enabled?this.createValidator(ce):V,this._onChange&&this._onChange()}}validate(S){return this._validator(S)}registerOnValidatorChange(S){this._onChange=S}enabled(S){return null!=S}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275dir=n.\u0275\u0275defineDirective({type:F,features:[n.\u0275\u0275NgOnChangesFeature]}),F})();const vr={provide:N,useExisting:(0,n.forwardRef)(()=>mi),multi:!0};let mi=(()=>{class F extends bn{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=S=>Pr(S),this.createValidator=S=>X(S)}}return F.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(F)))(ce||F)}}(),F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(S,ce){2&S&&n.\u0275\u0275attribute("max",ce._enabled?ce.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([vr]),n.\u0275\u0275InheritDefinitionFeature]}),F})();const In={provide:N,useExisting:(0,n.forwardRef)(()=>Tn),multi:!0};let Tn=(()=>{class F extends bn{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=S=>Pr(S),this.createValidator=S=>B(S)}}return F.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(F)))(ce||F)}}(),F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(S,ce){2&S&&n.\u0275\u0275attribute("min",ce._enabled?ce.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([In]),n.\u0275\u0275InheritDefinitionFeature]}),F})();const qn={provide:N,useExisting:(0,n.forwardRef)(()=>gi),multi:!0},er={provide:N,useExisting:(0,n.forwardRef)(()=>Qn),multi:!0};let gi=(()=>{class F extends bn{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.\u0275coerceToBoolean,this.createValidator=S=>oe}enabled(S){return S}}return F.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(F)))(ce||F)}}(),F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(S,ce){2&S&&n.\u0275\u0275attribute("required",ce._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([qn]),n.\u0275\u0275InheritDefinitionFeature]}),F})(),Qn=(()=>{class F extends gi{constructor(){super(...arguments),this.createValidator=S=>pe}}return F.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(F)))(ce||F)}}(),F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(S,ce){2&S&&n.\u0275\u0275attribute("required",ce._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([er]),n.\u0275\u0275InheritDefinitionFeature]}),F})();const x={provide:N,useExisting:(0,n.forwardRef)(()=>se),multi:!0};let se=(()=>{class F extends bn{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.\u0275coerceToBoolean,this.createValidator=S=>Fe}enabled(S){return S}}return F.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(F)))(ce||F)}}(),F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([x]),n.\u0275\u0275InheritDefinitionFeature]}),F})();const k={provide:N,useExisting:(0,n.forwardRef)(()=>fe),multi:!0};let fe=(()=>{class F extends bn{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=S=>gr(S),this.createValidator=S=>it(S)}}return F.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(F)))(ce||F)}}(),F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(S,ce){2&S&&n.\u0275\u0275attribute("minlength",ce._enabled?ce.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([k]),n.\u0275\u0275InheritDefinitionFeature]}),F})();const Xe={provide:N,useExisting:(0,n.forwardRef)(()=>Et),multi:!0};let Et=(()=>{class F extends bn{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=S=>gr(S),this.createValidator=S=>z(S)}}return F.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(F)))(ce||F)}}(),F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(S,ce){2&S&&n.\u0275\u0275attribute("maxlength",ce._enabled?ce.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([Xe]),n.\u0275\u0275InheritDefinitionFeature]}),F})();const gt={provide:N,useExisting:(0,n.forwardRef)(()=>Bt),multi:!0};let Bt=(()=>{class F extends bn{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=S=>S,this.createValidator=S=>q(S)}}return F.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(F)))(ce||F)}}(),F.\u0275dir=n.\u0275\u0275defineDirective({type:F,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(S,ce){2&S&&n.\u0275\u0275attribute("pattern",ce._enabled?ce.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([gt]),n.\u0275\u0275InheritDefinitionFeature]}),F})(),fn=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[Li]}),F})(),$n=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[fn]}),F})(),Dn=(()=>{class F{static withConfig(S){return{ngModule:F,providers:[{provide:Qi,useValue:S.warnOnNgModelWithFormControl}]}}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275mod=n.\u0275\u0275defineNgModule({type:F}),F.\u0275inj=n.\u0275\u0275defineInjector({imports:[fn]}),F})();class Rn extends ee{constructor(A,S,ce){super(ae(S),j(ce,S)),this.controls=A,this._initObservables(),this._setUpdateStrategy(S),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(A){return this.controls[this._adjustIndex(A)]}push(A,S={}){this.controls.push(A),this._registerControl(A),this.updateValueAndValidity({emitEvent:S.emitEvent}),this._onCollectionChange()}insert(A,S,ce={}){this.controls.splice(A,0,S),this._registerControl(S),this.updateValueAndValidity({emitEvent:ce.emitEvent})}removeAt(A,S={}){let ce=this._adjustIndex(A);ce<0&&(ce=0),this.controls[ce]&&this.controls[ce]._registerOnCollectionChange(()=>{}),this.controls.splice(ce,1),this.updateValueAndValidity({emitEvent:S.emitEvent})}setControl(A,S,ce={}){let Ct=this._adjustIndex(A);Ct<0&&(Ct=0),this.controls[Ct]&&this.controls[Ct]._registerOnCollectionChange(()=>{}),this.controls.splice(Ct,1),S&&(this.controls.splice(Ct,0,S),this._registerControl(S)),this.updateValueAndValidity({emitEvent:ce.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(A,S={}){yt(this,0,A),A.forEach((ce,Ct)=>{Ge(this,!1,Ct),this.at(Ct).setValue(ce,{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S)}patchValue(A,S={}){null!=A&&(A.forEach((ce,Ct)=>{this.at(Ct)&&this.at(Ct).patchValue(ce,{onlySelf:!0,emitEvent:S.emitEvent})}),this.updateValueAndValidity(S))}reset(A=[],S={}){this._forEachChild((ce,Ct)=>{ce.reset(A[Ct],{onlySelf:!0,emitEvent:S.emitEvent})}),this._updatePristine(S),this._updateTouched(S),this.updateValueAndValidity(S)}getRawValue(){return this.controls.map(A=>A.getRawValue())}clear(A={}){this.controls.length<1||(this._forEachChild(S=>S._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:A.emitEvent}))}_adjustIndex(A){return A<0?A+this.length:A}_syncPendingControls(){let A=this.controls.reduce((S,ce)=>!!ce._syncPendingControls()||S,!1);return A&&this.updateValueAndValidity({onlySelf:!0}),A}_forEachChild(A){this.controls.forEach((S,ce)=>{A(S,ce)})}_updateValue(){this.value=this.controls.filter(A=>A.enabled||this.disabled).map(A=>A.value)}_anyControls(A){return this.controls.some(S=>S.enabled&&A(S))}_setUpControls(){this._forEachChild(A=>this._registerControl(A))}_allControlsDisabled(){for(const A of this.controls)if(A.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(A){A.setParent(this),A._registerOnCollectionChange(this._onCollectionChange)}_find(A){var S;return null!==(S=this.at(A))&&void 0!==S?S:null}}const St=Rn;function $i(F){return!!F&&(void 0!==F.asyncValidators||void 0!==F.validators||void 0!==F.updateOn)}let ai=(()=>{class F{constructor(){this.useNonNullable=!1}get nonNullable(){const S=new F;return S.useNonNullable=!0,S}group(S,ce=null){const Ct=this._reduceControls(S);let jt={};return $i(ce)?jt=ce:null!==ce&&(jt.validators=ce.validator,jt.asyncValidators=ce.asyncValidator),new Ie(Ct,jt)}control(S,ce,Ct){let jt={};return this.useNonNullable?($i(ce)?jt=ce:(jt.validators=ce,jt.asyncValidators=Ct),new On(S,Object.assign(Object.assign({},jt),{nonNullable:!0}))):new On(S,ce,Ct)}array(S,ce,Ct){const jt=S.map(jn=>this._createControl(jn));return new Rn(jt,ce,Ct)}_reduceControls(S){const ce={};return Object.keys(S).forEach(Ct=>{ce[Ct]=this._createControl(S[Ct])}),ce}_createControl(S){return S instanceof On||S instanceof ee?S:Array.isArray(S)?this.control(S[0],S.length>1?S[1]:null,S.length>2?S[2]:null):this.control(S)}}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac,providedIn:Dn}),F})(),xn=(()=>{class F{}return F.\u0275fac=function(S){return new(S||F)},F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:function(){return(0,n.inject)(ai).nonNullable},providedIn:Dn}),F})(),tr=(()=>{class F extends ai{group(S,ce=null){return super.group(S,ce)}control(S,ce,Ct){return super.control(S,ce,Ct)}array(S,ce,Ct){return super.array(S,ce,Ct)}}return F.\u0275fac=function(){let A;return function(ce){return(A||(A=n.\u0275\u0275getInheritedFactory(F)))(ce||F)}}(),F.\u0275prov=n.\u0275\u0275defineInjectable({token:F,factory:F.\u0275fac,providedIn:Dn}),F})();const Hi=new n.Version("14.1.3")},7423:(U,o,a)=>{"use strict";a.r(o),a.d(o,{MatAnchor:()=>b,MatButton:()=>f,MatButtonModule:()=>v});var n=a(5e3),h=a(508),_=a(5664);const u=["mat-button",""],r=["*"],p=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],y=(0,h.mixinColor)((0,h.mixinDisabled)((0,h.mixinDisableRipple)(class{constructor(m){this._elementRef=m}})));let f=(()=>{class m extends y{constructor(M,O,P){super(M),this._focusMonitor=O,this._animationMode=P,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const N of p)this._hasHostAttributes(N)&&this._getHostElement().classList.add(N);M.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(M,O){M?this._focusMonitor.focusVia(this._getHostElement(),M,O):this._getHostElement().focus(O)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...M){return M.some(O=>this._getHostElement().hasAttribute(O))}}return m.\u0275fac=function(M){return new(M||m)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(_.tE),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},m.\u0275cmp=n.\u0275\u0275defineComponent({type:m,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(M,O){if(1&M&&n.\u0275\u0275viewQuery(h.MatRipple,5),2&M){let P;n.\u0275\u0275queryRefresh(P=n.\u0275\u0275loadQuery())&&(O.ripple=P.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(M,O){2&M&&(n.\u0275\u0275attribute("disabled",O.disabled||null),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===O._animationMode)("mat-button-disabled",O.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[n.\u0275\u0275InheritDefinitionFeature],attrs:u,ngContentSelectors:r,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(M,O){1&M&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(2,"span",1)(3,"span",2)),2&M&&(n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-button-ripple-round",O.isRoundButton||O.isIconButton),n.\u0275\u0275property("matRippleDisabled",O._isRippleDisabled())("matRippleCentered",O.isIconButton)("matRippleTrigger",O._getHostElement()))},dependencies:[h.MatRipple],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),m})(),b=(()=>{class m extends f{constructor(M,O,P,N){super(O,M,P),this._ngZone=N,this._haltDisabledEvents=Q=>{this.disabled&&(Q.preventDefault(),Q.stopImmediatePropagation())}}ngAfterViewInit(){super.ngAfterViewInit(),this._ngZone?this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}):this._elementRef.nativeElement.addEventListener("click",this._haltDisabledEvents)}ngOnDestroy(){super.ngOnDestroy(),this._elementRef.nativeElement.removeEventListener("click",this._haltDisabledEvents)}}return m.\u0275fac=function(M){return new(M||m)(n.\u0275\u0275directiveInject(_.tE),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8),n.\u0275\u0275directiveInject(n.NgZone,8))},m.\u0275cmp=n.\u0275\u0275defineComponent({type:m,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(M,O){2&M&&(n.\u0275\u0275attribute("tabindex",O.disabled?-1:O.tabIndex)("disabled",O.disabled||null)("aria-disabled",O.disabled.toString()),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===O._animationMode)("mat-button-disabled",O.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[n.\u0275\u0275InheritDefinitionFeature],attrs:u,ngContentSelectors:r,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(M,O){1&M&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275projection(1),n.\u0275\u0275elementEnd(),n.\u0275\u0275element(2,"span",1)(3,"span",2)),2&M&&(n.\u0275\u0275advance(2),n.\u0275\u0275classProp("mat-button-ripple-round",O.isRoundButton||O.isIconButton),n.\u0275\u0275property("matRippleDisabled",O._isRippleDisabled())("matRippleCentered",O.isIconButton)("matRippleTrigger",O._getHostElement()))},dependencies:[h.MatRipple],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button._mat-animation-noopable{transition:none !important;animation:none !important}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}.mat-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.mat-flat-button::before,.mat-raised-button::before,.mat-fab::before,.mat-mini-fab::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-stroked-button::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px) * -1)}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}"],encapsulation:2,changeDetection:0}),m})(),v=(()=>{class m{}return m.\u0275fac=function(M){return new(M||m)},m.\u0275mod=n.\u0275\u0275defineNgModule({type:m}),m.\u0275inj=n.\u0275\u0275defineInjector({imports:[h.MatRippleModule,h.MatCommonModule,h.MatCommonModule]}),m})()},9417:(U,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_CHIPS_DEFAULT_OPTIONS:()=>mt,MAT_CHIP_AVATAR:()=>He,MAT_CHIP_REMOVE:()=>ve,MAT_CHIP_TRAILING_ICON:()=>ct,MatChip:()=>ke,MatChipAvatar:()=>ge,MatChipInput:()=>At,MatChipList:()=>Je,MatChipListChange:()=>rt,MatChipRemove:()=>tt,MatChipSelectionChange:()=>We,MatChipTrailingIcon:()=>de,MatChipsModule:()=>me});var n=a(1159),h=a(5e3),_=a(508),u=a(3191),r=a(9808),c=a(7579),d=a(6451),p=a(5698),y=a(2722),f=a(8675),b=a(925),v=a(5664),m=a(449),C=a(3075);a(1777);let Ae=(()=>{class ae{}return ae.\u0275fac=function(j){return new(j||ae)},ae.\u0275dir=h.\u0275\u0275defineDirective({type:ae}),ae})();var ze=a(226);const je=["*"];class We{constructor(le,j,we=!1){this.source=le,this.selected=j,this.isUserInput=we}}const ve=new h.InjectionToken("MatChipRemove"),He=new h.InjectionToken("MatChipAvatar"),ct=new h.InjectionToken("MatChipTrailingIcon");class xe{constructor(le){this._elementRef=le}}const W=(0,_.mixinTabIndex)((0,_.mixinColor)((0,_.mixinDisableRipple)(xe),"primary"),-1);let ge=(()=>{class ae{}return ae.\u0275fac=function(j){return new(j||ae)},ae.\u0275dir=h.\u0275\u0275defineDirective({type:ae,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"],features:[h.\u0275\u0275ProvidersFeature([{provide:He,useExisting:ae}])]}),ae})(),de=(()=>{class ae{}return ae.\u0275fac=function(j){return new(j||ae)},ae.\u0275dir=h.\u0275\u0275defineDirective({type:ae,selectors:[["mat-chip-trailing-icon"],["","matChipTrailingIcon",""]],hostAttrs:[1,"mat-chip-trailing-icon"],features:[h.\u0275\u0275ProvidersFeature([{provide:ct,useExisting:ae}])]}),ae})(),ke=(()=>{class ae extends W{constructor(j,we,vt,Ge,yt,ee,Ie,at){super(j),this._ngZone=we,this._changeDetectorRef=yt,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this.role="option",this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new c.x,this._onBlur=new c.x,this.selectionChange=new h.EventEmitter,this.destroyed=new h.EventEmitter,this.removed=new h.EventEmitter,this._addHostClassName(),this._chipRippleTarget=ee.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new _.RippleRenderer(this,we,this._chipRippleTarget,vt),this._chipRipple.setupTriggerEvents(j),this.rippleConfig=Ge||{},this._animationsDisabled="NoopAnimations"===Ie,this.tabIndex=null!=at&&parseInt(at)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(j){const we=(0,u.Ig)(j);we!==this._selected&&(this._selected=we,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(j){this._value=j}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(j){this._selectable=(0,u.Ig)(j)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(j){this._disabled=(0,u.Ig)(j)}get removable(){return this._removable}set removable(j){this._removable=(0,u.Ig)(j)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const j="mat-basic-chip",we=this._elementRef.nativeElement;we.hasAttribute(j)||we.tagName.toLowerCase()===j?we.classList.add(j):we.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(j=!1){return this._selected=!this.selected,this._dispatchSelectionChange(j),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(j){this.disabled&&j.preventDefault()}_handleKeydown(j){if(!this.disabled)switch(j.keyCode){case n.yY:case n.ZH:this.remove(),j.preventDefault();break;case n.L_:this.selectable&&this.toggleSelected(!0),j.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,p.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(j=!1){this.selectionChange.emit({source:this,isUserInput:j,selected:this._selected})}}return ae.\u0275fac=function(j){return new(j||ae)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(h.NgZone),h.\u0275\u0275directiveInject(b.t4),h.\u0275\u0275directiveInject(_.MAT_RIPPLE_GLOBAL_OPTIONS,8),h.\u0275\u0275directiveInject(h.ChangeDetectorRef),h.\u0275\u0275directiveInject(r.DOCUMENT),h.\u0275\u0275directiveInject(h.ANIMATION_MODULE_TYPE,8),h.\u0275\u0275injectAttribute("tabindex"))},ae.\u0275dir=h.\u0275\u0275defineDirective({type:ae,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(j,we,vt){if(1&j&&(h.\u0275\u0275contentQuery(vt,He,5),h.\u0275\u0275contentQuery(vt,ct,5),h.\u0275\u0275contentQuery(vt,ve,5)),2&j){let Ge;h.\u0275\u0275queryRefresh(Ge=h.\u0275\u0275loadQuery())&&(we.avatar=Ge.first),h.\u0275\u0275queryRefresh(Ge=h.\u0275\u0275loadQuery())&&(we.trailingIcon=Ge.first),h.\u0275\u0275queryRefresh(Ge=h.\u0275\u0275loadQuery())&&(we.removeIcon=Ge.first)}},hostAttrs:[1,"mat-chip","mat-focus-indicator"],hostVars:15,hostBindings:function(j,we){1&j&&h.\u0275\u0275listener("click",function(Ge){return we._handleClick(Ge)})("keydown",function(Ge){return we._handleKeydown(Ge)})("focus",function(){return we.focus()})("blur",function(){return we._blur()}),2&j&&(h.\u0275\u0275attribute("tabindex",we.disabled?null:we.tabIndex)("role",we.role)("disabled",we.disabled||null)("aria-disabled",we.disabled.toString())("aria-selected",we.ariaSelected),h.\u0275\u0275classProp("mat-chip-selected",we.selected)("mat-chip-with-avatar",we.avatar)("mat-chip-with-trailing-icon",we.trailingIcon||we.removeIcon)("mat-chip-disabled",we.disabled)("_mat-animation-noopable",we._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[h.\u0275\u0275InheritDefinitionFeature]}),ae})(),tt=(()=>{class ae{constructor(j,we){this._parentChip=j,"BUTTON"===we.nativeElement.nodeName&&we.nativeElement.setAttribute("type","button")}_handleClick(j){const we=this._parentChip;we.removable&&!we.disabled&&we.remove(),j.stopPropagation(),j.preventDefault()}}return ae.\u0275fac=function(j){return new(j||ae)(h.\u0275\u0275directiveInject(ke),h.\u0275\u0275directiveInject(h.ElementRef))},ae.\u0275dir=h.\u0275\u0275defineDirective({type:ae,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(j,we){1&j&&h.\u0275\u0275listener("click",function(Ge){return we._handleClick(Ge)})},features:[h.\u0275\u0275ProvidersFeature([{provide:ve,useExisting:ae}])]}),ae})();const mt=new h.InjectionToken("mat-chips-default-options");let Ft=0,At=(()=>{class ae{constructor(j,we){this._elementRef=j,this._defaultOptions=we,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new h.EventEmitter,this.placeholder="",this.id="mat-chip-list-input-"+Ft++,this._disabled=!1,this.inputElement=this._elementRef.nativeElement}set chipList(j){j&&(this._chipList=j,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(j){this._addOnBlur=(0,u.Ig)(j)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(j){this._disabled=(0,u.Ig)(j)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(j){if(j){if(j.keyCode===n.Mf&&!(0,n.Vb)(j,"shiftKey")&&this._chipList._allowFocusEscape(),j.keyCode===n.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void j.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(j)}_keyup(j){!this._focusLastChipOnBackspace&&j.keyCode===n.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,j.preventDefault())}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._focusLastChipOnBackspace=this.empty,this._chipList.stateChanges.next()}_emitChipEnd(j){!this.inputElement.value&&!!j&&this._chipList._keydown(j),(!j||this._isSeparatorKey(j))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==j||j.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(j){this.inputElement.focus(j)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(j){return!(0,n.Vb)(j)&&new Set(this.separatorKeyCodes).has(j.keyCode)}}return ae.\u0275fac=function(j){return new(j||ae)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(mt))},ae.\u0275dir=h.\u0275\u0275defineDirective({type:ae,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(j,we){1&j&&h.\u0275\u0275listener("keydown",function(Ge){return we._keydown(Ge)})("keyup",function(Ge){return we._keyup(Ge)})("blur",function(){return we._blur()})("focus",function(){return we._focus()})("input",function(){return we._onInput()}),2&j&&(h.\u0275\u0275hostProperty("id",we.id),h.\u0275\u0275attribute("disabled",we.disabled||null)("placeholder",we.placeholder||null)("aria-invalid",we._chipList&&we._chipList.ngControl?we._chipList.ngControl.invalid:null)("aria-required",we._chipList&&we._chipList.required||null))},inputs:{chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[h.\u0275\u0275NgOnChangesFeature]}),ae})();const Yt=(0,_.mixinErrorState)(class{constructor(ae,le,j,we){this._defaultErrorStateMatcher=ae,this._parentForm=le,this._parentFormGroup=j,this.ngControl=we,this.stateChanges=new c.x}});let Nt=0;class rt{constructor(le,j){this.source=le,this.value=j}}let Je=(()=>{class ae extends Yt{constructor(j,we,vt,Ge,yt,ee,Ie){super(ee,Ge,yt,Ie),this._elementRef=j,this._changeDetectorRef=we,this._dir=vt,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new c.x,this._uid="mat-chip-list-"+Nt++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(at,Dt)=>at===Dt,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new h.EventEmitter,this.valueChange=new h.EventEmitter,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){var j,we;return this.multiple?(null===(j=this._selectionModel)||void 0===j?void 0:j.selected)||[]:null===(we=this._selectionModel)||void 0===we?void 0:we.selected[0]}get role(){return this._explicitRole?this._explicitRole:this.empty?null:"listbox"}set role(j){this._explicitRole=j}get multiple(){return this._multiple}set multiple(j){this._multiple=(0,u.Ig)(j),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(j){this._compareWith=j,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(j){this.writeValue(j),this._value=j}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var j,we,vt,Ge;return null!==(Ge=null!==(j=this._required)&&void 0!==j?j:null===(vt=null===(we=this.ngControl)||void 0===we?void 0:we.control)||void 0===vt?void 0:vt.hasValidator(C.Validators.required))&&void 0!==Ge&&Ge}set required(j){this._required=(0,u.Ig)(j),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(j){this._placeholder=j,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(j){this._disabled=(0,u.Ig)(j),this._syncChipsState()}get selectable(){return this._selectable}set selectable(j){this._selectable=(0,u.Ig)(j),this._syncChipsState()}set tabIndex(j){this._userTabIndex=j,this._tabIndex=j}get chipSelectionChanges(){return(0,d.T)(...this.chips.map(j=>j.selectionChange))}get chipFocusChanges(){return(0,d.T)(...this.chips.map(j=>j._onFocus))}get chipBlurChanges(){return(0,d.T)(...this.chips.map(j=>j._onBlur))}get chipRemoveChanges(){return(0,d.T)(...this.chips.map(j=>j.destroyed))}ngAfterContentInit(){this._keyManager=new v.Em(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe((0,y.R)(this._destroyed)).subscribe(j=>this._keyManager.withHorizontalOrientation(j)),this._keyManager.tabOut.pipe((0,y.R)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe((0,f.O)(null),(0,y.R)(this._destroyed)).subscribe(()=>{(this.disabled||!this.selectable)&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new m.Ov(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(j){this._chipInput=j,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",j.id)}setDescribedByIds(j){j.length?this._elementRef.nativeElement.setAttribute("aria-describedby",j.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}writeValue(j){this.chips&&this._setSelectionByValue(j,!1)}registerOnChange(j){this._onChange=j}registerOnTouched(j){this._onTouched=j}setDisabledState(j){this.disabled=j,this.stateChanges.next()}onContainerClick(j){this._originatesFromChip(j)||this.focus()}focus(j){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(j),this.stateChanges.next()))}_focusInput(j){this._chipInput&&this._chipInput.focus(j)}_keydown(j){const we=j.target;we&&we.classList.contains("mat-chip")&&(this._keyManager.onKeydown(j),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const j=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(j)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(j){return j>=0&&j<this.chips.length}_setSelectionByValue(j,we=!0){if(this._clearSelection(),this.chips.forEach(vt=>vt.deselect()),Array.isArray(j))j.forEach(vt=>this._selectValue(vt,we)),this._sortValues();else{const vt=this._selectValue(j,we);vt&&we&&this._keyManager.setActiveItem(vt)}}_selectValue(j,we=!0){const vt=this.chips.find(Ge=>null!=Ge.value&&this._compareWith(Ge.value,j));return vt&&(we?vt.selectViaInteraction():vt.select(),this._selectionModel.select(vt)),vt}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(j){this._selectionModel.clear(),this.chips.forEach(we=>{we!==j&&we.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(j=>{j.selected&&this._selectionModel.select(j)}),this.stateChanges.next())}_propagateChanges(j){let we=null;we=Array.isArray(this.selected)?this.selected.map(vt=>vt.value):this.selected?this.selected.value:j,this._value=we,this.change.emit(new rt(this,we)),this.valueChange.emit(we),this._onChange(we),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(j=>{j.source.selected?this._selectionModel.select(j.source):this._selectionModel.deselect(j.source),this.multiple||this.chips.forEach(we=>{!this._selectionModel.isSelected(we)&&we.selected&&we.deselect()}),j.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(j=>{let we=this.chips.toArray().indexOf(j.chip);this._isValidIndex(we)&&this._keyManager.updateActiveItem(we),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(j=>{const we=j.chip,vt=this.chips.toArray().indexOf(j.chip);this._isValidIndex(vt)&&we._hasFocus&&(this._lastDestroyedChipIndex=vt)})}_originatesFromChip(j){let we=j.target;for(;we&&we!==this._elementRef.nativeElement;){if(we.classList.contains("mat-chip"))return!0;we=we.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(j=>j._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(j=>{j._chipListDisabled=this._disabled,j._chipListMultiple=this.multiple,j.chipListSelectable=this._selectable})}}return ae.\u0275fac=function(j){return new(j||ae)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(h.ChangeDetectorRef),h.\u0275\u0275directiveInject(ze.Is,8),h.\u0275\u0275directiveInject(C.NgForm,8),h.\u0275\u0275directiveInject(C.FormGroupDirective,8),h.\u0275\u0275directiveInject(_.ErrorStateMatcher),h.\u0275\u0275directiveInject(C.NgControl,10))},ae.\u0275cmp=h.\u0275\u0275defineComponent({type:ae,selectors:[["mat-chip-list"]],contentQueries:function(j,we,vt){if(1&j&&h.\u0275\u0275contentQuery(vt,ke,5),2&j){let Ge;h.\u0275\u0275queryRefresh(Ge=h.\u0275\u0275loadQuery())&&(we.chips=Ge)}},hostAttrs:[1,"mat-chip-list"],hostVars:14,hostBindings:function(j,we){1&j&&h.\u0275\u0275listener("focus",function(){return we.focus()})("blur",function(){return we._blur()})("keydown",function(Ge){return we._keydown(Ge)}),2&j&&(h.\u0275\u0275hostProperty("id",we._uid),h.\u0275\u0275attribute("tabindex",we.disabled?null:we._tabIndex)("aria-required",we.role?we.required:null)("aria-disabled",we.disabled.toString())("aria-invalid",we.errorState)("aria-multiselectable",we.multiple)("role",we.role)("aria-orientation",we.ariaOrientation),h.\u0275\u0275classProp("mat-chip-list-disabled",we.disabled)("mat-chip-list-invalid",we.errorState)("mat-chip-list-required",we.required))},inputs:{role:"role",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],errorStateMatcher:"errorStateMatcher",multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",ariaOrientation:["aria-orientation","ariaOrientation"],selectable:"selectable",tabIndex:"tabIndex"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[h.\u0275\u0275ProvidersFeature([{provide:Ae,useExisting:ae}]),h.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:je,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(j,we){1&j&&(h.\u0275\u0275projectionDef(),h.\u0275\u0275elementStart(0,"div",0),h.\u0275\u0275projection(1),h.\u0275\u0275elementEnd())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-chip::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}.mat-standard-chip._mat-animation-noopable{transition:none !important;animation:none !important}.mat-standard-chip .mat-chip-remove{border:none;-webkit-appearance:none;-moz-appearance:none;padding:0;background:none}.mat-standard-chip .mat-chip-remove.mat-icon,.mat-standard-chip .mat-chip-remove .mat-icon{width:18px;height:18px;font-size:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip.mat-chip-selected{outline-width:3px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden;transform:translateZ(0)}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}'],encapsulation:2,changeDetection:0}),ae})(),me=(()=>{class ae{}return ae.\u0275fac=function(j){return new(j||ae)},ae.\u0275mod=h.\u0275\u0275defineNgModule({type:ae}),ae.\u0275inj=h.\u0275\u0275defineInjector({providers:[_.ErrorStateMatcher,{provide:mt,useValue:{separatorKeyCodes:[n.K5]}}],imports:[_.MatCommonModule]}),ae})()},508:(U,o,a)=>{"use strict";a.r(o),a.d(o,{AnimationCurves:()=>N,AnimationDurations:()=>Q,DateAdapter:()=>K,ErrorStateMatcher:()=>Ue,MATERIAL_SANITY_CHECKS:()=>G,MAT_DATE_FORMATS:()=>ie,MAT_DATE_LOCALE:()=>Ee,MAT_DATE_LOCALE_FACTORY:()=>Oe,MAT_NATIVE_DATE_FORMATS:()=>Ce,MAT_OPTGROUP:()=>ge,MAT_OPTION_PARENT_COMPONENT:()=>He,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Te,MatCommonModule:()=>B,MatLine:()=>ut,MatLineModule:()=>dt,MatNativeDateModule:()=>Ve,MatOptgroup:()=>de,MatOption:()=>Ft,MatOptionModule:()=>Nt,MatOptionSelectionChange:()=>tt,MatPseudoCheckbox:()=>We,MatPseudoCheckboxModule:()=>ve,MatRipple:()=>ze,MatRippleModule:()=>je,NativeDateAdapter:()=>ye,NativeDateModule:()=>De,RippleRef:()=>$e,RippleRenderer:()=>Ke,ShowOnDirtyErrorStateMatcher:()=>Se,VERSION:()=>P,_MatOptgroupBase:()=>W,_MatOptionBase:()=>mt,_countGroupLabelsBeforeOption:()=>At,_getOptionScrollPosition:()=>Yt,defaultRippleAnimationConfig:()=>Pe,mixinColor:()=>it,mixinDisableRipple:()=>z,mixinDisabled:()=>Fe,mixinErrorState:()=>V,mixinInitialized:()=>te,mixinTabIndex:()=>q,setLines:()=>_t});var n=a(5e3),h=a(226),u=a(9808),r=a(925),c=a(5664),d=a(3191),p=a(8306),y=a(7579),f=a(8675),b=a(1159);const v=["*",[["mat-option"],["ng-container"]]],m=["*","mat-option, ng-container"];function C(rt,Je){if(1&rt&&n.\u0275\u0275element(0,"mat-pseudo-checkbox",4),2&rt){const be=n.\u0275\u0275nextContext();n.\u0275\u0275property("state",be.selected?"checked":"unchecked")("disabled",be.disabled)}}function M(rt,Je){if(1&rt&&(n.\u0275\u0275elementStart(0,"span",5),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&rt){const be=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("(",be.group.label,")")}}const O=["*"],P=new n.Version("14.1.3");let N=(()=>{class rt{}return rt.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",rt.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",rt.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",rt.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",rt})(),Q=(()=>{class rt{}return rt.COMPLEX="375ms",rt.ENTERING="225ms",rt.EXITING="195ms",rt})();const G=new n.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function H(){return!0}});let B=(()=>{class rt{constructor(be,me,ae){this._sanityChecks=me,this._document=ae,this._hasDoneGlobalChecks=!1,be._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(be){return!(0,r.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[be])}}return rt.\u0275fac=function(be){return new(be||rt)(n.\u0275\u0275inject(c.qm),n.\u0275\u0275inject(G,8),n.\u0275\u0275inject(u.DOCUMENT))},rt.\u0275mod=n.\u0275\u0275defineNgModule({type:rt}),rt.\u0275inj=n.\u0275\u0275defineInjector({imports:[h.vT,h.vT]}),rt})();function Fe(rt){return class extends rt{constructor(...Je){super(...Je),this._disabled=!1}get disabled(){return this._disabled}set disabled(Je){this._disabled=(0,d.Ig)(Je)}}}function it(rt,Je){return class extends rt{constructor(...be){super(...be),this.defaultColor=Je,this.color=Je}get color(){return this._color}set color(be){const me=be||this.defaultColor;me!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),me&&this._elementRef.nativeElement.classList.add(`mat-${me}`),this._color=me)}}}function z(rt){return class extends rt{constructor(...Je){super(...Je),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Je){this._disableRipple=(0,d.Ig)(Je)}}}function q(rt,Je=0){return class extends rt{constructor(...be){super(...be),this._tabIndex=Je,this.defaultTabIndex=Je}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(be){this._tabIndex=null!=be?(0,d.su)(be):this.defaultTabIndex}}}function V(rt){return class extends rt{constructor(...Je){super(...Je),this.errorState=!1}updateErrorState(){const Je=this.errorState,le=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);le!==Je&&(this.errorState=le,this.stateChanges.next())}}}function te(rt){return class extends rt{constructor(...Je){super(...Je),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new p.y(be=>{this._isInitialized?this._notifySubscriber(be):this._pendingSubscribers.push(be)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(Je){Je.next(),Je.complete()}}}const Ee=new n.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:Oe});function Oe(){return(0,n.inject)(n.LOCALE_ID)}class K{constructor(){this._localeChanges=new y.x,this.localeChanges=this._localeChanges}getValidDateOrNull(Je){return this.isDateInstance(Je)&&this.isValid(Je)?Je:null}deserialize(Je){return null==Je||this.isDateInstance(Je)&&this.isValid(Je)?Je:this.invalid()}setLocale(Je){this.locale=Je,this._localeChanges.next()}compareDate(Je,be){return this.getYear(Je)-this.getYear(be)||this.getMonth(Je)-this.getMonth(be)||this.getDate(Je)-this.getDate(be)}sameDate(Je,be){if(Je&&be){let me=this.isValid(Je),ae=this.isValid(be);return me&&ae?!this.compareDate(Je,be):me==ae}return Je==be}clampDate(Je,be,me){return be&&this.compareDate(Je,be)<0?be:me&&this.compareDate(Je,me)>0?me:Je}}const ie=new n.InjectionToken("mat-date-formats"),Ae=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function $(rt,Je){const be=Array(rt);for(let me=0;me<rt;me++)be[me]=Je(me);return be}let ye=(()=>{class rt extends K{constructor(be,me){super(),this.useUtcForDisplay=!1,super.setLocale(be)}getYear(be){return be.getFullYear()}getMonth(be){return be.getMonth()}getDate(be){return be.getDate()}getDayOfWeek(be){return be.getDay()}getMonthNames(be){const me=new Intl.DateTimeFormat(this.locale,{month:be,timeZone:"utc"});return $(12,ae=>this._format(me,new Date(2017,ae,1)))}getDateNames(){const be=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return $(31,me=>this._format(be,new Date(2017,0,me+1)))}getDayOfWeekNames(be){const me=new Intl.DateTimeFormat(this.locale,{weekday:be,timeZone:"utc"});return $(7,ae=>this._format(me,new Date(2017,0,ae+1)))}getYearName(be){const me=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(me,be)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(be){return this.getDate(this._createDateWithOverflow(this.getYear(be),this.getMonth(be)+1,0))}clone(be){return new Date(be.getTime())}createDate(be,me,ae){let le=this._createDateWithOverflow(be,me,ae);return le.getMonth(),le}today(){return new Date}parse(be,me){return"number"==typeof be?new Date(be):be?new Date(Date.parse(be)):null}format(be,me){if(!this.isValid(be))throw Error("NativeDateAdapter: Cannot format invalid date.");const ae=new Intl.DateTimeFormat(this.locale,Object.assign(Object.assign({},me),{timeZone:"utc"}));return this._format(ae,be)}addCalendarYears(be,me){return this.addCalendarMonths(be,12*me)}addCalendarMonths(be,me){let ae=this._createDateWithOverflow(this.getYear(be),this.getMonth(be)+me,this.getDate(be));return this.getMonth(ae)!=((this.getMonth(be)+me)%12+12)%12&&(ae=this._createDateWithOverflow(this.getYear(ae),this.getMonth(ae),0)),ae}addCalendarDays(be,me){return this._createDateWithOverflow(this.getYear(be),this.getMonth(be),this.getDate(be)+me)}toIso8601(be){return[be.getUTCFullYear(),this._2digit(be.getUTCMonth()+1),this._2digit(be.getUTCDate())].join("-")}deserialize(be){if("string"==typeof be){if(!be)return null;if(Ae.test(be)){let me=new Date(be);if(this.isValid(me))return me}}return super.deserialize(be)}isDateInstance(be){return be instanceof Date}isValid(be){return!isNaN(be.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(be,me,ae){const le=new Date;return le.setFullYear(be,me,ae),le.setHours(0,0,0,0),le}_2digit(be){return("00"+be).slice(-2)}_format(be,me){const ae=new Date;return ae.setUTCFullYear(me.getFullYear(),me.getMonth(),me.getDate()),ae.setUTCHours(me.getHours(),me.getMinutes(),me.getSeconds(),me.getMilliseconds()),be.format(ae)}}return rt.\u0275fac=function(be){return new(be||rt)(n.\u0275\u0275inject(Ee,8),n.\u0275\u0275inject(r.t4))},rt.\u0275prov=n.\u0275\u0275defineInjectable({token:rt,factory:rt.\u0275fac}),rt})();const Ce={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let De=(()=>{class rt{}return rt.\u0275fac=function(be){return new(be||rt)},rt.\u0275mod=n.\u0275\u0275defineNgModule({type:rt}),rt.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:K,useClass:ye}]}),rt})(),Ve=(()=>{class rt{}return rt.\u0275fac=function(be){return new(be||rt)},rt.\u0275mod=n.\u0275\u0275defineNgModule({type:rt}),rt.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:ie,useValue:Ce}],imports:[De]}),rt})(),Se=(()=>{class rt{isErrorState(be,me){return!!(be&&be.invalid&&(be.dirty||me&&me.submitted))}}return rt.\u0275fac=function(be){return new(be||rt)},rt.\u0275prov=n.\u0275\u0275defineInjectable({token:rt,factory:rt.\u0275fac}),rt})(),Ue=(()=>{class rt{isErrorState(be,me){return!!(be&&be.invalid&&(be.touched||me&&me.submitted))}}return rt.\u0275fac=function(be){return new(be||rt)},rt.\u0275prov=n.\u0275\u0275defineInjectable({token:rt,factory:rt.\u0275fac,providedIn:"root"}),rt})(),ut=(()=>{class rt{}return rt.\u0275fac=function(be){return new(be||rt)},rt.\u0275dir=n.\u0275\u0275defineDirective({type:rt,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),rt})();function _t(rt,Je,be="mat"){rt.changes.pipe((0,f.O)(rt)).subscribe(({length:me})=>{bt(Je,`${be}-2-line`,!1),bt(Je,`${be}-3-line`,!1),bt(Je,`${be}-multi-line`,!1),2===me||3===me?bt(Je,`${be}-${me}-line`,!0):me>3&&bt(Je,`${be}-multi-line`,!0)})}function bt(rt,Je,be){rt.nativeElement.classList.toggle(Je,be)}let dt=(()=>{class rt{}return rt.\u0275fac=function(be){return new(be||rt)},rt.\u0275mod=n.\u0275\u0275defineNgModule({type:rt}),rt.\u0275inj=n.\u0275\u0275defineInjector({imports:[B,B]}),rt})();class $e{constructor(Je,be,me,ae=!1){this._renderer=Je,this.element=be,this.config=me,this._animationForciblyDisabledThroughCss=ae,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Pe={enterDuration:225,exitDuration:150},he=(0,r.i$)({passive:!0}),Qe=["mousedown","touchstart"],Be=["mouseup","mouseleave","touchend","touchcancel"];class Ke{constructor(Je,be,me,ae){this._target=Je,this._ngZone=be,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,ae.isBrowser&&(this._containerElement=(0,d.fI)(me))}fadeInRipple(Je,be,me={}){const ae=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),le=Object.assign(Object.assign({},Pe),me.animation);me.centered&&(Je=ae.left+ae.width/2,be=ae.top+ae.height/2);const j=me.radius||function Y(rt,Je,be){const me=Math.max(Math.abs(rt-be.left),Math.abs(rt-be.right)),ae=Math.max(Math.abs(Je-be.top),Math.abs(Je-be.bottom));return Math.sqrt(me*me+ae*ae)}(Je,be,ae),we=Je-ae.left,vt=be-ae.top,Ge=le.enterDuration,yt=document.createElement("div");yt.classList.add("mat-ripple-element"),yt.style.left=we-j+"px",yt.style.top=vt-j+"px",yt.style.height=2*j+"px",yt.style.width=2*j+"px",null!=me.color&&(yt.style.backgroundColor=me.color),yt.style.transitionDuration=`${Ge}ms`,this._containerElement.appendChild(yt);const ee=window.getComputedStyle(yt),at=ee.transitionDuration,Dt="none"===ee.transitionProperty||"0s"===at||"0s, 0s"===at,Ht=new $e(this,yt,me,Dt);yt.style.transform="scale3d(1, 1, 1)",Ht.state=0,me.persistent||(this._mostRecentTransientRipple=Ht);let rn=null;return!Dt&&(Ge||le.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Xt=()=>this._finishRippleTransition(Ht),vn=()=>this._destroyRipple(Ht);yt.addEventListener("transitionend",Xt),yt.addEventListener("transitioncancel",vn),rn={onTransitionEnd:Xt,onTransitionCancel:vn}}),this._activeRipples.set(Ht,rn),(Dt||!Ge)&&this._finishRippleTransition(Ht),Ht}fadeOutRipple(Je){if(2===Je.state||3===Je.state)return;const be=Je.element,me=Object.assign(Object.assign({},Pe),Je.config.animation);be.style.transitionDuration=`${me.exitDuration}ms`,be.style.opacity="0",Je.state=2,(Je._animationForciblyDisabledThroughCss||!me.exitDuration)&&this._finishRippleTransition(Je)}fadeOutAll(){this._getActiveRipples().forEach(Je=>Je.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Je=>{Je.config.persistent||Je.fadeOut()})}setupTriggerEvents(Je){const be=(0,d.fI)(Je);!be||be===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=be,this._registerEvents(Qe))}handleEvent(Je){"mousedown"===Je.type?this._onMousedown(Je):"touchstart"===Je.type?this._onTouchStart(Je):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Be),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Je){0===Je.state?this._startFadeOutTransition(Je):2===Je.state&&this._destroyRipple(Je)}_startFadeOutTransition(Je){const be=Je===this._mostRecentTransientRipple,{persistent:me}=Je.config;Je.state=1,!me&&(!be||!this._isPointerDown)&&Je.fadeOut()}_destroyRipple(Je){var be;const me=null!==(be=this._activeRipples.get(Je))&&void 0!==be?be:null;this._activeRipples.delete(Je),this._activeRipples.size||(this._containerRect=null),Je===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Je.state=3,null!==me&&(Je.element.removeEventListener("transitionend",me.onTransitionEnd),Je.element.removeEventListener("transitioncancel",me.onTransitionCancel)),Je.element.remove()}_onMousedown(Je){const be=(0,c.X6)(Je),me=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!be&&!me&&(this._isPointerDown=!0,this.fadeInRipple(Je.clientX,Je.clientY,this._target.rippleConfig))}_onTouchStart(Je){if(!this._target.rippleDisabled&&!(0,c.yG)(Je)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const be=Je.changedTouches;for(let me=0;me<be.length;me++)this.fadeInRipple(be[me].clientX,be[me].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(Je=>{!Je.config.persistent&&(1===Je.state||Je.config.terminateOnPointerUp&&0===Je.state)&&Je.fadeOut()}))}_registerEvents(Je){this._ngZone.runOutsideAngular(()=>{Je.forEach(be=>{this._triggerElement.addEventListener(be,this,he)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(Qe.forEach(Je=>{this._triggerElement.removeEventListener(Je,this,he)}),this._pointerUpEventsRegistered&&Be.forEach(Je=>{this._triggerElement.removeEventListener(Je,this,he)}))}}const Te=new n.InjectionToken("mat-ripple-global-options");let ze=(()=>{class rt{constructor(be,me,ae,le,j){this._elementRef=be,this._animationMode=j,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=le||{},this._rippleRenderer=new Ke(this,me,be,ae)}get disabled(){return this._disabled}set disabled(be){be&&this.fadeOutAllNonPersistent(),this._disabled=be,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(be){this._trigger=be,this._setupTriggerEventsIfEnabled()}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:Object.assign(Object.assign(Object.assign({},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(be,me=0,ae){return"number"==typeof be?this._rippleRenderer.fadeInRipple(be,me,Object.assign(Object.assign({},this.rippleConfig),ae)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),be))}}return rt.\u0275fac=function(be){return new(be||rt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(r.t4),n.\u0275\u0275directiveInject(Te,8),n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},rt.\u0275dir=n.\u0275\u0275defineDirective({type:rt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(be,me){2&be&&n.\u0275\u0275classProp("mat-ripple-unbounded",me.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"]}),rt})(),je=(()=>{class rt{}return rt.\u0275fac=function(be){return new(be||rt)},rt.\u0275mod=n.\u0275\u0275defineNgModule({type:rt}),rt.\u0275inj=n.\u0275\u0275defineInjector({imports:[B,B]}),rt})(),We=(()=>{class rt{constructor(be){this._animationMode=be,this.state="unchecked",this.disabled=!1}}return rt.\u0275fac=function(be){return new(be||rt)(n.\u0275\u0275directiveInject(n.ANIMATION_MODULE_TYPE,8))},rt.\u0275cmp=n.\u0275\u0275defineComponent({type:rt,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(be,me){2&be&&n.\u0275\u0275classProp("mat-pseudo-checkbox-indeterminate","indeterminate"===me.state)("mat-pseudo-checkbox-checked","checked"===me.state)("mat-pseudo-checkbox-disabled",me.disabled)("_mat-animation-noopable","NoopAnimations"===me._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(be,me){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}'],encapsulation:2,changeDetection:0}),rt})(),ve=(()=>{class rt{}return rt.\u0275fac=function(be){return new(be||rt)},rt.\u0275mod=n.\u0275\u0275defineNgModule({type:rt}),rt.\u0275inj=n.\u0275\u0275defineInjector({imports:[B]}),rt})();const He=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),ct=Fe(class{});let xe=0,W=(()=>{class rt extends ct{constructor(be){var me;super(),this._labelId="mat-optgroup-label-"+xe++,this._inert=null!==(me=null==be?void 0:be.inertGroups)&&void 0!==me&&me}}return rt.\u0275fac=function(be){return new(be||rt)(n.\u0275\u0275directiveInject(He,8))},rt.\u0275dir=n.\u0275\u0275defineDirective({type:rt,inputs:{label:"label"},features:[n.\u0275\u0275InheritDefinitionFeature]}),rt})();const ge=new n.InjectionToken("MatOptgroup");let de=(()=>{class rt extends W{}return rt.\u0275fac=function(){let Je;return function(me){return(Je||(Je=n.\u0275\u0275getInheritedFactory(rt)))(me||rt)}}(),rt.\u0275cmp=n.\u0275\u0275defineComponent({type:rt,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(be,me){2&be&&(n.\u0275\u0275attribute("role",me._inert?null:"group")("aria-disabled",me._inert?null:me.disabled.toString())("aria-labelledby",me._inert?null:me._labelId),n.\u0275\u0275classProp("mat-optgroup-disabled",me.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[n.\u0275\u0275ProvidersFeature([{provide:ge,useExisting:rt}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:m,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(be,me){1&be&&(n.\u0275\u0275projectionDef(v),n.\u0275\u0275elementStart(0,"span",0),n.\u0275\u0275text(1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275projection(3,1)),2&be&&(n.\u0275\u0275property("id",me._labelId),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("",me.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],encapsulation:2,changeDetection:0}),rt})(),ke=0;class tt{constructor(Je,be=!1){this.source=Je,this.isUserInput=be}}let mt=(()=>{class rt{constructor(be,me,ae,le){this._element=be,this._changeDetectorRef=me,this._parent=ae,this.group=le,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ke++,this.onSelectionChange=new n.EventEmitter,this._stateChanges=new y.x}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(be){this._disabled=(0,d.Ig)(be)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(be,me){const ae=this._getHostElement();"function"==typeof ae.focus&&ae.focus(me)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(be){(be.keyCode===b.K5||be.keyCode===b.L_)&&!(0,b.Vb)(be)&&(this._selectViaInteraction(),be.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const be=this.viewValue;be!==this._mostRecentViewValue&&(this._mostRecentViewValue=be,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(be=!1){this.onSelectionChange.emit(new tt(this,be))}}return rt.\u0275fac=function(be){n.\u0275\u0275invalidFactory()},rt.\u0275dir=n.\u0275\u0275defineDirective({type:rt,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),rt})(),Ft=(()=>{class rt extends mt{constructor(be,me,ae,le){super(be,me,ae,le)}}return rt.\u0275fac=function(be){return new(be||rt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(He,8),n.\u0275\u0275directiveInject(ge,8))},rt.\u0275cmp=n.\u0275\u0275defineComponent({type:rt,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(be,me){1&be&&n.\u0275\u0275listener("click",function(){return me._selectViaInteraction()})("keydown",function(le){return me._handleKeydown(le)}),2&be&&(n.\u0275\u0275hostProperty("id",me.id),n.\u0275\u0275attribute("tabindex",me._getTabIndex())("aria-selected",me._getAriaSelected())("aria-disabled",me.disabled.toString()),n.\u0275\u0275classProp("mat-selected",me.selected)("mat-option-multiple",me.multiple)("mat-active",me.active)("mat-option-disabled",me.disabled))},exportAs:["matOption"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:O,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(be,me){1&be&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275template(0,C,1,2,"mat-pseudo-checkbox",0),n.\u0275\u0275elementStart(1,"span",1),n.\u0275\u0275projection(2),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(3,M,2,1,"span",2),n.\u0275\u0275element(4,"div",3)),2&be&&(n.\u0275\u0275property("ngIf",me.multiple),n.\u0275\u0275advance(3),n.\u0275\u0275property("ngIf",me.group&&me.group._inert),n.\u0275\u0275advance(1),n.\u0275\u0275property("matRippleTrigger",me._getHostElement())("matRippleDisabled",me.disabled||me.disableRipple))},dependencies:[ze,u.NgIf,We],styles:['.mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.mat-option.mat-active::before{content:""}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-option.mat-selected:not(.mat-option-multiple)::after{right:auto;left:16px}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}'],encapsulation:2,changeDetection:0}),rt})();function At(rt,Je,be){if(be.length){let me=Je.toArray(),ae=be.toArray(),le=0;for(let j=0;j<rt+1;j++)me[j].group&&me[j].group===ae[le]&&le++;return le}return 0}function Yt(rt,Je,be,me){return rt<be?rt:rt+Je>be+me?Math.max(0,rt-me+Je):be}let Nt=(()=>{class rt{}return rt.\u0275fac=function(be){return new(be||rt)},rt.\u0275mod=n.\u0275\u0275defineNgModule({type:rt}),rt.\u0275inj=n.\u0275\u0275defineInjector({imports:[je,u.CommonModule,B,ve]}),rt})()},9694:(U,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_DIALOG_DATA:()=>Se,MAT_DIALOG_DEFAULT_OPTIONS:()=>Ue,MAT_DIALOG_SCROLL_STRATEGY:()=>ut,MAT_DIALOG_SCROLL_STRATEGY_FACTORY:()=>_t,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER:()=>dt,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>bt,MatDialog:()=>Le,MatDialogActions:()=>Y,MatDialogClose:()=>Qe,MatDialogConfig:()=>$,MatDialogContainer:()=>Ce,MatDialogContent:()=>Ke,MatDialogModule:()=>ze,MatDialogRef:()=>De,MatDialogTitle:()=>Be,_MatDialogBase:()=>Pe,_MatDialogContainerBase:()=>ye,_closeDialogVia:()=>Ve,matDialogAnimations:()=>Ae});var n=a(925),h=a(7429),_=a(9808),u=a(5e3),r=a(5664),c=a(1314),d=a(1159),p=a(7579),y=a(8306),f=a(8421);function b(je){return new y.y(We=>{(0,f.Xf)(je()).subscribe(We)})}var v=a(9646),m=a(226),C=a(8675);function M(je,We){}class O{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}}let N=(()=>{class je extends h.en{constructor(ve,He,ct,xe,W,ge,de,ke){super(),this._elementRef=ve,this._focusTrapFactory=He,this._config=xe,this._interactivityChecker=W,this._ngZone=ge,this._overlayRef=de,this._focusMonitor=ke,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=tt=>{this._portalOutlet.hasAttached();const mt=this._portalOutlet.attachDomPortal(tt);return this._contentAttached(),mt},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=ct}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(ve){this._portalOutlet.hasAttached();const He=this._portalOutlet.attachComponentPortal(ve);return this._contentAttached(),He}attachTemplatePortal(ve){this._portalOutlet.hasAttached();const He=this._portalOutlet.attachTemplatePortal(ve);return this._contentAttached(),He}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(ve,He){this._interactivityChecker.isFocusable(ve)||(ve.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const ct=()=>{ve.removeEventListener("blur",ct),ve.removeEventListener("mousedown",ct),ve.removeAttribute("tabindex")};ve.addEventListener("blur",ct),ve.addEventListener("mousedown",ct)})),ve.focus(He)}_focusByCssSelector(ve,He){let ct=this._elementRef.nativeElement.querySelector(ve);ct&&this._forceFocus(ct,He)}_trapFocus(){const ve=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||ve.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(He=>{He||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 ve=this._config.restoreFocus;let He=null;if("string"==typeof ve?He=this._document.querySelector(ve):"boolean"==typeof ve?He=ve?this._elementFocusedBeforeDialogWasOpened:null:ve&&(He=ve),this._config.restoreFocus&&He&&"function"==typeof He.focus){const ct=(0,n.ht)(),xe=this._elementRef.nativeElement;(!ct||ct===this._document.body||ct===xe||xe.contains(ct))&&(this._focusMonitor?(this._focusMonitor.focusVia(He,this._closeInteractionType),this._closeInteractionType=null):He.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const ve=this._elementRef.nativeElement,He=(0,n.ht)();return ve===He||ve.contains(He)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,n.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return je.\u0275fac=function(ve){return new(ve||je)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(r.qV),u.\u0275\u0275directiveInject(_.DOCUMENT,8),u.\u0275\u0275directiveInject(O),u.\u0275\u0275directiveInject(r.ic),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(c.Iu),u.\u0275\u0275directiveInject(r.tE))},je.\u0275cmp=u.\u0275\u0275defineComponent({type:je,selectors:[["cdk-dialog-container"]],viewQuery:function(ve,He){if(1&ve&&u.\u0275\u0275viewQuery(h.Pl,7),2&ve){let ct;u.\u0275\u0275queryRefresh(ct=u.\u0275\u0275loadQuery())&&(He._portalOutlet=ct.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(ve,He){2&ve&&u.\u0275\u0275attribute("id",He._config.id||null)("role",He._config.role)("aria-modal",He._config.ariaModal)("aria-labelledby",He._config.ariaLabel?null:He._ariaLabelledBy)("aria-label",He._config.ariaLabel)("aria-describedby",He._config.ariaDescribedBy||null)},features:[u.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(ve,He){1&ve&&u.\u0275\u0275template(0,M,0,0,"ng-template",0)},dependencies:[h.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),je})();class Q{constructor(We,ve){this.overlayRef=We,this.config=ve,this.closed=new p.x,this.disableClose=ve.disableClose,this.backdropClick=We.backdropClick(),this.keydownEvents=We.keydownEvents(),this.outsidePointerEvents=We.outsidePointerEvents(),this.id=ve.id,this.keydownEvents.subscribe(He=>{He.keyCode===d.hY&&!this.disableClose&&!(0,d.Vb)(He)&&(He.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(We,ve){if(this.containerInstance){const He=this.closed;this.containerInstance._closeInteractionType=(null==ve?void 0:ve.focusOrigin)||"program",this.overlayRef.dispose(),He.next(We),He.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(We="",ve=""){return this.overlayRef.updateSize({width:We,height:ve}),this}addPanelClass(We){return this.overlayRef.addPanelClass(We),this}removePanelClass(We){return this.overlayRef.removePanelClass(We),this}}const H=new u.InjectionToken("DialogScrollStrategy"),G=new u.InjectionToken("DialogData"),B=new u.InjectionToken("DefaultDialogConfig"),oe={provide:H,deps:[c.aV],useFactory:function X(je){return()=>je.scrollStrategies.block()}};let pe=0,Fe=(()=>{class je{constructor(ve,He,ct,xe,W,ge){this._overlay=ve,this._injector=He,this._defaultOptions=ct,this._parentDialog=xe,this._overlayContainer=W,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new p.x,this._afterOpenedAtThisLevel=new p.x,this._ariaHiddenElements=new Map,this.afterAllClosed=b(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,C.O)(void 0))),this._scrollStrategy=ge}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(ve,He){const ct=this._defaultOptions||new O;(He=Object.assign(Object.assign({},ct),He)).id=He.id||"cdk-dialog-"+pe++,He.id&&this.getDialogById(He.id);const xe=this._getOverlayConfig(He),W=this._overlay.create(xe),ge=new Q(W,He),de=this._attachContainer(W,ge,He);return ge.containerInstance=de,this._attachDialogContent(ve,ge,de,He),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(ge),ge.closed.subscribe(()=>this._removeOpenDialog(ge,!0)),this.afterOpened.next(ge),ge}closeAll(){it(this.openDialogs,ve=>ve.close())}getDialogById(ve){return this.openDialogs.find(He=>He.id===ve)}ngOnDestroy(){it(this._openDialogsAtThisLevel,ve=>{!1===ve.config.closeOnDestroy&&this._removeOpenDialog(ve,!1)}),it(this._openDialogsAtThisLevel,ve=>ve.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(ve){const He=new c.X_({positionStrategy:ve.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:ve.scrollStrategy||this._scrollStrategy(),panelClass:ve.panelClass,hasBackdrop:ve.hasBackdrop,direction:ve.direction,minWidth:ve.minWidth,minHeight:ve.minHeight,maxWidth:ve.maxWidth,maxHeight:ve.maxHeight,width:ve.width,height:ve.height,disposeOnNavigation:ve.closeOnNavigation});return ve.backdropClass&&(He.backdropClass=ve.backdropClass),He}_attachContainer(ve,He,ct){var xe;const W=ct.injector||(null===(xe=ct.viewContainerRef)||void 0===xe?void 0:xe.injector),ge=[{provide:O,useValue:ct},{provide:Q,useValue:He},{provide:c.Iu,useValue:ve}];let de;ct.container?"function"==typeof ct.container?de=ct.container:(de=ct.container.type,ge.push(...ct.container.providers(ct))):de=N;const ke=new h.C5(de,ct.viewContainerRef,u.Injector.create({parent:W||this._injector,providers:ge}),ct.componentFactoryResolver);return ve.attach(ke).instance}_attachDialogContent(ve,He,ct,xe){if(ve instanceof u.TemplateRef){const W=this._createInjector(xe,He,ct,void 0);let ge={$implicit:xe.data,dialogRef:He};xe.templateContext&&(ge=Object.assign(Object.assign({},ge),"function"==typeof xe.templateContext?xe.templateContext():xe.templateContext)),ct.attachTemplatePortal(new h.UE(ve,null,ge,W))}else{const W=this._createInjector(xe,He,ct,this._injector),ge=ct.attachComponentPortal(new h.C5(ve,xe.viewContainerRef,W,xe.componentFactoryResolver));He.componentInstance=ge.instance}}_createInjector(ve,He,ct,xe){var W;const ge=ve.injector||(null===(W=ve.viewContainerRef)||void 0===W?void 0:W.injector),de=[{provide:G,useValue:ve.data},{provide:Q,useValue:He}];return ve.providers&&("function"==typeof ve.providers?de.push(...ve.providers(He,ve,ct)):de.push(...ve.providers)),ve.direction&&(!ge||!ge.get(m.Is,null,u.InjectFlags.Optional))&&de.push({provide:m.Is,useValue:{value:ve.direction,change:(0,v.of)()}}),u.Injector.create({parent:ge||xe,providers:de})}_removeOpenDialog(ve,He){const ct=this.openDialogs.indexOf(ve);ct>-1&&(this.openDialogs.splice(ct,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((xe,W)=>{xe?W.setAttribute("aria-hidden",xe):W.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),He&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const ve=this._overlayContainer.getContainerElement();if(ve.parentElement){const He=ve.parentElement.children;for(let ct=He.length-1;ct>-1;ct--){const xe=He[ct];xe!==ve&&"SCRIPT"!==xe.nodeName&&"STYLE"!==xe.nodeName&&!xe.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(xe,xe.getAttribute("aria-hidden")),xe.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const ve=this._parentDialog;return ve?ve._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return je.\u0275fac=function(ve){return new(ve||je)(u.\u0275\u0275inject(c.aV),u.\u0275\u0275inject(u.Injector),u.\u0275\u0275inject(B,8),u.\u0275\u0275inject(je,12),u.\u0275\u0275inject(c.Xj),u.\u0275\u0275inject(H))},je.\u0275prov=u.\u0275\u0275defineInjectable({token:je,factory:je.\u0275fac}),je})();function it(je,We){let ve=je.length;for(;ve--;)We(je[ve])}let z=(()=>{class je{}return je.\u0275fac=function(ve){return new(ve||je)},je.\u0275mod=u.\u0275\u0275defineNgModule({type:je}),je.\u0275inj=u.\u0275\u0275defineInjector({providers:[Fe,oe],imports:[c.U8,h.eL,r.rt,h.eL]}),je})();var q=a(508),V=a(6451),te=a(9300),Ee=a(5698),Oe=a(1777);function K(je,We){}const ie={params:{enterAnimationDuration:"150ms",exitAnimationDuration:"75ms"}},Ae={dialogContainer:(0,Oe.X$)("dialogContainer",[(0,Oe.SB)("void, exit",(0,Oe.oB)({opacity:0,transform:"scale(0.7)"})),(0,Oe.SB)("enter",(0,Oe.oB)({transform:"none"})),(0,Oe.eR)("* => enter",(0,Oe.ru)([(0,Oe.jt)("{{enterAnimationDuration}} cubic-bezier(0, 0, 0.2, 1)",(0,Oe.oB)({transform:"none",opacity:1})),(0,Oe.IO)("@*",(0,Oe.pV)(),{optional:!0})]),ie),(0,Oe.eR)("* => void, * => exit",(0,Oe.ru)([(0,Oe.jt)("{{exitAnimationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)",(0,Oe.oB)({opacity:0})),(0,Oe.IO)("@*",(0,Oe.pV)(),{optional:!0})]),ie)])};class ${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.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0,this.enterAnimationDuration=ie.params.enterAnimationDuration,this.exitAnimationDuration=ie.params.exitAnimationDuration}}let ye=(()=>{class je extends N{constructor(ve,He,ct,xe,W,ge,de,ke){super(ve,He,ct,xe,W,ge,de,ke),this._animationStateChanged=new u.EventEmitter}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(ve){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:ve})}}return je.\u0275fac=function(ve){return new(ve||je)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(r.qV),u.\u0275\u0275directiveInject(_.DOCUMENT,8),u.\u0275\u0275directiveInject($),u.\u0275\u0275directiveInject(r.ic),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(c.Iu),u.\u0275\u0275directiveInject(r.tE))},je.\u0275cmp=u.\u0275\u0275defineComponent({type:je,selectors:[["ng-component"]],features:[u.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(ve,He){},encapsulation:2}),je})(),Ce=(()=>{class je extends ye{constructor(ve,He,ct,xe,W,ge,de,ke,tt){super(ve,He,ct,xe,W,ge,de,tt),this._changeDetectorRef=ke,this._state="enter"}_onAnimationDone({toState:ve,totalTime:He}){"enter"===ve?this._openAnimationDone(He):"exit"===ve&&this._animationStateChanged.next({state:"closed",totalTime:He})}_onAnimationStart({toState:ve,totalTime:He}){"enter"===ve?this._animationStateChanged.next({state:"opening",totalTime:He}):("exit"===ve||"void"===ve)&&this._animationStateChanged.next({state:"closing",totalTime:He})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_getAnimationState(){return{value:this._state,params:{enterAnimationDuration:this._config.enterAnimationDuration||ie.params.enterAnimationDuration,exitAnimationDuration:this._config.exitAnimationDuration||ie.params.exitAnimationDuration}}}}return je.\u0275fac=function(ve){return new(ve||je)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(r.qV),u.\u0275\u0275directiveInject(_.DOCUMENT,8),u.\u0275\u0275directiveInject($),u.\u0275\u0275directiveInject(r.ic),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(c.Iu),u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(r.tE))},je.\u0275cmp=u.\u0275\u0275defineComponent({type:je,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(ve,He){1&ve&&u.\u0275\u0275syntheticHostListener("@dialogContainer.start",function(xe){return He._onAnimationStart(xe)})("@dialogContainer.done",function(xe){return He._onAnimationDone(xe)}),2&ve&&(u.\u0275\u0275hostProperty("id",He._config.id),u.\u0275\u0275attribute("aria-modal",He._config.ariaModal)("role",He._config.role)("aria-labelledby",He._config.ariaLabel?null:He._ariaLabelledBy)("aria-label",He._config.ariaLabel)("aria-describedby",He._config.ariaDescribedBy||null),u.\u0275\u0275syntheticHostProperty("@dialogContainer",He._getAnimationState()))},features:[u.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(ve,He){1&ve&&u.\u0275\u0275template(0,K,0,0,"ng-template",0)},dependencies:[h.Pl],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions.mat-dialog-actions-align-center,.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions.mat-dialog-actions-align-end,.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}"],encapsulation:2,data:{animation:[Ae.dialogContainer]}}),je})();class De{constructor(We,ve,He){this._ref=We,this._containerInstance=He,this._afterOpened=new p.x,this._beforeClosed=new p.x,this._state=0,this.disableClose=ve.disableClose,this.id=We.id,He._animationStateChanged.pipe((0,te.h)(ct=>"opened"===ct.state),(0,Ee.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),He._animationStateChanged.pipe((0,te.h)(ct=>"closed"===ct.state),(0,Ee.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),We.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,V.T)(this.backdropClick(),this.keydownEvents().pipe((0,te.h)(ct=>ct.keyCode===d.hY&&!this.disableClose&&!(0,d.Vb)(ct)))).subscribe(ct=>{this.disableClose||(ct.preventDefault(),Ve(this,"keydown"===ct.type?"keyboard":"mouse"))})}close(We){this._result=We,this._containerInstance._animationStateChanged.pipe((0,te.h)(ve=>"closing"===ve.state),(0,Ee.q)(1)).subscribe(ve=>{this._beforeClosed.next(We),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),ve.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(We){let ve=this._ref.config.positionStrategy;return We&&(We.left||We.right)?We.left?ve.left(We.left):ve.right(We.right):ve.centerHorizontally(),We&&(We.top||We.bottom)?We.top?ve.top(We.top):ve.bottom(We.bottom):ve.centerVertically(),this._ref.updatePosition(),this}updateSize(We="",ve=""){return this._ref.updateSize(We,ve),this}addPanelClass(We){return this._ref.addPanelClass(We),this}removePanelClass(We){return this._ref.removePanelClass(We),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Ve(je,We,ve){return je._closeInteractionType=We,je.close(ve)}const Se=new u.InjectionToken("MatDialogData"),Ue=new u.InjectionToken("mat-dialog-default-options"),ut=new u.InjectionToken("mat-dialog-scroll-strategy");function _t(je){return()=>je.scrollStrategies.block()}function bt(je){return()=>je.scrollStrategies.block()}const dt={provide:ut,deps:[c.aV],useFactory:bt};let $e=0,Pe=(()=>{class je{constructor(ve,He,ct,xe,W,ge,de,ke,tt,mt){this._overlay=ve,this._defaultOptions=ct,this._parentDialog=xe,this._dialogRefConstructor=de,this._dialogContainerType=ke,this._dialogDataToken=tt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new p.x,this._afterOpenedAtThisLevel=new p.x,this._idPrefix="mat-dialog-",this.afterAllClosed=b(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,C.O)(void 0))),this._scrollStrategy=ge,this._dialog=He.get(Fe)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const ve=this._parentDialog;return ve?ve._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(ve,He){let ct;(He=Object.assign(Object.assign({},this._defaultOptions||new $),He)).id=He.id||`${this._idPrefix}${$e++}`,He.scrollStrategy=He.scrollStrategy||this._scrollStrategy();const xe=this._dialog.open(ve,Object.assign(Object.assign({},He),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:$,useValue:He},{provide:O,useValue:He}]},templateContext:()=>({dialogRef:ct}),providers:(W,ge,de)=>(ct=new this._dialogRefConstructor(W,He,de),ct.updatePosition(null==He?void 0:He.position),[{provide:this._dialogContainerType,useValue:de},{provide:this._dialogDataToken,useValue:ge.data},{provide:this._dialogRefConstructor,useValue:ct}])}));return ct.componentInstance=xe.componentInstance,this.openDialogs.push(ct),this.afterOpened.next(ct),ct.afterClosed().subscribe(()=>{const W=this.openDialogs.indexOf(ct);W>-1&&(this.openDialogs.splice(W,1),this.openDialogs.length||this._getAfterAllClosed().next())}),ct}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(ve){return this.openDialogs.find(He=>He.id===ve)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(ve){let He=ve.length;for(;He--;)ve[He].close()}}return je.\u0275fac=function(ve){u.\u0275\u0275invalidFactory()},je.\u0275prov=u.\u0275\u0275defineInjectable({token:je,factory:je.\u0275fac}),je})(),Le=(()=>{class je extends Pe{constructor(ve,He,ct,xe,W,ge,de,ke){super(ve,He,xe,ge,de,W,De,Ce,Se,ke)}}return je.\u0275fac=function(ve){return new(ve||je)(u.\u0275\u0275inject(c.aV),u.\u0275\u0275inject(u.Injector),u.\u0275\u0275inject(_.Location,8),u.\u0275\u0275inject(Ue,8),u.\u0275\u0275inject(ut),u.\u0275\u0275inject(je,12),u.\u0275\u0275inject(c.Xj),u.\u0275\u0275inject(u.ANIMATION_MODULE_TYPE,8))},je.\u0275prov=u.\u0275\u0275defineInjectable({token:je,factory:je.\u0275fac}),je})(),he=0,Qe=(()=>{class je{constructor(ve,He,ct){this.dialogRef=ve,this._elementRef=He,this._dialog=ct,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Te(this._elementRef,this._dialog.openDialogs))}ngOnChanges(ve){const He=ve._matDialogClose||ve._matDialogCloseResult;He&&(this.dialogResult=He.currentValue)}_onButtonClick(ve){Ve(this.dialogRef,0===ve.screenX&&0===ve.screenY?"keyboard":"mouse",this.dialogResult)}}return je.\u0275fac=function(ve){return new(ve||je)(u.\u0275\u0275directiveInject(De,8),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(Le))},je.\u0275dir=u.\u0275\u0275defineDirective({type:je,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(ve,He){1&ve&&u.\u0275\u0275listener("click",function(xe){return He._onButtonClick(xe)}),2&ve&&u.\u0275\u0275attribute("aria-label",He.ariaLabel||null)("type",He.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[u.\u0275\u0275NgOnChangesFeature]}),je})(),Be=(()=>{class je{constructor(ve,He,ct){this._dialogRef=ve,this._elementRef=He,this._dialog=ct,this.id="mat-dialog-title-"+he++}ngOnInit(){this._dialogRef||(this._dialogRef=Te(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{const ve=this._dialogRef._containerInstance;ve&&!ve._ariaLabelledBy&&(ve._ariaLabelledBy=this.id)})}}return je.\u0275fac=function(ve){return new(ve||je)(u.\u0275\u0275directiveInject(De,8),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(Le))},je.\u0275dir=u.\u0275\u0275defineDirective({type:je,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(ve,He){2&ve&&u.\u0275\u0275hostProperty("id",He.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),je})(),Ke=(()=>{class je{}return je.\u0275fac=function(ve){return new(ve||je)},je.\u0275dir=u.\u0275\u0275defineDirective({type:je,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),je})(),Y=(()=>{class je{constructor(){this.align="start"}}return je.\u0275fac=function(ve){return new(ve||je)},je.\u0275dir=u.\u0275\u0275defineDirective({type:je,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(ve,He){2&ve&&u.\u0275\u0275classProp("mat-dialog-actions-align-center","center"===He.align)("mat-dialog-actions-align-end","end"===He.align)},inputs:{align:"align"}}),je})();function Te(je,We){let ve=je.nativeElement.parentElement;for(;ve&&!ve.classList.contains("mat-dialog-container");)ve=ve.parentElement;return ve?We.find(He=>He.id===ve.id):null}let ze=(()=>{class je{}return je.\u0275fac=function(ve){return new(ve||je)},je.\u0275mod=u.\u0275\u0275defineNgModule({type:je}),je.\u0275inj=u.\u0275\u0275defineInjector({providers:[Le,dt],imports:[z,c.U8,h.eL,q.MatCommonModule,q.MatCommonModule]}),je})()},3293:(U,o,a)=>{"use strict";a.r(o),a.d(o,{ICON_REGISTRY_PROVIDER:()=>Oe,ICON_REGISTRY_PROVIDER_FACTORY:()=>Ee,MAT_ICON_DEFAULT_OPTIONS:()=>ye,MAT_ICON_LOCATION:()=>Ce,MAT_ICON_LOCATION_FACTORY:()=>De,MatIcon:()=>ut,MatIconModule:()=>_t,MatIconRegistry:()=>te,getMatIconFailedToSanitizeLiteralError:()=>q,getMatIconFailedToSanitizeUrlError:()=>z,getMatIconNameNotFoundError:()=>Fe,getMatIconNoHttpProviderError:()=>it});var n=a(5e3),h=a(508),_=a(3191),u=a(9808),r=a(8306),c=a(576),p=a(9646),y=a(4128),f=a(727),b=a(8421),v=a(5403),m=a(4482);function C(bt){return(0,m.e)((dt,$e)=>{let he,Pe=null,Le=!1;Pe=dt.subscribe((0,v.x)($e,void 0,void 0,Qe=>{he=(0,b.Xf)(bt(Qe,C(bt)(dt))),Pe?(Pe.unsubscribe(),Pe=null,he.subscribe($e)):Le=!0})),Le&&(Pe.unsubscribe(),Pe=null,he.subscribe($e))})}var O=a(8505),P=a(4004),N=a(3099),Q=a(5698),H=a(6529),G=a(2313);const B=["*"];let X;function pe(bt){var dt;return(null===(dt=function oe(){if(void 0===X&&(X=null,"undefined"!=typeof window)){const bt=window;void 0!==bt.trustedTypes&&(X=bt.trustedTypes.createPolicy("angular#components",{createHTML:dt=>dt}))}return X}())||void 0===dt?void 0:dt.createHTML(bt))||bt}function Fe(bt){return Error(`Unable to find icon with the name "${bt}"`)}function it(){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.")}function z(bt){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${bt}".`)}function q(bt){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${bt}".`)}class V{constructor(dt,$e,Pe){this.url=dt,this.svgText=$e,this.options=Pe}}let te=(()=>{class bt{constructor($e,Pe,Le,he){this._httpClient=$e,this._sanitizer=Pe,this._errorHandler=he,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=Le}addSvgIcon($e,Pe,Le){return this.addSvgIconInNamespace("",$e,Pe,Le)}addSvgIconLiteral($e,Pe,Le){return this.addSvgIconLiteralInNamespace("",$e,Pe,Le)}addSvgIconInNamespace($e,Pe,Le,he){return this._addSvgIconConfig($e,Pe,new V(Le,null,he))}addSvgIconResolver($e){return this._resolvers.push($e),this}addSvgIconLiteralInNamespace($e,Pe,Le,he){const Qe=this._sanitizer.sanitize(n.SecurityContext.HTML,Le);if(!Qe)throw q(Le);const Be=pe(Qe);return this._addSvgIconConfig($e,Pe,new V("",Be,he))}addSvgIconSet($e,Pe){return this.addSvgIconSetInNamespace("",$e,Pe)}addSvgIconSetLiteral($e,Pe){return this.addSvgIconSetLiteralInNamespace("",$e,Pe)}addSvgIconSetInNamespace($e,Pe,Le){return this._addSvgIconSetConfig($e,new V(Pe,null,Le))}addSvgIconSetLiteralInNamespace($e,Pe,Le){const he=this._sanitizer.sanitize(n.SecurityContext.HTML,Pe);if(!he)throw q(Pe);const Qe=pe(he);return this._addSvgIconSetConfig($e,new V("",Qe,Le))}registerFontClassAlias($e,Pe=$e){return this._fontCssClassesByAlias.set($e,Pe),this}classNameForFontAlias($e){return this._fontCssClassesByAlias.get($e)||$e}setDefaultFontSetClass(...$e){return this._defaultFontSetClass=$e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl($e){const Pe=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,$e);if(!Pe)throw z($e);const Le=this._cachedIconsByUrl.get(Pe);return Le?(0,p.of)(K(Le)):this._loadSvgIconFromConfig(new V($e,null)).pipe((0,O.b)(he=>this._cachedIconsByUrl.set(Pe,he)),(0,P.U)(he=>K(he)))}getNamedSvgIcon($e,Pe=""){const Le=ie(Pe,$e);let he=this._svgIconConfigs.get(Le);if(he)return this._getSvgFromConfig(he);if(he=this._getIconConfigFromResolvers(Pe,$e),he)return this._svgIconConfigs.set(Le,he),this._getSvgFromConfig(he);const Qe=this._iconSetConfigs.get(Pe);return Qe?this._getSvgFromIconSetConfigs($e,Qe):function d(bt,dt){const $e=(0,c.m)(bt)?bt:()=>bt,Pe=Le=>Le.error($e());return new r.y(dt?Le=>dt.schedule(Pe,0,Le):Pe)}(Fe(Le))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig($e){return $e.svgText?(0,p.of)(K(this._svgElementFromConfig($e))):this._loadSvgIconFromConfig($e).pipe((0,P.U)(Pe=>K(Pe)))}_getSvgFromIconSetConfigs($e,Pe){const Le=this._extractIconWithNameFromAnySet($e,Pe);if(Le)return(0,p.of)(Le);const he=Pe.filter(Qe=>!Qe.svgText).map(Qe=>this._loadSvgIconSetFromConfig(Qe).pipe(C(Be=>{const Y=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Qe.url)} failed: ${Be.message}`;return this._errorHandler.handleError(new Error(Y)),(0,p.of)(null)})));return(0,y.D)(he).pipe((0,P.U)(()=>{const Qe=this._extractIconWithNameFromAnySet($e,Pe);if(!Qe)throw Fe($e);return Qe}))}_extractIconWithNameFromAnySet($e,Pe){for(let Le=Pe.length-1;Le>=0;Le--){const he=Pe[Le];if(he.svgText&&he.svgText.toString().indexOf($e)>-1){const Qe=this._svgElementFromConfig(he),Be=this._extractSvgIconFromSet(Qe,$e,he.options);if(Be)return Be}}return null}_loadSvgIconFromConfig($e){return this._fetchIcon($e).pipe((0,O.b)(Pe=>$e.svgText=Pe),(0,P.U)(()=>this._svgElementFromConfig($e)))}_loadSvgIconSetFromConfig($e){return $e.svgText?(0,p.of)(null):this._fetchIcon($e).pipe((0,O.b)(Pe=>$e.svgText=Pe))}_extractSvgIconFromSet($e,Pe,Le){const he=$e.querySelector(`[id="${Pe}"]`);if(!he)return null;const Qe=he.cloneNode(!0);if(Qe.removeAttribute("id"),"svg"===Qe.nodeName.toLowerCase())return this._setSvgAttributes(Qe,Le);if("symbol"===Qe.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Qe),Le);const Be=this._svgElementFromString(pe("<svg></svg>"));return Be.appendChild(Qe),this._setSvgAttributes(Be,Le)}_svgElementFromString($e){const Pe=this._document.createElement("DIV");Pe.innerHTML=$e;const Le=Pe.querySelector("svg");if(!Le)throw Error("<svg> tag not found");return Le}_toSvgElement($e){const Pe=this._svgElementFromString(pe("<svg></svg>")),Le=$e.attributes;for(let he=0;he<Le.length;he++){const{name:Qe,value:Be}=Le[he];"id"!==Qe&&Pe.setAttribute(Qe,Be)}for(let he=0;he<$e.childNodes.length;he++)$e.childNodes[he].nodeType===this._document.ELEMENT_NODE&&Pe.appendChild($e.childNodes[he].cloneNode(!0));return Pe}_setSvgAttributes($e,Pe){return $e.setAttribute("fit",""),$e.setAttribute("height","100%"),$e.setAttribute("width","100%"),$e.setAttribute("preserveAspectRatio","xMidYMid meet"),$e.setAttribute("focusable","false"),Pe&&Pe.viewBox&&$e.setAttribute("viewBox",Pe.viewBox),$e}_fetchIcon($e){var Pe;const{url:Le,options:he}=$e,Qe=null!==(Pe=null==he?void 0:he.withCredentials)&&void 0!==Pe&&Pe;if(!this._httpClient)throw it();if(null==Le)throw Error(`Cannot fetch icon from URL "${Le}".`);const Be=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Le);if(!Be)throw z(Le);const Ke=this._inProgressUrlFetches.get(Be);if(Ke)return Ke;const Y=this._httpClient.get(Be,{responseType:"text",withCredentials:Qe}).pipe((0,P.U)(Te=>pe(Te)),function M(bt){return(0,m.e)((dt,$e)=>{try{dt.subscribe($e)}finally{$e.add(bt)}})}(()=>this._inProgressUrlFetches.delete(Be)),(0,N.B)());return this._inProgressUrlFetches.set(Be,Y),Y}_addSvgIconConfig($e,Pe,Le){return this._svgIconConfigs.set(ie($e,Pe),Le),this}_addSvgIconSetConfig($e,Pe){const Le=this._iconSetConfigs.get($e);return Le?Le.push(Pe):this._iconSetConfigs.set($e,[Pe]),this}_svgElementFromConfig($e){if(!$e.svgElement){const Pe=this._svgElementFromString($e.svgText);this._setSvgAttributes(Pe,$e.options),$e.svgElement=Pe}return $e.svgElement}_getIconConfigFromResolvers($e,Pe){for(let Le=0;Le<this._resolvers.length;Le++){const he=this._resolvers[Le](Pe,$e);if(he)return Ae(he)?new V(he.url,null,he.options):new V(he,null)}}}return bt.\u0275fac=function($e){return new($e||bt)(n.\u0275\u0275inject(H.HttpClient,8),n.\u0275\u0275inject(G.DomSanitizer),n.\u0275\u0275inject(u.DOCUMENT,8),n.\u0275\u0275inject(n.ErrorHandler))},bt.\u0275prov=n.\u0275\u0275defineInjectable({token:bt,factory:bt.\u0275fac,providedIn:"root"}),bt})();function Ee(bt,dt,$e,Pe,Le){return bt||new te(dt,$e,Le,Pe)}const Oe={provide:te,deps:[[new n.Optional,new n.SkipSelf,te],[new n.Optional,H.HttpClient],G.DomSanitizer,n.ErrorHandler,[new n.Optional,u.DOCUMENT]],useFactory:Ee};function K(bt){return bt.cloneNode(!0)}function ie(bt,dt){return bt+":"+dt}function Ae(bt){return!(!bt.url||!bt.options)}const $=(0,h.mixinColor)(class{constructor(bt){this._elementRef=bt}}),ye=new n.InjectionToken("MAT_ICON_DEFAULT_OPTIONS"),Ce=new n.InjectionToken("mat-icon-location",{providedIn:"root",factory:De});function De(){const bt=(0,n.inject)(u.DOCUMENT),dt=bt?bt.location:null;return{getPathname:()=>dt?dt.pathname+dt.search:""}}const Ve=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Se=Ve.map(bt=>`[${bt}]`).join(", "),Ue=/^url\(['"]?#(.*?)['"]?\)$/;let ut=(()=>{class bt extends ${constructor($e,Pe,Le,he,Qe,Be){super($e),this._iconRegistry=Pe,this._location=he,this._errorHandler=Qe,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=f.w0.EMPTY,Be&&(Be.color&&(this.color=this.defaultColor=Be.color),Be.fontSet&&(this.fontSet=Be.fontSet)),Le||$e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline($e){this._inline=(0,_.Ig)($e)}get svgIcon(){return this._svgIcon}set svgIcon($e){$e!==this._svgIcon&&($e?this._updateSvgIcon($e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=$e)}get fontSet(){return this._fontSet}set fontSet($e){const Pe=this._cleanupFontValue($e);Pe!==this._fontSet&&(this._fontSet=Pe,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon($e){const Pe=this._cleanupFontValue($e);Pe!==this._fontIcon&&(this._fontIcon=Pe,this._updateFontIconClasses())}_splitIconName($e){if(!$e)return["",""];const Pe=$e.split(":");switch(Pe.length){case 1:return["",Pe[0]];case 2:return Pe;default:throw Error(`Invalid icon name: "${$e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const $e=this._elementsWithExternalReferences;if($e&&$e.size){const Pe=this._location.getPathname();Pe!==this._previousPath&&(this._previousPath=Pe,this._prependPathToReferences(Pe))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement($e){this._clearSvgElement();const Pe=this._location.getPathname();this._previousPath=Pe,this._cacheChildrenWithExternalReferences($e),this._prependPathToReferences(Pe),this._elementRef.nativeElement.appendChild($e)}_clearSvgElement(){const $e=this._elementRef.nativeElement;let Pe=$e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Pe--;){const Le=$e.childNodes[Pe];(1!==Le.nodeType||"svg"===Le.nodeName.toLowerCase())&&Le.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const $e=this._elementRef.nativeElement,Pe=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Le=>Le.length>0);this._previousFontSetClass.forEach(Le=>$e.classList.remove(Le)),Pe.forEach(Le=>$e.classList.add(Le)),this._previousFontSetClass=Pe,this.fontIcon!==this._previousFontIconClass&&!Pe.includes("mat-ligature-font")&&(this._previousFontIconClass&&$e.classList.remove(this._previousFontIconClass),this.fontIcon&&$e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue($e){return"string"==typeof $e?$e.trim().split(" ")[0]:$e}_prependPathToReferences($e){const Pe=this._elementsWithExternalReferences;Pe&&Pe.forEach((Le,he)=>{Le.forEach(Qe=>{he.setAttribute(Qe.name,`url('${$e}#${Qe.value}')`)})})}_cacheChildrenWithExternalReferences($e){const Pe=$e.querySelectorAll(Se),Le=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let he=0;he<Pe.length;he++)Ve.forEach(Qe=>{const Be=Pe[he],Ke=Be.getAttribute(Qe),Y=Ke?Ke.match(Ue):null;if(Y){let Te=Le.get(Be);Te||(Te=[],Le.set(Be,Te)),Te.push({name:Qe,value:Y[1]})}})}_updateSvgIcon($e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),$e){const[Pe,Le]=this._splitIconName($e);Pe&&(this._svgNamespace=Pe),Le&&(this._svgName=Le),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Le,Pe).pipe((0,Q.q)(1)).subscribe(he=>this._setSvgElement(he),he=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Pe}:${Le}! ${he.message}`))})}}}return bt.\u0275fac=function($e){return new($e||bt)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(te),n.\u0275\u0275injectAttribute("aria-hidden"),n.\u0275\u0275directiveInject(Ce),n.\u0275\u0275directiveInject(n.ErrorHandler),n.\u0275\u0275directiveInject(ye,8))},bt.\u0275cmp=n.\u0275\u0275defineComponent({type:bt,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function($e,Pe){2&$e&&(n.\u0275\u0275attribute("data-mat-icon-type",Pe._usingFontIcon()?"font":"svg")("data-mat-icon-name",Pe._svgName||Pe.fontIcon)("data-mat-icon-namespace",Pe._svgNamespace||Pe.fontSet),n.\u0275\u0275classProp("mat-icon-inline",Pe.inline)("mat-icon-no-color","primary"!==Pe.color&&"accent"!==Pe.color&&"warn"!==Pe.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:B,decls:1,vars:0,template:function($e,Pe){1&$e&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},styles:[".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}),bt})(),_t=(()=>{class bt{}return bt.\u0275fac=function($e){return new($e||bt)},bt.\u0275mod=n.\u0275\u0275defineNgModule({type:bt}),bt.\u0275inj=n.\u0275\u0275defineInjector({imports:[h.MatCommonModule,h.MatCommonModule]}),bt})()},1451:(U,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_MENU_CONTENT:()=>Se,MAT_MENU_DEFAULT_OPTIONS:()=>he,MAT_MENU_PANEL:()=>$e,MAT_MENU_SCROLL_STRATEGY:()=>Te,MatMenu:()=>Y,MatMenuContent:()=>ut,MatMenuItem:()=>Le,MatMenuModule:()=>xe,MatMenuTrigger:()=>ct,_MatMenuBase:()=>Ke,_MatMenuContentBase:()=>Ue,_MatMenuTriggerBase:()=>He,fadeInItems:()=>De,matMenuAnimations:()=>Ce,transformMenu:()=>Ve});var n=a(5664),h=a(3191),_=a(1159),u=a(5e3),r=a(7579),c=a(727),d=a(6451),p=a(9646),y=a(3101),f=a(4986),b=a(7272),v=a(5698),m=a(4482),C=a(5403),M=a(5032),P=a(4004),Q=a(5577);function H(W,ge){return ge?de=>(0,b.z)(ge.pipe((0,v.q)(1),function O(){return(0,m.e)((W,ge)=>{W.subscribe((0,C.x)(ge,M.Z))})}()),de.pipe(H(W))):(0,Q.z)((de,ke)=>W(de,ke).pipe((0,v.q)(1),function N(W){return(0,P.U)(()=>W)}(de)))}var G=a(5963);function B(W,ge=f.z){const de=(0,G.H)(W,ge);return H(()=>de)}var X=a(8675),oe=a(3900),pe=a(2722),Fe=a(9300),it=a(1777),z=a(7429),q=a(9808),V=a(508),te=a(1314),Ee=a(925),Oe=a(226),K=a(495);const ie=["mat-menu-item",""];function Ae(W,ge){1&W&&(u.\u0275\u0275namespaceSVG(),u.\u0275\u0275elementStart(0,"svg",2),u.\u0275\u0275element(1,"polygon",3),u.\u0275\u0275elementEnd())}const $=["*"];function ye(W,ge){if(1&W){const de=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"div",0),u.\u0275\u0275listener("keydown",function(tt){u.\u0275\u0275restoreView(de);const mt=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(mt._handleKeydown(tt))})("click",function(){u.\u0275\u0275restoreView(de);const tt=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(tt.closed.emit("click"))})("@transformMenu.start",function(tt){u.\u0275\u0275restoreView(de);const mt=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(mt._onAnimationStart(tt))})("@transformMenu.done",function(tt){u.\u0275\u0275restoreView(de);const mt=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(mt._onAnimationDone(tt))}),u.\u0275\u0275elementStart(1,"div",1),u.\u0275\u0275projection(2),u.\u0275\u0275elementEnd()()}if(2&W){const de=u.\u0275\u0275nextContext();u.\u0275\u0275property("id",de.panelId)("ngClass",de._classList)("@transformMenu",de._panelAnimationState),u.\u0275\u0275attribute("aria-label",de.ariaLabel||null)("aria-labelledby",de.ariaLabelledby||null)("aria-describedby",de.ariaDescribedby||null)}}const Ce={transformMenu:(0,it.X$)("transformMenu",[(0,it.SB)("void",(0,it.oB)({opacity:0,transform:"scale(0.8)"})),(0,it.eR)("void => enter",(0,it.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,it.oB)({opacity:1,transform:"scale(1)"}))),(0,it.eR)("* => void",(0,it.jt)("100ms 25ms linear",(0,it.oB)({opacity:0})))]),fadeInItems:(0,it.X$)("fadeInItems",[(0,it.SB)("showing",(0,it.oB)({opacity:1})),(0,it.eR)("void => *",[(0,it.oB)({opacity:0}),(0,it.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},De=Ce.fadeInItems,Ve=Ce.transformMenu,Se=new u.InjectionToken("MatMenuContent");let Ue=(()=>{class W{constructor(de,ke,tt,mt,Ft,At,Yt){this._template=de,this._componentFactoryResolver=ke,this._appRef=tt,this._injector=mt,this._viewContainerRef=Ft,this._document=At,this._changeDetectorRef=Yt,this._attached=new r.x}attach(de={}){var ke;this._portal||(this._portal=new z.UE(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new z.u0(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));const tt=this._template.elementRef.nativeElement;tt.parentNode.insertBefore(this._outlet.outletElement,tt),null===(ke=this._changeDetectorRef)||void 0===ke||ke.markForCheck(),this._portal.attach(this._outlet,de),this._attached.next()}detach(){this._portal.isAttached&&this._portal.detach()}ngOnDestroy(){this._outlet&&this._outlet.dispose()}}return W.\u0275fac=function(de){return new(de||W)(u.\u0275\u0275directiveInject(u.TemplateRef),u.\u0275\u0275directiveInject(u.ComponentFactoryResolver),u.\u0275\u0275directiveInject(u.ApplicationRef),u.\u0275\u0275directiveInject(u.Injector),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(q.DOCUMENT),u.\u0275\u0275directiveInject(u.ChangeDetectorRef))},W.\u0275dir=u.\u0275\u0275defineDirective({type:W}),W})(),ut=(()=>{class W extends Ue{}return W.\u0275fac=function(){let ge;return function(ke){return(ge||(ge=u.\u0275\u0275getInheritedFactory(W)))(ke||W)}}(),W.\u0275dir=u.\u0275\u0275defineDirective({type:W,selectors:[["ng-template","matMenuContent",""]],features:[u.\u0275\u0275ProvidersFeature([{provide:Se,useExisting:W}]),u.\u0275\u0275InheritDefinitionFeature]}),W})();const $e=new u.InjectionToken("MAT_MENU_PANEL"),Pe=(0,V.mixinDisableRipple)((0,V.mixinDisabled)(class{}));let Le=(()=>{class W extends Pe{constructor(de,ke,tt,mt,Ft){var At;super(),this._elementRef=de,this._document=ke,this._focusMonitor=tt,this._parentMenu=mt,this._changeDetectorRef=Ft,this.role="menuitem",this._hovered=new r.x,this._focused=new r.x,this._highlighted=!1,this._triggersSubmenu=!1,null===(At=null==mt?void 0:mt.addItem)||void 0===At||At.call(mt,this)}focus(de,ke){this._focusMonitor&&de?this._focusMonitor.focusVia(this._getHostElement(),de,ke):this._getHostElement().focus(ke),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(de){this.disabled&&(de.preventDefault(),de.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var de;const ke=this._elementRef.nativeElement.cloneNode(!0),tt=ke.querySelectorAll("mat-icon, .material-icons");for(let mt=0;mt<tt.length;mt++)tt[mt].remove();return(null===(de=ke.textContent)||void 0===de?void 0:de.trim())||""}_setHighlighted(de){var ke;this._highlighted=de,null===(ke=this._changeDetectorRef)||void 0===ke||ke.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}return W.\u0275fac=function(de){return new(de||W)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(q.DOCUMENT),u.\u0275\u0275directiveInject(n.tE),u.\u0275\u0275directiveInject($e,8),u.\u0275\u0275directiveInject(u.ChangeDetectorRef))},W.\u0275cmp=u.\u0275\u0275defineComponent({type:W,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(de,ke){1&de&&u.\u0275\u0275listener("click",function(mt){return ke._checkDisabled(mt)})("mouseenter",function(){return ke._handleMouseEnter()}),2&de&&(u.\u0275\u0275attribute("role",ke.role)("tabindex",ke._getTabIndex())("aria-disabled",ke.disabled.toString())("disabled",ke.disabled||null),u.\u0275\u0275classProp("mat-menu-item",!0)("mat-menu-item-highlighted",ke._highlighted)("mat-menu-item-submenu-trigger",ke._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[u.\u0275\u0275InheritDefinitionFeature],attrs:ie,ngContentSelectors:$,decls:3,vars:3,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(de,ke){1&de&&(u.\u0275\u0275projectionDef(),u.\u0275\u0275projection(0),u.\u0275\u0275element(1,"div",0),u.\u0275\u0275template(2,Ae,2,0,"svg",1)),2&de&&(u.\u0275\u0275advance(1),u.\u0275\u0275property("matRippleDisabled",ke.disableRipple||ke.disabled)("matRippleTrigger",ke._getHostElement()),u.\u0275\u0275advance(1),u.\u0275\u0275property("ngIf",ke._triggersSubmenu))},dependencies:[q.NgIf,V.MatRipple],encapsulation:2,changeDetection:0}),W})();const he=new u.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function Qe(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Be=0,Ke=(()=>{class W{constructor(de,ke,tt,mt){this._elementRef=de,this._ngZone=ke,this._defaultOptions=tt,this._changeDetectorRef=mt,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new u.QueryList,this._tabSubscription=c.w0.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new r.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new u.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-"+Be++}get xPosition(){return this._xPosition}set xPosition(de){this._xPosition=de,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(de){this._yPosition=de,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(de){this._overlapTrigger=(0,h.Ig)(de)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(de){this._hasBackdrop=(0,h.Ig)(de)}set panelClass(de){const ke=this._previousPanelClass;ke&&ke.length&&ke.split(" ").forEach(tt=>{this._classList[tt]=!1}),this._previousPanelClass=de,de&&de.length&&(de.split(" ").forEach(tt=>{this._classList[tt]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(de){this.panelClass=de}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new n.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,X.O)(this._directDescendantItems),(0,oe.w)(de=>(0,d.T)(...de.map(ke=>ke._focused)))).subscribe(de=>this._keyManager.updateActiveItem(de)),this._directDescendantItems.changes.subscribe(de=>{var ke;const tt=this._keyManager;if("enter"===this._panelAnimationState&&(null===(ke=tt.activeItem)||void 0===ke?void 0:ke._hasFocus())){const mt=de.toArray(),Ft=Math.max(0,Math.min(mt.length-1,tt.activeItemIndex||0));mt[Ft]&&!mt[Ft].disabled?tt.setActiveItem(Ft):tt.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe((0,X.O)(this._directDescendantItems),(0,oe.w)(ke=>(0,d.T)(...ke.map(tt=>tt._hovered))))}addItem(de){}removeItem(de){}_handleKeydown(de){const ke=de.keyCode,tt=this._keyManager;switch(ke){case _.hY:(0,_.Vb)(de)||(de.preventDefault(),this.closed.emit("keydown"));break;case _.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case _.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(ke===_.LH||ke===_.JH)&&tt.setFocusOrigin("keyboard"),void tt.onKeydown(de)}de.stopPropagation()}focusFirstItem(de="program"){this._ngZone.onStable.pipe((0,v.q)(1)).subscribe(()=>{let ke=null;if(this._directDescendantItems.length&&(ke=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!ke||!ke.contains(document.activeElement)){const tt=this._keyManager;tt.setFocusOrigin(de).setFirstItemActive(),!tt.activeItem&&ke&&ke.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(de){const ke=Math.min(this._baseElevation+de,24),tt=`${this._elevationPrefix}${ke}`,mt=Object.keys(this._classList).find(Ft=>Ft.startsWith(this._elevationPrefix));(!mt||mt===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[tt]=!0,this._previousElevation=tt)}setPositionClasses(de=this.xPosition,ke=this.yPosition){var tt;const mt=this._classList;mt["mat-menu-before"]="before"===de,mt["mat-menu-after"]="after"===de,mt["mat-menu-above"]="above"===ke,mt["mat-menu-below"]="below"===ke,null===(tt=this._changeDetectorRef)||void 0===tt||tt.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(de){this._animationDone.next(de),this._isAnimating=!1}_onAnimationStart(de){this._isAnimating=!0,"enter"===de.toState&&0===this._keyManager.activeItemIndex&&(de.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,X.O)(this._allItems)).subscribe(de=>{this._directDescendantItems.reset(de.filter(ke=>ke._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return W.\u0275fac=function(de){return new(de||W)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(he),u.\u0275\u0275directiveInject(u.ChangeDetectorRef))},W.\u0275dir=u.\u0275\u0275defineDirective({type:W,contentQueries:function(de,ke,tt){if(1&de&&(u.\u0275\u0275contentQuery(tt,Se,5),u.\u0275\u0275contentQuery(tt,Le,5),u.\u0275\u0275contentQuery(tt,Le,4)),2&de){let mt;u.\u0275\u0275queryRefresh(mt=u.\u0275\u0275loadQuery())&&(ke.lazyContent=mt.first),u.\u0275\u0275queryRefresh(mt=u.\u0275\u0275loadQuery())&&(ke._allItems=mt),u.\u0275\u0275queryRefresh(mt=u.\u0275\u0275loadQuery())&&(ke.items=mt)}},viewQuery:function(de,ke){if(1&de&&u.\u0275\u0275viewQuery(u.TemplateRef,5),2&de){let tt;u.\u0275\u0275queryRefresh(tt=u.\u0275\u0275loadQuery())&&(ke.templateRef=tt.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"}}),W})(),Y=(()=>{class W extends Ke{constructor(de,ke,tt,mt){super(de,ke,tt,mt),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return W.\u0275fac=function(de){return new(de||W)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(he),u.\u0275\u0275directiveInject(u.ChangeDetectorRef))},W.\u0275cmp=u.\u0275\u0275defineComponent({type:W,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(de,ke){2&de&&u.\u0275\u0275attribute("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[u.\u0275\u0275ProvidersFeature([{provide:$e,useExisting:W}]),u.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:$,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(de,ke){1&de&&(u.\u0275\u0275projectionDef(),u.\u0275\u0275template(0,ye,3,6,"ng-template"))},dependencies:[q.NgClass],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px;position:relative}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::after{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}'],encapsulation:2,data:{animation:[Ce.transformMenu,Ce.fadeInItems]},changeDetection:0}),W})();const Te=new u.InjectionToken("mat-menu-scroll-strategy"),je={provide:Te,deps:[te.aV],useFactory:function ze(W){return()=>W.scrollStrategies.reposition()}},ve=(0,Ee.i$)({passive:!0});let He=(()=>{class W{constructor(de,ke,tt,mt,Ft,At,Yt,Nt,rt){this._overlay=de,this._element=ke,this._viewContainerRef=tt,this._menuItemInstance=At,this._dir=Yt,this._focusMonitor=Nt,this._ngZone=rt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=c.w0.EMPTY,this._hoverSubscription=c.w0.EMPTY,this._menuCloseSubscription=c.w0.EMPTY,this._handleTouchStart=Je=>{(0,n.yG)(Je)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new u.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new u.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=mt,this._parentMaterialMenu=Ft instanceof Ke?Ft:void 0,ke.nativeElement.addEventListener("touchstart",this._handleTouchStart,ve),At&&(At._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(de){this.menu=de}get menu(){return this._menu}set menu(de){de!==this._menu&&(this._menu=de,this._menuCloseSubscription.unsubscribe(),de&&(this._menuCloseSubscription=de.close.subscribe(ke=>{this._destroyMenu(ke),("click"===ke||"tab"===ke)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(ke)})))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,ve),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)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const de=this.menu;if(this._menuOpen||!de)return;const ke=this._createOverlay(de),tt=ke.getConfig(),mt=tt.positionStrategy;this._setPosition(de,mt),tt.hasBackdrop=null==de.hasBackdrop?!this.triggersSubmenu():de.hasBackdrop,ke.attach(this._getPortal(de)),de.lazyContent&&de.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(de),de instanceof Ke&&(de._startAnimation(),de._directDescendantItems.changes.pipe((0,pe.R)(de.close)).subscribe(()=>{mt.withLockedPosition(!1).reapplyLastPosition(),mt.withLockedPosition(!0)}))}closeMenu(){var de;null===(de=this.menu)||void 0===de||de.close.emit()}focus(de,ke){this._focusMonitor&&de?this._focusMonitor.focusVia(this._element,de,ke):this._element.nativeElement.focus(ke)}updatePosition(){var de;null===(de=this._overlayRef)||void 0===de||de.updatePosition()}_destroyMenu(de){var ke;if(!this._overlayRef||!this.menuOpen)return;const tt=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===de||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,tt instanceof Ke?(tt._resetAnimation(),tt.lazyContent?tt._animationDone.pipe((0,Fe.h)(mt=>"void"===mt.toState),(0,v.q)(1),(0,pe.R)(tt.lazyContent._attached)).subscribe({next:()=>tt.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),null===(ke=null==tt?void 0:tt.lazyContent)||void 0===ke||ke.detach())}_initMenu(de){de.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,de.direction=this.dir,this._setMenuElevation(de),de.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(de){if(de.setElevation){let ke=0,tt=de.parentMenu;for(;tt;)ke++,tt=tt.parentMenu;de.setElevation(ke)}}_setIsMenuOpen(de){this._menuOpen=de,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(de)}_createOverlay(de){if(!this._overlayRef){const ke=this._getOverlayConfig(de);this._subscribeToPositions(de,ke.positionStrategy),this._overlayRef=this._overlay.create(ke),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(de){return new te.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:de.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:de.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(de,ke){de.setPositionClasses&&ke.positionChanges.subscribe(tt=>{const mt="start"===tt.connectionPair.overlayX?"after":"before",Ft="top"===tt.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>de.setPositionClasses(mt,Ft)):de.setPositionClasses(mt,Ft)})}_setPosition(de,ke){let[tt,mt]="before"===de.xPosition?["end","start"]:["start","end"],[Ft,At]="above"===de.yPosition?["bottom","top"]:["top","bottom"],[Yt,Nt]=[Ft,At],[rt,Je]=[tt,mt],be=0;if(this.triggersSubmenu()){if(Je=tt="before"===de.xPosition?"start":"end",mt=rt="end"===tt?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const me=this._parentMaterialMenu.items.first;this._parentInnerPadding=me?me._getHostElement().offsetTop:0}be="bottom"===Ft?this._parentInnerPadding:-this._parentInnerPadding}}else de.overlapTrigger||(Yt="top"===Ft?"bottom":"top",Nt="top"===At?"bottom":"top");ke.withPositions([{originX:tt,originY:Yt,overlayX:rt,overlayY:Ft,offsetY:be},{originX:mt,originY:Yt,overlayX:Je,overlayY:Ft,offsetY:be},{originX:tt,originY:Nt,overlayX:rt,overlayY:At,offsetY:-be},{originX:mt,originY:Nt,overlayX:Je,overlayY:At,offsetY:-be}])}_menuClosingActions(){const de=this._overlayRef.backdropClick(),ke=this._overlayRef.detachments(),tt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,p.of)(),mt=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,Fe.h)(Ft=>Ft!==this._menuItemInstance),(0,Fe.h)(()=>this._menuOpen)):(0,p.of)();return(0,d.T)(de,tt,mt,ke)}_handleMousedown(de){(0,n.X6)(de)||(this._openedBy=0===de.button?"mouse":void 0,this.triggersSubmenu()&&de.preventDefault())}_handleKeydown(de){const ke=de.keyCode;(ke===_.K5||ke===_.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(ke===_.SV&&"ltr"===this.dir||ke===_.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(de){this.triggersSubmenu()?(de.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,Fe.h)(de=>de===this._menuItemInstance&&!de.disabled),B(0,y.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Ke&&this.menu._isAnimating?this.menu._animationDone.pipe((0,v.q)(1),B(0,y.E),(0,pe.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(de){return(!this._portal||this._portal.templateRef!==de.templateRef)&&(this._portal=new z.UE(de.templateRef,this._viewContainerRef)),this._portal}}return W.\u0275fac=function(de){return new(de||W)(u.\u0275\u0275directiveInject(te.aV),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(Te),u.\u0275\u0275directiveInject($e,8),u.\u0275\u0275directiveInject(Le,10),u.\u0275\u0275directiveInject(Oe.Is,8),u.\u0275\u0275directiveInject(n.tE),u.\u0275\u0275directiveInject(u.NgZone))},W.\u0275dir=u.\u0275\u0275defineDirective({type:W,hostVars:3,hostBindings:function(de,ke){1&de&&u.\u0275\u0275listener("click",function(mt){return ke._handleClick(mt)})("mousedown",function(mt){return ke._handleMousedown(mt)})("keydown",function(mt){return ke._handleKeydown(mt)}),2&de&&u.\u0275\u0275attribute("aria-haspopup",ke.menu?"menu":null)("aria-expanded",ke.menuOpen||null)("aria-controls",ke.menuOpen?ke.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"}}),W})(),ct=(()=>{class W extends He{}return W.\u0275fac=function(){let ge;return function(ke){return(ge||(ge=u.\u0275\u0275getInheritedFactory(W)))(ke||W)}}(),W.\u0275dir=u.\u0275\u0275defineDirective({type:W,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[u.\u0275\u0275InheritDefinitionFeature]}),W})(),xe=(()=>{class W{}return W.\u0275fac=function(de){return new(de||W)},W.\u0275mod=u.\u0275\u0275defineNgModule({type:W}),W.\u0275inj=u.\u0275\u0275defineInjector({providers:[je],imports:[q.CommonModule,V.MatCommonModule,V.MatRippleModule,te.U8,K.ZD,V.MatCommonModule]}),W})()},4999:(U,o,a)=>{"use strict";a.r(o),a.d(o,{MatCell:()=>rn,MatCellDef:()=>yt,MatColumnDef:()=>at,MatFooterCell:()=>Ht,MatFooterCellDef:()=>Ie,MatFooterRow:()=>_e,MatFooterRowDef:()=>vn,MatHeaderCell:()=>Dt,MatHeaderCellDef:()=>ee,MatHeaderRow:()=>Ye,MatHeaderRowDef:()=>Xt,MatNoDataRow:()=>lt,MatRecycleRows:()=>vt,MatRow:()=>et,MatRowDef:()=>qe,MatTable:()=>Ge,MatTableDataSource:()=>Hn,MatTableModule:()=>Wt,MatTextColumn:()=>It,_MatTableDataSource:()=>gn});var n=a(5e3),h=a(3191),_=a(449),u=a(9808),r=a(7579),c=a(2076),d=a(1135),p=a(8306),y=a(576),b=a(9646),v=a(2722),m=a(5698),C=a(226),M=a(925),O=a(495);const P=[[["caption"]],[["colgroup"],["col"]]],N=["caption","colgroup, col"];function Q(ue,Ze){if(1&ue&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ue){const ne=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",ne.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ne.headerText," ")}}function H(ue,Ze){if(1&ue&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ue){const ne=Ze.$implicit,Ne=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Ne.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Ne.dataAccessor(ne,Ne.name)," ")}}function G(ue){return class extends ue{constructor(...Ze){super(...Ze),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(Ze){const ne=this._sticky;this._sticky=(0,h.Ig)(Ze),this._hasStickyChanged=ne!==this._sticky}hasStickyChanged(){const Ze=this._hasStickyChanged;return this._hasStickyChanged=!1,Ze}resetStickyChanged(){this._hasStickyChanged=!1}}}const B=new n.InjectionToken("CDK_TABLE"),X=new n.InjectionToken("text-column-options");let oe=(()=>{class ue{constructor(ne){this.template=ne}}return ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275directiveInject(n.TemplateRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkCellDef",""]]}),ue})(),pe=(()=>{class ue{constructor(ne){this.template=ne}}return ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275directiveInject(n.TemplateRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkHeaderCellDef",""]]}),ue})(),Fe=(()=>{class ue{constructor(ne){this.template=ne}}return ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275directiveInject(n.TemplateRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkFooterCellDef",""]]}),ue})();class it{}const z=G(it);let q=(()=>{class ue extends z{constructor(ne){super(),this._table=ne,this._stickyEnd=!1}get name(){return this._name}set name(ne){this._setNameInput(ne)}get stickyEnd(){return this._stickyEnd}set stickyEnd(ne){const Ne=this._stickyEnd;this._stickyEnd=(0,h.Ig)(ne),this._hasStickyChanged=Ne!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(ne){ne&&(this._name=ne,this.cssClassFriendlyName=ne.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275directiveInject(B,8))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkColumnDef",""]],contentQueries:function(ne,Ne,ft){if(1&ne&&(n.\u0275\u0275contentQuery(ft,oe,5),n.\u0275\u0275contentQuery(ft,pe,5),n.\u0275\u0275contentQuery(ft,Fe,5)),2&ne){let Tt;n.\u0275\u0275queryRefresh(Tt=n.\u0275\u0275loadQuery())&&(Ne.cell=Tt.first),n.\u0275\u0275queryRefresh(Tt=n.\u0275\u0275loadQuery())&&(Ne.headerCell=Tt.first),n.\u0275\u0275queryRefresh(Tt=n.\u0275\u0275loadQuery())&&(Ne.footerCell=Tt.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[n.\u0275\u0275ProvidersFeature([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})();class V{constructor(Ze,ne){ne.nativeElement.classList.add(...Ze._columnCssClassName)}}let te=(()=>{class ue extends V{constructor(ne,Ne){super(ne,Ne)}}return ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275directiveInject(q),n.\u0275\u0275directiveInject(n.ElementRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ue})(),Ee=(()=>{class ue extends V{constructor(ne,Ne){var ft;if(super(ne,Ne),1===(null===(ft=ne._table)||void 0===ft?void 0:ft._elementRef.nativeElement.nodeType)){const Tt=ne._table._elementRef.nativeElement.getAttribute("role");Ne.nativeElement.setAttribute("role","grid"===Tt||"treegrid"===Tt?"gridcell":"cell")}}}return ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275directiveInject(q),n.\u0275\u0275directiveInject(n.ElementRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ue})(),Oe=(()=>{class ue extends V{constructor(ne,Ne){var ft;if(super(ne,Ne),1===(null===(ft=ne._table)||void 0===ft?void 0:ft._elementRef.nativeElement.nodeType)){const Tt=ne._table._elementRef.nativeElement.getAttribute("role");Ne.nativeElement.setAttribute("role","grid"===Tt||"treegrid"===Tt?"gridcell":"cell")}}}return ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275directiveInject(q),n.\u0275\u0275directiveInject(n.ElementRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ue})();class K{constructor(){this.tasks=[],this.endTasks=[]}}const ie=new n.InjectionToken("_COALESCED_STYLE_SCHEDULER");let Ae=(()=>{class ue{constructor(ne){this._ngZone=ne,this._currentSchedule=null,this._destroyed=new r.x}schedule(ne){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(ne)}scheduleEnd(ne){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(ne)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new K,this._getScheduleObservable().pipe((0,v.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const ne=this._currentSchedule;this._currentSchedule=new K;for(const Ne of ne.tasks)Ne();for(const Ne of ne.endTasks)Ne()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,c.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,m.q)(1))}}return ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275inject(n.NgZone))},ue.\u0275prov=n.\u0275\u0275defineInjectable({token:ue,factory:ue.\u0275fac}),ue})(),ye=(()=>{class ue{constructor(ne,Ne){this.template=ne,this._differs=Ne}ngOnChanges(ne){if(!this._columnsDiffer){const Ne=ne.columns&&ne.columns.currentValue||[];this._columnsDiffer=this._differs.find(Ne).create(),this._columnsDiffer.diff(Ne)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(ne){return this instanceof Ve?ne.headerCell.template:this instanceof ut?ne.footerCell.template:ne.cell.template}}return ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,features:[n.\u0275\u0275NgOnChangesFeature]}),ue})();class Ce extends ye{}const De=G(Ce);let Ve=(()=>{class ue extends De{constructor(ne,Ne,ft){super(ne,Ne),this._table=ft}ngOnChanges(ne){super.ngOnChanges(ne)}}return ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(B,8))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),ue})();class Se extends ye{}const Ue=G(Se);let ut=(()=>{class ue extends Ue{constructor(ne,Ne,ft){super(ne,Ne),this._table=ft}ngOnChanges(ne){super.ngOnChanges(ne)}}return ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(B,8))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]}),ue})(),_t=(()=>{class ue extends ye{constructor(ne,Ne,ft){super(ne,Ne),this._table=ft}}return ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(B,8))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[n.\u0275\u0275InheritDefinitionFeature]}),ue})(),bt=(()=>{class ue{constructor(ne){this._viewContainer=ne,ue.mostRecentCellOutlet=this}ngOnDestroy(){ue.mostRecentCellOutlet===this&&(ue.mostRecentCellOutlet=null)}}return ue.mostRecentCellOutlet=null,ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275directiveInject(n.ViewContainerRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","cdkCellOutlet",""]]}),ue})(),dt=(()=>{class ue{}return ue.\u0275fac=function(ne){return new(ne||ue)},ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ne,Ne){1&ne&&n.\u0275\u0275elementContainer(0,0)},dependencies:[bt],encapsulation:2}),ue})(),$e=(()=>{class ue{}return ue.\u0275fac=function(ne){return new(ne||ue)},ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ne,Ne){1&ne&&n.\u0275\u0275elementContainer(0,0)},dependencies:[bt],encapsulation:2}),ue})(),Pe=(()=>{class ue{}return ue.\u0275fac=function(ne){return new(ne||ue)},ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ne,Ne){1&ne&&n.\u0275\u0275elementContainer(0,0)},dependencies:[bt],encapsulation:2}),ue})(),Le=(()=>{class ue{constructor(ne){this.templateRef=ne,this._contentClassName="cdk-no-data-row"}}return ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275directiveInject(n.TemplateRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["ng-template","cdkNoDataRow",""]]}),ue})();const he=["top","bottom","left","right"];class Qe{constructor(Ze,ne,Ne,ft,Tt=!0,xt=!0,Kt){this._isNativeHtmlTable=Ze,this._stickCellCss=ne,this.direction=Ne,this._coalescedStyleScheduler=ft,this._isBrowser=Tt,this._needsPositionStickyOnElement=xt,this._positionListener=Kt,this._cachedCellWidths=[],this._borderCellCss={top:`${ne}-border-elem-top`,bottom:`${ne}-border-elem-bottom`,left:`${ne}-border-elem-left`,right:`${ne}-border-elem-right`}}clearStickyPositioning(Ze,ne){const Ne=[];for(const ft of Ze)if(ft.nodeType===ft.ELEMENT_NODE){Ne.push(ft);for(let Tt=0;Tt<ft.children.length;Tt++)Ne.push(ft.children[Tt])}this._coalescedStyleScheduler.schedule(()=>{for(const ft of Ne)this._removeStickyStyle(ft,ne)})}updateStickyColumns(Ze,ne,Ne,ft=!0){if(!Ze.length||!this._isBrowser||!ne.some(nn=>nn)&&!Ne.some(nn=>nn))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const Tt=Ze[0],xt=Tt.children.length,Kt=this._getCellWidths(Tt,ft),Ut=this._getStickyStartColumnPositions(Kt,ne),_n=this._getStickyEndColumnPositions(Kt,Ne),dn=ne.lastIndexOf(!0),ln=Ne.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const nn="rtl"===this.direction,zn=nn?"right":"left",cn=nn?"left":"right";for(const On of Ze)for(let kn=0;kn<xt;kn++){const En=On.children[kn];ne[kn]&&this._addStickyStyle(En,zn,Ut[kn],kn===dn),Ne[kn]&&this._addStickyStyle(En,cn,_n[kn],kn===ln)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===dn?[]:Kt.slice(0,dn+1).map((On,kn)=>ne[kn]?On:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===ln?[]:Kt.slice(ln).map((On,kn)=>Ne[kn+ln]?On:null).reverse()}))})}stickRows(Ze,ne,Ne){if(!this._isBrowser)return;const ft="bottom"===Ne?Ze.slice().reverse():Ze,Tt="bottom"===Ne?ne.slice().reverse():ne,xt=[],Kt=[],Ut=[];for(let dn=0,ln=0;dn<ft.length;dn++){if(!Tt[dn])continue;xt[dn]=ln;const nn=ft[dn];Ut[dn]=this._isNativeHtmlTable?Array.from(nn.children):[nn];const zn=nn.getBoundingClientRect().height;ln+=zn,Kt[dn]=zn}const _n=Tt.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{var dn,ln;for(let nn=0;nn<ft.length;nn++){if(!Tt[nn])continue;const zn=xt[nn],cn=nn===_n;for(const On of Ut[nn])this._addStickyStyle(On,Ne,zn,cn)}"top"===Ne?null===(dn=this._positionListener)||void 0===dn||dn.stickyHeaderRowsUpdated({sizes:Kt,offsets:xt,elements:Ut}):null===(ln=this._positionListener)||void 0===ln||ln.stickyFooterRowsUpdated({sizes:Kt,offsets:xt,elements:Ut})})}updateStickyFooterContainer(Ze,ne){if(!this._isNativeHtmlTable)return;const Ne=Ze.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{ne.some(ft=>!ft)?this._removeStickyStyle(Ne,["bottom"]):this._addStickyStyle(Ne,"bottom",0,!1)})}_removeStickyStyle(Ze,ne){for(const ft of ne)Ze.style[ft]="",Ze.classList.remove(this._borderCellCss[ft]);he.some(ft=>-1===ne.indexOf(ft)&&Ze.style[ft])?Ze.style.zIndex=this._getCalculatedZIndex(Ze):(Ze.style.zIndex="",this._needsPositionStickyOnElement&&(Ze.style.position=""),Ze.classList.remove(this._stickCellCss))}_addStickyStyle(Ze,ne,Ne,ft){Ze.classList.add(this._stickCellCss),ft&&Ze.classList.add(this._borderCellCss[ne]),Ze.style[ne]=`${Ne}px`,Ze.style.zIndex=this._getCalculatedZIndex(Ze),this._needsPositionStickyOnElement&&(Ze.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Ze){const ne={top:100,bottom:10,left:1,right:1};let Ne=0;for(const ft of he)Ze.style[ft]&&(Ne+=ne[ft]);return Ne?`${Ne}`:""}_getCellWidths(Ze,ne=!0){if(!ne&&this._cachedCellWidths.length)return this._cachedCellWidths;const Ne=[],ft=Ze.children;for(let Tt=0;Tt<ft.length;Tt++)Ne.push(ft[Tt].getBoundingClientRect().width);return this._cachedCellWidths=Ne,Ne}_getStickyStartColumnPositions(Ze,ne){const Ne=[];let ft=0;for(let Tt=0;Tt<Ze.length;Tt++)ne[Tt]&&(Ne[Tt]=ft,ft+=Ze[Tt]);return Ne}_getStickyEndColumnPositions(Ze,ne){const Ne=[];let ft=0;for(let Tt=Ze.length;Tt>0;Tt--)ne[Tt]&&(Ne[Tt]=ft,ft+=Ze[Tt]);return Ne}}const He=new n.InjectionToken("CDK_SPL");let xe=(()=>{class ue{constructor(ne,Ne){this.viewContainer=ne,this.elementRef=Ne}}return ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","rowOutlet",""]]}),ue})(),W=(()=>{class ue{constructor(ne,Ne){this.viewContainer=ne,this.elementRef=Ne}}return ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","headerRowOutlet",""]]}),ue})(),ge=(()=>{class ue{constructor(ne,Ne){this.viewContainer=ne,this.elementRef=Ne}}return ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","footerRowOutlet",""]]}),ue})(),de=(()=>{class ue{constructor(ne,Ne){this.viewContainer=ne,this.elementRef=Ne}}return ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.ElementRef))},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","noDataRowOutlet",""]]}),ue})(),mt=(()=>{class ue{constructor(ne,Ne,ft,Tt,xt,Kt,Ut,_n,dn,ln,nn,zn){this._differs=ne,this._changeDetectorRef=Ne,this._elementRef=ft,this._dir=xt,this._platform=Ut,this._viewRepeater=_n,this._coalescedStyleScheduler=dn,this._viewportRuler=ln,this._stickyPositioningListener=nn,this._ngZone=zn,this._onDestroy=new r.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 n.EventEmitter,this.viewChange=new d.X({start:0,end:Number.MAX_VALUE}),Tt||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Kt,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(ne){this._trackByFn=ne}get dataSource(){return this._dataSource}set dataSource(ne){this._dataSource!==ne&&this._switchDataSource(ne)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(ne){this._multiTemplateDataRows=(0,h.Ig)(ne),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(ne){this._fixedLayout=(0,h.Ig)(ne),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((ne,Ne)=>this.trackBy?this.trackBy(Ne.dataIndex,Ne.data):Ne),this._viewportRuler.change().pipe((0,v.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Ne=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Ne,this._forceRecalculateCellWidths=Ne,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(ne=>{ne.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,_.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const ne=this._dataDiffer.diff(this._renderRows);if(!ne)return this._updateNoDataRow(),void this.contentChanged.next();const Ne=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(ne,Ne,(ft,Tt,xt)=>this._getEmbeddedViewArgs(ft.item,xt),ft=>ft.item.data,ft=>{1===ft.operation&&ft.context&&this._renderCellTemplateForItem(ft.record.item.rowDef,ft.context)}),this._updateRowIndexContext(),ne.forEachIdentityChange(ft=>{Ne.get(ft.currentIndex).context.$implicit=ft.item.data}),this._updateNoDataRow(),this._ngZone&&n.NgZone.isInAngularZone()?this._ngZone.onStable.pipe((0,m.q)(1),(0,v.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(ne){this._customColumnDefs.add(ne)}removeColumnDef(ne){this._customColumnDefs.delete(ne)}addRowDef(ne){this._customRowDefs.add(ne)}removeRowDef(ne){this._customRowDefs.delete(ne)}addHeaderRowDef(ne){this._customHeaderRowDefs.add(ne),this._headerRowDefChanged=!0}removeHeaderRowDef(ne){this._customHeaderRowDefs.delete(ne),this._headerRowDefChanged=!0}addFooterRowDef(ne){this._customFooterRowDefs.add(ne),this._footerRowDefChanged=!0}removeFooterRowDef(ne){this._customFooterRowDefs.delete(ne),this._footerRowDefChanged=!0}setNoDataRow(ne){this._customNoDataRow=ne}updateStickyHeaderRowStyles(){const ne=this._getRenderedRows(this._headerRowOutlet),ft=this._elementRef.nativeElement.querySelector("thead");ft&&(ft.style.display=ne.length?"":"none");const Tt=this._headerRowDefs.map(xt=>xt.sticky);this._stickyStyler.clearStickyPositioning(ne,["top"]),this._stickyStyler.stickRows(ne,Tt,"top"),this._headerRowDefs.forEach(xt=>xt.resetStickyChanged())}updateStickyFooterRowStyles(){const ne=this._getRenderedRows(this._footerRowOutlet),ft=this._elementRef.nativeElement.querySelector("tfoot");ft&&(ft.style.display=ne.length?"":"none");const Tt=this._footerRowDefs.map(xt=>xt.sticky);this._stickyStyler.clearStickyPositioning(ne,["bottom"]),this._stickyStyler.stickRows(ne,Tt,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,Tt),this._footerRowDefs.forEach(xt=>xt.resetStickyChanged())}updateStickyColumnStyles(){const ne=this._getRenderedRows(this._headerRowOutlet),Ne=this._getRenderedRows(this._rowOutlet),ft=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...ne,...Ne,...ft],["left","right"]),this._stickyColumnStylesNeedReset=!1),ne.forEach((Tt,xt)=>{this._addStickyColumnStyles([Tt],this._headerRowDefs[xt])}),this._rowDefs.forEach(Tt=>{const xt=[];for(let Kt=0;Kt<Ne.length;Kt++)this._renderRows[Kt].rowDef===Tt&&xt.push(Ne[Kt]);this._addStickyColumnStyles(xt,Tt)}),ft.forEach((Tt,xt)=>{this._addStickyColumnStyles([Tt],this._footerRowDefs[xt])}),Array.from(this._columnDefsByName.values()).forEach(Tt=>Tt.resetStickyChanged())}_getAllRenderRows(){const ne=[],Ne=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let ft=0;ft<this._data.length;ft++){let Tt=this._data[ft];const xt=this._getRenderRowsForData(Tt,ft,Ne.get(Tt));this._cachedRenderRowsMap.has(Tt)||this._cachedRenderRowsMap.set(Tt,new WeakMap);for(let Kt=0;Kt<xt.length;Kt++){let Ut=xt[Kt];const _n=this._cachedRenderRowsMap.get(Ut.data);_n.has(Ut.rowDef)?_n.get(Ut.rowDef).push(Ut):_n.set(Ut.rowDef,[Ut]),ne.push(Ut)}}return ne}_getRenderRowsForData(ne,Ne,ft){return this._getRowDefs(ne,Ne).map(xt=>{const Kt=ft&&ft.has(xt)?ft.get(xt):[];if(Kt.length){const Ut=Kt.shift();return Ut.dataIndex=Ne,Ut}return{data:ne,rowDef:xt,dataIndex:Ne}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ft(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Ne=>{this._columnDefsByName.has(Ne.name),this._columnDefsByName.set(Ne.name,Ne)})}_cacheRowDefs(){this._headerRowDefs=Ft(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ft(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ft(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const ne=this._rowDefs.filter(Ne=>!Ne.when);this._defaultRowDef=ne[0]}_renderUpdatedColumns(){const ne=(xt,Kt)=>xt||!!Kt.getColumnsDiff(),Ne=this._rowDefs.reduce(ne,!1);Ne&&this._forceRenderDataRows();const ft=this._headerRowDefs.reduce(ne,!1);ft&&this._forceRenderHeaderRows();const Tt=this._footerRowDefs.reduce(ne,!1);return Tt&&this._forceRenderFooterRows(),Ne||ft||Tt}_switchDataSource(ne){this._data=[],(0,_.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),ne||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=ne}_observeRenderChanges(){if(!this.dataSource)return;let ne;(0,_.Z9)(this.dataSource)?ne=this.dataSource.connect(this):function f(ue){return!!ue&&(ue instanceof p.y||(0,y.m)(ue.lift)&&(0,y.m)(ue.subscribe))}(this.dataSource)?ne=this.dataSource:Array.isArray(this.dataSource)&&(ne=(0,b.of)(this.dataSource)),this._renderChangeSubscription=ne.pipe((0,v.R)(this._onDestroy)).subscribe(Ne=>{this._data=Ne||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((ne,Ne)=>this._renderRow(this._headerRowOutlet,ne,Ne)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((ne,Ne)=>this._renderRow(this._footerRowOutlet,ne,Ne)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(ne,Ne){const ft=Array.from(Ne.columns||[]).map(Kt=>this._columnDefsByName.get(Kt)),Tt=ft.map(Kt=>Kt.sticky),xt=ft.map(Kt=>Kt.stickyEnd);this._stickyStyler.updateStickyColumns(ne,Tt,xt,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(ne){const Ne=[];for(let ft=0;ft<ne.viewContainer.length;ft++){const Tt=ne.viewContainer.get(ft);Ne.push(Tt.rootNodes[0])}return Ne}_getRowDefs(ne,Ne){if(1==this._rowDefs.length)return[this._rowDefs[0]];let ft=[];if(this.multiTemplateDataRows)ft=this._rowDefs.filter(Tt=>!Tt.when||Tt.when(Ne,ne));else{let Tt=this._rowDefs.find(xt=>xt.when&&xt.when(Ne,ne))||this._defaultRowDef;Tt&&ft.push(Tt)}return ft}_getEmbeddedViewArgs(ne,Ne){return{templateRef:ne.rowDef.template,context:{$implicit:ne.data},index:Ne}}_renderRow(ne,Ne,ft,Tt={}){const xt=ne.viewContainer.createEmbeddedView(Ne.template,Tt,ft);return this._renderCellTemplateForItem(Ne,Tt),xt}_renderCellTemplateForItem(ne,Ne){for(let ft of this._getCellTemplates(ne))bt.mostRecentCellOutlet&&bt.mostRecentCellOutlet._viewContainer.createEmbeddedView(ft,Ne);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const ne=this._rowOutlet.viewContainer;for(let Ne=0,ft=ne.length;Ne<ft;Ne++){const xt=ne.get(Ne).context;xt.count=ft,xt.first=0===Ne,xt.last=Ne===ft-1,xt.even=Ne%2==0,xt.odd=!xt.even,this.multiTemplateDataRows?(xt.dataIndex=this._renderRows[Ne].dataIndex,xt.renderIndex=Ne):xt.index=this._renderRows[Ne].dataIndex}}_getCellTemplates(ne){return ne&&ne.columns?Array.from(ne.columns,Ne=>{const ft=this._columnDefsByName.get(Ne);return ne.extractCellTemplate(ft)}):[]}_applyNativeTableSections(){const ne=this._document.createDocumentFragment(),Ne=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const ft of Ne){const Tt=this._document.createElement(ft.tag);Tt.setAttribute("role","rowgroup");for(const xt of ft.outlets)Tt.appendChild(xt.elementRef.nativeElement);ne.appendChild(Tt)}this._elementRef.nativeElement.appendChild(ne)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const ne=(Ne,ft)=>Ne||ft.hasStickyChanged();this._headerRowDefs.reduce(ne,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(ne,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(ne,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Qe(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,b.of)()).pipe((0,v.R)(this._onDestroy)).subscribe(Ne=>{this._stickyStyler.direction=Ne,this.updateStickyColumnStyles()})}_getOwnDefs(ne){return ne.filter(Ne=>!Ne._table||Ne._table===this)}_updateNoDataRow(){const ne=this._customNoDataRow||this._noDataRow;if(!ne)return;const Ne=0===this._rowOutlet.viewContainer.length;if(Ne===this._isShowingNoDataRow)return;const ft=this._noDataRowOutlet.viewContainer;if(Ne){const Tt=ft.createEmbeddedView(ne.templateRef),xt=Tt.rootNodes[0];1===Tt.rootNodes.length&&(null==xt?void 0:xt.nodeType)===this._document.ELEMENT_NODE&&(xt.setAttribute("role","row"),xt.classList.add(ne._contentClassName))}else ft.clear();this._isShowingNoDataRow=Ne}}return ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275directiveInject(n.IterableDiffers),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275injectAttribute("role"),n.\u0275\u0275directiveInject(C.Is,8),n.\u0275\u0275directiveInject(u.DOCUMENT),n.\u0275\u0275directiveInject(M.t4),n.\u0275\u0275directiveInject(_.k),n.\u0275\u0275directiveInject(ie),n.\u0275\u0275directiveInject(O.rL),n.\u0275\u0275directiveInject(He,12),n.\u0275\u0275directiveInject(n.NgZone,8))},ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(ne,Ne,ft){if(1&ne&&(n.\u0275\u0275contentQuery(ft,Le,5),n.\u0275\u0275contentQuery(ft,q,5),n.\u0275\u0275contentQuery(ft,_t,5),n.\u0275\u0275contentQuery(ft,Ve,5),n.\u0275\u0275contentQuery(ft,ut,5)),2&ne){let Tt;n.\u0275\u0275queryRefresh(Tt=n.\u0275\u0275loadQuery())&&(Ne._noDataRow=Tt.first),n.\u0275\u0275queryRefresh(Tt=n.\u0275\u0275loadQuery())&&(Ne._contentColumnDefs=Tt),n.\u0275\u0275queryRefresh(Tt=n.\u0275\u0275loadQuery())&&(Ne._contentRowDefs=Tt),n.\u0275\u0275queryRefresh(Tt=n.\u0275\u0275loadQuery())&&(Ne._contentHeaderRowDefs=Tt),n.\u0275\u0275queryRefresh(Tt=n.\u0275\u0275loadQuery())&&(Ne._contentFooterRowDefs=Tt)}},viewQuery:function(ne,Ne){if(1&ne&&(n.\u0275\u0275viewQuery(xe,7),n.\u0275\u0275viewQuery(W,7),n.\u0275\u0275viewQuery(ge,7),n.\u0275\u0275viewQuery(de,7)),2&ne){let ft;n.\u0275\u0275queryRefresh(ft=n.\u0275\u0275loadQuery())&&(Ne._rowOutlet=ft.first),n.\u0275\u0275queryRefresh(ft=n.\u0275\u0275loadQuery())&&(Ne._headerRowOutlet=ft.first),n.\u0275\u0275queryRefresh(ft=n.\u0275\u0275loadQuery())&&(Ne._footerRowOutlet=ft.first),n.\u0275\u0275queryRefresh(ft=n.\u0275\u0275loadQuery())&&(Ne._noDataRowOutlet=ft.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(ne,Ne){2&ne&&n.\u0275\u0275classProp("cdk-table-fixed-layout",Ne.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:B,useExisting:ue},{provide:_.k,useClass:_.yy},{provide:ie,useClass:Ae},{provide:He,useValue:null}])],ngContentSelectors:N,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ne,Ne){1&ne&&(n.\u0275\u0275projectionDef(P),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[xe,W,ge,de],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),ue})();function Ft(ue,Ze){return ue.concat(Array.from(Ze))}let At=(()=>{class ue{constructor(ne,Ne){this._table=ne,this._options=Ne,this.justify="start",this._options=Ne||{}}get name(){return this._name}set name(ne){this._name=ne,this._syncColumnDefName()}ngOnInit(){this._syncColumnDefName(),void 0===this.headerText&&(this.headerText=this._createDefaultHeaderText()),this.dataAccessor||(this.dataAccessor=this._options.defaultDataAccessor||((ne,Ne)=>ne[Ne])),this._table&&(this.columnDef.cell=this.cell,this.columnDef.headerCell=this.headerCell,this._table.addColumnDef(this.columnDef))}ngOnDestroy(){this._table&&this._table.removeColumnDef(this.columnDef)}_createDefaultHeaderText(){const ne=this.name;return this._options&&this._options.defaultHeaderTextTransform?this._options.defaultHeaderTextTransform(ne):ne[0].toUpperCase()+ne.slice(1)}_syncColumnDefName(){this.columnDef&&(this.columnDef.name=this.name)}}return ue.\u0275fac=function(ne){return new(ne||ue)(n.\u0275\u0275directiveInject(mt,8),n.\u0275\u0275directiveInject(X,8))},ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["cdk-text-column"]],viewQuery:function(ne,Ne){if(1&ne&&(n.\u0275\u0275viewQuery(q,7),n.\u0275\u0275viewQuery(oe,7),n.\u0275\u0275viewQuery(pe,7)),2&ne){let ft;n.\u0275\u0275queryRefresh(ft=n.\u0275\u0275loadQuery())&&(Ne.columnDef=ft.first),n.\u0275\u0275queryRefresh(ft=n.\u0275\u0275loadQuery())&&(Ne.cell=ft.first),n.\u0275\u0275queryRefresh(ft=n.\u0275\u0275loadQuery())&&(Ne.headerCell=ft.first)}},inputs:{name:"name",headerText:"headerText",dataAccessor:"dataAccessor",justify:"justify"},decls:3,vars:0,consts:[["cdkColumnDef",""],["cdk-header-cell","",3,"text-align",4,"cdkHeaderCellDef"],["cdk-cell","",3,"text-align",4,"cdkCellDef"],["cdk-header-cell",""],["cdk-cell",""]],template:function(ne,Ne){1&ne&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,Q,2,3,"th",1),n.\u0275\u0275template(2,H,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[oe,pe,q,Oe,te],encapsulation:2}),ue})(),Nt=(()=>{class ue{}return ue.\u0275fac=function(ne){return new(ne||ue)},ue.\u0275mod=n.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=n.\u0275\u0275defineInjector({imports:[O.Cl]}),ue})();var rt=a(508),Je=a(6451),be=a(9841),me=a(4004);const ae=[[["caption"]],[["colgroup"],["col"]]],le=["caption","colgroup, col"];function j(ue,Ze){if(1&ue&&(n.\u0275\u0275elementStart(0,"th",3),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ue){const ne=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",ne.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",ne.headerText," ")}}function we(ue,Ze){if(1&ue&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ue){const ne=Ze.$implicit,Ne=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("text-align",Ne.justify),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Ne.dataAccessor(ne,Ne.name)," ")}}let vt=(()=>{class ue{}return ue.\u0275fac=function(ne){return new(ne||ue)},ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["mat-table","recycleRows",""],["table","mat-table","","recycleRows",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:_.k,useClass:_.eX}])]}),ue})(),Ge=(()=>{class ue extends mt{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return ue.\u0275fac=function(){let Ze;return function(Ne){return(Ze||(Ze=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(ne,Ne){2&ne&&n.\u0275\u0275classProp("mat-table-fixed-layout",Ne.fixedLayout)},exportAs:["matTable"],features:[n.\u0275\u0275ProvidersFeature([{provide:_.k,useClass:_.yy},{provide:mt,useExisting:ue},{provide:B,useExisting:ue},{provide:ie,useClass:Ae},{provide:He,useValue:null}]),n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:le,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ne,Ne){1&ne&&(n.\u0275\u0275projectionDef(ae),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[xe,W,ge,de],styles:["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}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),ue})(),yt=(()=>{class ue extends oe{}return ue.\u0275fac=function(){let Ze;return function(Ne){return(Ze||(Ze=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","matCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:oe,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),ee=(()=>{class ue extends pe{}return ue.\u0275fac=function(){let Ze;return function(Ne){return(Ze||(Ze=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","matHeaderCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:pe,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),Ie=(()=>{class ue extends Fe{}return ue.\u0275fac=function(){let Ze;return function(Ne){return(Ze||(Ze=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","matFooterCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Fe,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),at=(()=>{class ue extends q{get name(){return this._name}set name(ne){this._setNameInput(ne)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return ue.\u0275fac=function(){let Ze;return function(Ne){return(Ze||(Ze=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[n.\u0275\u0275ProvidersFeature([{provide:q,useExisting:ue},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),Dt=(()=>{class ue extends te{}return ue.\u0275fac=function(){let Ze;return function(Ne){return(Ze||(Ze=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ue})(),Ht=(()=>{class ue extends Ee{}return ue.\u0275fac=function(){let Ze;return function(Ne){return(Ze||(Ze=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:["role","gridcell",1,"mat-footer-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ue})(),rn=(()=>{class ue extends Oe{}return ue.\u0275fac=function(){let Ze;return function(Ne){return(Ze||(Ze=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[n.\u0275\u0275InheritDefinitionFeature]}),ue})(),Xt=(()=>{class ue extends Ve{}return ue.\u0275fac=function(){let Ze;return function(Ne){return(Ze||(Ze=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:Ve,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),vn=(()=>{class ue extends ut{}return ue.\u0275fac=function(){let Ze;return function(Ne){return(Ze||(Ze=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[n.\u0275\u0275ProvidersFeature([{provide:ut,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),qe=(()=>{class ue extends _t{}return ue.\u0275fac=function(){let Ze;return function(Ne){return(Ze||(Ze=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[n.\u0275\u0275ProvidersFeature([{provide:_t,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),Ye=(()=>{class ue extends dt{}return ue.\u0275fac=function(){let Ze;return function(Ne){return(Ze||(Ze=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:dt,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ne,Ne){1&ne&&n.\u0275\u0275elementContainer(0,0)},dependencies:[bt],encapsulation:2}),ue})(),_e=(()=>{class ue extends $e{}return ue.\u0275fac=function(){let Ze;return function(Ne){return(Ze||(Ze=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-footer-row"],exportAs:["matFooterRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:$e,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ne,Ne){1&ne&&n.\u0275\u0275elementContainer(0,0)},dependencies:[bt],encapsulation:2}),ue})(),et=(()=>{class ue extends Pe{}return ue.\u0275fac=function(){let Ze;return function(Ne){return(Ze||(Ze=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[n.\u0275\u0275ProvidersFeature([{provide:Pe,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ne,Ne){1&ne&&n.\u0275\u0275elementContainer(0,0)},dependencies:[bt],encapsulation:2}),ue})(),lt=(()=>{class ue extends Le{constructor(){super(...arguments),this._contentClassName="mat-no-data-row"}}return ue.\u0275fac=function(){let Ze;return function(Ne){return(Ze||(Ze=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["ng-template","matNoDataRow",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),It=(()=>{class ue extends At{}return ue.\u0275fac=function(){let Ze;return function(Ne){return(Ze||(Ze=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275cmp=n.\u0275\u0275defineComponent({type:ue,selectors:[["mat-text-column"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:3,vars:0,consts:[["matColumnDef",""],["mat-header-cell","",3,"text-align",4,"matHeaderCellDef"],["mat-cell","",3,"text-align",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""]],template:function(ne,Ne){1&ne&&(n.\u0275\u0275elementContainerStart(0,0),n.\u0275\u0275template(1,j,2,3,"th",1),n.\u0275\u0275template(2,we,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[ee,at,yt,Dt,rn],encapsulation:2}),ue})(),Wt=(()=>{class ue{}return ue.\u0275fac=function(ne){return new(ne||ue)},ue.\u0275mod=n.\u0275\u0275defineNgModule({type:ue}),ue.\u0275inj=n.\u0275\u0275defineInjector({imports:[Nt,rt.MatCommonModule,rt.MatCommonModule]}),ue})();class gn extends _.o2{constructor(Ze=[]){super(),this._renderData=new d.X([]),this._filter=new d.X(""),this._internalPageChanges=new r.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(ne,Ne)=>{const ft=ne[Ne];if((0,h.t6)(ft)){const Tt=Number(ft);return Tt<9007199254740991?Tt:ft}return ft},this.sortData=(ne,Ne)=>{const ft=Ne.active,Tt=Ne.direction;return ft&&""!=Tt?ne.sort((xt,Kt)=>{let Ut=this.sortingDataAccessor(xt,ft),_n=this.sortingDataAccessor(Kt,ft);const dn=typeof Ut,ln=typeof _n;dn!==ln&&("number"===dn&&(Ut+=""),"number"===ln&&(_n+=""));let nn=0;return null!=Ut&&null!=_n?Ut>_n?nn=1:Ut<_n&&(nn=-1):null!=Ut?nn=1:null!=_n&&(nn=-1),nn*("asc"==Tt?1:-1)}):ne},this.filterPredicate=(ne,Ne)=>{const ft=Object.keys(ne).reduce((xt,Kt)=>xt+ne[Kt]+"\u25ec","").toLowerCase(),Tt=Ne.trim().toLowerCase();return-1!=ft.indexOf(Tt)},this._data=new d.X(Ze),this._updateChangeSubscription()}get data(){return this._data.value}set data(Ze){Ze=Array.isArray(Ze)?Ze:[],this._data.next(Ze),this._renderChangesSubscription||this._filterData(Ze)}get filter(){return this._filter.value}set filter(Ze){this._filter.next(Ze),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Ze){this._sort=Ze,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(Ze){this._paginator=Ze,this._updateChangeSubscription()}_updateChangeSubscription(){var Ze;const ne=this._sort?(0,Je.T)(this._sort.sortChange,this._sort.initialized):(0,b.of)(null),Ne=this._paginator?(0,Je.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,b.of)(null),Tt=(0,be.a)([this._data,this._filter]).pipe((0,me.U)(([Ut])=>this._filterData(Ut))),xt=(0,be.a)([Tt,ne]).pipe((0,me.U)(([Ut])=>this._orderData(Ut))),Kt=(0,be.a)([xt,Ne]).pipe((0,me.U)(([Ut])=>this._pageData(Ut)));null===(Ze=this._renderChangesSubscription)||void 0===Ze||Ze.unsubscribe(),this._renderChangesSubscription=Kt.subscribe(Ut=>this._renderData.next(Ut))}_filterData(Ze){return this.filteredData=null==this.filter||""===this.filter?Ze:Ze.filter(ne=>this.filterPredicate(ne,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Ze){return this.sort?this.sortData(Ze.slice(),this.sort):Ze}_pageData(Ze){if(!this.paginator)return Ze;const ne=this.paginator.pageIndex*this.paginator.pageSize;return Ze.slice(ne,ne+this.paginator.pageSize)}_updatePaginator(Ze){Promise.resolve().then(()=>{const ne=this.paginator;if(ne&&(ne.length=Ze,ne.pageIndex>0)){const Ne=Math.ceil(ne.length/ne.pageSize)-1||0,ft=Math.min(ne.pageIndex,Ne);ft!==ne.pageIndex&&(ne.pageIndex=ft,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var Ze;null===(Ze=this._renderChangesSubscription)||void 0===Ze||Ze.unsubscribe(),this._renderChangesSubscription=null}}class Hn extends gn{}},3251:(U,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_TAB:()=>he,MAT_TABS_CONFIG:()=>ve,MAT_TAB_GROUP:()=>Ke,MatInkBar:()=>dt,MatTab:()=>Y,MatTabBody:()=>We,MatTabBodyPortal:()=>ze,MatTabChangeEvent:()=>At,MatTabContent:()=>Pe,MatTabGroup:()=>rt,MatTabHeader:()=>mt,MatTabLabel:()=>Qe,MatTabLabelWrapper:()=>ct,MatTabLink:()=>j,MatTabNav:()=>me,MatTabNavPanel:()=>we,MatTabsModule:()=>vt,_MAT_INK_BAR_POSITIONER:()=>_t,_MatTabBodyBase:()=>je,_MatTabGroupBase:()=>Nt,_MatTabHeaderBase:()=>tt,_MatTabLinkBase:()=>le,_MatTabNavBase:()=>be,matTabsAnimations:()=>Te});var n=a(5664),h=a(7144),_=a(7429),u=a(9808),r=a(5e3),c=a(508),d=a(5698),p=a(8675),y=a(1884),f=a(2722),b=a(3900),v=a(5684),m=a(7579),C=a(727),M=a(4968),O=a(9646),P=a(6451),N=a(515),Q=a(8306),H=a(5963),G=a(1777),B=a(226),X=a(3191),oe=a(1159),pe=a(925),Fe=a(495);function it(Ge,yt){1&Ge&&r.\u0275\u0275projection(0)}const z=["*"];function q(Ge,yt){}const V=function(Ge){return{animationDuration:Ge}},te=function(Ge,yt){return{value:Ge,params:yt}},Ee=["tabListContainer"],Oe=["tabList"],K=["tabListInner"],ie=["nextPaginator"],Ae=["previousPaginator"],$=["tabBodyWrapper"],ye=["tabHeader"];function Ce(Ge,yt){}function De(Ge,yt){if(1&Ge&&r.\u0275\u0275template(0,Ce,0,0,"ng-template",10),2&Ge){const ee=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("cdkPortalOutlet",ee.templateLabel)}}function Ve(Ge,yt){if(1&Ge&&r.\u0275\u0275text(0),2&Ge){const ee=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275textInterpolate(ee.textLabel)}}function Se(Ge,yt){if(1&Ge){const ee=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"div",6),r.\u0275\u0275listener("click",function(){const at=r.\u0275\u0275restoreView(ee),Dt=at.$implicit,Ht=at.index,rn=r.\u0275\u0275nextContext(),Xt=r.\u0275\u0275reference(1);return r.\u0275\u0275resetView(rn._handleClick(Dt,Xt,Ht))})("cdkFocusChange",function(at){const Ht=r.\u0275\u0275restoreView(ee).index,rn=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(rn._tabFocusChanged(at,Ht))}),r.\u0275\u0275elementStart(1,"div",7),r.\u0275\u0275template(2,De,1,1,"ng-template",8),r.\u0275\u0275template(3,Ve,1,1,"ng-template",null,9,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275elementEnd()()}if(2&Ge){const ee=yt.$implicit,Ie=yt.index,at=r.\u0275\u0275reference(4),Dt=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-label-active",Dt.selectedIndex===Ie),r.\u0275\u0275property("id",Dt._getTabLabelId(Ie))("ngClass",ee.labelClass)("disabled",ee.disabled)("matRippleDisabled",ee.disabled||Dt.disableRipple),r.\u0275\u0275attribute("tabIndex",Dt._getTabIndex(ee,Ie))("aria-posinset",Ie+1)("aria-setsize",Dt._tabs.length)("aria-controls",Dt._getTabContentId(Ie))("aria-selected",Dt.selectedIndex===Ie)("aria-label",ee.ariaLabel||null)("aria-labelledby",!ee.ariaLabel&&ee.ariaLabelledby?ee.ariaLabelledby:null),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngIf",ee.templateLabel)("ngIfElse",at)}}function Ue(Ge,yt){if(1&Ge){const ee=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"mat-tab-body",11),r.\u0275\u0275listener("_onCentered",function(){r.\u0275\u0275restoreView(ee);const at=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(at._removeTabBodyWrapperHeight())})("_onCentering",function(at){r.\u0275\u0275restoreView(ee);const Dt=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Dt._setTabBodyWrapperHeight(at))}),r.\u0275\u0275elementEnd()}if(2&Ge){const ee=yt.$implicit,Ie=yt.index,at=r.\u0275\u0275nextContext();r.\u0275\u0275classProp("mat-tab-body-active",at.selectedIndex===Ie),r.\u0275\u0275property("id",at._getTabContentId(Ie))("ngClass",ee.bodyClass)("content",ee.content)("position",ee.position)("origin",ee.origin)("animationDuration",at.animationDuration)("preserveContent",at.preserveContent),r.\u0275\u0275attribute("tabindex",null!=at.contentTabIndex&&at.selectedIndex===Ie?at.contentTabIndex:null)("aria-labelledby",at._getTabLabelId(Ie))}}const ut=["mat-tab-nav-bar",""],_t=new r.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:function bt(){return yt=>({left:yt?(yt.offsetLeft||0)+"px":"0",width:yt?(yt.offsetWidth||0)+"px":"0"})}});let dt=(()=>{class Ge{constructor(ee,Ie,at,Dt){this._elementRef=ee,this._ngZone=Ie,this._inkBarPositioner=at,this._animationMode=Dt}alignToElement(ee){this.show(),this._ngZone.run(()=>{this._ngZone.onStable.pipe((0,d.q)(1)).subscribe(()=>{const Ie=this._inkBarPositioner(ee),at=this._elementRef.nativeElement;at.style.left=Ie.left,at.style.width=Ie.width})})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return Ge.\u0275fac=function(ee){return new(ee||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(_t),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(ee,Ie){2&ee&&r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Ie._animationMode)}}),Ge})();const $e=new r.InjectionToken("MatTabContent");let Pe=(()=>{class Ge{constructor(ee){this.template=ee}}return Ge.\u0275fac=function(ee){return new(ee||Ge)(r.\u0275\u0275directiveInject(r.TemplateRef))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:$e,useExisting:Ge}])]}),Ge})();const Le=new r.InjectionToken("MatTabLabel"),he=new r.InjectionToken("MAT_TAB");let Qe=(()=>{class Ge extends _.ig{constructor(ee,Ie,at){super(ee,Ie),this._closestTab=at}}return Ge.\u0275fac=function(ee){return new(ee||Ge)(r.\u0275\u0275directiveInject(r.TemplateRef),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(he,8))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Le,useExisting:Ge}]),r.\u0275\u0275InheritDefinitionFeature]}),Ge})();const Be=(0,c.mixinDisabled)(class{}),Ke=new r.InjectionToken("MAT_TAB_GROUP");let Y=(()=>{class Ge extends Be{constructor(ee,Ie){super(),this._viewContainerRef=ee,this._closestTabGroup=Ie,this.textLabel="",this._contentPortal=null,this._stateChanges=new m.x,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(ee){this._setTemplateLabelInput(ee)}get content(){return this._contentPortal}ngOnChanges(ee){(ee.hasOwnProperty("textLabel")||ee.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new _.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(ee){ee&&ee._closestTab===this&&(this._templateLabel=ee)}}return Ge.\u0275fac=function(ee){return new(ee||Ge)(r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(Ke,8))},Ge.\u0275cmp=r.\u0275\u0275defineComponent({type:Ge,selectors:[["mat-tab"]],contentQueries:function(ee,Ie,at){if(1&ee&&(r.\u0275\u0275contentQuery(at,Le,5),r.\u0275\u0275contentQuery(at,$e,7,r.TemplateRef)),2&ee){let Dt;r.\u0275\u0275queryRefresh(Dt=r.\u0275\u0275loadQuery())&&(Ie.templateLabel=Dt.first),r.\u0275\u0275queryRefresh(Dt=r.\u0275\u0275loadQuery())&&(Ie._explicitContent=Dt.first)}},viewQuery:function(ee,Ie){if(1&ee&&r.\u0275\u0275viewQuery(r.TemplateRef,7),2&ee){let at;r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Ie._implicitContent=at.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[r.\u0275\u0275ProvidersFeature([{provide:he,useExisting:Ge}]),r.\u0275\u0275InheritDefinitionFeature,r.\u0275\u0275NgOnChangesFeature],ngContentSelectors:z,decls:1,vars:0,template:function(ee,Ie){1&ee&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275template(0,it,1,0,"ng-template"))},encapsulation:2}),Ge})();const Te={translateTab:(0,G.X$)("translateTab",[(0,G.SB)("center, void, left-origin-center, right-origin-center",(0,G.oB)({transform:"none"})),(0,G.SB)("left",(0,G.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,G.SB)("right",(0,G.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,G.eR)("* => left, * => right, left => center, right => center",(0,G.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,G.eR)("void => left-origin-center",[(0,G.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,G.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,G.eR)("void => right-origin-center",[(0,G.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,G.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let ze=(()=>{class Ge extends _.Pl{constructor(ee,Ie,at,Dt){super(ee,Ie,Dt),this._host=at,this._centeringSub=C.w0.EMPTY,this._leavingSub=C.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,p.O)(this._host._isCenterPosition(this._host._position))).subscribe(ee=>{ee&&!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()}}return Ge.\u0275fac=function(ee){return new(ee||Ge)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>We)),r.\u0275\u0275directiveInject(u.DOCUMENT))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),Ge})(),je=(()=>{class Ge{constructor(ee,Ie,at){this._elementRef=ee,this._dir=Ie,this._dirChangeSubscription=C.w0.EMPTY,this._translateTabComplete=new m.x,this._onCentering=new r.EventEmitter,this._beforeCentering=new r.EventEmitter,this._afterLeavingCenter=new r.EventEmitter,this._onCentered=new r.EventEmitter(!0),this.animationDuration="500ms",this.preserveContent=!1,Ie&&(this._dirChangeSubscription=Ie.change.subscribe(Dt=>{this._computePositionAnimationState(Dt),at.markForCheck()})),this._translateTabComplete.pipe((0,y.x)((Dt,Ht)=>Dt.fromState===Ht.fromState&&Dt.toState===Ht.toState)).subscribe(Dt=>{this._isCenterPosition(Dt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(Dt.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(ee){this._positionIndex=ee,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(ee){const Ie=this._isCenterPosition(ee.toState);this._beforeCentering.emit(Ie),Ie&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(ee){return"center"==ee||"left-origin-center"==ee||"right-origin-center"==ee}_computePositionAnimationState(ee=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==ee?"left":"right":this._positionIndex>0?"ltr"==ee?"right":"left":"center"}_computePositionFromOrigin(ee){const Ie=this._getLayoutDirection();return"ltr"==Ie&&ee<=0||"rtl"==Ie&&ee>0?"left-origin-center":"right-origin-center"}}return Ge.\u0275fac=function(ee){return new(ee||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(B.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Ge})(),We=(()=>{class Ge extends je{constructor(ee,Ie,at){super(ee,Ie,at)}}return Ge.\u0275fac=function(ee){return new(ee||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(B.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},Ge.\u0275cmp=r.\u0275\u0275defineComponent({type:Ge,selectors:[["mat-tab-body"]],viewQuery:function(ee,Ie){if(1&ee&&r.\u0275\u0275viewQuery(_.Pl,5),2&ee){let at;r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Ie._portalHost=at.first)}},hostAttrs:[1,"mat-tab-body"],features:[r.\u0275\u0275InheritDefinitionFeature],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(ee,Ie){1&ee&&(r.\u0275\u0275elementStart(0,"div",0,1),r.\u0275\u0275listener("@translateTab.start",function(Dt){return Ie._onTranslateTabStarted(Dt)})("@translateTab.done",function(Dt){return Ie._translateTabComplete.next(Dt)}),r.\u0275\u0275template(2,q,0,0,"ng-template",2),r.\u0275\u0275elementEnd()),2&ee&&r.\u0275\u0275property("@translateTab",r.\u0275\u0275pureFunction2(3,te,Ie._position,r.\u0275\u0275pureFunction1(1,V,Ie.animationDuration)))},dependencies:[ze],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Te.translateTab]}}),Ge})();const ve=new r.InjectionToken("MAT_TABS_CONFIG"),He=(0,c.mixinDisabled)(class{});let ct=(()=>{class Ge extends He{constructor(ee){super(),this.elementRef=ee}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Ge.\u0275fac=function(ee){return new(ee||Ge)(r.\u0275\u0275directiveInject(r.ElementRef))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(ee,Ie){2&ee&&(r.\u0275\u0275attribute("aria-disabled",!!Ie.disabled),r.\u0275\u0275classProp("mat-tab-disabled",Ie.disabled))},inputs:{disabled:"disabled"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Ge})();const xe=(0,pe.i$)({passive:!0});let ke=(()=>{class Ge{constructor(ee,Ie,at,Dt,Ht,rn,Xt){this._elementRef=ee,this._changeDetectorRef=Ie,this._viewportRuler=at,this._dir=Dt,this._ngZone=Ht,this._platform=rn,this._animationMode=Xt,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new m.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new m.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new r.EventEmitter,this.indexFocused=new r.EventEmitter,Ht.runOutsideAngular(()=>{(0,M.R)(ee.nativeElement,"mouseleave").pipe((0,f.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(ee){this._disablePagination=(0,X.Ig)(ee)}get selectedIndex(){return this._selectedIndex}set selectedIndex(ee){ee=(0,X.su)(ee),this._selectedIndex!=ee&&(this._selectedIndexChanged=!0,this._selectedIndex=ee,this._keyManager&&this._keyManager.updateActiveItem(ee))}ngAfterViewInit(){(0,M.R)(this._previousPaginator.nativeElement,"touchstart",xe).pipe((0,f.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,M.R)(this._nextPaginator.nativeElement,"touchstart",xe).pipe((0,f.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const ee=this._dir?this._dir.change:(0,O.of)("ltr"),Ie=this._viewportRuler.change(150),at=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new n.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,d.q)(1)).subscribe(at),(0,P.T)(ee,Ie,this._items.changes,this._itemsResized()).pipe((0,f.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),at()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe((0,f.R)(this._destroyed)).subscribe(Dt=>{this.indexFocused.emit(Dt),this._setTabFocus(Dt)})}_itemsResized(){return"function"!=typeof ResizeObserver?N.E:this._items.changes.pipe((0,p.O)(this._items),(0,b.w)(ee=>new Q.y(Ie=>this._ngZone.runOutsideAngular(()=>{const at=new ResizeObserver(()=>{Ie.next()});return ee.forEach(Dt=>{at.observe(Dt.elementRef.nativeElement)}),()=>{at.disconnect()}}))),(0,v.T)(1))}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._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(ee){if(!(0,oe.Vb)(ee))switch(ee.keyCode){case oe.K5:case oe.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(ee));break;default:this._keyManager.onKeydown(ee)}}_onContentChanges(){const ee=this._elementRef.nativeElement.textContent;ee!==this._currentTextContent&&(this._currentTextContent=ee||"",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(ee){!this._isValidIndex(ee)||this.focusIndex===ee||!this._keyManager||this._keyManager.setActiveItem(ee)}_isValidIndex(ee){if(!this._items)return!0;const Ie=this._items?this._items.toArray()[ee]:null;return!!Ie&&!Ie.disabled}_setTabFocus(ee){if(this._showPaginationControls&&this._scrollToLabel(ee),this._items&&this._items.length){this._items.toArray()[ee].focus();const Ie=this._tabListContainer.nativeElement;Ie.scrollLeft="ltr"==this._getLayoutDirection()?0:Ie.scrollWidth-Ie.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const ee=this.scrollDistance,Ie="ltr"===this._getLayoutDirection()?-ee:ee;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Ie)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(ee){this._scrollTo(ee)}_scrollHeader(ee){return this._scrollTo(this._scrollDistance+("before"==ee?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(ee){this._stopInterval(),this._scrollHeader(ee)}_scrollToLabel(ee){if(this.disablePagination)return;const Ie=this._items?this._items.toArray()[ee]:null;if(!Ie)return;const at=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:Dt,offsetWidth:Ht}=Ie.elementRef.nativeElement;let rn,Xt;"ltr"==this._getLayoutDirection()?(rn=Dt,Xt=rn+Ht):(Xt=this._tabListInner.nativeElement.offsetWidth-Dt,rn=Xt-Ht);const vn=this.scrollDistance,qe=this.scrollDistance+at;rn<vn?this.scrollDistance-=vn-rn+60:Xt>qe&&(this.scrollDistance+=Xt-qe+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const ee=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;ee||(this.scrollDistance=0),ee!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=ee}}_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 ee=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Ie=ee?ee.elementRef.nativeElement:null;Ie?this._inkBar.alignToElement(Ie):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(ee,Ie){Ie&&null!=Ie.button&&0!==Ie.button||(this._stopInterval(),(0,H.H)(650,100).pipe((0,f.R)((0,P.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:at,distance:Dt}=this._scrollHeader(ee);(0===Dt||Dt>=at)&&this._stopInterval()}))}_scrollTo(ee){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Ie=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Ie,ee)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Ie,distance:this._scrollDistance}}}return Ge.\u0275fac=function(ee){return new(ee||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Fe.rL),r.\u0275\u0275directiveInject(B.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(pe.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,inputs:{disablePagination:"disablePagination"}}),Ge})(),tt=(()=>{class Ge extends ke{constructor(ee,Ie,at,Dt,Ht,rn,Xt){super(ee,Ie,at,Dt,Ht,rn,Xt),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(ee){this._disableRipple=(0,X.Ig)(ee)}_itemSelected(ee){ee.preventDefault()}}return Ge.\u0275fac=function(ee){return new(ee||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Fe.rL),r.\u0275\u0275directiveInject(B.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(pe.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,inputs:{disableRipple:"disableRipple"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Ge})(),mt=(()=>{class Ge extends tt{constructor(ee,Ie,at,Dt,Ht,rn,Xt){super(ee,Ie,at,Dt,Ht,rn,Xt)}}return Ge.\u0275fac=function(ee){return new(ee||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Fe.rL),r.\u0275\u0275directiveInject(B.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(pe.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275cmp=r.\u0275\u0275defineComponent({type:Ge,selectors:[["mat-tab-header"]],contentQueries:function(ee,Ie,at){if(1&ee&&r.\u0275\u0275contentQuery(at,ct,4),2&ee){let Dt;r.\u0275\u0275queryRefresh(Dt=r.\u0275\u0275loadQuery())&&(Ie._items=Dt)}},viewQuery:function(ee,Ie){if(1&ee&&(r.\u0275\u0275viewQuery(dt,7),r.\u0275\u0275viewQuery(Ee,7),r.\u0275\u0275viewQuery(Oe,7),r.\u0275\u0275viewQuery(K,7),r.\u0275\u0275viewQuery(ie,5),r.\u0275\u0275viewQuery(Ae,5)),2&ee){let at;r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Ie._inkBar=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Ie._tabListContainer=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Ie._tabList=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Ie._tabListInner=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Ie._nextPaginator=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Ie._previousPaginator=at.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(ee,Ie){2&ee&&r.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",Ie._showPaginationControls)("mat-tab-header-rtl","rtl"==Ie._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[r.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:z,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(ee,Ie){1&ee&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275listener("click",function(){return Ie._handlePaginatorClick("before")})("mousedown",function(Dt){return Ie._handlePaginatorPress("before",Dt)})("touchend",function(){return Ie._stopInterval()}),r.\u0275\u0275element(2,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275listener("keydown",function(Dt){return Ie._handleKeydown(Dt)}),r.\u0275\u0275elementStart(5,"div",5,6),r.\u0275\u0275listener("cdkObserveContent",function(){return Ie._onContentChanges()}),r.\u0275\u0275elementStart(7,"div",7,8),r.\u0275\u0275projection(9),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(10,"mat-ink-bar"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(11,"button",9,10),r.\u0275\u0275listener("mousedown",function(Dt){return Ie._handlePaginatorPress("after",Dt)})("click",function(){return Ie._handlePaginatorClick("after")})("touchend",function(){return Ie._stopInterval()}),r.\u0275\u0275element(13,"div",2),r.\u0275\u0275elementEnd()),2&ee&&(r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",Ie._disableScrollBefore),r.\u0275\u0275property("matRippleDisabled",Ie._disableScrollBefore||Ie.disableRipple)("disabled",Ie._disableScrollBefore||null),r.\u0275\u0275advance(5),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Ie._animationMode),r.\u0275\u0275advance(6),r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",Ie._disableScrollAfter),r.\u0275\u0275property("matRippleDisabled",Ie._disableScrollAfter||Ie.disableRipple)("disabled",Ie._disableScrollAfter||null))},dependencies:[c.MatRipple,h.wD,dt],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-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-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}.mat-tab-label::before{margin:5px}@media(max-width: 599px){.mat-tab-label{min-width:72px}}"],encapsulation:2}),Ge})(),Ft=0;class At{}const Yt=(0,c.mixinColor)((0,c.mixinDisableRipple)(class{constructor(Ge){this._elementRef=Ge}}),"primary");let Nt=(()=>{class Ge extends Yt{constructor(ee,Ie,at,Dt){var Ht;super(ee),this._changeDetectorRef=Ie,this._animationMode=Dt,this._tabs=new r.QueryList,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=C.w0.EMPTY,this._tabLabelSubscription=C.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new r.EventEmitter,this.focusChange=new r.EventEmitter,this.animationDone=new r.EventEmitter,this.selectedTabChange=new r.EventEmitter(!0),this._groupId=Ft++,this.animationDuration=at&&at.animationDuration?at.animationDuration:"500ms",this.disablePagination=!(!at||null==at.disablePagination)&&at.disablePagination,this.dynamicHeight=!(!at||null==at.dynamicHeight)&&at.dynamicHeight,this.contentTabIndex=null!==(Ht=null==at?void 0:at.contentTabIndex)&&void 0!==Ht?Ht:null,this.preserveContent=!(null==at||!at.preserveContent)}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(ee){this._dynamicHeight=(0,X.Ig)(ee)}get selectedIndex(){return this._selectedIndex}set selectedIndex(ee){this._indexToSelect=(0,X.su)(ee,null)}get animationDuration(){return this._animationDuration}set animationDuration(ee){this._animationDuration=/^\d+$/.test(ee+"")?ee+"ms":ee}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(ee){this._contentTabIndex=(0,X.su)(ee,null)}get disablePagination(){return this._disablePagination}set disablePagination(ee){this._disablePagination=(0,X.Ig)(ee)}get preserveContent(){return this._preserveContent}set preserveContent(ee){this._preserveContent=(0,X.Ig)(ee)}get backgroundColor(){return this._backgroundColor}set backgroundColor(ee){const Ie=this._elementRef.nativeElement;Ie.classList.remove(`mat-background-${this.backgroundColor}`),ee&&Ie.classList.add(`mat-background-${ee}`),this._backgroundColor=ee}ngAfterContentChecked(){const ee=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=ee){const Ie=null==this._selectedIndex;if(!Ie){this.selectedTabChange.emit(this._createChangeEvent(ee));const at=this._tabBodyWrapper.nativeElement;at.style.minHeight=at.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((at,Dt)=>at.isActive=Dt===ee),Ie||(this.selectedIndexChange.emit(ee),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Ie,at)=>{Ie.position=at-ee,null!=this._selectedIndex&&0==Ie.position&&!Ie.origin&&(Ie.origin=ee-this._selectedIndex)}),this._selectedIndex!==ee&&(this._selectedIndex=ee,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const ee=this._clampTabIndex(this._indexToSelect);if(ee===this._selectedIndex){const Ie=this._tabs.toArray();let at;for(let Dt=0;Dt<Ie.length;Dt++)if(Ie[Dt].isActive){this._indexToSelect=this._selectedIndex=Dt,this._lastFocusedTabIndex=null,at=Ie[Dt];break}!at&&Ie[ee]&&Promise.resolve().then(()=>{Ie[ee].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(ee))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,p.O)(this._allTabs)).subscribe(ee=>{this._tabs.reset(ee.filter(Ie=>Ie._closestTabGroup===this||!Ie._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(ee){const Ie=this._tabHeader;Ie&&(Ie.focusIndex=ee)}_focusChanged(ee){this._lastFocusedTabIndex=ee,this.focusChange.emit(this._createChangeEvent(ee))}_createChangeEvent(ee){const Ie=new At;return Ie.index=ee,this._tabs&&this._tabs.length&&(Ie.tab=this._tabs.toArray()[ee]),Ie}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,P.T)(...this._tabs.map(ee=>ee._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(ee){return Math.min(this._tabs.length-1,Math.max(ee||0,0))}_getTabLabelId(ee){return`mat-tab-label-${this._groupId}-${ee}`}_getTabContentId(ee){return`mat-tab-content-${this._groupId}-${ee}`}_setTabBodyWrapperHeight(ee){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const Ie=this._tabBodyWrapper.nativeElement;Ie.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Ie.style.height=ee+"px")}_removeTabBodyWrapperHeight(){const ee=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=ee.clientHeight,ee.style.height="",this.animationDone.emit()}_handleClick(ee,Ie,at){ee.disabled||(this.selectedIndex=Ie.focusIndex=at)}_getTabIndex(ee,Ie){var at;return ee.disabled?null:Ie===(null!==(at=this._lastFocusedTabIndex)&&void 0!==at?at:this.selectedIndex)?0:-1}_tabFocusChanged(ee,Ie){ee&&"mouse"!==ee&&"touch"!==ee&&(this._tabHeader.focusIndex=Ie)}}return Ge.\u0275fac=function(ee){return new(ee||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(ve,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,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:[r.\u0275\u0275InheritDefinitionFeature]}),Ge})(),rt=(()=>{class Ge extends Nt{constructor(ee,Ie,at,Dt){super(ee,Ie,at,Dt)}}return Ge.\u0275fac=function(ee){return new(ee||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(ve,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275cmp=r.\u0275\u0275defineComponent({type:Ge,selectors:[["mat-tab-group"]],contentQueries:function(ee,Ie,at){if(1&ee&&r.\u0275\u0275contentQuery(at,Y,5),2&ee){let Dt;r.\u0275\u0275queryRefresh(Dt=r.\u0275\u0275loadQuery())&&(Ie._allTabs=Dt)}},viewQuery:function(ee,Ie){if(1&ee&&(r.\u0275\u0275viewQuery($,5),r.\u0275\u0275viewQuery(ye,5)),2&ee){let at;r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Ie._tabBodyWrapper=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Ie._tabHeader=at.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(ee,Ie){2&ee&&r.\u0275\u0275classProp("mat-tab-group-dynamic-height",Ie.dynamicHeight)("mat-tab-group-inverted-header","below"===Ie.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[r.\u0275\u0275ProvidersFeature([{provide:Ke,useExisting:Ge}]),r.\u0275\u0275InheritDefinitionFeature],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(ee,Ie){1&ee&&(r.\u0275\u0275elementStart(0,"mat-tab-header",0,1),r.\u0275\u0275listener("indexFocused",function(Dt){return Ie._focusChanged(Dt)})("selectFocusedIndex",function(Dt){return Ie.selectedIndex=Dt}),r.\u0275\u0275template(2,Se,5,15,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275template(5,Ue,1,11,"mat-tab-body",5),r.\u0275\u0275elementEnd()),2&ee&&(r.\u0275\u0275property("selectedIndex",Ie.selectedIndex||0)("disableRipple",Ie.disableRipple)("disablePagination",Ie.disablePagination),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",Ie._tabs),r.\u0275\u0275advance(1),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Ie._animationMode),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",Ie._tabs))},dependencies:[u.NgClass,u.NgForOf,u.NgIf,_.Pl,c.MatRipple,n.kH,ct,We,mt],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],encapsulation:2}),Ge})(),Je=0,be=(()=>{class Ge extends ke{constructor(ee,Ie,at,Dt,Ht,rn,Xt){super(ee,Dt,Ht,Ie,at,rn,Xt),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(ee){const Ie=this._elementRef.nativeElement.classList;Ie.remove(`mat-background-${this.backgroundColor}`),ee&&Ie.add(`mat-background-${ee}`),this._backgroundColor=ee}get disableRipple(){return this._disableRipple}set disableRipple(ee){this._disableRipple=(0,X.Ig)(ee)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,p.O)(null),(0,f.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const ee=this._items.toArray();for(let Ie=0;Ie<ee.length;Ie++)if(ee[Ie].active)return this.selectedIndex=Ie,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=ee[Ie].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}}return Ge.\u0275fac=function(ee){return new(ee||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(B.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Fe.rL),r.\u0275\u0275directiveInject(pe.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Ge})(),me=(()=>{class Ge extends be{constructor(ee,Ie,at,Dt,Ht,rn,Xt){super(ee,Ie,at,Dt,Ht,rn,Xt)}}return Ge.\u0275fac=function(ee){return new(ee||Ge)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(B.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(Fe.rL),r.\u0275\u0275directiveInject(pe.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275cmp=r.\u0275\u0275defineComponent({type:Ge,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(ee,Ie,at){if(1&ee&&r.\u0275\u0275contentQuery(at,j,5),2&ee){let Dt;r.\u0275\u0275queryRefresh(Dt=r.\u0275\u0275loadQuery())&&(Ie._items=Dt)}},viewQuery:function(ee,Ie){if(1&ee&&(r.\u0275\u0275viewQuery(dt,7),r.\u0275\u0275viewQuery(Ee,7),r.\u0275\u0275viewQuery(Oe,7),r.\u0275\u0275viewQuery(K,7),r.\u0275\u0275viewQuery(ie,5),r.\u0275\u0275viewQuery(Ae,5)),2&ee){let at;r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Ie._inkBar=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Ie._tabListContainer=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Ie._tabList=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Ie._tabListInner=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Ie._nextPaginator=at.first),r.\u0275\u0275queryRefresh(at=r.\u0275\u0275loadQuery())&&(Ie._previousPaginator=at.first)}},hostAttrs:[1,"mat-tab-nav-bar","mat-tab-header"],hostVars:11,hostBindings:function(ee,Ie){2&ee&&(r.\u0275\u0275attribute("role",Ie._getRole()),r.\u0275\u0275classProp("mat-tab-header-pagination-controls-enabled",Ie._showPaginationControls)("mat-tab-header-rtl","rtl"==Ie._getLayoutDirection())("mat-primary","warn"!==Ie.color&&"accent"!==Ie.color)("mat-accent","accent"===Ie.color)("mat-warn","warn"===Ie.color))},inputs:{color:"color"},exportAs:["matTabNavBar","matTabNav"],features:[r.\u0275\u0275InheritDefinitionFeature],attrs:ut,ngContentSelectors:z,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(ee,Ie){1&ee&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275elementStart(0,"button",0,1),r.\u0275\u0275listener("click",function(){return Ie._handlePaginatorClick("before")})("mousedown",function(Dt){return Ie._handlePaginatorPress("before",Dt)})("touchend",function(){return Ie._stopInterval()}),r.\u0275\u0275element(2,"div",2),r.\u0275\u0275elementEnd(),r.\u0275\u0275elementStart(3,"div",3,4),r.\u0275\u0275listener("keydown",function(Dt){return Ie._handleKeydown(Dt)}),r.\u0275\u0275elementStart(5,"div",5,6),r.\u0275\u0275listener("cdkObserveContent",function(){return Ie._onContentChanges()}),r.\u0275\u0275elementStart(7,"div",7,8),r.\u0275\u0275projection(9),r.\u0275\u0275elementEnd(),r.\u0275\u0275element(10,"mat-ink-bar"),r.\u0275\u0275elementEnd()(),r.\u0275\u0275elementStart(11,"button",9,10),r.\u0275\u0275listener("mousedown",function(Dt){return Ie._handlePaginatorPress("after",Dt)})("click",function(){return Ie._handlePaginatorClick("after")})("touchend",function(){return Ie._stopInterval()}),r.\u0275\u0275element(13,"div",2),r.\u0275\u0275elementEnd()),2&ee&&(r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",Ie._disableScrollBefore),r.\u0275\u0275property("matRippleDisabled",Ie._disableScrollBefore||Ie.disableRipple)("disabled",Ie._disableScrollBefore||null),r.\u0275\u0275advance(5),r.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===Ie._animationMode),r.\u0275\u0275advance(6),r.\u0275\u0275classProp("mat-tab-header-pagination-disabled",Ie._disableScrollAfter),r.\u0275\u0275property("matRippleDisabled",Ie._disableScrollAfter||Ie.disableRipple)("disabled",Ie._disableScrollAfter||null))},dependencies:[c.MatRipple,h.wD,dt],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-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-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-tab-links{display:flex}[mat-align-tabs=center]>.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar._mat-animation-noopable{transition:none !important;animation:none !important}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}.mat-tab-link::before{margin:5px}@media(max-width: 599px){.mat-tab-link{min-width:72px}}"],encapsulation:2}),Ge})();const ae=(0,c.mixinTabIndex)((0,c.mixinDisableRipple)((0,c.mixinDisabled)(class{})));let le=(()=>{class Ge extends ae{constructor(ee,Ie,at,Dt,Ht,rn){super(),this._tabNavBar=ee,this.elementRef=Ie,this._focusMonitor=Ht,this._isActive=!1,this.id="mat-tab-link-"+Je++,this.rippleConfig=at||{},this.tabIndex=parseInt(Dt)||0,"NoopAnimations"===rn&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(ee){const Ie=(0,X.Ig)(ee);Ie!==this._isActive&&(this._isActive=Ie,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(ee){this._tabNavBar.tabPanel&&ee.keyCode===oe.L_&&this.elementRef.nativeElement.click()}_getAriaControls(){var ee;return this._tabNavBar.tabPanel?null===(ee=this._tabNavBar.tabPanel)||void 0===ee?void 0:ee.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.tabIndex}}return Ge.\u0275fac=function(ee){return new(ee||Ge)(r.\u0275\u0275directiveInject(be),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(c.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,inputs:{active:"active",id:"id"},features:[r.\u0275\u0275InheritDefinitionFeature]}),Ge})(),j=(()=>{class Ge extends le{constructor(ee,Ie,at,Dt,Ht,rn,Xt,vn){super(ee,Ie,Ht,rn,Xt,vn),this._tabLinkRipple=new c.RippleRenderer(this,at,Ie,Dt),this._tabLinkRipple.setupTriggerEvents(Ie.nativeElement)}ngOnDestroy(){super.ngOnDestroy(),this._tabLinkRipple._removeTriggerEvents()}}return Ge.\u0275fac=function(ee){return new(ee||Ge)(r.\u0275\u0275directiveInject(me),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(pe.t4),r.\u0275\u0275directiveInject(c.MAT_RIPPLE_GLOBAL_OPTIONS,8),r.\u0275\u0275injectAttribute("tabindex"),r.\u0275\u0275directiveInject(n.tE),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},Ge.\u0275dir=r.\u0275\u0275defineDirective({type:Ge,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:11,hostBindings:function(ee,Ie){1&ee&&r.\u0275\u0275listener("focus",function(){return Ie._handleFocus()})("keydown",function(Dt){return Ie._handleKeydown(Dt)}),2&ee&&(r.\u0275\u0275attribute("aria-controls",Ie._getAriaControls())("aria-current",Ie._getAriaCurrent())("aria-disabled",Ie.disabled)("aria-selected",Ie._getAriaSelected())("id",Ie.id)("tabIndex",Ie._getTabIndex())("role",Ie._getRole()),r.\u0275\u0275classProp("mat-tab-disabled",Ie.disabled)("mat-tab-label-active",Ie.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[r.\u0275\u0275InheritDefinitionFeature]}),Ge})(),we=(()=>{class Ge{constructor(){this.id="mat-tab-nav-panel-"+Je++}}return Ge.\u0275fac=function(ee){return new(ee||Ge)},Ge.\u0275cmp=r.\u0275\u0275defineComponent({type:Ge,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-tab-nav-panel"],hostVars:2,hostBindings:function(ee,Ie){2&ee&&r.\u0275\u0275attribute("aria-labelledby",Ie._activeTabId)("id",Ie.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:z,decls:1,vars:0,template:function(ee,Ie){1&ee&&(r.\u0275\u0275projectionDef(),r.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),Ge})(),vt=(()=>{class Ge{}return Ge.\u0275fac=function(ee){return new(ee||Ge)},Ge.\u0275mod=r.\u0275\u0275defineNgModule({type:Ge}),Ge.\u0275inj=r.\u0275\u0275defineInjector({imports:[u.CommonModule,c.MatCommonModule,_.eL,c.MatRippleModule,h.Q8,n.rt,c.MatCommonModule]}),Ge})()},7238:(U,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_TOOLTIP_DEFAULT_OPTIONS:()=>it,MAT_TOOLTIP_DEFAULT_OPTIONS_FACTORY:()=>z,MAT_TOOLTIP_SCROLL_STRATEGY:()=>oe,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY:()=>pe,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>Fe,MatTooltip:()=>V,MatTooltipModule:()=>Oe,SCROLL_THROTTLE_MS:()=>N,TOOLTIP_PANEL_CLASS:()=>Q,TooltipComponent:()=>Ee,_MatTooltipBase:()=>q,_TooltipComponentBase:()=>te,getMatTooltipInvalidPositionError:()=>X,matTooltipAnimations:()=>K});var n=a(1314),h=a(5664),_=a(9808),u=a(5e3),r=a(508),c=a(495),d=a(3191),p=a(1159),y=a(5113),f=a(925),b=a(7429),v=a(7579),m=a(2722),C=a(5698),M=a(226),O=a(1777);const P=["tooltip"],N=20,Q="mat-tooltip-panel",H="tooltip-panel",G=(0,f.i$)({passive:!0});function X(ie){return Error(`Tooltip position "${ie}" is invalid.`)}const oe=new u.InjectionToken("mat-tooltip-scroll-strategy");function pe(ie){return()=>ie.scrollStrategies.reposition({scrollThrottle:N})}const Fe={provide:oe,deps:[n.aV],useFactory:pe},it=new u.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:z});function z(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}let q=(()=>{class ie{constructor($,ye,Ce,De,Ve,Se,Ue,ut,_t,bt,dt,$e){this._overlay=$,this._elementRef=ye,this._scrollDispatcher=Ce,this._viewContainerRef=De,this._ngZone=Ve,this._platform=Se,this._ariaDescriber=Ue,this._focusMonitor=ut,this._dir=bt,this._defaultOptions=dt,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new v.x,this._scrollStrategy=_t,this._document=$e,dt&&(dt.position&&(this.position=dt.position),dt.touchGestures&&(this.touchGestures=dt.touchGestures)),bt.change.pipe((0,m.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position($){var ye;$!==this._position&&(this._position=$,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(ye=this._tooltipInstance)||void 0===ye||ye.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled($){this._disabled=(0,d.Ig)($),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay($){this._showDelay=(0,d.su)($)}get hideDelay(){return this._hideDelay}set hideDelay($){this._hideDelay=(0,d.su)($),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message($){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=$?String($).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($){this._tooltipClass=$,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,m.R)(this._destroyed)).subscribe($=>{$?"keyboard"===$&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const $=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([ye,Ce])=>{$.removeEventListener(ye,Ce,G)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription($,this.message,"tooltip"),this._focusMonitor.stopMonitoring($)}show($=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const ye=this._createOverlay();this._detach(),this._portal=this._portal||new b.C5(this._tooltipComponent,this._viewContainerRef);const Ce=this._tooltipInstance=ye.attach(this._portal).instance;Ce._triggerElement=this._elementRef.nativeElement,Ce._mouseLeaveHideDelay=this._hideDelay,Ce.afterHidden().pipe((0,m.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Ce.show($)}hide($=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide($)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var $;if(this._overlayRef)return this._overlayRef;const ye=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),Ce=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(ye);return Ce.positionChanges.pipe((0,m.R)(this._destroyed)).subscribe(De=>{this._updateCurrentPositionClass(De.connectionPair),this._tooltipInstance&&De.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:Ce,panelClass:`${this._cssClassPrefix}-${H}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,m.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,m.R)(this._destroyed)).subscribe(()=>{var De;return null===(De=this._tooltipInstance)||void 0===De?void 0:De._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe((0,m.R)(this._destroyed)).subscribe(De=>{this._isTooltipVisible()&&De.keyCode===p.hY&&!(0,p.Vb)(De)&&(De.preventDefault(),De.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),!(null===($=this._defaultOptions)||void 0===$)&&$.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($){const ye=$.getConfig().positionStrategy,Ce=this._getOrigin(),De=this._getOverlayPosition();ye.withPositions([this._addOffset(Object.assign(Object.assign({},Ce.main),De.main)),this._addOffset(Object.assign(Object.assign({},Ce.fallback),De.fallback))])}_addOffset($){return $}_getOrigin(){const $=!this._dir||"ltr"==this._dir.value,ye=this.position;let Ce;"above"==ye||"below"==ye?Ce={originX:"center",originY:"above"==ye?"top":"bottom"}:"before"==ye||"left"==ye&&$||"right"==ye&&!$?Ce={originX:"start",originY:"center"}:("after"==ye||"right"==ye&&$||"left"==ye&&!$)&&(Ce={originX:"end",originY:"center"});const{x:De,y:Ve}=this._invertPosition(Ce.originX,Ce.originY);return{main:Ce,fallback:{originX:De,originY:Ve}}}_getOverlayPosition(){const $=!this._dir||"ltr"==this._dir.value,ye=this.position;let Ce;"above"==ye?Ce={overlayX:"center",overlayY:"bottom"}:"below"==ye?Ce={overlayX:"center",overlayY:"top"}:"before"==ye||"left"==ye&&$||"right"==ye&&!$?Ce={overlayX:"end",overlayY:"center"}:("after"==ye||"right"==ye&&$||"left"==ye&&!$)&&(Ce={overlayX:"start",overlayY:"center"});const{x:De,y:Ve}=this._invertPosition(Ce.overlayX,Ce.overlayY);return{main:Ce,fallback:{overlayX:De,overlayY:Ve}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,C.q)(1),(0,m.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass($){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=$,this._tooltipInstance._markForCheck())}_invertPosition($,ye){return"above"===this.position||"below"===this.position?"top"===ye?ye="bottom":"bottom"===ye&&(ye="top"):"end"===$?$="start":"start"===$&&($="end"),{x:$,y:ye}}_updateCurrentPositionClass($){const{overlayY:ye,originX:Ce,originY:De}=$;let Ve;if(Ve="center"===ye?this._dir&&"rtl"===this._dir.value?"end"===Ce?"left":"right":"start"===Ce?"left":"right":"bottom"===ye&&"top"===De?"above":"below",Ve!==this._currentPosition){const Se=this._overlayRef;if(Se){const Ue=`${this._cssClassPrefix}-${H}-`;Se.removePanelClass(Ue+this._currentPosition),Se.addPanelClass(Ue+Ve)}this._currentPosition=Ve}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const $=[];if(this._platformSupportsMouseEvents())$.push(["mouseleave",ye=>{var Ce;const De=ye.relatedTarget;(!De||null===(Ce=this._overlayRef)||void 0===Ce||!Ce.overlayElement.contains(De))&&this.hide()}],["wheel",ye=>this._wheelListener(ye)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const ye=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};$.push(["touchend",ye],["touchcancel",ye])}this._addListeners($),this._passiveListeners.push(...$)}_addListeners($){$.forEach(([ye,Ce])=>{this._elementRef.nativeElement.addEventListener(ye,Ce,G)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener($){if(this._isTooltipVisible()){const ye=this._document.elementFromPoint($.clientX,$.clientY),Ce=this._elementRef.nativeElement;ye!==Ce&&!Ce.contains(ye)&&this.hide()}}_disableNativeGesturesIfNecessary(){const $=this.touchGestures;if("off"!==$){const ye=this._elementRef.nativeElement,Ce=ye.style;("on"===$||"INPUT"!==ye.nodeName&&"TEXTAREA"!==ye.nodeName)&&(Ce.userSelect=Ce.msUserSelect=Ce.webkitUserSelect=Ce.MozUserSelect="none"),("on"===$||!ye.draggable)&&(Ce.webkitUserDrag="none"),Ce.touchAction="none",Ce.webkitTapHighlightColor="transparent"}}}return ie.\u0275fac=function($){u.\u0275\u0275invalidFactory()},ie.\u0275dir=u.\u0275\u0275defineDirective({type:ie,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),ie})(),V=(()=>{class ie extends q{constructor($,ye,Ce,De,Ve,Se,Ue,ut,_t,bt,dt,$e){super($,ye,Ce,De,Ve,Se,Ue,ut,_t,bt,dt,$e),this._tooltipComponent=Ee}}return ie.\u0275fac=function($){return new($||ie)(u.\u0275\u0275directiveInject(n.aV),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(c.mF),u.\u0275\u0275directiveInject(u.ViewContainerRef),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(f.t4),u.\u0275\u0275directiveInject(h.$s),u.\u0275\u0275directiveInject(h.tE),u.\u0275\u0275directiveInject(oe),u.\u0275\u0275directiveInject(M.Is,8),u.\u0275\u0275directiveInject(it,8),u.\u0275\u0275directiveInject(_.DOCUMENT))},ie.\u0275dir=u.\u0275\u0275defineDirective({type:ie,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[u.\u0275\u0275InheritDefinitionFeature]}),ie})(),te=(()=>{class ie{constructor($,ye){this._changeDetectorRef=$,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new v.x,this._animationsDisabled="NoopAnimations"===ye}show($){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},$)}hide($){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},$)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:$}){(!$||!this._triggerElement.contains($))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:$}){($===this._showAnimation||$===this._hideAnimation)&&this._finalizeAnimation($===this._showAnimation)}_finalizeAnimation($){$?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility($){const ye=this._tooltip.nativeElement,Ce=this._showAnimation,De=this._hideAnimation;if(ye.classList.remove($?De:Ce),ye.classList.add($?Ce:De),this._isVisible=$,$&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const Ve=getComputedStyle(ye);("0s"===Ve.getPropertyValue("animation-duration")||"none"===Ve.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}$&&this._onShow(),this._animationsDisabled&&(ye.classList.add("_mat-animation-noopable"),this._finalizeAnimation($))}}return ie.\u0275fac=function($){return new($||ie)(u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(u.ANIMATION_MODULE_TYPE,8))},ie.\u0275dir=u.\u0275\u0275defineDirective({type:ie}),ie})(),Ee=(()=>{class ie extends te{constructor($,ye,Ce){super($,Ce),this._breakpointObserver=ye,this._isHandset=this._breakpointObserver.observe(y.Breakpoints.Handset),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return ie.\u0275fac=function($){return new($||ie)(u.\u0275\u0275directiveInject(u.ChangeDetectorRef),u.\u0275\u0275directiveInject(y.BreakpointObserver),u.\u0275\u0275directiveInject(u.ANIMATION_MODULE_TYPE,8))},ie.\u0275cmp=u.\u0275\u0275defineComponent({type:ie,selectors:[["mat-tooltip-component"]],viewQuery:function($,ye){if(1&$&&u.\u0275\u0275viewQuery(P,7),2&$){let Ce;u.\u0275\u0275queryRefresh(Ce=u.\u0275\u0275loadQuery())&&(ye._tooltip=Ce.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function($,ye){1&$&&u.\u0275\u0275listener("mouseleave",function(De){return ye._handleMouseLeave(De)}),2&$&&u.\u0275\u0275styleProp("zoom",ye.isVisible()?1:null)},features:[u.\u0275\u0275InheritDefinitionFeature],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function($,ye){if(1&$&&(u.\u0275\u0275elementStart(0,"div",0,1),u.\u0275\u0275listener("animationend",function(De){return ye._handleAnimationEnd(De)}),u.\u0275\u0275pipe(2,"async"),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd()),2&$){let Ce;u.\u0275\u0275classProp("mat-tooltip-handset",null==(Ce=u.\u0275\u0275pipeBind1(2,4,ye._isHandset))?null:Ce.matches),u.\u0275\u0275property("ngClass",ye.tooltipClass),u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate(ye.message)}},dependencies:[_.NgClass,_.AsyncPipe],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}"],encapsulation:2,changeDetection:0}),ie})(),Oe=(()=>{class ie{}return ie.\u0275fac=function($){return new($||ie)},ie.\u0275mod=u.\u0275\u0275defineNgModule({type:ie}),ie.\u0275inj=u.\u0275\u0275defineInjector({providers:[Fe],imports:[h.rt,_.CommonModule,n.U8,r.MatCommonModule,r.MatCommonModule,c.ZD]}),ie})();const K={tooltipState:(0,O.X$)("state",[(0,O.SB)("initial, void, hidden",(0,O.oB)({opacity:0,transform:"scale(0)"})),(0,O.SB)("visible",(0,O.oB)({transform:"scale(1)"})),(0,O.eR)("* => visible",(0,O.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,O.F4)([(0,O.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,O.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,O.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,O.eR)("* => hidden",(0,O.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,O.oB)({opacity:0})))])}},6360:(U,o,a)=>{"use strict";a.r(o),a.d(o,{ANIMATION_MODULE_TYPE:()=>n.ANIMATION_MODULE_TYPE,BrowserAnimationsModule:()=>Vs,NoopAnimationsModule:()=>Ua,provideAnimations:()=>es,provideNoopAnimations:()=>$s,\u0275AnimationRenderer:()=>Rr,\u0275AnimationRendererFactory:()=>Fn,\u0275BrowserAnimationBuilder:()=>A,\u0275BrowserAnimationFactory:()=>S,\u0275InjectableAnimationEngine:()=>Ls});var n=a(5e3),h=a(2313),_=a(1777);function r(Z){return new n.\u0275RuntimeError(3e3,!1)}function Se(){return"undefined"!=typeof window&&void 0!==window.document}function Ue(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ut(Z){switch(Z.length){case 0:return new _.ZN;case 1:return Z[0];default:return new _.ZE(Z)}}function _t(Z,E,T,R,J=new Map,Me=new Map){const nt=[],ot=[];let ht=-1,wt=null;if(R.forEach(Pt=>{const $t=Pt.get("offset"),an=$t==ht,un=an&&wt||new Map;Pt.forEach((en,tn)=>{let Mn=tn,wn=en;if("offset"!==tn)switch(Mn=E.normalizePropertyName(Mn,nt),wn){case _.k1:wn=J.get(tn);break;case _.l3:wn=Me.get(tn);break;default:wn=E.normalizeStyleValue(tn,Mn,wn,nt)}un.set(Mn,wn)}),an||ot.push(un),wt=un,ht=$t}),nt.length)throw function q(Z){return new n.\u0275RuntimeError(3502,!1)}();return ot}function bt(Z,E,T,R){switch(E){case"start":Z.onStart(()=>R(T&&dt(T,"start",Z)));break;case"done":Z.onDone(()=>R(T&&dt(T,"done",Z)));break;case"destroy":Z.onDestroy(()=>R(T&&dt(T,"destroy",Z)))}}function dt(Z,E,T){const R=T.totalTime,Me=$e(Z.element,Z.triggerName,Z.fromState,Z.toState,E||Z.phaseName,null==R?Z.totalTime:R,!!T.disabled),nt=Z._data;return null!=nt&&(Me._data=nt),Me}function $e(Z,E,T,R,J="",Me=0,nt){return{element:Z,triggerName:E,fromState:T,toState:R,phaseName:J,totalTime:Me,disabled:!!nt}}function Pe(Z,E,T){let R=Z.get(E);return R||Z.set(E,R=T),R}function Le(Z){const E=Z.indexOf(":");return[Z.substring(1,E),Z.slice(E+1)]}let he=(Z,E)=>!1,Qe=(Z,E,T)=>[],Be=null;function Ke(Z){const E=Z.parentNode||Z.host;return E===Be?null:E}(Ue()||"undefined"!=typeof Element)&&(Se()?(Be=(()=>document.documentElement)(),he=(Z,E)=>{for(;E;){if(E===Z)return!0;E=Ke(E)}return!1}):he=(Z,E)=>Z.contains(E),Qe=(Z,E,T)=>{if(T)return Array.from(Z.querySelectorAll(E));const R=Z.querySelector(E);return R?[R]:[]});let ze=null,je=!1;const ct=he,xe=Qe;let ge=(()=>{class Z{validateStyleProperty(T){return function We(Z){ze||(ze=function He(){return"undefined"!=typeof document?document.body:null}()||{},je=!!ze.style&&"WebkitAppearance"in ze.style);let E=!0;return ze.style&&!function Te(Z){return"ebkit"==Z.substring(1,6)}(Z)&&(E=Z in ze.style,!E&&je&&(E="Webkit"+Z.charAt(0).toUpperCase()+Z.slice(1)in ze.style)),E}(T)}matchesElement(T,R){return!1}containsElement(T,R){return ct(T,R)}getParentElement(T){return Ke(T)}query(T,R,J){return xe(T,R,J)}computeStyle(T,R,J){return J||""}animate(T,R,J,Me,nt,ot=[],ht){return new _.ZN(J,Me)}}return Z.\u0275fac=function(T){return new(T||Z)},Z.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:Z.\u0275fac}),Z})(),de=(()=>{class Z{}return Z.NOOP=new ge,Z})();const Ft="ng-enter",At="ng-leave",Yt="ng-trigger",Nt=".ng-trigger",rt="ng-animating",Je=".ng-animating";function be(Z){if("number"==typeof Z)return Z;const E=Z.match(/^(-?[\.\d]+)(m?s)/);return!E||E.length<2?0:me(parseFloat(E[1]),E[2])}function me(Z,E){return"s"===E?1e3*Z:Z}function ae(Z,E,T){return Z.hasOwnProperty("duration")?Z:function le(Z,E,T){let J,Me=0,nt="";if("string"==typeof Z){const ot=Z.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ot)return E.push(r()),{duration:0,delay:0,easing:""};J=me(parseFloat(ot[1]),ot[2]);const ht=ot[3];null!=ht&&(Me=me(parseFloat(ht),ot[4]));const wt=ot[5];wt&&(nt=wt)}else J=Z;if(!T){let ot=!1,ht=E.length;J<0&&(E.push(function c(){return new n.\u0275RuntimeError(3100,!1)}()),ot=!0),Me<0&&(E.push(function d(){return new n.\u0275RuntimeError(3101,!1)}()),ot=!0),ot&&E.splice(ht,0,r())}return{duration:J,delay:Me,easing:nt}}(Z,E,T)}function j(Z,E={}){return Object.keys(Z).forEach(T=>{E[T]=Z[T]}),E}function we(Z){const E=new Map;return Object.keys(Z).forEach(T=>{E.set(T,Z[T])}),E}function yt(Z,E=new Map,T){if(T)for(let[R,J]of T)E.set(R,J);for(let[R,J]of Z)E.set(R,J);return E}function ee(Z,E,T){return T?E+":"+T+";":""}function Ie(Z){let E="";for(let T=0;T<Z.style.length;T++){const R=Z.style.item(T);E+=ee(0,R,Z.style.getPropertyValue(R))}for(const T in Z.style)Z.style.hasOwnProperty(T)&&!T.startsWith("_")&&(E+=ee(0,lt(T),Z.style[T]));Z.setAttribute("style",E)}function at(Z,E,T){Z.style&&(E.forEach((R,J)=>{const Me=et(J);T&&!T.has(J)&&T.set(J,Z.style[Me]),Z.style[Me]=R}),Ue()&&Ie(Z))}function Dt(Z,E){Z.style&&(E.forEach((T,R)=>{const J=et(R);Z.style[J]=""}),Ue()&&Ie(Z))}function Ht(Z){return Array.isArray(Z)?1==Z.length?Z[0]:(0,_.vP)(Z):Z}const Xt=new RegExp("{{\\s*(.+?)\\s*}}","g");function vn(Z){let E=[];if("string"==typeof Z){let T;for(;T=Xt.exec(Z);)E.push(T[1]);Xt.lastIndex=0}return E}function qe(Z,E,T){const R=Z.toString(),J=R.replace(Xt,(Me,nt)=>{let ot=E[nt];return null==ot&&(T.push(function y(Z){return new n.\u0275RuntimeError(3003,!1)}()),ot=""),ot.toString()});return J==R?Z:J}function Ye(Z){const E=[];let T=Z.next();for(;!T.done;)E.push(T.value),T=Z.next();return E}const _e=/-+([a-z0-9])/g;function et(Z){return Z.replace(_e,(...E)=>E[1].toUpperCase())}function lt(Z){return Z.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Wt(Z,E,T){switch(E.type){case 7:return Z.visitTrigger(E,T);case 0:return Z.visitState(E,T);case 1:return Z.visitTransition(E,T);case 2:return Z.visitSequence(E,T);case 3:return Z.visitGroup(E,T);case 4:return Z.visitAnimate(E,T);case 5:return Z.visitKeyframes(E,T);case 6:return Z.visitStyle(E,T);case 8:return Z.visitReference(E,T);case 9:return Z.visitAnimateChild(E,T);case 10:return Z.visitAnimateRef(E,T);case 11:return Z.visitQuery(E,T);case 12:return Z.visitStagger(E,T);default:throw function f(Z){return new n.\u0275RuntimeError(3004,!1)}()}}function yn(Z,E){return window.getComputedStyle(Z)[E]}function xt(Z,E){const T=[];return"string"==typeof Z?Z.split(/\s*,\s*/).forEach(R=>function Kt(Z,E,T){if(":"==Z[0]){const ht=function Ut(Z,E){switch(Z){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(T,R)=>parseFloat(R)>parseFloat(T);case":decrement":return(T,R)=>parseFloat(R)<parseFloat(T);default:return E.push(function pe(Z){return new n.\u0275RuntimeError(3016,!1)}()),"* => *"}}(Z,T);if("function"==typeof ht)return void E.push(ht);Z=ht}const R=Z.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==R||R.length<4)return T.push(function oe(Z){return new n.\u0275RuntimeError(3015,!1)}()),E;const J=R[1],Me=R[2],nt=R[3];E.push(ln(J,nt));"<"==Me[0]&&!("*"==J&&"*"==nt)&&E.push(ln(nt,J))}(R,T,E)):T.push(Z),T}const _n=new Set(["true","1"]),dn=new Set(["false","0"]);function ln(Z,E){const T=_n.has(Z)||dn.has(Z),R=_n.has(E)||dn.has(E);return(J,Me)=>{let nt="*"==Z||Z==J,ot="*"==E||E==Me;return!nt&&T&&"boolean"==typeof J&&(nt=J?_n.has(Z):dn.has(Z)),!ot&&R&&"boolean"==typeof Me&&(ot=Me?_n.has(E):dn.has(E)),nt&&ot}}const zn=new RegExp("s*:selfs*,?","g");function cn(Z,E,T,R){return new kn(Z).build(E,T,R)}class kn{constructor(E){this._driver=E}build(E,T,R){const J=new Ti(T);return this._resetContextStyleTimingState(J),Wt(this,Ht(E),J)}_resetContextStyleTimingState(E){E.currentQuerySelector="",E.collectedStyles=new Map,E.collectedStyles.set("",new Map),E.currentTime=0}visitTrigger(E,T){let R=T.queryCount=0,J=T.depCount=0;const Me=[],nt=[];return"@"==E.name.charAt(0)&&T.errors.push(function v(){return new n.\u0275RuntimeError(3006,!1)}()),E.definitions.forEach(ot=>{if(this._resetContextStyleTimingState(T),0==ot.type){const ht=ot,wt=ht.name;wt.toString().split(/\s*,\s*/).forEach(Pt=>{ht.name=Pt,Me.push(this.visitState(ht,T))}),ht.name=wt}else if(1==ot.type){const ht=this.visitTransition(ot,T);R+=ht.queryCount,J+=ht.depCount,nt.push(ht)}else T.errors.push(function m(){return new n.\u0275RuntimeError(3007,!1)}())}),{type:7,name:E.name,states:Me,transitions:nt,queryCount:R,depCount:J,options:null}}visitState(E,T){const R=this.visitStyle(E.styles,T),J=E.options&&E.options.params||null;if(R.containsDynamicStyles){const Me=new Set,nt=J||{};R.styles.forEach(ot=>{ot instanceof Map&&ot.forEach(ht=>{vn(ht).forEach(wt=>{nt.hasOwnProperty(wt)||Me.add(wt)})})}),Me.size&&(Ye(Me.values()),T.errors.push(function C(Z,E){return new n.\u0275RuntimeError(3008,!1)}()))}return{type:0,name:E.name,style:R,options:J?{params:J}:null}}visitTransition(E,T){T.queryCount=0,T.depCount=0;const R=Wt(this,Ht(E.animation),T);return{type:1,matchers:xt(E.expr,T.errors),animation:R,queryCount:T.queryCount,depCount:T.depCount,options:Ln(E.options)}}visitSequence(E,T){return{type:2,steps:E.steps.map(R=>Wt(this,R,T)),options:Ln(E.options)}}visitGroup(E,T){const R=T.currentTime;let J=0;const Me=E.steps.map(nt=>{T.currentTime=R;const ot=Wt(this,nt,T);return J=Math.max(J,T.currentTime),ot});return T.currentTime=J,{type:3,steps:Me,options:Ln(E.options)}}visitAnimate(E,T){const R=function bi(Z,E){if(Z.hasOwnProperty("duration"))return Z;if("number"==typeof Z)return Ni(ae(Z,E).duration,0,"");const T=Z;if(T.split(/\s+/).some(Me=>"{"==Me.charAt(0)&&"{"==Me.charAt(1))){const Me=Ni(0,0,"");return Me.dynamic=!0,Me.strValue=T,Me}const J=ae(T,E);return Ni(J.duration,J.delay,J.easing)}(E.timings,T.errors);T.currentAnimateTimings=R;let J,Me=E.styles?E.styles:(0,_.oB)({});if(5==Me.type)J=this.visitKeyframes(Me,T);else{let nt=E.styles,ot=!1;if(!nt){ot=!0;const wt={};R.easing&&(wt.easing=R.easing),nt=(0,_.oB)(wt)}T.currentTime+=R.duration+R.delay;const ht=this.visitStyle(nt,T);ht.isEmptyStep=ot,J=ht}return T.currentAnimateTimings=null,{type:4,timings:R,style:J,options:null}}visitStyle(E,T){const R=this._makeStyleAst(E,T);return this._validateStyleAst(R,T),R}_makeStyleAst(E,T){const R=[],J=Array.isArray(E.styles)?E.styles:[E.styles];for(let ot of J)"string"==typeof ot?ot===_.l3?R.push(ot):T.errors.push(new n.\u0275RuntimeError(3002,!1)):R.push(we(ot));let Me=!1,nt=null;return R.forEach(ot=>{if(ot instanceof Map&&(ot.has("easing")&&(nt=ot.get("easing"),ot.delete("easing")),!Me))for(let ht of ot.values())if(ht.toString().indexOf("{{")>=0){Me=!0;break}}),{type:6,styles:R,easing:nt,offset:E.offset,containsDynamicStyles:Me,options:null}}_validateStyleAst(E,T){const R=T.currentAnimateTimings;let J=T.currentTime,Me=T.currentTime;R&&Me>0&&(Me-=R.duration+R.delay),E.styles.forEach(nt=>{"string"!=typeof nt&&nt.forEach((ot,ht)=>{const wt=T.collectedStyles.get(T.currentQuerySelector),Pt=wt.get(ht);let $t=!0;Pt&&(Me!=J&&Me>=Pt.startTime&&J<=Pt.endTime&&(T.errors.push(function P(Z,E,T,R,J){return new n.\u0275RuntimeError(3010,!1)}()),$t=!1),Me=Pt.startTime),$t&&wt.set(ht,{startTime:Me,endTime:J}),T.options&&function rn(Z,E,T){const R=E.params||{},J=vn(Z);J.length&&J.forEach(Me=>{R.hasOwnProperty(Me)||T.push(function p(Z){return new n.\u0275RuntimeError(3001,!1)}())})}(ot,T.options,T.errors)})})}visitKeyframes(E,T){const R={type:5,styles:[],options:null};if(!T.currentAnimateTimings)return T.errors.push(function N(){return new n.\u0275RuntimeError(3011,!1)}()),R;let Me=0;const nt=[];let ot=!1,ht=!1,wt=0;const Pt=E.steps.map(wn=>{const Gn=this._makeStyleAst(wn,T);let ei=null!=Gn.offset?Gn.offset:function wi(Z){if("string"==typeof Z)return null;let E=null;if(Array.isArray(Z))Z.forEach(T=>{if(T instanceof Map&&T.has("offset")){const R=T;E=parseFloat(R.get("offset")),R.delete("offset")}});else if(Z instanceof Map&&Z.has("offset")){const T=Z;E=parseFloat(T.get("offset")),T.delete("offset")}return E}(Gn.styles),Kn=0;return null!=ei&&(Me++,Kn=Gn.offset=ei),ht=ht||Kn<0||Kn>1,ot=ot||Kn<wt,wt=Kn,nt.push(Kn),Gn});ht&&T.errors.push(function Q(){return new n.\u0275RuntimeError(3012,!1)}()),ot&&T.errors.push(function H(){return new n.\u0275RuntimeError(3200,!1)}());const $t=E.steps.length;let an=0;Me>0&&Me<$t?T.errors.push(function G(){return new n.\u0275RuntimeError(3202,!1)}()):0==Me&&(an=1/($t-1));const un=$t-1,en=T.currentTime,tn=T.currentAnimateTimings,Mn=tn.duration;return Pt.forEach((wn,Gn)=>{const ei=an>0?Gn==un?1:an*Gn:nt[Gn],Kn=ei*Mn;T.currentTime=en+tn.delay+Kn,tn.duration=Kn,this._validateStyleAst(wn,T),wn.offset=ei,R.styles.push(wn)}),R}visitReference(E,T){return{type:8,animation:Wt(this,Ht(E.animation),T),options:Ln(E.options)}}visitAnimateChild(E,T){return T.depCount++,{type:9,options:Ln(E.options)}}visitAnimateRef(E,T){return{type:10,animation:this.visitReference(E.animation,T),options:Ln(E.options)}}visitQuery(E,T){const R=T.currentQuerySelector,J=E.options||{};T.queryCount++,T.currentQuery=E;const[Me,nt]=function En(Z){const E=!!Z.split(/\s*,\s*/).find(T=>":self"==T);return E&&(Z=Z.replace(zn,"")),Z=Z.replace(/@\*/g,Nt).replace(/@\w+/g,T=>Nt+"-"+T.slice(1)).replace(/:animating/g,Je),[Z,E]}(E.selector);T.currentQuerySelector=R.length?R+" "+Me:Me,Pe(T.collectedStyles,T.currentQuerySelector,new Map);const ot=Wt(this,Ht(E.animation),T);return T.currentQuery=null,T.currentQuerySelector=R,{type:11,selector:Me,limit:J.limit||0,optional:!!J.optional,includeSelf:nt,animation:ot,originalSelector:E.selector,options:Ln(E.options)}}visitStagger(E,T){T.currentQuery||T.errors.push(function B(){return new n.\u0275RuntimeError(3013,!1)}());const R="full"===E.timings?{duration:0,delay:0,easing:"full"}:ae(E.timings,T.errors,!0);return{type:12,animation:Wt(this,Ht(E.animation),T),timings:R,options:null}}}class Ti{constructor(E){this.errors=E,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 Ln(Z){return Z?(Z=j(Z)).params&&(Z.params=function Nn(Z){return Z?j(Z):null}(Z.params)):Z={},Z}function Ni(Z,E,T){return{duration:Z,delay:E,easing:T}}function Wi(Z,E,T,R,J,Me,nt=null,ot=!1){return{type:1,element:Z,keyframes:E,preStyleProps:T,postStyleProps:R,duration:J,delay:Me,totalTime:J+Me,easing:nt,subTimeline:ot}}class Ci{constructor(){this._map=new Map}get(E){return this._map.get(E)||[]}append(E,T){let R=this._map.get(E);R||this._map.set(E,R=[]),R.push(...T)}has(E){return this._map.has(E)}clear(){this._map.clear()}}const cr=new RegExp(":enter","g"),Xn=new RegExp(":leave","g");function ur(Z,E,T,R,J,Me=new Map,nt=new Map,ot,ht,wt=[]){return(new Xr).buildKeyframes(Z,E,T,R,J,Me,nt,ot,ht,wt)}class Xr{buildKeyframes(E,T,R,J,Me,nt,ot,ht,wt,Pt=[]){wt=wt||new Ci;const $t=new dr(E,T,wt,J,Me,Pt,[]);$t.options=ht;const an=ht.delay?be(ht.delay):0;$t.currentTimeline.delayNextStep(an),$t.currentTimeline.setStyles([nt],null,$t.errors,ht),Wt(this,R,$t);const un=$t.timelines.filter(en=>en.containsAnimation());if(un.length&&ot.size){let en;for(let tn=un.length-1;tn>=0;tn--){const Mn=un[tn];if(Mn.element===T){en=Mn;break}}en&&!en.allowOnlyTimelineStyles()&&en.setStyles([ot],null,$t.errors,ht)}return un.length?un.map(en=>en.buildKeyframes()):[Wi(T,[],[],[],0,an,"",!1)]}visitTrigger(E,T){}visitState(E,T){}visitTransition(E,T){}visitAnimateChild(E,T){const R=T.subInstructions.get(T.element);if(R){const J=T.createSubContext(E.options),Me=T.currentTimeline.currentTime,nt=this._visitSubInstructions(R,J,J.options);Me!=nt&&T.transformIntoNewTimeline(nt)}T.previousNode=E}visitAnimateRef(E,T){const R=T.createSubContext(E.options);R.transformIntoNewTimeline(),this.visitReference(E.animation,R),T.transformIntoNewTimeline(R.currentTimeline.currentTime),T.previousNode=E}_visitSubInstructions(E,T,R){let Me=T.currentTimeline.currentTime;const nt=null!=R.duration?be(R.duration):null,ot=null!=R.delay?be(R.delay):null;return 0!==nt&&E.forEach(ht=>{const wt=T.appendInstructionToTimeline(ht,nt,ot);Me=Math.max(Me,wt.duration+wt.delay)}),Me}visitReference(E,T){T.updateOptions(E.options,!0),Wt(this,E.animation,T),T.previousNode=E}visitSequence(E,T){const R=T.subContextCount;let J=T;const Me=E.options;if(Me&&(Me.params||Me.delay)&&(J=T.createSubContext(Me),J.transformIntoNewTimeline(),null!=Me.delay)){6==J.previousNode.type&&(J.currentTimeline.snapshotCurrentStyles(),J.previousNode=Li);const nt=be(Me.delay);J.delayNextStep(nt)}E.steps.length&&(E.steps.forEach(nt=>Wt(this,nt,J)),J.currentTimeline.applyStylesToKeyframe(),J.subContextCount>R&&J.transformIntoNewTimeline()),T.previousNode=E}visitGroup(E,T){const R=[];let J=T.currentTimeline.currentTime;const Me=E.options&&E.options.delay?be(E.options.delay):0;E.steps.forEach(nt=>{const ot=T.createSubContext(E.options);Me&&ot.delayNextStep(Me),Wt(this,nt,ot),J=Math.max(J,ot.currentTimeline.currentTime),R.push(ot.currentTimeline)}),R.forEach(nt=>T.currentTimeline.mergeTimelineCollectedStyles(nt)),T.transformIntoNewTimeline(J),T.previousNode=E}_visitTiming(E,T){if(E.dynamic){const R=E.strValue;return ae(T.params?qe(R,T.params,T.errors):R,T.errors)}return{duration:E.duration,delay:E.delay,easing:E.easing}}visitAnimate(E,T){const R=T.currentAnimateTimings=this._visitTiming(E.timings,T),J=T.currentTimeline;R.delay&&(T.incrementTime(R.delay),J.snapshotCurrentStyles());const Me=E.style;5==Me.type?this.visitKeyframes(Me,T):(T.incrementTime(R.duration),this.visitStyle(Me,T),J.applyStylesToKeyframe()),T.currentAnimateTimings=null,T.previousNode=E}visitStyle(E,T){const R=T.currentTimeline,J=T.currentAnimateTimings;!J&&R.hasCurrentStyleProperties()&&R.forwardFrame();const Me=J&&J.easing||E.easing;E.isEmptyStep?R.applyEmptyStep(Me):R.setStyles(E.styles,Me,T.errors,T.options),T.previousNode=E}visitKeyframes(E,T){const R=T.currentAnimateTimings,J=T.currentTimeline.duration,Me=R.duration,ot=T.createSubContext().currentTimeline;ot.easing=R.easing,E.styles.forEach(ht=>{ot.forwardTime((ht.offset||0)*Me),ot.setStyles(ht.styles,ht.easing,T.errors,T.options),ot.applyStylesToKeyframe()}),T.currentTimeline.mergeTimelineCollectedStyles(ot),T.transformIntoNewTimeline(J+Me),T.previousNode=E}visitQuery(E,T){const R=T.currentTimeline.currentTime,J=E.options||{},Me=J.delay?be(J.delay):0;Me&&(6===T.previousNode.type||0==R&&T.currentTimeline.hasCurrentStyleProperties())&&(T.currentTimeline.snapshotCurrentStyles(),T.previousNode=Li);let nt=R;const ot=T.invokeQuery(E.selector,E.originalSelector,E.limit,E.includeSelf,!!J.optional,T.errors);T.currentQueryTotal=ot.length;let ht=null;ot.forEach((wt,Pt)=>{T.currentQueryIndex=Pt;const $t=T.createSubContext(E.options,wt);Me&&$t.delayNextStep(Me),wt===T.element&&(ht=$t.currentTimeline),Wt(this,E.animation,$t),$t.currentTimeline.applyStylesToKeyframe(),nt=Math.max(nt,$t.currentTimeline.currentTime)}),T.currentQueryIndex=0,T.currentQueryTotal=0,T.transformIntoNewTimeline(nt),ht&&(T.currentTimeline.mergeTimelineCollectedStyles(ht),T.currentTimeline.snapshotCurrentStyles()),T.previousNode=E}visitStagger(E,T){const R=T.parentContext,J=T.currentTimeline,Me=E.timings,nt=Math.abs(Me.duration),ot=nt*(T.currentQueryTotal-1);let ht=nt*T.currentQueryIndex;switch(Me.duration<0?"reverse":Me.easing){case"reverse":ht=ot-ht;break;case"full":ht=R.currentStaggerTime}const Pt=T.currentTimeline;ht&&Pt.delayNextStep(ht);const $t=Pt.currentTime;Wt(this,E.animation,T),T.previousNode=E,R.currentStaggerTime=J.currentTime-$t+(J.startTime-R.currentTimeline.startTime)}}const Li={};class dr{constructor(E,T,R,J,Me,nt,ot,ht){this._driver=E,this.element=T,this.subInstructions=R,this._enterClassName=J,this._leaveClassName=Me,this.errors=nt,this.timelines=ot,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=ht||new Di(this._driver,T,0),ot.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(E,T){if(!E)return;const R=E;let J=this.options;null!=R.duration&&(J.duration=be(R.duration)),null!=R.delay&&(J.delay=be(R.delay));const Me=R.params;if(Me){let nt=J.params;nt||(nt=this.options.params={}),Object.keys(Me).forEach(ot=>{(!T||!nt.hasOwnProperty(ot))&&(nt[ot]=qe(Me[ot],nt,this.errors))})}}_copyOptions(){const E={};if(this.options){const T=this.options.params;if(T){const R=E.params={};Object.keys(T).forEach(J=>{R[J]=T[J]})}}return E}createSubContext(E=null,T,R){const J=T||this.element,Me=new dr(this._driver,J,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(J,R||0));return Me.previousNode=this.previousNode,Me.currentAnimateTimings=this.currentAnimateTimings,Me.options=this._copyOptions(),Me.updateOptions(E),Me.currentQueryIndex=this.currentQueryIndex,Me.currentQueryTotal=this.currentQueryTotal,Me.parentContext=this,this.subContextCount++,Me}transformIntoNewTimeline(E){return this.previousNode=Li,this.currentTimeline=this.currentTimeline.fork(this.element,E),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(E,T,R){const J={duration:null!=T?T:E.duration,delay:this.currentTimeline.currentTime+(null!=R?R:0)+E.delay,easing:""},Me=new Or(this._driver,E.element,E.keyframes,E.preStyleProps,E.postStyleProps,J,E.stretchStartingKeyframe);return this.timelines.push(Me),J}incrementTime(E){this.currentTimeline.forwardTime(this.currentTimeline.duration+E)}delayNextStep(E){E>0&&this.currentTimeline.delayNextStep(E)}invokeQuery(E,T,R,J,Me,nt){let ot=[];if(J&&ot.push(this.element),E.length>0){E=(E=E.replace(cr,"."+this._enterClassName)).replace(Xn,"."+this._leaveClassName);let wt=this._driver.query(this.element,E,1!=R);0!==R&&(wt=R<0?wt.slice(wt.length+R,wt.length):wt.slice(0,R)),ot.push(...wt)}return!Me&&0==ot.length&&nt.push(function X(Z){return new n.\u0275RuntimeError(3014,!1)}()),ot}}class Di{constructor(E,T,R,J){this._driver=E,this.element=T,this.startTime=R,this._elementTimelineStylesLookup=J,this.duration=0,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(T),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(T,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(E){const T=1===this._keyframes.size&&this._pendingStyles.size;this.duration||T?(this.forwardTime(this.currentTime+E),T&&this.snapshotCurrentStyles()):this.startTime+=E}fork(E,T){return this.applyStylesToKeyframe(),new Di(this._driver,E,T||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(E){this.applyStylesToKeyframe(),this.duration=E,this._loadKeyframe()}_updateStyle(E,T){this._localTimelineStyles.set(E,T),this._globalTimelineStyles.set(E,T),this._styleSummary.set(E,{time:this.currentTime,value:T})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(E){E&&this._previousKeyframe.set("easing",E);for(let[T,R]of this._globalTimelineStyles)this._backFill.set(T,R||_.l3),this._currentKeyframe.set(T,_.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(E,T,R,J){var Me;T&&this._previousKeyframe.set("easing",T);const nt=J&&J.params||{},ot=function Qi(Z,E){const T=new Map;let R;return Z.forEach(J=>{if("*"===J){R=R||E.keys();for(let Me of R)T.set(Me,_.l3)}else yt(J,T)}),T}(E,this._globalTimelineStyles);for(let[ht,wt]of ot){const Pt=qe(wt,nt,R);this._pendingStyles.set(ht,Pt),this._localTimelineStyles.has(ht)||this._backFill.set(ht,null!==(Me=this._globalTimelineStyles.get(ht))&&void 0!==Me?Me:_.l3),this._updateStyle(ht,Pt)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((E,T)=>{this._currentKeyframe.set(T,E)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((E,T)=>{this._currentKeyframe.has(T)||this._currentKeyframe.set(T,E)}))}snapshotCurrentStyles(){for(let[E,T]of this._localTimelineStyles)this._pendingStyles.set(E,T),this._updateStyle(E,T)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const E=[];for(let T in this._currentKeyframe)E.push(T);return E}mergeTimelineCollectedStyles(E){E._styleSummary.forEach((T,R)=>{const J=this._styleSummary.get(R);(!J||T.time>J.time)&&this._updateStyle(R,T.value)})}buildKeyframes(){this.applyStylesToKeyframe();const E=new Set,T=new Set,R=1===this._keyframes.size&&0===this.duration;let J=[];this._keyframes.forEach((ot,ht)=>{const wt=yt(ot,new Map,this._backFill);wt.forEach((Pt,$t)=>{Pt===_.k1?E.add($t):Pt===_.l3&&T.add($t)}),R||wt.set("offset",ht/this.duration),J.push(wt)});const Me=E.size?Ye(E.values()):[],nt=T.size?Ye(T.values()):[];if(R){const ot=J[0],ht=new Map(ot);ot.set("offset",0),ht.set("offset",1),J=[ot,ht]}return Wi(this.element,J,Me,nt,this.duration,this.startTime,this.easing,!1)}}class Or extends Di{constructor(E,T,R,J,Me,nt,ot=!1){super(E,T,nt.delay),this.keyframes=R,this.preStyleProps=J,this.postStyleProps=Me,this._stretchStartingKeyframe=ot,this.timings={duration:nt.duration,delay:nt.delay,easing:nt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let E=this.keyframes,{delay:T,duration:R,easing:J}=this.timings;if(this._stretchStartingKeyframe&&T){const Me=[],nt=R+T,ot=T/nt,ht=yt(E[0]);ht.set("offset",0),Me.push(ht);const wt=yt(E[0]);wt.set("offset",Yi(ot)),Me.push(wt);const Pt=E.length-1;for(let $t=1;$t<=Pt;$t++){let an=yt(E[$t]);const un=an.get("offset");an.set("offset",Yi((T+un*R)/nt)),Me.push(an)}R=nt,T=0,J="",E=Me}return Wi(this.element,E,this.preStyleProps,this.postStyleProps,R,T,J,!0)}}function Yi(Z,E=3){const T=Math.pow(10,E-1);return Math.round(Z*T)/T}class Mi{}const Ei=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 Ar extends Mi{normalizePropertyName(E,T){return et(E)}normalizeStyleValue(E,T,R,J){let Me="";const nt=R.toString().trim();if(Ei.has(T)&&0!==R&&"0"!==R)if("number"==typeof R)Me="px";else{const ot=R.match(/^[+-]?[\d\.]+([a-z]*)$/);ot&&0==ot[1].length&&J.push(function b(Z,E){return new n.\u0275RuntimeError(3005,!1)}())}return nt+Me}}function Si(Z,E,T,R,J,Me,nt,ot,ht,wt,Pt,$t,an){return{type:0,element:Z,triggerName:E,isRemovalTransition:J,fromState:T,fromStyles:Me,toState:R,toStyles:nt,timelines:ot,queriedElements:ht,preStyleProps:wt,postStyleProps:Pt,totalTime:$t,errors:an}}const Zi={};class ni{constructor(E,T,R){this._triggerName=E,this.ast=T,this._stateStyles=R}match(E,T,R,J){return function ji(Z,E,T,R,J){return Z.some(Me=>Me(E,T,R,J))}(this.ast.matchers,E,T,R,J)}buildStyles(E,T,R){let J=this._stateStyles.get("*");return void 0!==E&&(J=this._stateStyles.get(null==E?void 0:E.toString())||J),J?J.buildStyles(T,R):new Map}build(E,T,R,J,Me,nt,ot,ht,wt,Pt){var $t;const an=[],un=this.ast.options&&this.ast.options.params||Zi,tn=this.buildStyles(R,ot&&ot.params||Zi,an),Mn=ht&&ht.params||Zi,wn=this.buildStyles(J,Mn,an),Gn=new Set,ei=new Map,Kn=new Map,yr="void"===J,_r={params:Ii(Mn,un),delay:null===($t=this.ast.options)||void 0===$t?void 0:$t.delay},Un=Pt?[]:ur(E,T,this.ast.animation,Me,nt,tn,wn,_r,wt,an);let si=0;if(Un.forEach(Ai=>{si=Math.max(Ai.duration+Ai.delay,si)}),an.length)return Si(T,this._triggerName,R,J,yr,tn,wn,[],[],ei,Kn,si,an);Un.forEach(Ai=>{const ir=Ai.element,xr=Pe(ei,ir,new Set);Ai.preStyleProps.forEach(zr=>xr.add(zr));const to=Pe(Kn,ir,new Set);Ai.postStyleProps.forEach(zr=>to.add(zr)),ir!==T&&Gn.add(ir)});const go=Ye(Gn.values());return Si(T,this._triggerName,R,J,yr,tn,wn,Un,go,ei,Kn,si)}}function Ii(Z,E){const T=j(E);for(const R in Z)Z.hasOwnProperty(R)&&null!=Z[R]&&(T[R]=Z[R]);return T}class hr{constructor(E,T,R){this.styles=E,this.defaultParams=T,this.normalizer=R}buildStyles(E,T){const R=new Map,J=j(this.defaultParams);return Object.keys(E).forEach(Me=>{const nt=E[Me];null!==nt&&(J[Me]=nt)}),this.styles.styles.forEach(Me=>{"string"!=typeof Me&&Me.forEach((nt,ot)=>{nt&&(nt=qe(nt,J,T));const ht=this.normalizer.normalizePropertyName(ot,T);nt=this.normalizer.normalizeStyleValue(ot,ht,nt,T),R.set(ht,nt)})}),R}}class Bi{constructor(E,T,R){this.name=E,this.ast=T,this._normalizer=R,this.transitionFactories=[],this.states=new Map,T.states.forEach(J=>{this.states.set(J.name,new hr(J.style,J.options&&J.options.params||{},R))}),Vi(this.states,"true","1"),Vi(this.states,"false","0"),T.transitions.forEach(J=>{this.transitionFactories.push(new ni(E,J,this.states))}),this.fallbackTransition=function hi(Z,E,T){return new ni(Z,{type:1,animation:{type:2,steps:[],options:null},matchers:[(nt,ot)=>!0],options:null,queryCount:0,depCount:0},E)}(E,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(E,T,R,J){return this.transitionFactories.find(nt=>nt.match(E,T,R,J))||null}matchStyles(E,T,R){return this.fallbackTransition.buildStyles(E,T,R)}}function Vi(Z,E,T){Z.has(E)?Z.has(T)||Z.set(T,Z.get(E)):Z.has(T)&&Z.set(E,Z.get(T))}const pr=new Ci;class mr{constructor(E,T,R){this.bodyNode=E,this._driver=T,this._normalizer=R,this._animations=new Map,this._playersById=new Map,this.players=[]}register(E,T){const R=[],Me=cn(this._driver,T,R,[]);if(R.length)throw function V(Z){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(E,Me)}_buildPlayer(E,T,R){const J=E.element,Me=_t(0,this._normalizer,0,E.keyframes,T,R);return this._driver.animate(J,Me,E.duration,E.delay,E.easing,[],!0)}create(E,T,R={}){const J=[],Me=this._animations.get(E);let nt;const ot=new Map;if(Me?(nt=ur(this._driver,T,Me,Ft,At,new Map,new Map,R,pr,J),nt.forEach(Pt=>{const $t=Pe(ot,Pt.element,new Map);Pt.postStyleProps.forEach(an=>$t.set(an,null))})):(J.push(function te(){return new n.\u0275RuntimeError(3300,!1)}()),nt=[]),J.length)throw function Ee(Z){return new n.\u0275RuntimeError(3504,!1)}();ot.forEach((Pt,$t)=>{Pt.forEach((an,un)=>{Pt.set(un,this._driver.computeStyle($t,un,_.l3))})});const wt=ut(nt.map(Pt=>{const $t=ot.get(Pt.element);return this._buildPlayer(Pt,new Map,$t)}));return this._playersById.set(E,wt),wt.onDestroy(()=>this.destroy(E)),this.players.push(wt),wt}destroy(E){const T=this._getPlayer(E);T.destroy(),this._playersById.delete(E);const R=this.players.indexOf(T);R>=0&&this.players.splice(R,1)}_getPlayer(E){const T=this._playersById.get(E);if(!T)throw function Oe(Z){return new n.\u0275RuntimeError(3301,!1)}();return T}listen(E,T,R,J){const Me=$e(T,"","","");return bt(this._getPlayer(E),R,Me,J),()=>{}}command(E,T,R,J){if("register"==R)return void this.register(E,J[0]);if("create"==R)return void this.create(E,T,J[0]||{});const Me=this._getPlayer(E);switch(R){case"play":Me.play();break;case"pause":Me.pause();break;case"reset":Me.reset();break;case"restart":Me.restart();break;case"finish":Me.finish();break;case"init":Me.init();break;case"setPosition":Me.setPosition(parseFloat(J[0]));break;case"destroy":this.destroy(E)}}}const Wn="ng-animate-queued",pi="ng-animate-disabled",bn=[],vr={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},mi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},In="__ng_removed";class Tn{constructor(E,T=""){this.namespaceId=T;const R=E&&E.hasOwnProperty("value");if(this.value=function k(Z){return null!=Z?Z:null}(R?E.value:E),R){const Me=j(E);delete Me.value,this.options=Me}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(E){const T=E.params;if(T){const R=this.options.params;Object.keys(T).forEach(J=>{null==R[J]&&(R[J]=T[J])})}}}const qn="void",er=new Tn(qn);class gi{constructor(E,T,R){this.id=E,this.hostElement=T,this._engine=R,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+E,pn(T,this._hostClassName)}listen(E,T,R,J){if(!this._triggers.has(T))throw function K(Z,E){return new n.\u0275RuntimeError(3302,!1)}();if(null==R||0==R.length)throw function ie(Z){return new n.\u0275RuntimeError(3303,!1)}();if(!function Xe(Z){return"start"==Z||"done"==Z}(R))throw function Ae(Z,E){return new n.\u0275RuntimeError(3400,!1)}();const Me=Pe(this._elementListeners,E,[]),nt={name:T,phase:R,callback:J};Me.push(nt);const ot=Pe(this._engine.statesByElement,E,new Map);return ot.has(T)||(pn(E,Yt),pn(E,Yt+"-"+T),ot.set(T,er)),()=>{this._engine.afterFlush(()=>{const ht=Me.indexOf(nt);ht>=0&&Me.splice(ht,1),this._triggers.has(T)||ot.delete(T)})}}register(E,T){return!this._triggers.has(E)&&(this._triggers.set(E,T),!0)}_getTrigger(E){const T=this._triggers.get(E);if(!T)throw function $(Z){return new n.\u0275RuntimeError(3401,!1)}();return T}trigger(E,T,R,J=!0){const Me=this._getTrigger(T),nt=new x(this.id,T,E);let ot=this._engine.statesByElement.get(E);ot||(pn(E,Yt),pn(E,Yt+"-"+T),this._engine.statesByElement.set(E,ot=new Map));let ht=ot.get(T);const wt=new Tn(R,this.id);if(!(R&&R.hasOwnProperty("value"))&&ht&&wt.absorbOptions(ht.options),ot.set(T,wt),ht||(ht=er),wt.value!==qn&&ht.value===wt.value){if(!function Dn(Z,E){const T=Object.keys(Z),R=Object.keys(E);if(T.length!=R.length)return!1;for(let J=0;J<T.length;J++){const Me=T[J];if(!E.hasOwnProperty(Me)||Z[Me]!==E[Me])return!1}return!0}(ht.params,wt.params)){const tn=[],Mn=Me.matchStyles(ht.value,ht.params,tn),wn=Me.matchStyles(wt.value,wt.params,tn);tn.length?this._engine.reportError(tn):this._engine.afterFlush(()=>{Dt(E,Mn),at(E,wn)})}return}const an=Pe(this._engine.playersByElement,E,[]);an.forEach(tn=>{tn.namespaceId==this.id&&tn.triggerName==T&&tn.queued&&tn.destroy()});let un=Me.matchTransition(ht.value,wt.value,E,wt.params),en=!1;if(!un){if(!J)return;un=Me.fallbackTransition,en=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:T,transition:un,fromState:ht,toState:wt,player:nt,isFallbackTransition:en}),en||(pn(E,Wn),nt.onStart(()=>{Cn(E,Wn)})),nt.onDone(()=>{let tn=this.players.indexOf(nt);tn>=0&&this.players.splice(tn,1);const Mn=this._engine.playersByElement.get(E);if(Mn){let wn=Mn.indexOf(nt);wn>=0&&Mn.splice(wn,1)}}),this.players.push(nt),an.push(nt),nt}deregister(E){this._triggers.delete(E),this._engine.statesByElement.forEach(T=>T.delete(E)),this._elementListeners.forEach((T,R)=>{this._elementListeners.set(R,T.filter(J=>J.name!=E))})}clearElementCache(E){this._engine.statesByElement.delete(E),this._elementListeners.delete(E);const T=this._engine.playersByElement.get(E);T&&(T.forEach(R=>R.destroy()),this._engine.playersByElement.delete(E))}_signalRemovalForInnerTriggers(E,T){const R=this._engine.driver.query(E,Nt,!0);R.forEach(J=>{if(J[In])return;const Me=this._engine.fetchNamespacesByElement(J);Me.size?Me.forEach(nt=>nt.triggerLeaveAnimation(J,T,!1,!0)):this.clearElementCache(J)}),this._engine.afterFlushAnimationsDone(()=>R.forEach(J=>this.clearElementCache(J)))}triggerLeaveAnimation(E,T,R,J){const Me=this._engine.statesByElement.get(E),nt=new Map;if(Me){const ot=[];if(Me.forEach((ht,wt)=>{if(nt.set(wt,ht.value),this._triggers.has(wt)){const Pt=this.trigger(E,wt,qn,J);Pt&&ot.push(Pt)}}),ot.length)return this._engine.markElementAsRemoved(this.id,E,!0,T,nt),R&&ut(ot).onDone(()=>this._engine.processLeaveNode(E)),!0}return!1}prepareLeaveAnimationListeners(E){const T=this._elementListeners.get(E),R=this._engine.statesByElement.get(E);if(T&&R){const J=new Set;T.forEach(Me=>{const nt=Me.name;if(J.has(nt))return;J.add(nt);const ht=this._triggers.get(nt).fallbackTransition,wt=R.get(nt)||er,Pt=new Tn(qn),$t=new x(this.id,nt,E);this._engine.totalQueuedPlayers++,this._queue.push({element:E,triggerName:nt,transition:ht,fromState:wt,toState:Pt,player:$t,isFallbackTransition:!0})})}}removeNode(E,T){const R=this._engine;if(E.childElementCount&&this._signalRemovalForInnerTriggers(E,T),this.triggerLeaveAnimation(E,T,!0))return;let J=!1;if(R.totalAnimations){const Me=R.players.length?R.playersByQueriedElement.get(E):[];if(Me&&Me.length)J=!0;else{let nt=E;for(;nt=nt.parentNode;)if(R.statesByElement.get(nt)){J=!0;break}}}if(this.prepareLeaveAnimationListeners(E),J)R.markElementAsRemoved(this.id,E,!1,T);else{const Me=E[In];(!Me||Me===vr)&&(R.afterFlush(()=>this.clearElementCache(E)),R.destroyInnerAnimations(E),R._onRemovalComplete(E,T))}}insertNode(E,T){pn(E,this._hostClassName)}drainQueuedTransitions(E){const T=[];return this._queue.forEach(R=>{const J=R.player;if(J.destroyed)return;const Me=R.element,nt=this._elementListeners.get(Me);nt&&nt.forEach(ot=>{if(ot.name==R.triggerName){const ht=$e(Me,R.triggerName,R.fromState.value,R.toState.value);ht._data=E,bt(R.player,ot.phase,ht,ot.callback)}}),J.markedForDestroy?this._engine.afterFlush(()=>{J.destroy()}):T.push(R)}),this._queue=[],T.sort((R,J)=>{const Me=R.transition.ast.depCount,nt=J.transition.ast.depCount;return 0==Me||0==nt?Me-nt:this._engine.driver.containsElement(R.element,J.element)?1:-1})}destroy(E){this.players.forEach(T=>T.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,E)}elementContainsData(E){let T=!1;return this._elementListeners.has(E)&&(T=!0),T=!!this._queue.find(R=>R.element===E)||T,T}}class Qn{constructor(E,T,R){this.bodyNode=E,this.driver=T,this._normalizer=R,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=(J,Me)=>{}}_onRemovalComplete(E,T){this.onRemovalComplete(E,T)}get queuedPlayers(){const E=[];return this._namespaceList.forEach(T=>{T.players.forEach(R=>{R.queued&&E.push(R)})}),E}createNamespace(E,T){const R=new gi(E,T,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,T)?this._balanceNamespaceList(R,T):(this.newHostElements.set(T,R),this.collectEnterElement(T)),this._namespaceLookup[E]=R}_balanceNamespaceList(E,T){const R=this._namespaceList,J=this.namespacesByHostElement;if(R.length-1>=0){let nt=!1,ot=this.driver.getParentElement(T);for(;ot;){const ht=J.get(ot);if(ht){const wt=R.indexOf(ht);R.splice(wt+1,0,E),nt=!0;break}ot=this.driver.getParentElement(ot)}nt||R.unshift(E)}else R.push(E);return J.set(T,E),E}register(E,T){let R=this._namespaceLookup[E];return R||(R=this.createNamespace(E,T)),R}registerTrigger(E,T,R){let J=this._namespaceLookup[E];J&&J.register(T,R)&&this.totalAnimations++}destroy(E,T){if(!E)return;const R=this._fetchNamespace(E);this.afterFlush(()=>{this.namespacesByHostElement.delete(R.hostElement),delete this._namespaceLookup[E];const J=this._namespaceList.indexOf(R);J>=0&&this._namespaceList.splice(J,1)}),this.afterFlushAnimationsDone(()=>R.destroy(T))}_fetchNamespace(E){return this._namespaceLookup[E]}fetchNamespacesByElement(E){const T=new Set,R=this.statesByElement.get(E);if(R)for(let J of R.values())if(J.namespaceId){const Me=this._fetchNamespace(J.namespaceId);Me&&T.add(Me)}return T}trigger(E,T,R,J){if(fe(T)){const Me=this._fetchNamespace(E);if(Me)return Me.trigger(T,R,J),!0}return!1}insertNode(E,T,R,J){if(!fe(T))return;const Me=T[In];if(Me&&Me.setForRemoval){Me.setForRemoval=!1,Me.setForMove=!0;const nt=this.collectedLeaveElements.indexOf(T);nt>=0&&this.collectedLeaveElements.splice(nt,1)}if(E){const nt=this._fetchNamespace(E);nt&&nt.insertNode(T,R)}J&&this.collectEnterElement(T)}collectEnterElement(E){this.collectedEnterElements.push(E)}markElementAsDisabled(E,T){T?this.disabledNodes.has(E)||(this.disabledNodes.add(E),pn(E,pi)):this.disabledNodes.has(E)&&(this.disabledNodes.delete(E),Cn(E,pi))}removeNode(E,T,R,J){if(fe(T)){const Me=E?this._fetchNamespace(E):null;if(Me?Me.removeNode(T,J):this.markElementAsRemoved(E,T,!1,J),R){const nt=this.namespacesByHostElement.get(T);nt&&nt.id!==E&&nt.removeNode(T,J)}}else this._onRemovalComplete(T,J)}markElementAsRemoved(E,T,R,J,Me){this.collectedLeaveElements.push(T),T[In]={namespaceId:E,setForRemoval:J,hasAnimation:R,removedBeforeQueried:!1,previousTriggersValues:Me}}listen(E,T,R,J,Me){return fe(T)?this._fetchNamespace(E).listen(T,R,J,Me):()=>{}}_buildInstruction(E,T,R,J,Me){return E.transition.build(this.driver,E.element,E.fromState.value,E.toState.value,R,J,E.fromState.options,E.toState.options,T,Me)}destroyInnerAnimations(E){let T=this.driver.query(E,Nt,!0);T.forEach(R=>this.destroyActiveAnimationsForElement(R)),0!=this.playersByQueriedElement.size&&(T=this.driver.query(E,Je,!0),T.forEach(R=>this.finishActiveQueriedAnimationOnElement(R)))}destroyActiveAnimationsForElement(E){const T=this.playersByElement.get(E);T&&T.forEach(R=>{R.queued?R.markedForDestroy=!0:R.destroy()})}finishActiveQueriedAnimationOnElement(E){const T=this.playersByQueriedElement.get(E);T&&T.forEach(R=>R.finish())}whenRenderingDone(){return new Promise(E=>{if(this.players.length)return ut(this.players).onDone(()=>E());E()})}processLeaveNode(E){var T;const R=E[In];if(R&&R.setForRemoval){if(E[In]=vr,R.namespaceId){this.destroyInnerAnimations(E);const J=this._fetchNamespace(R.namespaceId);J&&J.clearElementCache(E)}this._onRemovalComplete(E,R.setForRemoval)}!(null===(T=E.classList)||void 0===T)&&T.contains(pi)&&this.markElementAsDisabled(E,!1),this.driver.query(E,".ng-animate-disabled",!0).forEach(J=>{this.markElementAsDisabled(J,!1)})}flush(E=-1){let T=[];if(this.newHostElements.size&&(this.newHostElements.forEach((R,J)=>this._balanceNamespaceList(R,J)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let R=0;R<this.collectedEnterElements.length;R++)pn(this.collectedEnterElements[R],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const R=[];try{T=this._flushAnimations(R,E)}finally{for(let J=0;J<R.length;J++)R[J]()}}else for(let R=0;R<this.collectedLeaveElements.length;R++)this.processLeaveNode(this.collectedLeaveElements[R]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(R=>R()),this._flushFns=[],this._whenQuietFns.length){const R=this._whenQuietFns;this._whenQuietFns=[],T.length?ut(T).onDone(()=>{R.forEach(J=>J())}):R.forEach(J=>J())}}reportError(E){throw function ye(Z){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(E,T){const R=new Ci,J=[],Me=new Map,nt=[],ot=new Map,ht=new Map,wt=new Map,Pt=new Set;this.disabledNodes.forEach(zt=>{Pt.add(zt);const Gt=this.driver.query(zt,".ng-animate-queued",!0);for(let Zt=0;Zt<Gt.length;Zt++)Pt.add(Gt[Zt])});const $t=this.bodyNode,an=Array.from(this.statesByElement.keys()),un=Bt(an,this.collectedEnterElements),en=new Map;let tn=0;un.forEach((zt,Gt)=>{const Zt=Ft+tn++;en.set(Gt,Zt),zt.forEach(hn=>pn(hn,Zt))});const Mn=[],wn=new Set,Gn=new Set;for(let zt=0;zt<this.collectedLeaveElements.length;zt++){const Gt=this.collectedLeaveElements[zt],Zt=Gt[In];Zt&&Zt.setForRemoval&&(Mn.push(Gt),wn.add(Gt),Zt.hasAnimation?this.driver.query(Gt,".ng-star-inserted",!0).forEach(hn=>wn.add(hn)):Gn.add(Gt))}const ei=new Map,Kn=Bt(an,Array.from(wn));Kn.forEach((zt,Gt)=>{const Zt=At+tn++;ei.set(Gt,Zt),zt.forEach(hn=>pn(hn,Zt))}),E.push(()=>{un.forEach((zt,Gt)=>{const Zt=en.get(Gt);zt.forEach(hn=>Cn(hn,Zt))}),Kn.forEach((zt,Gt)=>{const Zt=ei.get(Gt);zt.forEach(hn=>Cn(hn,Zt))}),Mn.forEach(zt=>{this.processLeaveNode(zt)})});const yr=[],_r=[];for(let zt=this._namespaceList.length-1;zt>=0;zt--)this._namespaceList[zt].drainQueuedTransitions(T).forEach(Zt=>{const hn=Zt.player,An=Zt.element;if(yr.push(hn),this.collectedEnterElements.length){const Zn=An[In];if(Zn&&Zn.setForMove){if(Zn.previousTriggersValues&&Zn.previousTriggersValues.has(Zt.triggerName)){const Wr=Zn.previousTriggersValues.get(Zt.triggerName),yi=this.statesByElement.get(Zt.element);if(yi&&yi.has(Zt.triggerName)){const no=yi.get(Zt.triggerName);no.value=Wr,yi.set(Zt.triggerName,no)}}return void hn.destroy()}}const Pi=!$t||!this.driver.containsElement($t,An),ci=ei.get(An),vi=en.get(An),Bn=this._buildInstruction(Zt,R,vi,ci,Pi);if(Bn.errors&&Bn.errors.length)return void _r.push(Bn);if(Pi)return hn.onStart(()=>Dt(An,Bn.fromStyles)),hn.onDestroy(()=>at(An,Bn.toStyles)),void J.push(hn);if(Zt.isFallbackTransition)return hn.onStart(()=>Dt(An,Bn.fromStyles)),hn.onDestroy(()=>at(An,Bn.toStyles)),void J.push(hn);const Fr=[];Bn.timelines.forEach(Zn=>{Zn.stretchStartingKeyframe=!0,this.disabledNodes.has(Zn.element)||Fr.push(Zn)}),Bn.timelines=Fr,R.append(An,Bn.timelines),nt.push({instruction:Bn,player:hn,element:An}),Bn.queriedElements.forEach(Zn=>Pe(ot,Zn,[]).push(hn)),Bn.preStyleProps.forEach((Zn,Wr)=>{if(Zn.size){let yi=ht.get(Wr);yi||ht.set(Wr,yi=new Set),Zn.forEach((no,ns)=>yi.add(ns))}}),Bn.postStyleProps.forEach((Zn,Wr)=>{let yi=wt.get(Wr);yi||wt.set(Wr,yi=new Set),Zn.forEach((no,ns)=>yi.add(ns))})});if(_r.length){const zt=[];_r.forEach(Gt=>{zt.push(function De(Z,E){return new n.\u0275RuntimeError(3505,!1)}())}),yr.forEach(Gt=>Gt.destroy()),this.reportError(zt)}const Un=new Map,si=new Map;nt.forEach(zt=>{const Gt=zt.element;R.has(Gt)&&(si.set(Gt,Gt),this._beforeAnimationBuild(zt.player.namespaceId,zt.instruction,Un))}),J.forEach(zt=>{const Gt=zt.element;this._getPreviousPlayers(Gt,!1,zt.namespaceId,zt.triggerName,null).forEach(hn=>{Pe(Un,Gt,[]).push(hn),hn.destroy()})});const go=Mn.filter(zt=>Rn(zt,ht,wt)),Ai=new Map;gt(Ai,this.driver,Gn,wt,_.l3).forEach(zt=>{Rn(zt,ht,wt)&&go.push(zt)});const xr=new Map;un.forEach((zt,Gt)=>{gt(xr,this.driver,new Set(zt),ht,_.k1)}),go.forEach(zt=>{var Gt,Zt;const hn=Ai.get(zt),An=xr.get(zt);Ai.set(zt,new Map([...Array.from(null!==(Gt=null==hn?void 0:hn.entries())&&void 0!==Gt?Gt:[]),...Array.from(null!==(Zt=null==An?void 0:An.entries())&&void 0!==Zt?Zt:[])]))});const to=[],zr=[],za={};nt.forEach(zt=>{const{element:Gt,player:Zt,instruction:hn}=zt;if(R.has(Gt)){if(Pt.has(Gt))return Zt.onDestroy(()=>at(Gt,hn.toStyles)),Zt.disabled=!0,Zt.overrideTotalTime(hn.totalTime),void J.push(Zt);let An=za;if(si.size>1){let ci=Gt;const vi=[];for(;ci=ci.parentNode;){const Bn=si.get(ci);if(Bn){An=Bn;break}vi.push(ci)}vi.forEach(Bn=>si.set(Bn,An))}const Pi=this._buildAnimation(Zt.namespaceId,hn,Un,Me,xr,Ai);if(Zt.setRealPlayer(Pi),An===za)to.push(Zt);else{const ci=this.playersByElement.get(An);ci&&ci.length&&(Zt.parentPlayer=ut(ci)),J.push(Zt)}}else Dt(Gt,hn.fromStyles),Zt.onDestroy(()=>at(Gt,hn.toStyles)),zr.push(Zt),Pt.has(Gt)&&J.push(Zt)}),zr.forEach(zt=>{const Gt=Me.get(zt.element);if(Gt&&Gt.length){const Zt=ut(Gt);zt.setRealPlayer(Zt)}}),J.forEach(zt=>{zt.parentPlayer?zt.syncPlayerEvents(zt.parentPlayer):zt.destroy()});for(let zt=0;zt<Mn.length;zt++){const Gt=Mn[zt],Zt=Gt[In];if(Cn(Gt,At),Zt&&Zt.hasAnimation)continue;let hn=[];if(ot.size){let Pi=ot.get(Gt);Pi&&Pi.length&&hn.push(...Pi);let ci=this.driver.query(Gt,Je,!0);for(let vi=0;vi<ci.length;vi++){let Bn=ot.get(ci[vi]);Bn&&Bn.length&&hn.push(...Bn)}}const An=hn.filter(Pi=>!Pi.destroyed);An.length?Sn(this,Gt,An):this.processLeaveNode(Gt)}return Mn.length=0,to.forEach(zt=>{this.players.push(zt),zt.onDone(()=>{zt.destroy();const Gt=this.players.indexOf(zt);this.players.splice(Gt,1)}),zt.play()}),to}elementContainsData(E,T){let R=!1;const J=T[In];return J&&J.setForRemoval&&(R=!0),this.playersByElement.has(T)&&(R=!0),this.playersByQueriedElement.has(T)&&(R=!0),this.statesByElement.has(T)&&(R=!0),this._fetchNamespace(E).elementContainsData(T)||R}afterFlush(E){this._flushFns.push(E)}afterFlushAnimationsDone(E){this._whenQuietFns.push(E)}_getPreviousPlayers(E,T,R,J,Me){let nt=[];if(T){const ot=this.playersByQueriedElement.get(E);ot&&(nt=ot)}else{const ot=this.playersByElement.get(E);if(ot){const ht=!Me||Me==qn;ot.forEach(wt=>{wt.queued||!ht&&wt.triggerName!=J||nt.push(wt)})}}return(R||J)&&(nt=nt.filter(ot=>!(R&&R!=ot.namespaceId||J&&J!=ot.triggerName))),nt}_beforeAnimationBuild(E,T,R){const Me=T.element,nt=T.isRemovalTransition?void 0:E,ot=T.isRemovalTransition?void 0:T.triggerName;for(const ht of T.timelines){const wt=ht.element,Pt=wt!==Me,$t=Pe(R,wt,[]);this._getPreviousPlayers(wt,Pt,nt,ot,T.toState).forEach(un=>{const en=un.getRealPlayer();en.beforeDestroy&&en.beforeDestroy(),un.destroy(),$t.push(un)})}Dt(Me,T.fromStyles)}_buildAnimation(E,T,R,J,Me,nt){const ot=T.triggerName,ht=T.element,wt=[],Pt=new Set,$t=new Set,an=T.timelines.map(en=>{const tn=en.element;Pt.add(tn);const Mn=tn[In];if(Mn&&Mn.removedBeforeQueried)return new _.ZN(en.duration,en.delay);const wn=tn!==ht,Gn=function fn(Z){const E=[];return $n(Z,E),E}((R.get(tn)||bn).map(Un=>Un.getRealPlayer())).filter(Un=>!!Un.element&&Un.element===tn),ei=Me.get(tn),Kn=nt.get(tn),yr=_t(0,this._normalizer,0,en.keyframes,ei,Kn),_r=this._buildPlayer(en,yr,Gn);if(en.subTimeline&&J&&$t.add(tn),wn){const Un=new x(E,ot,tn);Un.setRealPlayer(_r),wt.push(Un)}return _r});wt.forEach(en=>{Pe(this.playersByQueriedElement,en.element,[]).push(en),en.onDone(()=>function se(Z,E,T){let R=Z.get(E);if(R){if(R.length){const J=R.indexOf(T);R.splice(J,1)}0==R.length&&Z.delete(E)}return R}(this.playersByQueriedElement,en.element,en))}),Pt.forEach(en=>pn(en,rt));const un=ut(an);return un.onDestroy(()=>{Pt.forEach(en=>Cn(en,rt)),at(ht,T.toStyles)}),$t.forEach(en=>{Pe(J,en,[]).push(un)}),un}_buildPlayer(E,T,R){return T.length>0?this.driver.animate(E.element,T,E.duration,E.delay,E.easing,R):new _.ZN(E.duration,E.delay)}}class x{constructor(E,T,R){this.namespaceId=E,this.triggerName=T,this.element=R,this._player=new _.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(E){this._containsRealPlayer||(this._player=E,this._queuedCallbacks.forEach((T,R)=>{T.forEach(J=>bt(E,R,void 0,J))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(E.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(E){this.totalTime=E}syncPlayerEvents(E){const T=this._player;T.triggerCallback&&E.onStart(()=>T.triggerCallback("start")),E.onDone(()=>this.finish()),E.onDestroy(()=>this.destroy())}_queueEvent(E,T){Pe(this._queuedCallbacks,E,[]).push(T)}onDone(E){this.queued&&this._queueEvent("done",E),this._player.onDone(E)}onStart(E){this.queued&&this._queueEvent("start",E),this._player.onStart(E)}onDestroy(E){this.queued&&this._queueEvent("destroy",E),this._player.onDestroy(E)}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(E){this.queued||this._player.setPosition(E)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(E){const T=this._player;T.triggerCallback&&T.triggerCallback(E)}}function fe(Z){return Z&&1===Z.nodeType}function Et(Z,E){const T=Z.style.display;return Z.style.display=null!=E?E:"none",T}function gt(Z,E,T,R,J){const Me=[];T.forEach(ht=>Me.push(Et(ht)));const nt=[];R.forEach((ht,wt)=>{const Pt=new Map;ht.forEach($t=>{const an=E.computeStyle(wt,$t,J);Pt.set($t,an),(!an||0==an.length)&&(wt[In]=mi,nt.push(wt))}),Z.set(wt,Pt)});let ot=0;return T.forEach(ht=>Et(ht,Me[ot++])),nt}function Bt(Z,E){const T=new Map;if(Z.forEach(ot=>T.set(ot,[])),0==E.length)return T;const J=new Set(E),Me=new Map;function nt(ot){if(!ot)return 1;let ht=Me.get(ot);if(ht)return ht;const wt=ot.parentNode;return ht=T.has(wt)?wt:J.has(wt)?1:nt(wt),Me.set(ot,ht),ht}return E.forEach(ot=>{const ht=nt(ot);1!==ht&&T.get(ht).push(ot)}),T}function pn(Z,E){var T;null===(T=Z.classList)||void 0===T||T.add(E)}function Cn(Z,E){var T;null===(T=Z.classList)||void 0===T||T.remove(E)}function Sn(Z,E,T){ut(T).onDone(()=>Z.processLeaveNode(E))}function $n(Z,E){for(let T=0;T<Z.length;T++){const R=Z[T];R instanceof _.ZE?$n(R.players,E):E.push(R)}}function Rn(Z,E,T){const R=T.get(Z);if(!R)return!1;let J=E.get(Z);return J?R.forEach(Me=>J.add(Me)):E.set(Z,R),T.delete(Z),!0}class St{constructor(E,T,R){this.bodyNode=E,this._driver=T,this._normalizer=R,this._triggerCache={},this.onRemovalComplete=(J,Me)=>{},this._transitionEngine=new Qn(E,T,R),this._timelineEngine=new mr(E,T,R),this._transitionEngine.onRemovalComplete=(J,Me)=>this.onRemovalComplete(J,Me)}registerTrigger(E,T,R,J,Me){const nt=E+"-"+J;let ot=this._triggerCache[nt];if(!ot){const ht=[],Pt=cn(this._driver,Me,ht,[]);if(ht.length)throw function z(Z,E){return new n.\u0275RuntimeError(3404,!1)}();ot=function Xi(Z,E,T){return new Bi(Z,E,T)}(J,Pt,this._normalizer),this._triggerCache[nt]=ot}this._transitionEngine.registerTrigger(T,J,ot)}register(E,T){this._transitionEngine.register(E,T)}destroy(E,T){this._transitionEngine.destroy(E,T)}onInsert(E,T,R,J){this._transitionEngine.insertNode(E,T,R,J)}onRemove(E,T,R,J){this._transitionEngine.removeNode(E,T,J||!1,R)}disableAnimations(E,T){this._transitionEngine.markElementAsDisabled(E,T)}process(E,T,R,J){if("@"==R.charAt(0)){const[Me,nt]=Le(R);this._timelineEngine.command(Me,T,nt,J)}else this._transitionEngine.trigger(E,T,R,J)}listen(E,T,R,J,Me){if("@"==R.charAt(0)){const[nt,ot]=Le(R);return this._timelineEngine.listen(nt,T,ot,Me)}return this._transitionEngine.listen(E,T,R,J,Me)}flush(E=-1){this._transitionEngine.flush(E)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let $i=(()=>{class Z{constructor(T,R,J){this._element=T,this._startStyles=R,this._endStyles=J,this._state=0;let Me=Z.initialStylesByElement.get(T);Me||Z.initialStylesByElement.set(T,Me=new Map),this._initialStyles=Me}start(){this._state<1&&(this._startStyles&&at(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(at(this._element,this._initialStyles),this._endStyles&&(at(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Z.initialStylesByElement.delete(this._element),this._startStyles&&(Dt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Dt(this._element,this._endStyles),this._endStyles=null),at(this._element,this._initialStyles),this._state=3)}}return Z.initialStylesByElement=new WeakMap,Z})();function ai(Z){let E=null;return Z.forEach((T,R)=>{(function xn(Z){return"display"===Z||"position"===Z})(R)&&(E=E||new Map,E.set(R,T))}),E}class tr{constructor(E,T,R,J){this.element=E,this.keyframes=T,this.options=R,this._specialStyles=J,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=R.duration,this._delay=R.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(E=>E()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const E=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,E,this.options),this._finalKeyframe=E.length?E[E.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(E){const T=[];return E.forEach(R=>{T.push(Object.fromEntries(R))}),T}_triggerWebAnimation(E,T,R){return E.animate(this._convertKeyframesToObject(T),R)}onStart(E){this._originalOnStartFns.push(E),this._onStartFns.push(E)}onDone(E){this._originalOnDoneFns.push(E),this._onDoneFns.push(E)}onDestroy(E){this._onDestroyFns.push(E)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(E=>E()),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(E=>E()),this._onDestroyFns=[])}setPosition(E){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=E*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const E=new Map;this.hasStarted()&&this._finalKeyframe.forEach((R,J)=>{"offset"!==J&&E.set(J,this._finished?R:yn(this.element,J))}),this.currentSnapshot=E}triggerCallback(E){const T="start"===E?this._onStartFns:this._onDoneFns;T.forEach(R=>R()),T.length=0}}class Hi{validateStyleProperty(E){return!0}validateAnimatableStyleProperty(E){return!0}matchesElement(E,T){return!1}containsElement(E,T){return ct(E,T)}getParentElement(E){return Ke(E)}query(E,T,R){return xe(E,T,R)}computeStyle(E,T,R){return window.getComputedStyle(E)[T]}animate(E,T,R,J,Me,nt=[]){const ht={duration:R,delay:J,fill:0==J?"both":"forwards"};Me&&(ht.easing=Me);const wt=new Map,Pt=nt.filter(un=>un instanceof tr);(function It(Z,E){return 0===Z||0===E})(R,J)&&Pt.forEach(un=>{un.currentSnapshot.forEach((en,tn)=>wt.set(tn,en))});let $t=function vt(Z){return Z.length?Z[0]instanceof Map?Z:Z.map(E=>we(E)):[]}(T).map(un=>yt(un));$t=function Lt(Z,E,T){if(T.size&&E.length){let R=E[0],J=[];if(T.forEach((Me,nt)=>{R.has(nt)||J.push(nt),R.set(nt,Me)}),J.length)for(let Me=1;Me<E.length;Me++){let nt=E[Me];J.forEach(ot=>nt.set(ot,yn(Z,ot)))}}return E}(E,$t,wt);const an=function on(Z,E){let T=null,R=null;return Array.isArray(E)&&E.length?(T=ai(E[0]),E.length>1&&(R=ai(E[E.length-1]))):E instanceof Map&&(T=ai(E)),T||R?new $i(Z,T,R):null}(E,$t);return new tr(E,$t,ht,an)}}var F=a(9808);let A=(()=>{class Z extends _._j{constructor(T,R){super(),this._nextAnimationId=0,this._renderer=T.createRenderer(R.body,{id:"0",encapsulation:n.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(T){const R=this._nextAnimationId.toString();this._nextAnimationId++;const J=Array.isArray(T)?(0,_.vP)(T):T;return Ct(this._renderer,null,R,"register",[J]),new S(R,this._renderer)}}return Z.\u0275fac=function(T){return new(T||Z)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(F.DOCUMENT))},Z.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:Z.\u0275fac}),Z})();class S extends _.LC{constructor(E,T){super(),this._id=E,this._renderer=T}create(E,T){return new ce(this._id,E,T||{},this._renderer)}}class ce{constructor(E,T,R,J){this.id=E,this.element=T,this._renderer=J,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",R)}_listen(E,T){return this._renderer.listen(this.element,`@@${this.id}:${E}`,T)}_command(E,...T){return Ct(this._renderer,this.element,this.id,E,T)}onDone(E){this._listen("done",E)}onStart(E){this._listen("start",E)}onDestroy(E){this._listen("destroy",E)}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(E){this._command("setPosition",E)}getPosition(){var E,T;return null!==(T=null===(E=this._renderer.engine.players[+this.id])||void 0===E?void 0:E.getPosition())&&void 0!==T?T:0}}function Ct(Z,E,T,R,J){return Z.setProperty(E,`@@${T}:${R}`,J)}const jn="@.disabled";let Fn=(()=>{class Z{constructor(T,R,J){this.delegate=T,this.engine=R,this._zone=J,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),R.onRemovalComplete=(Me,nt)=>{const ot=null==nt?void 0:nt.parentNode(Me);ot&&nt.removeChild(ot,Me)}}createRenderer(T,R){const Me=this.delegate.createRenderer(T,R);if(!(T&&R&&R.data&&R.data.animation)){let Pt=this._rendererCache.get(Me);return Pt||(Pt=new li("",Me,this.engine),this._rendererCache.set(Me,Pt)),Pt}const nt=R.id,ot=R.id+"-"+this._currentId;this._currentId++,this.engine.register(ot,T);const ht=Pt=>{Array.isArray(Pt)?Pt.forEach(ht):this.engine.registerTrigger(nt,ot,T,Pt.name,Pt)};return R.data.animation.forEach(ht),new Rr(this,ot,Me,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(T,R,J){T>=0&&T<this._microtaskId?this._zone.run(()=>R(J)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(Me=>{const[nt,ot]=Me;nt(ot)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([R,J]))}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()}}return Z.\u0275fac=function(T){return new(T||Z)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(St),n.\u0275\u0275inject(n.NgZone))},Z.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:Z.\u0275fac}),Z})();class li{constructor(E,T,R){this.namespaceId=E,this.delegate=T,this.engine=R,this.destroyNode=this.delegate.destroyNode?J=>T.destroyNode(J):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(E,T){return this.delegate.createElement(E,T)}createComment(E){return this.delegate.createComment(E)}createText(E){return this.delegate.createText(E)}appendChild(E,T){this.delegate.appendChild(E,T),this.engine.onInsert(this.namespaceId,T,E,!1)}insertBefore(E,T,R,J=!0){this.delegate.insertBefore(E,T,R),this.engine.onInsert(this.namespaceId,T,E,J)}removeChild(E,T,R){this.engine.onRemove(this.namespaceId,T,this.delegate,R)}selectRootElement(E,T){return this.delegate.selectRootElement(E,T)}parentNode(E){return this.delegate.parentNode(E)}nextSibling(E){return this.delegate.nextSibling(E)}setAttribute(E,T,R,J){this.delegate.setAttribute(E,T,R,J)}removeAttribute(E,T,R){this.delegate.removeAttribute(E,T,R)}addClass(E,T){this.delegate.addClass(E,T)}removeClass(E,T){this.delegate.removeClass(E,T)}setStyle(E,T,R,J){this.delegate.setStyle(E,T,R,J)}removeStyle(E,T,R){this.delegate.removeStyle(E,T,R)}setProperty(E,T,R){"@"==T.charAt(0)&&T==jn?this.disableAnimations(E,!!R):this.delegate.setProperty(E,T,R)}setValue(E,T){this.delegate.setValue(E,T)}listen(E,T,R){return this.delegate.listen(E,T,R)}disableAnimations(E,T){this.engine.disableAnimations(E,T)}}class Rr extends li{constructor(E,T,R,J){super(T,R,J),this.factory=E,this.namespaceId=T}setProperty(E,T,R){"@"==T.charAt(0)?"."==T.charAt(1)&&T==jn?this.disableAnimations(E,R=void 0===R||!!R):this.engine.process(this.namespaceId,E,T.slice(1),R):this.delegate.setProperty(E,T,R)}listen(E,T,R){if("@"==T.charAt(0)){const J=function Ur(Z){switch(Z){case"body":return document.body;case"document":return document;case"window":return window;default:return Z}}(E);let Me=T.slice(1),nt="";return"@"!=Me.charAt(0)&&([Me,nt]=function nr(Z){const E=Z.indexOf(".");return[Z.substring(0,E),Z.slice(E+1)]}(Me)),this.engine.listen(this.namespaceId,J,Me,nt,ot=>{this.factory.scheduleListenerCallback(ot._data||-1,R,ot)})}return this.delegate.listen(E,T,R)}}let Ls=(()=>{class Z extends St{constructor(T,R,J,Me){super(T.body,R,J)}ngOnDestroy(){this.flush()}}return Z.\u0275fac=function(T){return new(T||Z)(n.\u0275\u0275inject(F.DOCUMENT),n.\u0275\u0275inject(de),n.\u0275\u0275inject(Mi),n.\u0275\u0275inject(n.ApplicationRef))},Z.\u0275prov=n.\u0275\u0275defineInjectable({token:Z,factory:Z.\u0275fac}),Z})();const Bs=[{provide:_._j,useClass:A},{provide:Mi,useFactory:function js(){return new Ar}},{provide:St,useClass:Ls},{provide:n.RendererFactory2,useFactory:function Ha(Z,E,T){return new Fn(Z,E,T)},deps:[h.\u0275DomRendererFactory2,St,n.NgZone]}],qr=[{provide:de,useFactory:()=>new Hi},{provide:n.ANIMATION_MODULE_TYPE,useValue:"BrowserAnimations"},...Bs],eo=[{provide:de,useClass:ge},{provide:n.ANIMATION_MODULE_TYPE,useValue:"NoopAnimations"},...Bs];let Vs=(()=>{class Z{static withConfig(T){return{ngModule:Z,providers:T.disableAnimations?eo:qr}}}return Z.\u0275fac=function(T){return new(T||Z)},Z.\u0275mod=n.\u0275\u0275defineNgModule({type:Z}),Z.\u0275inj=n.\u0275\u0275defineInjector({providers:qr,imports:[h.BrowserModule]}),Z})();function es(){return[...qr]}let Ua=(()=>{class Z{}return Z.\u0275fac=function(T){return new(T||Z)},Z.\u0275mod=n.\u0275\u0275defineNgModule({type:Z}),Z.\u0275inj=n.\u0275\u0275defineInjector({providers:eo,imports:[h.BrowserModule]}),Z})();function $s(){return[...eo]}},2313:(U,o,a)=>{"use strict";a.r(o),a.d(o,{BrowserModule:()=>ze,BrowserTransferStateModule:()=>j,By:()=>we,DomSanitizer:()=>Ht,EVENT_MANAGER_PLUGINS:()=>C,EventManager:()=>M,HAMMER_GESTURE_CONFIG:()=>yt,HAMMER_LOADER:()=>ee,HammerGestureConfig:()=>Ie,HammerModule:()=>Dt,Meta:()=>We,Title:()=>ct,TransferState:()=>ae,VERSION:()=>vn,bootstrapApplication:()=>dt,disableDebugTools:()=>rt,enableDebugTools:()=>Nt,makeStateKey:()=>me,platformBrowser:()=>Be,provideProtractorTestingSupport:()=>$e,\u0275BrowserDomAdapter:()=>u,\u0275BrowserGetTestability:()=>v,\u0275DomEventsPlugin:()=>ye,\u0275DomRendererFactory2:()=>te,\u0275DomSanitizerImpl:()=>Xt,\u0275DomSharedStylesHost:()=>N,\u0275HammerGesturesPlugin:()=>at,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>Qe,\u0275KeyEventsPlugin:()=>ut,\u0275NAMESPACE_URIS:()=>H,\u0275SharedStylesHost:()=>P,\u0275TRANSITION_ID:()=>y,\u0275escapeHtml:()=>Je,\u0275flattenStyles:()=>z,\u0275getDOM:()=>n.\u0275getDOM,\u0275initDomAdapter:()=>Pe,\u0275shimContentAttribute:()=>Fe,\u0275shimHostAttribute:()=>it});var n=a(9808),h=a(5e3);class _ extends n.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class u extends _{static makeCurrent(){(0,n.\u0275setRootDomAdapter)(new u)}onAndCancel(Ye,_e,et){return Ye.addEventListener(_e,et,!1),()=>{Ye.removeEventListener(_e,et,!1)}}dispatchEvent(Ye,_e){Ye.dispatchEvent(_e)}remove(Ye){Ye.parentNode&&Ye.parentNode.removeChild(Ye)}createElement(Ye,_e){return(_e=_e||this.getDefaultDocument()).createElement(Ye)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Ye){return Ye.nodeType===Node.ELEMENT_NODE}isShadowRoot(Ye){return Ye instanceof DocumentFragment}getGlobalEventTarget(Ye,_e){return"window"===_e?window:"document"===_e?Ye:"body"===_e?Ye.body:null}getBaseHref(Ye){const _e=function c(){return r=r||document.querySelector("base"),r?r.getAttribute("href"):null}();return null==_e?null:function p(qe){d=d||document.createElement("a"),d.setAttribute("href",qe);const Ye=d.pathname;return"/"===Ye.charAt(0)?Ye:`/${Ye}`}(_e)}resetBaseElement(){r=null}getUserAgent(){return window.navigator.userAgent}getCookie(Ye){return(0,n.\u0275parseCookieValue)(document.cookie,Ye)}}let d,r=null;const y=new h.InjectionToken("TRANSITION_ID"),b=[{provide:h.APP_INITIALIZER,useFactory:function f(qe,Ye,_e){return()=>{_e.get(h.ApplicationInitStatus).donePromise.then(()=>{const et=(0,n.\u0275getDOM)(),lt=Ye.querySelectorAll(`style[ng-transition="${qe}"]`);for(let It=0;It<lt.length;It++)et.remove(lt[It])})}},deps:[y,n.DOCUMENT,h.Injector],multi:!0}];class v{addToWindow(Ye){h.\u0275global.getAngularTestability=(et,lt=!0)=>{const It=Ye.findTestabilityInTree(et,lt);if(null==It)throw new Error("Could not find testability for element.");return It},h.\u0275global.getAllAngularTestabilities=()=>Ye.getAllTestabilities(),h.\u0275global.getAllAngularRootElements=()=>Ye.getAllRootElements(),h.\u0275global.frameworkStabilizers||(h.\u0275global.frameworkStabilizers=[]),h.\u0275global.frameworkStabilizers.push(et=>{const lt=h.\u0275global.getAllAngularTestabilities();let It=lt.length,Lt=!1;const Wt=function(yn){Lt=Lt||yn,It--,0==It&&et(Lt)};lt.forEach(function(yn){yn.whenStable(Wt)})})}findTestabilityInTree(Ye,_e,et){if(null==_e)return null;const lt=Ye.getTestability(_e);return null!=lt?lt:et?(0,n.\u0275getDOM)().isShadowRoot(_e)?this.findTestabilityInTree(Ye,_e.host,!0):this.findTestabilityInTree(Ye,_e.parentElement,!0):null}}let m=(()=>{class qe{build(){return new XMLHttpRequest}}return qe.\u0275fac=function(_e){return new(_e||qe)},qe.\u0275prov=h.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})();const C=new h.InjectionToken("EventManagerPlugins");let M=(()=>{class qe{constructor(_e,et){this._zone=et,this._eventNameToPlugin=new Map,_e.forEach(lt=>lt.manager=this),this._plugins=_e.slice().reverse()}addEventListener(_e,et,lt){return this._findPluginFor(et).addEventListener(_e,et,lt)}addGlobalEventListener(_e,et,lt){return this._findPluginFor(et).addGlobalEventListener(_e,et,lt)}getZone(){return this._zone}_findPluginFor(_e){const et=this._eventNameToPlugin.get(_e);if(et)return et;const lt=this._plugins;for(let It=0;It<lt.length;It++){const Lt=lt[It];if(Lt.supports(_e))return this._eventNameToPlugin.set(_e,Lt),Lt}throw new Error(`No event manager plugin found for event ${_e}`)}}return qe.\u0275fac=function(_e){return new(_e||qe)(h.\u0275\u0275inject(C),h.\u0275\u0275inject(h.NgZone))},qe.\u0275prov=h.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})();class O{constructor(Ye){this._doc=Ye}addGlobalEventListener(Ye,_e,et){const lt=(0,n.\u0275getDOM)().getGlobalEventTarget(this._doc,Ye);if(!lt)throw new Error(`Unsupported event target ${lt} for event ${_e}`);return this.addEventListener(lt,_e,et)}}let P=(()=>{class qe{constructor(){this._stylesSet=new Set}addStyles(_e){const et=new Set;_e.forEach(lt=>{this._stylesSet.has(lt)||(this._stylesSet.add(lt),et.add(lt))}),this.onStylesAdded(et)}onStylesAdded(_e){}getAllStyles(){return Array.from(this._stylesSet)}}return qe.\u0275fac=function(_e){return new(_e||qe)},qe.\u0275prov=h.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),N=(()=>{class qe extends P{constructor(_e){super(),this._doc=_e,this._hostNodes=new Map,this._hostNodes.set(_e.head,[])}_addStylesToHost(_e,et,lt){_e.forEach(It=>{const Lt=this._doc.createElement("style");Lt.textContent=It,lt.push(et.appendChild(Lt))})}addHost(_e){const et=[];this._addStylesToHost(this._stylesSet,_e,et),this._hostNodes.set(_e,et)}removeHost(_e){const et=this._hostNodes.get(_e);et&&et.forEach(Q),this._hostNodes.delete(_e)}onStylesAdded(_e){this._hostNodes.forEach((et,lt)=>{this._addStylesToHost(_e,lt,et)})}ngOnDestroy(){this._hostNodes.forEach(_e=>_e.forEach(Q))}}return qe.\u0275fac=function(_e){return new(_e||qe)(h.\u0275\u0275inject(n.DOCUMENT))},qe.\u0275prov=h.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})();function Q(qe){(0,n.\u0275getDOM)().remove(qe)}const H={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/"},G=/%COMP%/g,X="%COMP%",oe=`_nghost-${X}`,pe=`_ngcontent-${X}`;function Fe(qe){return pe.replace(G,qe)}function it(qe){return oe.replace(G,qe)}function z(qe,Ye,_e){for(let et=0;et<Ye.length;et++){let lt=Ye[et];Array.isArray(lt)?z(qe,lt,_e):(lt=lt.replace(G,qe),_e.push(lt))}return _e}function q(qe){return Ye=>{if("__ngUnwrap__"===Ye)return qe;!1===qe(Ye)&&(Ye.preventDefault(),Ye.returnValue=!1)}}let te=(()=>{class qe{constructor(_e,et,lt){this.eventManager=_e,this.sharedStylesHost=et,this.appId=lt,this.rendererByCompId=new Map,this.defaultRenderer=new Ee(_e)}createRenderer(_e,et){if(!_e||!et)return this.defaultRenderer;switch(et.encapsulation){case h.ViewEncapsulation.Emulated:{let lt=this.rendererByCompId.get(et.id);return lt||(lt=new Ae(this.eventManager,this.sharedStylesHost,et,this.appId),this.rendererByCompId.set(et.id,lt)),lt.applyToHost(_e),lt}case 1:case h.ViewEncapsulation.ShadowDom:return new $(this.eventManager,this.sharedStylesHost,_e,et);default:if(!this.rendererByCompId.has(et.id)){const lt=z(et.id,et.styles,[]);this.sharedStylesHost.addStyles(lt),this.rendererByCompId.set(et.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return qe.\u0275fac=function(_e){return new(_e||qe)(h.\u0275\u0275inject(M),h.\u0275\u0275inject(N),h.\u0275\u0275inject(h.APP_ID))},qe.\u0275prov=h.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})();class Ee{constructor(Ye){this.eventManager=Ye,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Ye,_e){return _e?document.createElementNS(H[_e]||_e,Ye):document.createElement(Ye)}createComment(Ye){return document.createComment(Ye)}createText(Ye){return document.createTextNode(Ye)}appendChild(Ye,_e){(ie(Ye)?Ye.content:Ye).appendChild(_e)}insertBefore(Ye,_e,et){Ye&&(ie(Ye)?Ye.content:Ye).insertBefore(_e,et)}removeChild(Ye,_e){Ye&&Ye.removeChild(_e)}selectRootElement(Ye,_e){let et="string"==typeof Ye?document.querySelector(Ye):Ye;if(!et)throw new Error(`The selector "${Ye}" did not match any elements`);return _e||(et.textContent=""),et}parentNode(Ye){return Ye.parentNode}nextSibling(Ye){return Ye.nextSibling}setAttribute(Ye,_e,et,lt){if(lt){_e=lt+":"+_e;const It=H[lt];It?Ye.setAttributeNS(It,_e,et):Ye.setAttribute(_e,et)}else Ye.setAttribute(_e,et)}removeAttribute(Ye,_e,et){if(et){const lt=H[et];lt?Ye.removeAttributeNS(lt,_e):Ye.removeAttribute(`${et}:${_e}`)}else Ye.removeAttribute(_e)}addClass(Ye,_e){Ye.classList.add(_e)}removeClass(Ye,_e){Ye.classList.remove(_e)}setStyle(Ye,_e,et,lt){lt&(h.RendererStyleFlags2.DashCase|h.RendererStyleFlags2.Important)?Ye.style.setProperty(_e,et,lt&h.RendererStyleFlags2.Important?"important":""):Ye.style[_e]=et}removeStyle(Ye,_e,et){et&h.RendererStyleFlags2.DashCase?Ye.style.removeProperty(_e):Ye.style[_e]=""}setProperty(Ye,_e,et){Ye[_e]=et}setValue(Ye,_e){Ye.nodeValue=_e}listen(Ye,_e,et){return"string"==typeof Ye?this.eventManager.addGlobalEventListener(Ye,_e,q(et)):this.eventManager.addEventListener(Ye,_e,q(et))}}function ie(qe){return"TEMPLATE"===qe.tagName&&void 0!==qe.content}class Ae extends Ee{constructor(Ye,_e,et,lt){super(Ye),this.component=et;const It=z(lt+"-"+et.id,et.styles,[]);_e.addStyles(It),this.contentAttr=Fe(lt+"-"+et.id),this.hostAttr=it(lt+"-"+et.id)}applyToHost(Ye){super.setAttribute(Ye,this.hostAttr,"")}createElement(Ye,_e){const et=super.createElement(Ye,_e);return super.setAttribute(et,this.contentAttr,""),et}}class $ extends Ee{constructor(Ye,_e,et,lt){super(Ye),this.sharedStylesHost=_e,this.hostEl=et,this.shadowRoot=et.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const It=z(lt.id,lt.styles,[]);for(let Lt=0;Lt<It.length;Lt++){const Wt=document.createElement("style");Wt.textContent=It[Lt],this.shadowRoot.appendChild(Wt)}}nodeOrShadowRoot(Ye){return Ye===this.hostEl?this.shadowRoot:Ye}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(Ye,_e){return super.appendChild(this.nodeOrShadowRoot(Ye),_e)}insertBefore(Ye,_e,et){return super.insertBefore(this.nodeOrShadowRoot(Ye),_e,et)}removeChild(Ye,_e){return super.removeChild(this.nodeOrShadowRoot(Ye),_e)}parentNode(Ye){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Ye)))}}let ye=(()=>{class qe extends O{constructor(_e){super(_e)}supports(_e){return!0}addEventListener(_e,et,lt){return _e.addEventListener(et,lt,!1),()=>this.removeEventListener(_e,et,lt)}removeEventListener(_e,et,lt){return _e.removeEventListener(et,lt)}}return qe.\u0275fac=function(_e){return new(_e||qe)(h.\u0275\u0275inject(n.DOCUMENT))},qe.\u0275prov=h.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})();const Ce=["alt","control","meta","shift"],Ve={"\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"},Se={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Ue={alt:qe=>qe.altKey,control:qe=>qe.ctrlKey,meta:qe=>qe.metaKey,shift:qe=>qe.shiftKey};let ut=(()=>{class qe extends O{constructor(_e){super(_e)}supports(_e){return null!=qe.parseEventName(_e)}addEventListener(_e,et,lt){const It=qe.parseEventName(et),Lt=qe.eventCallback(It.fullKey,lt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,n.\u0275getDOM)().onAndCancel(_e,It.domEventName,Lt))}static parseEventName(_e){const et=_e.toLowerCase().split("."),lt=et.shift();if(0===et.length||"keydown"!==lt&&"keyup"!==lt)return null;const It=qe._normalizeKey(et.pop());let Lt="";if(Ce.forEach(yn=>{const gn=et.indexOf(yn);gn>-1&&(et.splice(gn,1),Lt+=yn+".")}),Lt+=It,0!=et.length||0===It.length)return null;const Wt={};return Wt.domEventName=lt,Wt.fullKey=Lt,Wt}static getEventFullKey(_e){let et="",lt=function _t(qe){let Ye=qe.key;if(null==Ye){if(Ye=qe.keyIdentifier,null==Ye)return"Unidentified";Ye.startsWith("U+")&&(Ye=String.fromCharCode(parseInt(Ye.substring(2),16)),3===qe.location&&Se.hasOwnProperty(Ye)&&(Ye=Se[Ye]))}return Ve[Ye]||Ye}(_e);return lt=lt.toLowerCase()," "===lt?lt="space":"."===lt&&(lt="dot"),Ce.forEach(It=>{It!=lt&&(0,Ue[It])(_e)&&(et+=It+".")}),et+=lt,et}static eventCallback(_e,et,lt){return It=>{qe.getEventFullKey(It)===_e&&lt.runGuarded(()=>et(It))}}static _normalizeKey(_e){return"esc"===_e?"escape":_e}}return qe.\u0275fac=function(_e){return new(_e||qe)(h.\u0275\u0275inject(n.DOCUMENT))},qe.\u0275prov=h.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})();function dt(qe,Ye){var _e;return(0,h.\u0275internalBootstrapApplication)({rootComponent:qe,appProviders:[...Te,...null!==(_e=null==Ye?void 0:Ye.providers)&&void 0!==_e?_e:[]],platformProviders:Qe})}function $e(){return[...Y]}function Pe(){u.makeCurrent()}const Qe=[{provide:h.PLATFORM_ID,useValue:n.\u0275PLATFORM_BROWSER_ID},{provide:h.PLATFORM_INITIALIZER,useValue:Pe,multi:!0},{provide:n.DOCUMENT,useFactory:function he(){return(0,h.\u0275setDocument)(document),document},deps:[]}],Be=(0,h.createPlatformFactory)(h.platformCore,"browser",Qe),Ke=new h.InjectionToken(""),Y=[{provide:h.\u0275TESTABILITY_GETTER,useClass:v,deps:[]},{provide:h.\u0275TESTABILITY,useClass:h.Testability,deps:[h.NgZone,h.TestabilityRegistry,h.\u0275TESTABILITY_GETTER]},{provide:h.Testability,useClass:h.Testability,deps:[h.NgZone,h.TestabilityRegistry,h.\u0275TESTABILITY_GETTER]}],Te=[{provide:h.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:h.ErrorHandler,useFactory:function Le(){return new h.ErrorHandler},deps:[]},{provide:C,useClass:ye,multi:!0,deps:[n.DOCUMENT,h.NgZone,h.PLATFORM_ID]},{provide:C,useClass:ut,multi:!0,deps:[n.DOCUMENT]},{provide:te,useClass:te,deps:[M,N,h.APP_ID]},{provide:h.RendererFactory2,useExisting:te},{provide:P,useExisting:N},{provide:N,useClass:N,deps:[n.DOCUMENT]},{provide:M,useClass:M,deps:[C,h.NgZone]},{provide:n.XhrFactory,useClass:m,deps:[]},[]];let ze=(()=>{class qe{constructor(_e){}static withServerTransition(_e){return{ngModule:qe,providers:[{provide:h.APP_ID,useValue:_e.appId},{provide:y,useExisting:h.APP_ID},b]}}}return qe.\u0275fac=function(_e){return new(_e||qe)(h.\u0275\u0275inject(Ke,12))},qe.\u0275mod=h.\u0275\u0275defineNgModule({type:qe}),qe.\u0275inj=h.\u0275\u0275defineInjector({providers:[...Te,...Y],imports:[n.CommonModule,h.ApplicationModule]}),qe})(),We=(()=>{class qe{constructor(_e){this._doc=_e,this._dom=(0,n.\u0275getDOM)()}addTag(_e,et=!1){return _e?this._getOrCreateElement(_e,et):null}addTags(_e,et=!1){return _e?_e.reduce((lt,It)=>(It&&lt.push(this._getOrCreateElement(It,et)),lt),[]):[]}getTag(_e){return _e&&this._doc.querySelector(`meta[${_e}]`)||null}getTags(_e){if(!_e)return[];const et=this._doc.querySelectorAll(`meta[${_e}]`);return et?[].slice.call(et):[]}updateTag(_e,et){if(!_e)return null;et=et||this._parseSelector(_e);const lt=this.getTag(et);return lt?this._setMetaElementAttributes(_e,lt):this._getOrCreateElement(_e,!0)}removeTag(_e){this.removeTagElement(this.getTag(_e))}removeTagElement(_e){_e&&this._dom.remove(_e)}_getOrCreateElement(_e,et=!1){if(!et){const Lt=this._parseSelector(_e),Wt=this.getTags(Lt).filter(yn=>this._containsAttributes(_e,yn))[0];if(void 0!==Wt)return Wt}const lt=this._dom.createElement("meta");return this._setMetaElementAttributes(_e,lt),this._doc.getElementsByTagName("head")[0].appendChild(lt),lt}_setMetaElementAttributes(_e,et){return Object.keys(_e).forEach(lt=>et.setAttribute(this._getMetaKeyMap(lt),_e[lt])),et}_parseSelector(_e){const et=_e.name?"name":"property";return`${et}="${_e[et]}"`}_containsAttributes(_e,et){return Object.keys(_e).every(lt=>et.getAttribute(this._getMetaKeyMap(lt))===_e[lt])}_getMetaKeyMap(_e){return ve[_e]||_e}}return qe.\u0275fac=function(_e){return new(_e||qe)(h.\u0275\u0275inject(n.DOCUMENT))},qe.\u0275prov=h.\u0275\u0275defineInjectable({token:qe,factory:function(_e){let et=null;return et=_e?new _e:function je(){return new We((0,h.\u0275\u0275inject)(n.DOCUMENT))}(),et},providedIn:"root"}),qe})();const ve={httpEquiv:"http-equiv"};let ct=(()=>{class qe{constructor(_e){this._doc=_e}getTitle(){return this._doc.title}setTitle(_e){this._doc.title=_e||""}}return qe.\u0275fac=function(_e){return new(_e||qe)(h.\u0275\u0275inject(n.DOCUMENT))},qe.\u0275prov=h.\u0275\u0275defineInjectable({token:qe,factory:function(_e){let et=null;return et=_e?new _e:function He(){return new ct((0,h.\u0275\u0275inject)(n.DOCUMENT))}(),et},providedIn:"root"}),qe})();function ke(qe,Ye){"undefined"!=typeof COMPILED&&COMPILED||((h.\u0275global.ng=h.\u0275global.ng||{})[qe]=Ye)}const tt="undefined"!=typeof window&&window||{};class mt{constructor(Ye,_e){this.msPerTick=Ye,this.numTicks=_e}}class Ft{constructor(Ye){this.appRef=Ye.injector.get(h.ApplicationRef)}timeChangeDetection(Ye){const _e=Ye&&Ye.record,et="Change Detection",lt=null!=tt.console.profile;_e&&lt&&tt.console.profile(et);const It=At();let Lt=0;for(;Lt<5||At()-It<500;)this.appRef.tick(),Lt++;const Wt=At();_e&&lt&&tt.console.profileEnd(et);const yn=(Wt-It)/Lt;return tt.console.log(`ran ${Lt} change detection cycles`),tt.console.log(`${yn.toFixed(2)} ms per check`),new mt(yn,Lt)}}function At(){return tt.performance&&tt.performance.now?tt.performance.now():(new Date).getTime()}const Yt="profiler";function Nt(qe){return ke(Yt,new Ft(qe)),qe}function rt(){ke(Yt,null)}function Je(qe){const Ye={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return qe.replace(/[&"'<>]/g,_e=>Ye[_e])}function me(qe){return qe}let ae=(()=>{class qe{constructor(){this.store={},this.onSerializeCallbacks={}}get(_e,et){return void 0!==this.store[_e]?this.store[_e]:et}set(_e,et){this.store[_e]=et}remove(_e){delete this.store[_e]}hasKey(_e){return this.store.hasOwnProperty(_e)}onSerialize(_e,et){this.onSerializeCallbacks[_e]=et}toJson(){for(const _e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(_e))try{this.store[_e]=this.onSerializeCallbacks[_e]()}catch(et){console.warn("Exception in onSerialize callback: ",et)}return JSON.stringify(this.store)}}return qe.\u0275fac=function(_e){return new(_e||qe)},qe.\u0275prov=h.\u0275\u0275defineInjectable({token:qe,factory:function(){return(()=>{const Ye=(0,h.inject)(n.DOCUMENT),_e=(0,h.inject)(h.APP_ID),et=new qe;return et.store=function le(qe,Ye){const _e=qe.getElementById(Ye+"-state");let et={};if(_e&&_e.textContent)try{et=JSON.parse(function be(qe){const Ye={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return qe.replace(/&[^;]+;/g,_e=>Ye[_e])}(_e.textContent))}catch(lt){console.warn("Exception while restoring TransferState for app "+Ye,lt)}return et}(Ye,_e),et})()},providedIn:"root"}),qe})(),j=(()=>{class qe{}return qe.\u0275fac=function(_e){return new(_e||qe)},qe.\u0275mod=h.\u0275\u0275defineNgModule({type:qe}),qe.\u0275inj=h.\u0275\u0275defineInjector({}),qe})();class we{static all(){return()=>!0}static css(Ye){return _e=>null!=_e.nativeElement&&function vt(qe,Ye){return!!(0,n.\u0275getDOM)().isElementNode(qe)&&(qe.matches&&qe.matches(Ye)||qe.msMatchesSelector&&qe.msMatchesSelector(Ye)||qe.webkitMatchesSelector&&qe.webkitMatchesSelector(Ye))}(_e.nativeElement,Ye)}static directive(Ye){return _e=>-1!==_e.providerTokens.indexOf(Ye)}}const Ge={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},yt=new h.InjectionToken("HammerGestureConfig"),ee=new h.InjectionToken("HammerLoader");let Ie=(()=>{class qe{constructor(){this.events=[],this.overrides={}}buildHammer(_e){const et=new Hammer(_e,this.options);et.get("pinch").set({enable:!0}),et.get("rotate").set({enable:!0});for(const lt in this.overrides)et.get(lt).set(this.overrides[lt]);return et}}return qe.\u0275fac=function(_e){return new(_e||qe)},qe.\u0275prov=h.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),at=(()=>{class qe extends O{constructor(_e,et,lt,It){super(_e),this._config=et,this.console=lt,this.loader=It,this._loaderPromise=null}supports(_e){return!(!Ge.hasOwnProperty(_e.toLowerCase())&&!this.isCustomEvent(_e)||!window.Hammer&&!this.loader)}addEventListener(_e,et,lt){const It=this.manager.getZone();if(et=et.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||It.runOutsideAngular(()=>this.loader());let Lt=!1,Wt=()=>{Lt=!0};return It.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?Lt||(Wt=this.addEventListener(_e,et,lt)):Wt=()=>{}}).catch(()=>{Wt=()=>{}})),()=>{Wt()}}return It.runOutsideAngular(()=>{const Lt=this._config.buildHammer(_e),Wt=function(yn){It.runGuarded(function(){lt(yn)})};return Lt.on(et,Wt),()=>{Lt.off(et,Wt),"function"==typeof Lt.destroy&&Lt.destroy()}})}isCustomEvent(_e){return this._config.events.indexOf(_e)>-1}}return qe.\u0275fac=function(_e){return new(_e||qe)(h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(yt),h.\u0275\u0275inject(h.\u0275Console),h.\u0275\u0275inject(ee,8))},qe.\u0275prov=h.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})(),Dt=(()=>{class qe{}return qe.\u0275fac=function(_e){return new(_e||qe)},qe.\u0275mod=h.\u0275\u0275defineNgModule({type:qe}),qe.\u0275inj=h.\u0275\u0275defineInjector({providers:[{provide:C,useClass:at,multi:!0,deps:[n.DOCUMENT,yt,h.\u0275Console,[new h.Optional,ee]]},{provide:yt,useClass:Ie,deps:[]}]}),qe})(),Ht=(()=>{class qe{}return qe.\u0275fac=function(_e){return new(_e||qe)},qe.\u0275prov=h.\u0275\u0275defineInjectable({token:qe,factory:function(_e){let et=null;return et=_e?new(_e||qe):h.\u0275\u0275inject(Xt),et},providedIn:"root"}),qe})(),Xt=(()=>{class qe extends Ht{constructor(_e){super(),this._doc=_e}sanitize(_e,et){if(null==et)return null;switch(_e){case h.SecurityContext.NONE:return et;case h.SecurityContext.HTML:return(0,h.\u0275allowSanitizationBypassAndThrow)(et,"HTML")?(0,h.\u0275unwrapSafeValue)(et):(0,h.\u0275_sanitizeHtml)(this._doc,String(et)).toString();case h.SecurityContext.STYLE:return(0,h.\u0275allowSanitizationBypassAndThrow)(et,"Style")?(0,h.\u0275unwrapSafeValue)(et):et;case h.SecurityContext.SCRIPT:if((0,h.\u0275allowSanitizationBypassAndThrow)(et,"Script"))return(0,h.\u0275unwrapSafeValue)(et);throw new Error("unsafe value used in a script context");case h.SecurityContext.URL:return(0,h.\u0275allowSanitizationBypassAndThrow)(et,"URL")?(0,h.\u0275unwrapSafeValue)(et):(0,h.\u0275_sanitizeUrl)(String(et));case h.SecurityContext.RESOURCE_URL:if((0,h.\u0275allowSanitizationBypassAndThrow)(et,"ResourceURL"))return(0,h.\u0275unwrapSafeValue)(et);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${_e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(_e){return(0,h.\u0275bypassSanitizationTrustHtml)(_e)}bypassSecurityTrustStyle(_e){return(0,h.\u0275bypassSanitizationTrustStyle)(_e)}bypassSecurityTrustScript(_e){return(0,h.\u0275bypassSanitizationTrustScript)(_e)}bypassSecurityTrustUrl(_e){return(0,h.\u0275bypassSanitizationTrustUrl)(_e)}bypassSecurityTrustResourceUrl(_e){return(0,h.\u0275bypassSanitizationTrustResourceUrl)(_e)}}return qe.\u0275fac=function(_e){return new(_e||qe)(h.\u0275\u0275inject(n.DOCUMENT))},qe.\u0275prov=h.\u0275\u0275defineInjectable({token:qe,factory:function(_e){let et=null;return et=_e?new _e:function rn(qe){return new Xt(qe.get(n.DOCUMENT))}(h.\u0275\u0275inject(h.Injector)),et},providedIn:"root"}),qe})();const vn=new h.Version("14.1.3")},107:(U,o,a)=>{"use strict";a.r(o),a.d(o,{MONACO_PATH:()=>v,MonacoDiffEditorComponent:()=>O,MonacoEditorComponent:()=>M,MonacoEditorLoaderDirective:()=>C,MonacoEditorLoaderService:()=>m,MonacoEditorModule:()=>P});var n=a(5e3),h=a(2722),_=a(9300),u=a(5698),r=a(1135),c=a(7579),d=a(655),p=a(3075);const y=["editor"],f=["diffEditor"],v="MONACO_PATH";let m=(()=>{class N{constructor(H,G){this.ngZone=H,this.monacoPathConfig=G,this.isMonacoLoaded$=new r.X(!1),this._monacoPath="assets/monaco-editor/min/vs",window.monacoEditorAlreadyInitialized?H.run(()=>this.isMonacoLoaded$.next(!0)):(window.monacoEditorAlreadyInitialized=!0,this.monacoPathConfig&&(this.monacoPath=this.monacoPathConfig),this.loadMonaco())}set monacoPath(H){H&&(this._monacoPath=H)}loadMonaco(){const H=()=>{let oe=this._monacoPath;window.amdRequire=window.require;const pe=!!this.nodeRequire,Fe=oe.includes("http");pe&&(window.require=this.nodeRequire,Fe||(oe=window.require("path").resolve(window.__dirname,this._monacoPath))),window.amdRequire.config({paths:{vs:oe}}),window.amdRequire(["vs/editor/editor.main"],()=>{this.ngZone.run(()=>this.isMonacoLoaded$.next(!0))},it=>console.error("Error loading monaco-editor: ",it))};if(window.amdRequire)return H();window.require&&(this.addElectronFixScripts(),this.nodeRequire=window.require);const X=document.createElement("script");X.type="text/javascript",X.src=`${this._monacoPath}/loader.js`,X.addEventListener("load",H),document.body.appendChild(X)}addElectronFixScripts(){const H=document.createElement("script"),G=document.createTextNode("self.module = undefined;"),B=document.createTextNode("self.process.browser = true;");H.appendChild(G),H.appendChild(B),document.body.appendChild(H)}}return N.\u0275fac=function(H){return new(H||N)(n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(v,8))},N.\u0275prov=n.\u0275\u0275defineInjectable({token:N,factory:N.\u0275fac,providedIn:"root"}),N})(),C=(()=>{class N{constructor(H,G,B){this.templateRef=H,this.viewContainer=G,this.monacoEditorLoaderService=B,this.isMonacoLoaded$=this.monacoEditorLoaderService.isMonacoLoaded$.asObservable(),this.destroyed$=new c.x}ngOnInit(){this.isMonacoLoaded$.pipe((0,h.R)(this.destroyed$)).subscribe(H=>{if(!H)return this.viewContainer.clear();this.viewContainer.createEmbeddedView(this.templateRef)})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}}return N.\u0275fac=function(H){return new(H||N)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(m))},N.\u0275dir=n.\u0275\u0275defineDirective({type:N,selectors:[["","ngxLoadMonacoEditor",""]]}),N})(),M=(()=>{class N{constructor(H){this.monacoLoader=H,this.init=new n.EventEmitter,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,_.h)(H=>H),(0,u.q)(1)).subscribe(()=>{this.initEditor()})}ngOnChanges(H){if(this.editor&&H.options&&!H.options.firstChange){const G=H.options.currentValue,{language:B,theme:X}=G,oe=(0,d.__rest)(G,["language","theme"]),{language:pe,theme:Fe}=H.options.previousValue;pe!==B&&monaco.editor.setModelLanguage(this.editor.getModel(),this.options&&this.options.language?this.options.language:"text"),Fe!==X&&monaco.editor.setTheme(X),this.editor.updateOptions(oe)}if(this.editor&&H.uri){const G=H.uri.currentValue,B=H.uri.previousValue;if(B&&!G||!B&&G||G&&B&&G.path!==B.path){const X=this.editor.getValue();let oe;this.modelUriInstance&&this.modelUriInstance.dispose(),G&&(oe=monaco.editor.getModels().find(pe=>pe.uri.path===G.path)),this.modelUriInstance=oe||monaco.editor.createModel(X,this.options.language||"text",this.uri),this.editor.setModel(this.modelUriInstance)}}}writeValue(H){this.value=H,this.editor&&H?this.editor.setValue(H):this.editor&&this.editor.setValue("")}registerOnChange(H){this.propagateChange=H}registerOnTouched(H){this.onTouched=H}validate(){return this.parsedError?{monaco:{value:this.parsedError.split("|")}}:null}registerOnValidatorChange(H){this.onErrorStatusChange=H}initEditor(){const H={value:[this.value].join("\n"),language:"text",automaticLayout:!0,scrollBeyondLastLine:!1,theme:"vc"};this.editor=monaco.editor.create(this.editorContent.nativeElement,this.options?Object.assign(Object.assign({},H),this.options):H),this.registerEditorListeners(),this.init.emit(this.editor)}registerEditorListeners(){this.editor.onDidChangeModelContent(()=>{this.propagateChange(this.editor.getValue())}),this.editor.onDidChangeModelDecorations(()=>{const H=this.modelMarkers.map(({message:B})=>B).join("|");this.parsedError!==H&&(this.parsedError=H,this.onErrorStatusChange())}),this.editor.onDidBlurEditorText(()=>{this.onTouched()})}ngOnDestroy(){this.editor&&this.editor.dispose()}}return N.\u0275fac=function(H){return new(H||N)(n.\u0275\u0275directiveInject(m))},N.\u0275cmp=n.\u0275\u0275defineComponent({type:N,selectors:[["ngx-monaco-editor"]],viewQuery:function(H,G){if(1&H&&n.\u0275\u0275viewQuery(y,7),2&H){let B;n.\u0275\u0275queryRefresh(B=n.\u0275\u0275loadQuery())&&(G.editorContent=B.first)}},inputs:{options:"options",uri:"uri"},outputs:{init:"init"},features:[n.\u0275\u0275ProvidersFeature([{provide:p.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>N),multi:!0},{provide:p.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>N),multi:!0}]),n.\u0275\u0275NgOnChangesFeature],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["editor",""]],template:function(H,G){1&H&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275element(2,"div",2,3),n.\u0275\u0275elementEnd())},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}),N})(),O=(()=>{class N{constructor(H){this.monacoLoader=H,this.init=new n.EventEmitter}ngOnInit(){this.container=this.editorContent.nativeElement,this.monacoLoader.isMonacoLoaded$.pipe((0,_.h)(H=>H),(0,u.q)(1)).subscribe(()=>{this.initMonaco()})}ngOnChanges(H){if(this.editor&&(H.code&&!H.code.firstChange||H.modified&&!H.modified.firstChange)){const G=monaco.editor.createModel(this.modified),B=monaco.editor.createModel(this.original);this.editor.setModel({original:B,modified:G})}this.editor&&H.options&&!H.options.firstChange&&(H.options.previousValue.theme!==H.options.currentValue.theme&&monaco.editor.setTheme(H.options.currentValue.theme),this.editor.updateOptions(H.options.currentValue))}initMonaco(){let H={readOnly:!0,automaticLayout:!0,theme:"vc"};this.options&&(H=Object.assign({},H,this.options)),this.editor=monaco.editor.createDiffEditor(this.container,H);const G=monaco.editor.createModel(this.original),B=monaco.editor.createModel(this.modified);this.editor.setModel({original:G,modified:B}),this.editor.layout(),this.init.emit(this.editor)}ngOnDestroy(){this.editor&&this.editor.dispose()}}return N.\u0275fac=function(H){return new(H||N)(n.\u0275\u0275directiveInject(m))},N.\u0275cmp=n.\u0275\u0275defineComponent({type:N,selectors:[["ngx-monaco-diff-editor"]],viewQuery:function(H,G){if(1&H&&n.\u0275\u0275viewQuery(f,7),2&H){let B;n.\u0275\u0275queryRefresh(B=n.\u0275\u0275loadQuery())&&(G.editorContent=B.first)}},inputs:{original:"original",modified:"modified",options:"options"},outputs:{init:"init"},features:[n.\u0275\u0275NgOnChangesFeature],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["diffEditor",""]],template:function(H,G){1&H&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275element(2,"div",2,3),n.\u0275\u0275elementEnd())},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}),N})(),P=(()=>{class N{}return N.\u0275fac=function(H){return new(H||N)},N.\u0275mod=n.\u0275\u0275defineNgModule({type:N}),N.\u0275inj=n.\u0275\u0275defineInjector({imports:[[]]}),N})()},1430:(U,o,a)=>{"use strict";a.r(o),a.d(o,{ANGULAR_SPLIT_DEFAULT_OPTIONS:()=>oe,AngularSplitModule:()=>it,SplitAreaDirective:()=>Fe,SplitComponent:()=>pe});var n=a(5e3),h=a(9808),_=a(7579),u=a(8306),r=a(8372);const c=["gutterEls"];function d(z,q){if(1&z){const V=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"div",2,3),n.\u0275\u0275listener("keydown",function(Ee){n.\u0275\u0275restoreView(V);const Oe=n.\u0275\u0275nextContext().index,K=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(K.startKeyboardDrag(Ee,2*Oe+1,Oe+1))})("mousedown",function(Ee){n.\u0275\u0275restoreView(V);const Oe=n.\u0275\u0275nextContext().index,K=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(K.startMouseDrag(Ee,2*Oe+1,Oe+1))})("touchstart",function(Ee){n.\u0275\u0275restoreView(V);const Oe=n.\u0275\u0275nextContext().index,K=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(K.startMouseDrag(Ee,2*Oe+1,Oe+1))})("mouseup",function(Ee){n.\u0275\u0275restoreView(V);const Oe=n.\u0275\u0275nextContext().index,K=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(K.clickGutter(Ee,Oe+1))})("touchend",function(Ee){n.\u0275\u0275restoreView(V);const Oe=n.\u0275\u0275nextContext().index,K=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(K.clickGutter(Ee,Oe+1))}),n.\u0275\u0275element(2,"div",4),n.\u0275\u0275elementEnd()}if(2&z){const V=n.\u0275\u0275nextContext(),te=V.index,Ee=V.$implicit,Oe=n.\u0275\u0275nextContext();n.\u0275\u0275styleProp("flex-basis",Oe.gutterSize,"px")("order",2*te+1),n.\u0275\u0275attribute("aria-label",Oe.gutterAriaLabel)("aria-orientation",Oe.direction)("aria-valuemin",Ee.minSize)("aria-valuemax",Ee.maxSize)("aria-valuenow",Ee.size)("aria-valuetext",Oe.getAriaAreaSizeText(Ee.size))}}function p(z,q){1&z&&n.\u0275\u0275template(0,d,3,10,"div",1),2&z&&n.\u0275\u0275property("ngIf",!1===q.last)}const y=["*"];function f(z){if(void 0!==z.changedTouches&&z.changedTouches.length>0)return{x:z.changedTouches[0].clientX,y:z.changedTouches[0].clientY};if(void 0!==z.clientX&&void 0!==z.clientY)return{x:z.clientX,y:z.clientY};if(void 0!==z.currentTarget){const q=z.currentTarget;return{x:q.offsetLeft,y:q.offsetTop}}return null}function b(z,q,V){return Math.abs(z.x-q.x)<=V&&Math.abs(z.y-q.y)<=V}function m(z,q){const V=z.nativeElement.getBoundingClientRect();return"horizontal"===q?V.width:V.height}function C(z){return"boolean"==typeof z?z:"false"!==z}function M(z,q){return null==z?q:(z=Number(z),!isNaN(z)&&z>=0?z:q)}function O(z,q){if("percent"===z){const V=q.reduce((te,Ee)=>null!==Ee?te+Ee:te,0);return q.every(te=>null!==te)&&V>99.9&&V<100.1}if("pixel"===z)return 1===q.filter(V=>null===V).length}function P(z){return null===z.size?null:!0===z.component.lockSize?z.size:null===z.component.minSize?null:z.component.minSize>z.size?z.size:z.component.minSize}function N(z){return null===z.size?null:!0===z.component.lockSize?z.size:null===z.component.maxSize?null:z.component.maxSize<z.size?z.size:z.component.maxSize}function Q(z,q,V,te){return q.reduce((Ee,Oe)=>{const K=function H(z,q,V,te){return 0===V?{areaSnapshot:q,pixelAbsorb:0,percentAfterAbsorption:q.sizePercentAtStart,pixelRemain:0}:0===q.sizePixelAtStart&&V<0?{areaSnapshot:q,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:V}:"percent"===z?function G(z,q,V){const Ee=(z.sizePixelAtStart+q)/V*100;if(q>0){if(null!==z.area.maxSize&&Ee>z.area.maxSize){const Oe=z.area.maxSize/100*V;return{areaSnapshot:z,pixelAbsorb:Oe,percentAfterAbsorption:z.area.maxSize,pixelRemain:z.sizePixelAtStart+q-Oe}}return{areaSnapshot:z,pixelAbsorb:q,percentAfterAbsorption:Ee>100?100:Ee,pixelRemain:0}}if(q<0){if(null!==z.area.minSize&&Ee<z.area.minSize){const Oe=z.area.minSize/100*V;return{areaSnapshot:z,pixelAbsorb:Oe,percentAfterAbsorption:z.area.minSize,pixelRemain:z.sizePixelAtStart+q-Oe}}return Ee<0?{areaSnapshot:z,pixelAbsorb:-z.sizePixelAtStart,percentAfterAbsorption:0,pixelRemain:q+z.sizePixelAtStart}:{areaSnapshot:z,pixelAbsorb:q,percentAfterAbsorption:Ee,pixelRemain:0}}}(q,V,te):"pixel"===z?function B(z,q,V){const te=z.sizePixelAtStart+q;return q>0?null!==z.area.maxSize&&te>z.area.maxSize?{areaSnapshot:z,pixelAbsorb:z.area.maxSize-z.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:te-z.area.maxSize}:{areaSnapshot:z,pixelAbsorb:q,percentAfterAbsorption:-1,pixelRemain:0}:q<0?null!==z.area.minSize&&te<z.area.minSize?{areaSnapshot:z,pixelAbsorb:z.area.minSize+q-te,percentAfterAbsorption:-1,pixelRemain:te-z.area.minSize}:te<0?{areaSnapshot:z,pixelAbsorb:-z.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:q+z.sizePixelAtStart}:{areaSnapshot:z,pixelAbsorb:q,percentAfterAbsorption:-1,pixelRemain:0}:void 0}(q,V):void 0}(z,Oe,Ee.remain,te);return Ee.list.push(K),Ee.remain=K.pixelRemain,Ee},{remain:V,list:[]})}function X(z,q){"percent"===z?q.areaSnapshot.area.size=q.percentAfterAbsorption:"pixel"===z&&null!==q.areaSnapshot.area.size&&(q.areaSnapshot.area.size=q.areaSnapshot.sizePixelAtStart+q.pixelAbsorb)}const oe=new n.InjectionToken("angular-split-global-config");let pe=(()=>{class z{constructor(V,te,Ee,Oe,K){this.ngZone=V,this.elRef=te,this.cdRef=Ee,this.renderer=Oe,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 n.EventEmitter(!1),this.dragEnd=new n.EventEmitter(!1),this.gutterClick=new n.EventEmitter(!1),this.gutterDblClick=new n.EventEmitter(!1),this.dragProgressSubject=new _.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=K?Object.assign(this._config,K):this._config,Object.keys(this._config).forEach(ie=>{this[ie]=this._config[ie]})}set direction(V){this._direction="vertical"===V?"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(V){this._unit="pixel"===V?"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(V){this._gutterSize=M(V,11),this.build(!1,!1)}get gutterSize(){return this._gutterSize}set gutterStep(V){this._gutterStep=M(V,1)}get gutterStep(){return this._gutterStep}set restrictMove(V){this._restrictMove=C(V)}get restrictMove(){return this._restrictMove}set useTransition(V){this._useTransition=C(V),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(V){this._disabled=C(V),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(V){this._dir="rtl"===V?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}get dir(){return this._dir}set gutterDblClickDuration(V){this._gutterDblClickDuration=M(V,0)}get gutterDblClickDuration(){return this._gutterDblClickDuration}get transitionEnd(){return new u.y(V=>this.transitionEndSubscriber=V).pipe((0,r.b)(20))}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(V){const te={component:V,order:0,size:0,minSize:null,maxSize:null,sizeBeforeCollapse:null,gutterBeforeCollapse:0};!0===V.visible?(this.displayedAreas.push(te),this.build(!0,!0)):this.hiddenAreas.push(te)}removeArea(V){if(this.displayedAreas.some(te=>te.component===V)){const te=this.displayedAreas.find(Ee=>Ee.component===V);this.displayedAreas.splice(this.displayedAreas.indexOf(te),1),this.build(!0,!0)}else if(this.hiddenAreas.some(te=>te.component===V)){const te=this.hiddenAreas.find(Ee=>Ee.component===V);this.hiddenAreas.splice(this.hiddenAreas.indexOf(te),1)}}updateArea(V,te,Ee){!0===V.visible&&this.build(te,Ee)}showArea(V){const te=this.hiddenAreas.find(Oe=>Oe.component===V);if(void 0===te)return;const Ee=this.hiddenAreas.splice(this.hiddenAreas.indexOf(te),1);this.displayedAreas.push(...Ee),this.build(!0,!0)}hideArea(V){const te=this.displayedAreas.find(Oe=>Oe.component===V);if(void 0===te)return;const Ee=this.displayedAreas.splice(this.displayedAreas.indexOf(te),1);Ee.forEach(Oe=>{Oe.order=0,Oe.size=0}),this.hiddenAreas.push(...Ee),this.build(!0,!0)}getVisibleAreaSizes(){return this.displayedAreas.map(V=>null===V.size?"*":V.size)}setVisibleAreaSizes(V){if(V.length!==this.displayedAreas.length)return!1;const te=V.map(Oe=>M(Oe,null));return!1!==O(this.unit,te)&&(this.displayedAreas.forEach((Oe,K)=>Oe.component._size=te[K]),this.build(!1,!0),!0)}build(V,te){if(this.stopDragging(),!0===V&&(this.displayedAreas.every(Ee=>null!==Ee.component.order)&&this.displayedAreas.sort((Ee,Oe)=>Ee.component.order-Oe.component.order),this.displayedAreas.forEach((Ee,Oe)=>{Ee.order=2*Oe,Ee.component.setStyleOrder(Ee.order)})),!0===te){const Ee=O(this.unit,this.displayedAreas.map(Oe=>Oe.component.size));switch(this.unit){case"percent":{const Oe=100/this.displayedAreas.length;this.displayedAreas.forEach(K=>{K.size=Ee?K.component.size:Oe,K.minSize=P(K),K.maxSize=N(K)});break}case"pixel":if(Ee)this.displayedAreas.forEach(Oe=>{Oe.size=Oe.component.size,Oe.minSize=P(Oe),Oe.maxSize=N(Oe)});else{const Oe=this.displayedAreas.filter(K=>null===K.component.size);if(0===Oe.length&&this.displayedAreas.length>0)this.displayedAreas.forEach((K,ie)=>{K.size=0===ie?null:K.component.size,K.minSize=0===ie?null:P(K),K.maxSize=0===ie?null:N(K)});else if(Oe.length>1){let K=!1;this.displayedAreas.forEach(ie=>{null===ie.component.size?!1===K?(ie.size=null,ie.minSize=null,ie.maxSize=null,K=!0):(ie.size=100,ie.minSize=null,ie.maxSize=null):(ie.size=ie.component.size,ie.minSize=P(ie),ie.maxSize=N(ie))})}}}}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 V=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(te=>{te.component.setStyleFlex(0,0,`calc( ${te.size}% - ${te.size/100*V}px )`,null!==te.minSize&&te.minSize===te.size,null!==te.maxSize&&te.maxSize===te.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach(V=>{null===V.size?V.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):1===this.displayedAreas.length?V.component.setStyleFlex(0,0,"100%",!1,!1):V.component.setStyleFlex(0,0,`${V.size}px`,null!==V.minSize&&V.minSize===V.size,null!==V.maxSize&&V.maxSize===V.size)})}clickGutter(V,te){const Ee=f(V);this.startPoint&&b(this.startPoint,Ee,this.gutterClickDeltaPx)&&(!this.isDragging||this.isWaitingInitialMove)&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",te),this.stopDragging()):this._clickTimeout=window.setTimeout(()=>{this._clickTimeout=null,this.notify("click",te),this.stopDragging()},this.gutterDblClickDuration))}startKeyboardDrag(V,te,Ee){if(!0===this.disabled||!0===this.isWaitingClear)return;const Oe=function v(z,q){if("horizontal"===q)switch(z.key){case"ArrowLeft":case"ArrowRight":case"PageUp":case"PageDown":break;default:return null}if("vertical"===q)switch(z.key){case"ArrowUp":case"ArrowDown":case"PageUp":case"PageDown":break;default:return null}const V=z.currentTarget,te="PageUp"===z.key||"PageDown"===z.key?500:50;let Ee=V.offsetLeft,Oe=V.offsetTop;switch(z.key){case"ArrowLeft":Ee-=te;break;case"ArrowRight":Ee+=te;break;case"ArrowUp":Oe-=te;break;case"ArrowDown":Oe+=te;break;case"PageUp":"vertical"===q?Oe-=te:Ee+=te;break;case"PageDown":"vertical"===q?Oe+=te:Ee-=te;break;default:return null}return{x:Ee,y:Oe}}(V,this.direction);null!==Oe&&(this.endPoint=Oe,this.startPoint=f(V),V.preventDefault(),V.stopPropagation(),this.setupForDragEvent(te,Ee),this.startDragging(),this.drag(),this.stopDragging())}startMouseDrag(V,te,Ee){V.preventDefault(),V.stopPropagation(),this.startPoint=f(V),null!==this.startPoint&&!0!==this.disabled&&!0!==this.isWaitingClear&&(this.setupForDragEvent(te,Ee),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(V,te){this.snapshot={gutterNum:te,lastSteppedOffset:0,allAreasSizePixel:m(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(Ee=>{const Oe={area:Ee,sizePixelAtStart:m(Ee.component.elRef,this.direction),sizePercentAtStart:"percent"===this.unit?Ee.size:-1};Ee.order<V?!0===this.restrictMove?this.snapshot.areasBeforeGutter=[Oe]:this.snapshot.areasBeforeGutter.unshift(Oe):Ee.order>V&&(!0===this.restrictMove?0===this.snapshot.areasAfterGutter.length&&(this.snapshot.areasAfterGutter=[Oe]):this.snapshot.areasAfterGutter.push(Oe))}),this.snapshot.allInvolvedAreasSizePercent=[...this.snapshot.areasBeforeGutter,...this.snapshot.areasAfterGutter].reduce((Ee,Oe)=>Ee+Oe.sizePercentAtStart,0)}startDragging(){this.displayedAreas.forEach(V=>V.component.lockEvents()),this.isDragging=!0,this.isWaitingInitialMove=!0}mouseDragEvent(V){V.preventDefault(),V.stopPropagation();const te=f(V);null!==this._clickTimeout&&!b(this.startPoint,te,this.gutterClickDeltaPx)&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1!==this.isDragging&&(this.endPoint=f(V),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 V="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&(V=-V);const te=Math.round(V/this.gutterStep)*this.gutterStep;if(te===this.snapshot.lastSteppedOffset)return;this.snapshot.lastSteppedOffset=te;let Ee=Q(this.unit,this.snapshot.areasBeforeGutter,-te,this.snapshot.allAreasSizePixel),Oe=Q(this.unit,this.snapshot.areasAfterGutter,te,this.snapshot.allAreasSizePixel);if(0!==Ee.remain&&0!==Oe.remain?Math.abs(Ee.remain)===Math.abs(Oe.remain)||(Math.abs(Ee.remain)>Math.abs(Oe.remain)?Oe=Q(this.unit,this.snapshot.areasAfterGutter,te+Ee.remain,this.snapshot.allAreasSizePixel):Ee=Q(this.unit,this.snapshot.areasBeforeGutter,-(te-Oe.remain),this.snapshot.allAreasSizePixel)):0!==Ee.remain?Oe=Q(this.unit,this.snapshot.areasAfterGutter,te+Ee.remain,this.snapshot.allAreasSizePixel):0!==Oe.remain&&(Ee=Q(this.unit,this.snapshot.areasBeforeGutter,-(te-Oe.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){const K=[...Ee.list,...Oe.list],ie=K.find(Ae=>0!==Ae.percentAfterAbsorption&&Ae.percentAfterAbsorption!==Ae.areaSnapshot.area.minSize&&Ae.percentAfterAbsorption!==Ae.areaSnapshot.area.maxSize);ie&&(ie.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-K.filter(Ae=>Ae!==ie).reduce((Ae,$)=>Ae+$.percentAfterAbsorption,0))}Ee.list.forEach(K=>X(this.unit,K)),Oe.list.forEach(K=>X(this.unit,K)),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}stopDragging(V){if(V&&(V.preventDefault(),V.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach(te=>te.component.unlockEvents());this.dragListeners.length>0;){const te=this.dragListeners.pop();te&&te()}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(V,te){const Ee=this.getVisibleAreaSizes();"start"===V?this.dragStart.emit({gutterNum:te,sizes:Ee}):"end"===V?this.dragEnd.emit({gutterNum:te,sizes:Ee}):"click"===V?this.gutterClick.emit({gutterNum:te,sizes:Ee}):"dblclick"===V?this.gutterDblClick.emit({gutterNum:te,sizes:Ee}):"transitionEnd"===V?this.transitionEndSubscriber&&this.ngZone.run(()=>this.transitionEndSubscriber.next(Ee)):"progress"===V&&this.dragProgressSubject.next({gutterNum:te,sizes:Ee})}ngOnDestroy(){this.stopDragging()}collapseArea(V,te,Ee){const Oe=this.displayedAreas.find(Ae=>Ae.component===V);if(void 0===Oe)return;const K="right"===Ee?1:-1;Oe.sizeBeforeCollapse||(Oe.sizeBeforeCollapse=Oe.size,Oe.gutterBeforeCollapse=K),Oe.size=te;const ie=this.gutterEls.find(Ae=>Ae.nativeElement.style.order===`${Oe.order+K}`);ie&&this.renderer.addClass(ie.nativeElement,"as-split-gutter-collapsed"),this.updateArea(V,!1,!1)}expandArea(V){const te=this.displayedAreas.find(Oe=>Oe.component===V);if(void 0===te||!te.sizeBeforeCollapse)return;te.size=te.sizeBeforeCollapse,te.sizeBeforeCollapse=null;const Ee=this.gutterEls.find(Oe=>Oe.nativeElement.style.order===`${te.order+te.gutterBeforeCollapse}`);Ee&&this.renderer.removeClass(Ee.nativeElement,"as-split-gutter-collapsed"),this.updateArea(V,!1,!1)}getAriaAreaSizeText(V){return null===V?null:V.toFixed(0)+" "+this.unit}}return z.\u0275fac=function(V){return new(V||z)(n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(oe,8))},z.\u0275cmp=n.\u0275\u0275defineComponent({type:z,selectors:[["as-split"]],viewQuery:function(V,te){if(1&V&&n.\u0275\u0275viewQuery(c,5),2&V){let Ee;n.\u0275\u0275queryRefresh(Ee=n.\u0275\u0275loadQuery())&&(te.gutterEls=Ee)}},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:y,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],["role","slider","tabindex","0","class","as-split-gutter",3,"flex-basis","order","keydown","mousedown","touchstart","mouseup","touchend",4,"ngIf"],["role","slider","tabindex","0",1,"as-split-gutter",3,"keydown","mousedown","touchstart","mouseup","touchend"],["gutterEls",""],[1,"as-split-gutter-icon"]],template:function(V,te){1&V&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0),n.\u0275\u0275template(1,p,1,1,"ng-template",0)),2&V&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("ngForOf",te.displayedAreas))},dependencies:[h.NgForOf,h.NgIf],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}.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}),z})(),Fe=(()=>{class z{constructor(V,te,Ee,Oe){this.ngZone=V,this.elRef=te,this.renderer=Ee,this.split=Oe,this._order=null,this._size=null,this._minSize=null,this._maxSize=null,this._lockSize=!1,this._visible=!0,this.lockListeners=[],this.renderer.addClass(this.elRef.nativeElement,"as-split-area")}set order(V){this._order=M(V,null),this.split.updateArea(this,!0,!1)}get order(){return this._order}set size(V){this._size=M(V,null),this.split.updateArea(this,!1,!0)}get size(){return this._size}set minSize(V){this._minSize=M(V,null),this.split.updateArea(this,!1,!0)}get minSize(){return this._minSize}set maxSize(V){this._maxSize=M(V,null),this.split.updateArea(this,!1,!0)}get maxSize(){return this._maxSize}set lockSize(V){this._lockSize=C(V),this.split.updateArea(this,!1,!0)}get lockSize(){return this._lockSize}set visible(V){this._visible=C(V),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}ngOnInit(){this.split.addArea(this),this.ngZone.runOutsideAngular(()=>{this.transitionListener=this.renderer.listen(this.elRef.nativeElement,"transitionend",V=>{"flex-basis"===V.propertyName&&this.split.notify("transitionEnd",-1)})})}setStyleOrder(V){this.renderer.setStyle(this.elRef.nativeElement,"order",V)}setStyleFlex(V,te,Ee,Oe,K){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",V),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",te),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",Ee),!0===Oe?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===K?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 V=this.lockListeners.pop();V&&V()}}ngOnDestroy(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.split.removeArea(this)}collapse(V=0,te="right"){this.split.collapseArea(this,V,te)}expand(){this.split.expandArea(this)}}return z.\u0275fac=function(V){return new(V||z)(n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(pe))},z.\u0275dir=n.\u0275\u0275defineDirective({type:z,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]}),z})(),it=(()=>{class z{static forRoot(){return console.warn("AngularSplitModule.forRoot() is deprecated and will be removed in v6"),{ngModule:z,providers:[]}}static forChild(){return console.warn("AngularSplitModule.forChild() is deprecated and will be removed in v6"),{ngModule:z,providers:[]}}}return z.\u0275fac=function(V){return new(V||z)},z.\u0275mod=n.\u0275\u0275defineNgModule({type:z}),z.\u0275inj=n.\u0275\u0275defineInjector({imports:[h.CommonModule]}),z})()},1017:(U,o,a)=>{"use strict";a.r(o),a.d(o,{NgxJsonViewerComponent:()=>y,NgxJsonViewerModule:()=>f});var n=a(5e3),h=a(9808);function _(b,v){1&b&&n.\u0275\u0275element(0,"div",9)}function u(b,v){if(1&b&&(n.\u0275\u0275elementStart(0,"span",10),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&b){const m=n.\u0275\u0275nextContext().$implicit;n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate(m.description)}}function r(b,v){if(1&b&&(n.\u0275\u0275elementStart(0,"section",11),n.\u0275\u0275element(1,"ngx-json-viewer",12),n.\u0275\u0275elementEnd()),2&b){const m=n.\u0275\u0275nextContext().$implicit,C=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275property("json",m.value)("expanded",C.expanded)("depth",C.depth)("_currentDepth",C._currentDepth+1)}}const c=function(b){return["segment",b]},d=function(b,v){return{"segment-main":!0,expandable:b,expanded:v}};function p(b,v){if(1&b){const m=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"section",2)(1,"section",3),n.\u0275\u0275listener("click",function(){const O=n.\u0275\u0275restoreView(m).$implicit,P=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(P.toggle(O))}),n.\u0275\u0275template(2,_,1,0,"div",4),n.\u0275\u0275elementStart(3,"span",5),n.\u0275\u0275text(4),n.\u0275\u0275elementEnd(),n.\u0275\u0275elementStart(5,"span",6),n.\u0275\u0275text(6,": "),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(7,u,2,1,"span",7),n.\u0275\u0275elementEnd(),n.\u0275\u0275template(8,r,2,4,"section",8),n.\u0275\u0275elementEnd()}if(2&b){const m=v.$implicit,C=n.\u0275\u0275nextContext();n.\u0275\u0275property("ngClass",n.\u0275\u0275pureFunction1(6,c,"segment-type-"+m.type)),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngClass",n.\u0275\u0275pureFunction2(8,d,C.isExpandable(m),m.expanded)),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",C.isExpandable(m)),n.\u0275\u0275advance(2),n.\u0275\u0275textInterpolate(m.key),n.\u0275\u0275advance(3),n.\u0275\u0275property("ngIf",!m.expanded||!C.isExpandable(m)),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",m.expanded&&C.isExpandable(m))}}let y=(()=>{class b{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(m=>{this.segments.push(this.parseKeyValue(m,this.json[m]))}):this.segments.push(this.parseKeyValue(`(${typeof this.json})`,this.json))}isExpandable(m){return"object"===m.type||"array"===m.type}toggle(m){this.isExpandable(m)&&(m.expanded=!m.expanded)}parseKeyValue(m,C){const M={key:m,value:C,type:void 0,description:""+C,expanded:this.isExpanded()};switch(typeof M.value){case"number":M.type="number";break;case"boolean":M.type="boolean";break;case"function":M.type="function";break;case"string":M.type="string",M.description='"'+M.value+'"';break;case"undefined":M.type="undefined",M.description="undefined";break;case"object":null===M.value?(M.type="null",M.description="null"):Array.isArray(M.value)?(M.type="array",M.description="Array["+M.value.length+"] "+JSON.stringify(M.value)):M.value instanceof Date?M.type="date":(M.type="object",M.description="Object "+JSON.stringify(M.value))}return M}isExpanded(){return this.expanded&&!(this.depth>-1&&this._currentDepth>=this.depth)}decycle(m){const C=new WeakMap;return function M(O,P){let N,Q;return"object"!=typeof O||null===O||O instanceof Boolean||O instanceof Date||O instanceof Number||O instanceof RegExp||O instanceof String?O:(N=C.get(O),void 0!==N?{$ref:N}:(C.set(O,P),Array.isArray(O)?(Q=[],O.forEach(function(H,G){Q[G]=M(H,P+"["+G+"]")})):(Q={},Object.keys(O).forEach(function(H){Q[H]=M(O[H],P+"["+JSON.stringify(H)+"]")})),Q))}(m,"$")}}return b.\u0275fac=function(m){return new(m||b)},b.\u0275cmp=n.\u0275\u0275defineComponent({type:b,selectors:[["ngx-json-viewer"]],inputs:{json:"json",expanded:"expanded",depth:"depth",_currentDepth:"_currentDepth"},features:[n.\u0275\u0275NgOnChangesFeature],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(m,C){1&m&&(n.\u0275\u0275elementStart(0,"section",0),n.\u0275\u0275template(1,p,9,11,"section",1),n.\u0275\u0275elementEnd()),2&m&&(n.\u0275\u0275advance(1),n.\u0275\u0275property("ngForOf",C.segments))},dependencies:[h.NgClass,h.NgForOf,h.NgIf,b],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}']}),b})(),f=(()=>{class b{}return b.\u0275fac=function(m){return new(m||b)},b.\u0275mod=n.\u0275\u0275defineNgModule({type:b}),b.\u0275inj=n.\u0275\u0275defineInjector({imports:[h.CommonModule]}),b})()},2290:(U,o,a)=>{"use strict";a.r(o),a.d(o,{BasePortalHost:()=>B,ComponentPortal:()=>G,DefaultGlobalConfig:()=>K,DefaultNoAnimationsGlobalConfig:()=>ye,DefaultNoComponentGlobalConfig:()=>oe,Overlay:()=>te,OverlayContainer:()=>V,OverlayRef:()=>q,TOAST_CONFIG:()=>pe,Toast:()=>Oe,ToastContainerDirective:()=>Q,ToastContainerModule:()=>H,ToastInjector:()=>it,ToastNoAnimation:()=>$,ToastNoAnimationModule:()=>Ce,ToastPackage:()=>X,ToastRef:()=>Fe,ToastrComponentlessModule:()=>Ae,ToastrModule:()=>ie,ToastrService:()=>Ee});var n=a(5e3),h=a(1777),_=a(7579),u=a(9808),r=a(2313);const c=["toast-component",""];function d(De,Ve){if(1&De){const Se=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",5),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(Se);const ut=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(ut.remove())}),n.\u0275\u0275elementStart(1,"span",6),n.\u0275\u0275text(2,"\xd7"),n.\u0275\u0275elementEnd()()}}function p(De,Ve){if(1&De&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275text(1),n.\u0275\u0275elementContainerEnd()),2&De){const Se=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("[",Se.duplicatesCount+1,"]")}}function y(De,Ve){if(1&De&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275text(1),n.\u0275\u0275template(2,p,2,1,"ng-container",4),n.\u0275\u0275elementEnd()),2&De){const Se=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Se.options.titleClass),n.\u0275\u0275attribute("aria-label",Se.title),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Se.title," "),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Se.duplicatesCount)}}function f(De,Ve){if(1&De&&n.\u0275\u0275element(0,"div",7),2&De){const Se=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Se.options.messageClass),n.\u0275\u0275property("innerHTML",Se.message,n.\u0275\u0275sanitizeHtml)}}function b(De,Ve){if(1&De&&(n.\u0275\u0275elementStart(0,"div",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&De){const Se=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Se.options.messageClass),n.\u0275\u0275attribute("aria-label",Se.message),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Se.message," ")}}function v(De,Ve){if(1&De&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275element(1,"div",9),n.\u0275\u0275elementEnd()),2&De){const Se=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("width",Se.width+"%")}}function m(De,Ve){if(1&De){const Se=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",5),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(Se);const ut=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(ut.remove())}),n.\u0275\u0275elementStart(1,"span",6),n.\u0275\u0275text(2,"\xd7"),n.\u0275\u0275elementEnd()()}}function C(De,Ve){if(1&De&&(n.\u0275\u0275elementContainerStart(0),n.\u0275\u0275text(1),n.\u0275\u0275elementContainerEnd()),2&De){const Se=n.\u0275\u0275nextContext(2);n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1("[",Se.duplicatesCount+1,"]")}}function M(De,Ve){if(1&De&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275text(1),n.\u0275\u0275template(2,C,2,1,"ng-container",4),n.\u0275\u0275elementEnd()),2&De){const Se=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Se.options.titleClass),n.\u0275\u0275attribute("aria-label",Se.title),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Se.title," "),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Se.duplicatesCount)}}function O(De,Ve){if(1&De&&n.\u0275\u0275element(0,"div",7),2&De){const Se=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Se.options.messageClass),n.\u0275\u0275property("innerHTML",Se.message,n.\u0275\u0275sanitizeHtml)}}function P(De,Ve){if(1&De&&(n.\u0275\u0275elementStart(0,"div",8),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&De){const Se=n.\u0275\u0275nextContext();n.\u0275\u0275classMap(Se.options.messageClass),n.\u0275\u0275attribute("aria-label",Se.message),n.\u0275\u0275advance(1),n.\u0275\u0275textInterpolate1(" ",Se.message," ")}}function N(De,Ve){if(1&De&&(n.\u0275\u0275elementStart(0,"div"),n.\u0275\u0275element(1,"div",9),n.\u0275\u0275elementEnd()),2&De){const Se=n.\u0275\u0275nextContext();n.\u0275\u0275advance(1),n.\u0275\u0275styleProp("width",Se.width+"%")}}let Q=(()=>{class De{constructor(Se){this.el=Se}getContainerElement(){return this.el.nativeElement}}return De.\u0275fac=function(Se){return new(Se||De)(n.\u0275\u0275directiveInject(n.ElementRef))},De.\u0275dir=n.\u0275\u0275defineDirective({type:De,selectors:[["","toastContainer",""]],exportAs:["toastContainer"]}),De})(),H=(()=>{class De{}return De.\u0275fac=function(Se){return new(Se||De)},De.\u0275mod=n.\u0275\u0275defineNgModule({type:De}),De.\u0275inj=n.\u0275\u0275defineInjector({}),De})();class G{constructor(Ve,Se){this.component=Ve,this.injector=Se}attach(Ve,Se){return this._attachedHost=Ve,Ve.attach(this,Se)}detach(){const Ve=this._attachedHost;if(Ve)return this._attachedHost=void 0,Ve.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(Ve){this._attachedHost=Ve}}class B{attach(Ve,Se){return this._attachedPortal=Ve,this.attachComponentPortal(Ve,Se)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(Ve){this._disposeFn=Ve}}class X{constructor(Ve,Se,Ue,ut,_t,bt){this.toastId=Ve,this.config=Se,this.message=Ue,this.title=ut,this.toastType=_t,this.toastRef=bt,this._onTap=new _.x,this._onAction=new _.x,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(Ve){this._onAction.next(Ve)}onAction(){return this._onAction.asObservable()}}const oe={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",payload:null},pe=new n.InjectionToken("ToastConfig");class Fe{constructor(Ve){this._overlayRef=Ve,this.duplicatesCount=0,this._afterClosed=new _.x,this._activate=new _.x,this._manualClose=new _.x,this._resetTimeout=new _.x,this._countDuplicate=new _.x}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(Ve,Se){Ve&&this._resetTimeout.next(),Se&&this._countDuplicate.next(++this.duplicatesCount)}}class it{constructor(Ve,Se){this._toastPackage=Ve,this._parentInjector=Se}get(Ve,Se,Ue){return Ve===X?this._toastPackage:this._parentInjector.get(Ve,Se,Ue)}}class z extends B{constructor(Ve,Se,Ue){super(),this._hostDomElement=Ve,this._componentFactoryResolver=Se,this._appRef=Ue}attachComponentPortal(Ve,Se){const Ue=this._componentFactoryResolver.resolveComponentFactory(Ve.component);let ut;return ut=Ue.create(Ve.injector),this._appRef.attachView(ut.hostView),this.setDisposeFn(()=>{this._appRef.detachView(ut.hostView),ut.destroy()}),Se?this._hostDomElement.insertBefore(this._getComponentRootNode(ut),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(ut)),ut}_getComponentRootNode(Ve){return Ve.hostView.rootNodes[0]}}class q{constructor(Ve){this._portalHost=Ve}attach(Ve,Se=!0){return this._portalHost.attach(Ve,Se)}detach(){return this._portalHost.detach()}}let V=(()=>{class De{constructor(Se){this._document=Se}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const Se=this._document.createElement("div");Se.classList.add("overlay-container"),Se.setAttribute("aria-live","polite"),this._document.body.appendChild(Se),this._containerElement=Se}}return De.\u0275fac=function(Se){return new(Se||De)(n.\u0275\u0275inject(u.DOCUMENT))},De.\u0275prov=n.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),te=(()=>{class De{constructor(Se,Ue,ut,_t){this._overlayContainer=Se,this._componentFactoryResolver=Ue,this._appRef=ut,this._document=_t,this._paneElements=new Map}create(Se,Ue){return this._createOverlayRef(this.getPaneElement(Se,Ue))}getPaneElement(Se="",Ue){return this._paneElements.get(Ue)||this._paneElements.set(Ue,{}),this._paneElements.get(Ue)[Se]||(this._paneElements.get(Ue)[Se]=this._createPaneElement(Se,Ue)),this._paneElements.get(Ue)[Se]}_createPaneElement(Se,Ue){const ut=this._document.createElement("div");return ut.id="toast-container",ut.classList.add(Se),ut.classList.add("toast-container"),Ue?Ue.getContainerElement().appendChild(ut):this._overlayContainer.getContainerElement().appendChild(ut),ut}_createPortalHost(Se){return new z(Se,this._componentFactoryResolver,this._appRef)}_createOverlayRef(Se){return new q(this._createPortalHost(Se))}}return De.\u0275fac=function(Se){return new(Se||De)(n.\u0275\u0275inject(V),n.\u0275\u0275inject(n.ComponentFactoryResolver),n.\u0275\u0275inject(n.ApplicationRef),n.\u0275\u0275inject(u.DOCUMENT))},De.\u0275prov=n.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),Ee=(()=>{class De{constructor(Se,Ue,ut,_t,bt){this.overlay=Ue,this._injector=ut,this.sanitizer=_t,this.ngZone=bt,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},Se.default),Se.config),Se.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},Se.default.iconClasses),Se.config.iconClasses))}show(Se,Ue,ut={},_t=""){return this._preBuildNotification(_t,Se,Ue,this.applyConfig(ut))}success(Se,Ue,ut={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",Se,Ue,this.applyConfig(ut))}error(Se,Ue,ut={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",Se,Ue,this.applyConfig(ut))}info(Se,Ue,ut={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",Se,Ue,this.applyConfig(ut))}warning(Se,Ue,ut={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",Se,Ue,this.applyConfig(ut))}clear(Se){for(const Ue of this.toasts)if(void 0!==Se){if(Ue.toastId===Se)return void Ue.toastRef.manualClose()}else Ue.toastRef.manualClose()}remove(Se){const Ue=this._findToast(Se);if(!Ue||(Ue.activeToast.toastRef.close(),this.toasts.splice(Ue.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 ut=this.toasts[this.currentlyActive].toastRef;ut.isInactive()||(this.currentlyActive=this.currentlyActive+1,ut.activate())}return!0}findDuplicate(Se="",Ue="",ut,_t){const{includeTitleDuplicates:bt}=this.toastrConfig;for(const dt of this.toasts){const $e=bt&&dt.title===Se;if((!bt||$e)&&dt.message===Ue)return dt.toastRef.onDuplicate(ut,_t),dt}return null}applyConfig(Se={}){return Object.assign(Object.assign({},this.toastrConfig),Se)}_findToast(Se){for(let Ue=0;Ue<this.toasts.length;Ue++)if(this.toasts[Ue].toastId===Se)return{index:Ue,activeToast:this.toasts[Ue]};return null}_preBuildNotification(Se,Ue,ut,_t){return _t.onActivateTick?this.ngZone.run(()=>this._buildNotification(Se,Ue,ut,_t)):this._buildNotification(Se,Ue,ut,_t)}_buildNotification(Se,Ue,ut,_t){if(!_t.toastComponent)throw new Error("toastComponent required");const bt=this.findDuplicate(ut,Ue,this.toastrConfig.resetTimeoutOnDuplicate&&_t.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&ut||Ue)&&this.toastrConfig.preventDuplicates&&null!==bt)return bt;this.previousToastMessage=Ue;let dt=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(dt=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const $e=this.overlay.create(_t.positionClass,this.overlayContainer);this.index=this.index+1;let Pe=Ue;Ue&&_t.enableHtml&&(Pe=this.sanitizer.sanitize(n.SecurityContext.HTML,Ue));const Le=new Fe($e),he=new X(this.index,_t,Pe,ut,Se,Le),Qe=new it(he,this._injector),Be=new G(_t.toastComponent,Qe),Ke=$e.attach(Be,this.toastrConfig.newestOnTop);Le.componentInstance=Ke.instance;const Y={toastId:this.index,title:ut||"",message:Ue||"",toastRef:Le,onShown:Le.afterActivate(),onHidden:Le.afterClosed(),onTap:he.onTap(),onAction:he.onAction(),portal:Ke};return dt||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{Y.toastRef.activate()})),this.toasts.push(Y),Y}}return De.\u0275fac=function(Se){return new(Se||De)(n.\u0275\u0275inject(pe),n.\u0275\u0275inject(te),n.\u0275\u0275inject(n.Injector),n.\u0275\u0275inject(r.DomSanitizer),n.\u0275\u0275inject(n.NgZone))},De.\u0275prov=n.\u0275\u0275defineInjectable({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),Oe=(()=>{class De{constructor(Se,Ue,ut){this.toastrService=Se,this.toastPackage=Ue,this.ngZone=ut,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=Ue.message,this.title=Ue.title,this.options=Ue.config,this.originalTimeout=Ue.config.timeOut,this.toastClasses=`${Ue.toastType} ${Ue.config.toastClass}`,this.sub=Ue.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Ue.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Ue.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Ue.toastRef.countDuplicate().subscribe(_t=>{this.duplicatesCount=_t})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign(Object.assign({},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 Se=(new Date).getTime();this.width=(this.hideTime-Se)/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=Object.assign(Object.assign({},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=Object.assign(Object.assign({},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&&(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(Se,Ue){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(Se),Ue)):this.timeout=setTimeout(()=>Se(),Ue)}outsideInterval(Se,Ue){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(Se),Ue)):this.intervalId=setInterval(()=>Se(),Ue)}runInsideAngular(Se){this.ngZone?this.ngZone.run(()=>Se()):Se()}}return De.\u0275fac=function(Se){return new(Se||De)(n.\u0275\u0275directiveInject(Ee),n.\u0275\u0275directiveInject(X),n.\u0275\u0275directiveInject(n.NgZone))},De.\u0275cmp=n.\u0275\u0275defineComponent({type:De,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(Se,Ue){1&Se&&n.\u0275\u0275listener("click",function(){return Ue.tapToast()})("mouseenter",function(){return Ue.stickAround()})("mouseleave",function(){return Ue.delayedHideToast()}),2&Se&&(n.\u0275\u0275syntheticHostProperty("@flyInOut",Ue.state),n.\u0275\u0275classMap(Ue.toastClasses),n.\u0275\u0275styleProp("display",Ue.displayStyle))},attrs:c,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(Se,Ue){1&Se&&(n.\u0275\u0275template(0,d,3,0,"button",0),n.\u0275\u0275template(1,y,3,5,"div",1),n.\u0275\u0275template(2,f,1,3,"div",2),n.\u0275\u0275template(3,b,2,4,"div",3),n.\u0275\u0275template(4,v,2,2,"div",4)),2&Se&&(n.\u0275\u0275property("ngIf",Ue.options.closeButton),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ue.title),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ue.message&&Ue.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ue.message&&!Ue.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ue.options.progressBar))},dependencies:[u.NgIf],encapsulation:2,data:{animation:[(0,h.X$)("flyInOut",[(0,h.SB)("inactive",(0,h.oB)({opacity:0})),(0,h.SB)("active",(0,h.oB)({opacity:1})),(0,h.SB)("removed",(0,h.oB)({opacity:0})),(0,h.eR)("inactive => active",(0,h.jt)("{{ easeTime }}ms {{ easing }}")),(0,h.eR)("active => removed",(0,h.jt)("{{ easeTime }}ms {{ easing }}"))])]}}),De})();const K=Object.assign(Object.assign({},oe),{toastComponent:Oe});let ie=(()=>{class De{static forRoot(Se={}){return{ngModule:De,providers:[{provide:pe,useValue:{default:K,config:Se}}]}}}return De.\u0275fac=function(Se){return new(Se||De)},De.\u0275mod=n.\u0275\u0275defineNgModule({type:De}),De.\u0275inj=n.\u0275\u0275defineInjector({imports:[[u.CommonModule]]}),De})(),Ae=(()=>{class De{static forRoot(Se={}){return{ngModule:ie,providers:[{provide:pe,useValue:{default:oe,config:Se}}]}}}return De.\u0275fac=function(Se){return new(Se||De)},De.\u0275mod=n.\u0275\u0275defineNgModule({type:De}),De.\u0275inj=n.\u0275\u0275defineInjector({imports:[[u.CommonModule]]}),De})(),$=(()=>{class De{constructor(Se,Ue,ut){this.toastrService=Se,this.toastPackage=Ue,this.appRef=ut,this.width=-1,this.toastClasses="",this.state="inactive",this.message=Ue.message,this.title=Ue.title,this.options=Ue.config,this.originalTimeout=Ue.config.timeOut,this.toastClasses=`${Ue.toastType} ${Ue.config.toastClass}`,this.sub=Ue.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=Ue.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=Ue.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=Ue.toastRef.countDuplicate().subscribe(_t=>{this.duplicatesCount=_t})}get displayStyle(){if("inactive"===this.state)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!(!0===this.options.disableTimeOut||"timeOut"===this.options.disableTimeOut)&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const Se=(new Date).getTime();this.width=(this.hideTime-Se)/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="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state&&(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||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}}return De.\u0275fac=function(Se){return new(Se||De)(n.\u0275\u0275directiveInject(Ee),n.\u0275\u0275directiveInject(X),n.\u0275\u0275directiveInject(n.ApplicationRef))},De.\u0275cmp=n.\u0275\u0275defineComponent({type:De,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(Se,Ue){1&Se&&n.\u0275\u0275listener("click",function(){return Ue.tapToast()})("mouseenter",function(){return Ue.stickAround()})("mouseleave",function(){return Ue.delayedHideToast()}),2&Se&&(n.\u0275\u0275classMap(Ue.toastClasses),n.\u0275\u0275styleProp("display",Ue.displayStyle))},attrs:c,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(Se,Ue){1&Se&&(n.\u0275\u0275template(0,m,3,0,"button",0),n.\u0275\u0275template(1,M,3,5,"div",1),n.\u0275\u0275template(2,O,1,3,"div",2),n.\u0275\u0275template(3,P,2,4,"div",3),n.\u0275\u0275template(4,N,2,2,"div",4)),2&Se&&(n.\u0275\u0275property("ngIf",Ue.options.closeButton),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ue.title),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ue.message&&Ue.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ue.message&&!Ue.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",Ue.options.progressBar))},dependencies:[u.NgIf],encapsulation:2}),De})();const ye=Object.assign(Object.assign({},oe),{toastComponent:$});let Ce=(()=>{class De{static forRoot(Se={}){return{ngModule:De,providers:[{provide:pe,useValue:{default:ye,config:Se}}]}}}return De.\u0275fac=function(Se){return new(Se||De)},De.\u0275mod=n.\u0275\u0275defineNgModule({type:De}),De.\u0275inj=n.\u0275\u0275defineInjector({imports:[[u.CommonModule]]}),De})()},4147:U=>{"use strict";U.exports=JSON.parse('{"name":"@sdkgen/playground","version":"0.0.0-dev.20230120145236","description":"","main":"index.js","types":"index.d.ts","repository":{"type":"git","url":"git+https://github.com/sdkgen/sdkgen.git"},"publishConfig":{"access":"public"},"scripts":{"eslint:fix":"eslint --fix \'src/**/*.{t,j}s\'","eslint:check":"eslint \'src/**/*.{t,j}s\'","ng":"ng","start":"ng serve","build":"ng build","build:stats":"ng build --stats-json","analyze":"webpack-bundle-analyzer dist/stats.json","watch":"ng build --watch --configuration development"},"dependencies":{},"devDependencies":{"@angular-devkit/build-angular":"~14.1.0","@angular/animations":"~14.1.0","@angular/cdk":"~14.1.0","@angular/cli":"~14.1.0","@angular/common":"~14.1.0","@angular/compiler":"~14.1.0","@angular/compiler-cli":"~14.1.0","@angular/core":"~14.1.0","@angular/forms":"~14.1.0","@angular/material":"~14.1.0","@angular/platform-browser":"~14.1.0","@angular/platform-browser-dynamic":"~14.1.0","@angular/router":"~14.1.0","@cubos/eslint-config":"^2.0.0","@materia-ui/ngx-monaco-editor":"^6.0.0","@sdkgen/browser-runtime":"file:../browser-runtime","@sdkgen/csharp-generator":"file:../csharp-generator","@sdkgen/dart-generator":"file:../dart-generator","@sdkgen/fsharp-generator":"file:../fsharp-generator","@sdkgen/kotlin-generator":"file:../kotlin-generator","@sdkgen/parser":"file:../parser","@sdkgen/swift-generator":"file:../swift-generator","@sdkgen/typescript-generator":"file:../typescript-generator","@types/file-saver":"^2.0.5","@types/node":"^16.0.0","angular-split":"^14.0.0","file-saver":"^2.0.5","json":"^11.0.0","monaco-editor":"^0.33.0","ngx-json-viewer":"^3.0.2","ngx-toastr":"^14.3.0","rxjs":"~7.5.5","tslib":"^2.2.0","typescript":"~4.7.0","webpack-bundle-analyzer":"^4.5.0","zone.js":"~0.11.5"}}')}},U=>{U(U.s=4431)}]);