@sdkgen/playground 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/angular.json +2 -1
- package/dist/3rdpartylicenses.txt +27 -0
- package/dist/index.html +5 -5
- package/dist/main.5daac479644281df.js +1 -0
- package/dist/polyfills.26ec4e41250220ec.js +1 -0
- package/dist/styles.faa0cdb0ceb032a5.css +1 -0
- package/package.json +16 -16
- package/dist/main.86ecb3dfe4ed0786.js +0 -1
- package/dist/polyfills.3fda8322df04f1b3.js +0 -1
- package/dist/styles.7c84774591d5f735.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunksdkgen_playground=self.webpackChunksdkgen_playground||[]).push([[179],{4602:function(H,o,a){"use strict";var b,n=this&&this.__extends||(b=function(g,m){return(b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(C,M){C.__proto__=M}||function(C,M){for(var P in M)Object.prototype.hasOwnProperty.call(M,P)&&(C[P]=M[P])})(g,m)},function(g,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=g}b(g,m),g.prototype=null===m?Object.create(m):(C.prototype=m.prototype,new C)}),h=this&&this.__spreadArray||function(b,g,m){if(m||2===arguments.length)for(var P,C=0,M=g.length;C<M;C++)(P||!(C in g))&&(P||(P=Array.prototype.slice.call(g,0,C)),P[C]=g[C]);return b.concat(P||Array.prototype.slice.call(g))},_=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 g(m,C,M){var P;try{P=JSON.stringify(M)}catch(O){P=String(M)}return b.call(this,"Invalid type at '".concat(m,"', expected ").concat(C,", got ").concat(P))||this}return n(g,b),g}(Error);function p(b,g,m){if("json"===g)return null==m?null:JSON.parse(JSON.stringify(m));if("bool"===g){if("boolean"!=typeof m)throw new d(b,g,m);return m}if(r.indexOf(g)>=0){if("string"!=typeof m)throw new d(b,g,m);return m}if("hex"===g){if("string"!=typeof m||!/^(?:[A-Fa-f0-9]{2})*$/u.test(m))throw new d(b,g,m);return m.toLowerCase()}if("uuid"===g){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,g,m);return m.toLowerCase()}if("base64"===g){var C=!0;try{atob(m)}catch(P){C=!1}if("string"!=typeof m||!C)throw new d(b,g,m);return m}if("int"===g){if("number"!=typeof m||(0|m)!==m)throw new d(b,g,m);return m}if("uint"===g){if("number"!=typeof m||(0|m)!==m||m<0)throw new d(b,g,m);return m}if("float"===g){if("number"!=typeof m)throw new d(b,g,m);return m}if("money"===g){if("number"!=typeof m||!Number.isInteger(m))throw new d(b,g,m);return m}if("url"===g){var M=void 0;if("string"==typeof m)try{M=new URL(m)}catch(P){}if(!M)throw new d(b,g,m);return M.toString()}if("void"===g)return null;throw new Error("Unknown type '".concat(g,"' at '").concat(b,"'"))}o.encode=function y(b,g,m,C){if("string"==typeof m&&!m.endsWith("?")&&"void"!==m&&null==C)throw new Error("Invalid type at '".concat(g,"', cannot be null"));if(Array.isArray(m)){for(var M=0,P=m;M<P.length;M++){var O=P[M];if(O===C)return C;if(Array.isArray(C)&&2===C.length&&O===C[0])return C[0];if(Array.isArray(O)&&2===O.length){if(O[0]===C)return[C,y(b,"".concat(g,".").concat(O[0]),O[1],{})];if(Array.isArray(C)&&2===C.length&&O[0]===C[0])return[C[0],y(b,"".concat(g,".").concat(O[0]),O[1],C[1])]}}throw new d(g,m,C)}if("object"==typeof m){if("object"!=typeof C)throw new d(g,m,C);for(var j={},Z=0,U=Object.keys(m);Z<U.length;Z++){var G=U[Z];j[G]=y(b,"".concat(g,".").concat(G),m[G],C[G])}return j}if(m.endsWith("?"))return null==C?null:y(b,g,m.slice(0,m.length-1),C);if(m.endsWith("[]")){if(!Array.isArray(C))throw new d(g,m,C);return C.map(function(X,oe){return y(b,"".concat(g,"[").concat(oe,"]"),m.slice(0,m.length-2),X)})}if(c.indexOf(m)>=0)return p(g,m,C);if("bytes"===m){if(!(C instanceof ArrayBuffer))throw new d(g,m,C);return btoa(String.fromCharCode.apply(String,new Uint8Array(C)))}if("bigint"===m){if("bigint"!=typeof C)throw new d(g,m,C);return C.toString()}if("cpf"===m){if("string"!=typeof C)throw new d(g,m,C);return C}if("cnpj"===m){if("string"!=typeof C)throw new d(g,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(g,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(g,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(g,m,C);return new u.default(C).toString()}var B=b[m];if(B)return y(b,g,B,C);throw new Error("Unknown type '".concat(m,"' at '").concat(g,"'"))},o.decode=function f(b,g,m,C){if("string"==typeof m&&!m.endsWith("?")&&"void"!==m&&null==C)throw new Error("Invalid type at '".concat(g,"', cannot be null"));if(Array.isArray(m)){for(var M=0,P=m;M<P.length;M++){var O=P[M];if(O===C)return C;if(Array.isArray(C)&&2===C.length&&O===C[0])return C[0];if(Array.isArray(O)&&2===O.length){if(O[0]===C)return[C,f(b,"".concat(g,".").concat(O[0]),O[1],{})];if(Array.isArray(C)&&2===C.length&&O[0]===C[0])return[C[0],f(b,"".concat(g,".").concat(O[0]),O[1],C[1])]}}throw new d(g,m,C)}if("object"==typeof m){if("object"!=typeof C)throw new d(g,m,C);for(var j={},Z=0,U=Object.keys(m);Z<U.length;Z++){var G=U[Z];j[G]=f(b,"".concat(g,".").concat(G),m[G],C[G])}return j}if(m.endsWith("?"))return null==C?null:f(b,g,m.slice(0,m.length-1),C);if(m.endsWith("[]")){if(!Array.isArray(C))throw new d(g,m,C);return C.map(function(it,z){return f(b,"".concat(g,"[").concat(z,"]"),m.slice(0,m.length-2),it)})}if(c.indexOf(m)>=0)return p(g,m,C);if("bytes"!==m){if("bigint"===m){if("number"!=typeof C&&("string"!=typeof C||!/^-?[0-9]+$/u.test(C)))throw new d(g,m,C);return BigInt(C)}if("cpf"===m){if("string"!=typeof C)throw new d(g,m,C);return C}if("cnpj"===m){if("string"!=typeof C)throw new d(g,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(g,m,C);var B=parseInt(C.split("-")[2],10),X=parseInt(C.split("-")[1],10)-1,oe=parseInt(C.split("-")[0],10),he=new Date(oe,X,B);if(he.getFullYear()!==oe||he.getMonth()!==X||he.getDate()!==B)throw new d(g,m,C);return he}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(g,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(g,m,C);return new u.default(C)}var xe=b[m];if(xe)return f(b,g,xe,C);throw new Error("Unknown type '".concat(m,"' at '").concat(g,"'"))}if("string"!=typeof C)throw new d(g,"".concat(m," (base 64)"),C);try{return Uint8Array.from(atob(C),function(it){return it.charCodeAt(0)})}catch(it){throw new d(g,"".concat(m," (base 64)"),C)}}},2837:function(H,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(H,o,a){"use strict";var n=this&&this.__awaiter||function(y,f,b,g){return new(b||(b=Promise))(function(C,M){function P(Z){try{j(g.next(Z))}catch(U){M(U)}}function O(Z){try{j(g.throw(Z))}catch(U){M(U)}}function j(Z){Z.done?C(Z.value):function m(C){return C instanceof b?C:new b(function(M){M(C)})}(Z.value).then(P,O)}j((g=g.apply(y,f||[])).next())})},h=this&&this.__generator||function(y,f){var g,m,C,M,b={label:0,sent:function(){if(1&C[0])throw C[1];return C[1]},trys:[],ops:[]};return M={next:P(0),throw:P(1),return:P(2)},"function"==typeof Symbol&&(M[Symbol.iterator]=function(){return this}),M;function P(j){return function(Z){return function O(j){if(g)throw new TypeError("Generator is already executing.");for(;b;)try{if(g=1,m&&(C=2&j[0]?m.return:j[0]?m.throw||((C=m.return)&&C.call(m),0):m.next)&&!(C=C.call(m,j[1])).done)return C;switch(m=0,C&&(j=[2&j[0],C.value]),j[0]){case 0:case 1:C=j;break;case 4:return b.label++,{value:j[1],done:!1};case 5:b.label++,m=j[1],j=[0];continue;case 7:j=b.ops.pop(),b.trys.pop();continue;default:if(!(C=(C=b.trys).length>0&&C[C.length-1])&&(6===j[0]||2===j[0])){b=0;continue}if(3===j[0]&&(!C||j[1]>C[0]&&j[1]<C[3])){b.label=j[1];break}if(6===j[0]&&b.label<C[1]){b.label=C[1],C=j;break}if(C&&b.label<C[2]){b.label=C[2],b.ops.push(j);break}C[2]&&b.ops.pop(),b.trys.pop();continue}j=f.call(y,b)}catch(Z){j=[6,Z],m=0}finally{g=C=0}if(5&j[0])throw j[1];return{value:j[0]?j[1]:void 0,done:!0}}([j,Z])}}};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,g){this.baseUrl=f,this.astJson=b,this.errClasses=g,this.extra=new Map,this.successHook=function(){},this.errorHook=function(){}}return y.prototype.makeRequest=function(f,b){var g,m;return n(this,void 0,void 0,function(){var C,M,P,O,j,Z=this;return h(this,function(U){switch(U.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}),P={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===(g=document.currentScript)||void 0===g?void 0:g.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(Z.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(xe){var he={message:"".concat(xe),type:"Fatal"};B(he)}}catch(xe){B(he={message:"Falha de conex\xe3o com o servidor",type:"Fatal"})}},X.send(JSON.stringify(P))}).catch(function(G){var B;if(Z.errorHook(G,f,b),d(G,"type")&&d(G,"message")&&"string"==typeof G.type&&"string"==typeof G.message){var X=null!==(B=Z.errClasses[G.type])&&void 0!==B?B:Z.errClasses.Fatal,oe=X.name,he=Z.astJson.errors.find(function(it){return Array.isArray(it)?it[0]===oe:it===oe}),xe=void 0;throw(xe=he&&Array.isArray(he)&&d(G,"data")?new X(G.message,(0,_.decode)(Z.astJson.typeTable,"".concat(X.name,".data"),he[1],G.data)):new X(G.message,void 0)).type||(xe.type=oe),xe}throw G})];case 1:return O=U.sent(),j=(0,_.decode)(this.astJson.typeTable,"".concat(f,".ret"),C.ret,O),this.successHook(j,f,b),[2,j]}})})},y}();o.SdkgenHttpClient=p},4539:function(H,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(H,o,a){var n;!function(h){"use strict";var g,_=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,P=y(M/7),O={};function j(K,ie){var Ae,$,ye,Ce,De,Be,Se,He,dt=K.constructor,bt=dt.precision;if(!K.s||!ie.s)return ie.s||(ie=new dt(K)),r?z(ie,bt):ie;if(He=ie.d,De=K.e,ye=ie.e,Se=(Se=K.d).slice(),Ce=De-ye){for(Ce<0?($=Se,Ce=-Ce,Be=He.length):($=He,ye=De,Be=Se.length),Ce>(Be=(De=Math.ceil(bt/7))>Be?De+1:Be+1)&&(Ce=Be,$.length=1),$.reverse();Ce--;)$.push(0);$.reverse()}for((Be=Se.length)-(Ce=He.length)<0&&(Ce=Be,$=He,He=Se,Se=$),Ae=0;Ce;)Ae=(Se[--Ce]=Se[Ce]+He[Ce]+Ae)/m|0,Se[Ce]%=m;for(Ae&&(Se.unshift(Ae),++ye),Be=Se.length;0==Se[--Be];)Se.pop();return ie.d=Se,ie.e=ye,r?z(ie,bt):ie}function Z(K,ie,Ae){if(K!==~~K||K<ie||K>Ae)throw Error(d+K)}function U(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+=he(Ae)),Ce+=$;(Ae=7-($=(De=K[ie])+"").length)&&(Ce+=he(Ae))}else if(0===De)return"0";for(;De%10==0;)De/=10;return Ce+De}O.absoluteValue=O.abs=function(){var K=new this.constructor(this);return K.s&&(K.s=1),K},O.comparedTo=O.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},O.decimalPlaces=O.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},O.dividedBy=O.div=function(K){return G(this,new this.constructor(K))},O.dividedToIntegerBy=O.idiv=function(K){var Ae=this.constructor;return z(G(this,new Ae(K),0,1),Ae.precision)},O.equals=O.eq=function(K){return!this.cmp(K)},O.exponent=function(){return X(this)},O.greaterThan=O.gt=function(K){return this.cmp(K)>0},O.greaterThanOrEqualTo=O.gte=function(K){return this.cmp(K)>=0},O.isInteger=O.isint=function(){return this.e>this.d.length-2},O.isNegative=O.isneg=function(){return this.s<0},O.isPositive=O.ispos=function(){return this.s>0},O.isZero=function(){return 0===this.s},O.lessThan=O.lt=function(K){return this.cmp(K)<0},O.lessThanOrEqualTo=O.lte=function(K){return this.cmp(K)<1},O.logarithm=O.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(g))throw Error(c+"NaN");if(Ae.s<1)throw Error(c+(Ae.s?"NaN":"-Infinity"));return Ae.eq(g)?new $(0):(r=!1,ie=G(xe(Ae,Ce),xe(K,Ce),Ce),r=!0,z(ie,ye))},O.minus=O.sub=function(K){return K=new this.constructor(K),this.s==K.s?q(this,K):j(this,(K.s=-K.s,K))},O.modulo=O.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)},O.naturalExponential=O.exp=function(){return B(this)},O.naturalLogarithm=O.ln=function(){return xe(this)},O.negated=O.neg=function(){var K=new this.constructor(this);return K.s=-K.s||0,K},O.plus=O.add=function(K){return K=new this.constructor(K),this.s==K.s?j(this,K):q(this,(K.s=-K.s,K))},O.precision=O.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},O.squareRoot=O.sqrt=function(){var K,ie,Ae,$,ye,Ce,De,Be=this,Se=Be.constructor;if(Be.s<1){if(!Be.s)return new Se(0);throw Error(c+"NaN")}for(K=X(Be),r=!1,0==(ye=Math.sqrt(+Be))||ye==1/0?(((ie=U(Be.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(Be,Ce,De+2)).times(.5),U(Ce.d).slice(0,De)===(ie=U($.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(Be)){$=Ce;break}}else if("9999"!=ie)break;De+=4}return r=!0,z($,Ae)},O.times=O.mul=function(K){var ie,Ae,$,ye,Ce,De,Be,Se,He,dt=this,bt=dt.constructor,ct=dt.d,pt=(K=new bt(K)).d;if(!dt.s||!K.s)return new bt(0);for(K.s*=dt.s,Ae=dt.e+K.e,(Se=ct.length)<(He=pt.length)&&(Ce=ct,ct=pt,pt=Ce,De=Se,Se=He,He=De),Ce=[],$=De=Se+He;$--;)Ce.push(0);for($=He;--$>=0;){for(ie=0,ye=Se+$;ye>$;)Be=Ce[ye]+pt[$]*ct[ye-$-1]+ie,Ce[ye--]=Be%m|0,ie=Be/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,bt.precision):K},O.toDecimalPlaces=O.todp=function(K,ie){var Ae=this,$=Ae.constructor;return Ae=new $(Ae),void 0===K?Ae:(Z(K,0,_),void 0===ie?ie=$.rounding:Z(ie,0,8),z(Ae,K+X(Ae)+1,ie))},O.toExponential=function(K,ie){var Ae,$=this,ye=$.constructor;return void 0===K?Ae=V($,!0):(Z(K,0,_),void 0===ie?ie=ye.rounding:Z(ie,0,8),Ae=V($=z(new ye($),K+1,ie),!0,K+1)),Ae},O.toFixed=function(K,ie){var Ae,$,ye=this,Ce=ye.constructor;return void 0===K?V(ye):(Z(K,0,_),void 0===ie?ie=Ce.rounding:Z(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)},O.toInteger=O.toint=function(){var K=this,ie=K.constructor;return z(new ie(K),X(K)+1,ie.rounding)},O.toNumber=function(){return+this},O.toPower=O.pow=function(K){var ie,Ae,$,ye,Ce,Be=this,Se=Be.constructor,dt=+(K=new Se(K));if(!K.s)return new Se(g);if(!(Be=new Se(Be)).s){if(K.s<1)throw Error(c+"Infinity");return Be}if(Be.eq(g))return Be;if($=Se.precision,K.eq(g))return z(Be,$);if(Ce=Be.s,(ie=K.e)>=(Ae=K.d.length-1)){if((Ae=dt<0?-dt:dt)<=M){for(ye=new Se(g),ie=Math.ceil($/7+4),r=!1;Ae%2&&te((ye=ye.times(Be)).d,ie),0!==(Ae=y(Ae/2));)te((Be=Be.times(Be)).d,ie);return r=!0,K.s<0?new Se(g).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,Be.s=1,r=!1,ye=K.times(xe(Be,$+12)),r=!0,(ye=B(ye)).s=Ce,ye},O.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):(Z(K,1,_),void 0===ie?ie=Ce.rounding:Z(ie,0,8),$=V(ye=z(new Ce(ye),K,ie),K<=(Ae=X(ye))||Ae<=Ce.toExpNeg,K)),$},O.toSignificantDigits=O.tosd=function(K,ie){var $=this.constructor;return void 0===K?(K=$.precision,ie=$.rounding):(Z(K,1,_),void 0===ie?ie=$.rounding:Z(ie,0,8)),z(new $(this),K,ie)},O.toString=O.valueOf=O.val=O.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,Be=$.length;for($=$.slice();Be--;)$[Be]=(Ce=$[Be]*ye+De)%m|0,De=Ce/m|0;return De&&$.unshift(De),$}function ie($,ye,Ce,De){var Be,Se;if(Ce!=De)Se=Ce>De?1:-1;else for(Be=Se=0;Be<Ce;Be++)if($[Be]!=ye[Be]){Se=$[Be]>ye[Be]?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 Be,Se,He,dt,bt,ct,pt,Xe,Pe,je,pe,Ye,Ve,Ge,Y,Te,Ue,Le,ze=$.constructor,ve=$.s==ye.s?1:-1,$e=$.d,ut=ye.d;if(!$.s)return new ze($);if(!ye.s)throw Error(c+"Division by zero");for(Se=$.e-ye.e,Ue=ut.length,Y=$e.length,Xe=(pt=new ze(ve)).d=[],He=0;ut[He]==($e[He]||0);)++He;if(ut[He]>($e[He]||0)&&--Se,(Ye=null==Ce?Ce=ze.precision:De?Ce+(X($)-X(ye))+1:Ce)<0)return new ze(0);if(Ye=Ye/7+2|0,He=0,1==Ue)for(dt=0,ut=ut[0],Ye++;(He<Y||dt)&&Ye--;He++)Xe[He]=(Ve=dt*m+($e[He]||0))/ut|0,dt=Ve%ut|0;else{for((dt=m/(ut[0]+1)|0)>1&&(ut=K(ut,dt),$e=K($e,dt),Ue=ut.length,Y=$e.length),Ge=Ue,je=(Pe=$e.slice(0,Ue)).length;je<Ue;)Pe[je++]=0;(Le=ut.slice()).unshift(0),Te=ut[0],ut[1]>=m/2&&++Te;do{dt=0,(Be=ie(ut,Pe,Ue,je))<0?(pe=Pe[0],Ue!=je&&(pe=pe*m+(Pe[1]||0)),(dt=pe/Te|0)>1?(dt>=m&&(dt=m-1),1==(Be=ie(bt=K(ut,dt),Pe,ct=bt.length,je=Pe.length))&&(dt--,Ae(bt,Ue<ct?Le:ut,ct))):(0==dt&&(Be=dt=1),bt=ut.slice()),(ct=bt.length)<je&&bt.unshift(0),Ae(Pe,bt,je),-1==Be&&(Be=ie(ut,Pe,Ue,je=Pe.length))<1&&(dt++,Ae(Pe,Ue<je?Le:ut,je)),je=Pe.length):0===Be&&(dt++,Pe=[0]),Xe[He++]=dt,Be&&Pe[0]?Pe[je++]=$e[Ge]||0:(Pe=[$e[Ge]],je=1)}while((Ge++<Y||void 0!==Pe[0])&&Ye--)}return Xe[0]||Xe.shift(),pt.e=Se,z(pt,De?Ce+X(pt)+1:Ce)}}();function B(K,ie){var Ae,ye,Ce,De,Be,Se=0,He=0,dt=K.constructor,bt=dt.precision;if(X(K)>16)throw Error(p+X(K));if(!K.s)return new dt(g);for(null==ie?(r=!1,Be=bt):Be=ie,De=new dt(.03125);K.abs().gte(.1);)K=K.times(De),He+=5;for(Be+=Math.log(f(2,He))/Math.LN10*2+5|0,Ae=ye=Ce=new dt(g),dt.precision=Be;;){if(ye=z(ye.times(K),Be),Ae=Ae.times(++Se),U((De=Ce.plus(G(ye,Ae,Be))).d).slice(0,Be)===U(Ce.d).slice(0,Be)){for(;He--;)Ce=z(Ce.times(Ce),Be);return dt.precision=bt,null==ie?(r=!0,z(Ce,bt)):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 he(K){for(var ie="";K--;)ie+="0";return ie}function xe(K,ie){var Ae,$,ye,Ce,De,Be,Se,He,dt,bt=1,pt=K,Xe=pt.d,Pe=pt.constructor,je=Pe.precision;if(pt.s<1)throw Error(c+(pt.s?"NaN":"-Infinity"));if(pt.eq(g))return new Pe(0);if(null==ie?(r=!1,He=je):He=ie,pt.eq(10))return null==ie&&(r=!0),oe(Pe,He);if(Pe.precision=He+=10,$=(Ae=U(Xe)).charAt(0),Ce=X(pt),!(Math.abs(Ce)<15e14))return Se=oe(Pe,He+2,je).times(Ce+""),pt=xe(new Pe($+"."+Ae.slice(1)),He-10).plus(Se),Pe.precision=je,null==ie?(r=!0,z(pt,je)):pt;for(;$<7&&1!=$||1==$&&Ae.charAt(1)>3;)$=(Ae=U((pt=pt.times(K)).d)).charAt(0),bt++;for(Ce=X(pt),$>1?(pt=new Pe("0."+Ae),Ce++):pt=new Pe($+"."+Ae.slice(1)),Be=De=pt=G(pt.minus(g),pt.plus(g),He),dt=z(pt.times(pt),He),ye=3;;){if(De=z(De.times(dt),He),U((Se=Be.plus(G(De,new Pe(ye),He))).d).slice(0,He)===U(Be.d).slice(0,He))return Be=Be.times(2),0!==Ce&&(Be=Be.plus(oe(Pe,He+2,je).times(Ce+""))),Be=G(Be,new Pe(bt),He),Pe.precision=je,null==ie?(r=!0,z(Be,je)):Be;Be=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>P||K.e<-P))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,Be,Se,He,dt,bt=K.d;for(De=1,Ce=bt[0];Ce>=10;Ce/=10)De++;if(($=ie-De)<0)$+=7,ye=ie,He=bt[dt=0];else{if((dt=Math.ceil(($+1)/7))>=(Ce=bt.length))return K;for(He=Ce=bt[dt],De=1;Ce>=10;Ce/=10)De++;ye=($%=7)-7+De}if(void 0!==Ae&&(Be=He/(Ce=f(10,De-ye-1))%10|0,Se=ie<0||void 0!==bt[dt+1]||He%Ce,Se=Ae<4?(Be||Se)&&(0==Ae||Ae==(K.s<0?3:2)):Be>5||5==Be&&(4==Ae||Se||6==Ae&&($>0?ye>0?He/f(10,De-ye):0:bt[dt-1])%10&1||Ae==(K.s<0?8:7))),ie<1||!bt[0])return Se?(Ce=X(K),bt.length=1,bt[0]=f(10,(7-(ie=ie-Ce-1)%7)%7),K.e=y(-ie/7)||0):(bt.length=1,bt[0]=K.e=K.s=0),K;if(0==$?(bt.length=dt,Ce=1,dt--):(bt.length=dt+1,Ce=f(10,7-$),bt[dt]=ye>0?(He/f(10,De-ye)%f(10,ye)|0)*Ce:0),Se)for(;;){if(0==dt){(bt[0]+=Ce)==m&&(bt[0]=1,++K.e);break}if(bt[dt]+=Ce,bt[dt]!=m)break;bt[dt--]=0,Ce=1}for($=bt.length;0===bt[--$];)bt.pop();if(r&&(K.e>P||K.e<-P))throw Error(p+X(K));return K}function q(K,ie){var Ae,$,ye,Ce,De,Be,Se,He,dt,bt,ct=K.constructor,pt=ct.precision;if(!K.s||!ie.s)return ie.s?ie.s=-ie.s:ie=new ct(K),r?z(ie,pt):ie;if(bt=ie.d,$=ie.e,He=K.e,Se=(Se=K.d).slice(),De=He-$){for((dt=De<0)?(Ae=Se,De=-De,Be=bt.length):(Ae=bt,$=He,Be=Se.length),De>(ye=Math.max(Math.ceil(pt/7),Be)+2)&&(De=ye,Ae.length=1),Ae.reverse(),ye=De;ye--;)Ae.push(0);Ae.reverse()}else{for((dt=(ye=Se.length)<(Be=bt.length))&&(Be=ye),ye=0;ye<Be;ye++)if(Se[ye]!=bt[ye]){dt=Se[ye]<bt[ye];break}De=0}for(dt&&(Ae=Se,Se=bt,bt=Ae,ie.s=-ie.s),ye=bt.length-(Be=Se.length);ye>0;--ye)Se[Be++]=0;for(ye=bt.length;ye>De;){if(Se[--ye]<bt[ye]){for(Ce=ye;Ce&&0===Se[--Ce];)Se[Ce]=m-1;--Se[Ce],Se[ye]+=m}Se[ye]-=bt[ye]}for(;0===Se[--Be];)Se.pop();for(;0===Se[0];Se.shift())--$;return Se[0]?(ie.d=Se,ie.e=$,r?z(ie,pt):ie):new ct(0)}function V(K,ie,Ae){var $,ye=X(K),Ce=U(K.d),De=Ce.length;return ie?(Ae&&($=Ae-De)>0?Ce=Ce.charAt(0)+"."+Ce.slice(1)+he($):De>1&&(Ce=Ce.charAt(0)+"."+Ce.slice(1)),Ce=Ce+(ye<0?"e":"e+")+ye):ye<0?(Ce="0."+he(-ye-1)+Ce,Ae&&($=Ae-De)>0&&(Ce+=he($))):ye>=De?(Ce+=he(ye+1-De),Ae&&($=Ae-ye-1)>0&&(Ce=Ce+"."+he($))):(($=ye+1)<De&&(Ce=Ce.slice(0,$)+"."+Ce.slice($)),Ae&&($=Ae-De)>0&&(ye+1===De&&(Ce+="."),Ce+=he($))),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=O,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,g=new u(1),void 0!==(n=function(){return u}.call(o,a,o,H))&&(H.exports=n)}()},3905:(H,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:(H,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(g){return h.includes(g)?`@${g}`:g}function c(g){return g[0].toUpperCase()+g.slice(1)}function d(g){switch(g.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(g.base)}?`;case n.ArrayType:return`List<${d(g.base)}>`;case n.StructType:case n.EnumType:return g.name;case n.TypeReference:return d(g.type);default:throw new Error(`BUG: generateTypeName with ${g.constructor.name}`)}}function p(g,m,C,M,P=1,O=!0){switch(g.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(g.type,m,C,M,P);case n.OptionalType:if(u.includes(g.base.constructor)){const j=`${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(g.base)} ${j};\n ${p(g.base,m,C,j,P,!1).replace(/\n/gu,"\n ")}\n ${M} = ${j};\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(g.base,m,C,M,P,!1).replace(/\n/gu,"\n ")}\n }\n `.replace(/\n {20}/gu,"\n").trim();case n.EnumType:case n.StructType:return`${M} = Decode${g.name}(${m}, ${C});`;case n.JsonPrimitiveType:return O?`\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(g)}();\n for (var i${P} = 0; i${P} < ${m}.GetArrayLength(); ++i${P})\n {\n ${d(g.base)} element${P};\n ${p(g.base,`${m}[i${P}]`,`$"{${C}}[{i${P}}]"`,`element${P}`,P+1).replace(/\n/gu,"\n ")}\n ${M}.Add(element${P});\n }\n `.replace(/\n {16}/gu,"\n").trim();default:throw new Error(`BUG: decodeType with ${g.constructor.name}`)}}function y(g,m,C,M=1){switch(g.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 P=g.base;for(;P instanceof n.TypeReference;)P=P.type;return`\n if (${m} == null)\n {\n resultWriter_.WriteNullValue();\n }\n else\n {\n ${y(P,_.includes(P.constructor)?m:`${m}.Value`,C,M).replace(/\n/gu,"\n ")}\n }`.replace(/\n {16}/gu,"\n").trim()}case n.TypeReference:return y(g.type,m,C,M);case n.EnumType:case n.StructType:return`Encode${g.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(g.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 ${g.constructor.name}`)}}o.ident=r,o.capitalize=c,o.generateTypeName=d,o.decodeType=p,o.encodeType=y,o.generateStruct=function f(g){return`\n public class ${g.name}\n {${g.fields.map(m=>`\n public ${d(m.type)} ${c(m.name)};`).join("")}\n public ${g.name}(${g.fields.map(m=>`${d(m.type)} ${r(m.name)}`).join(", ")})\n {${g.fields.map(m=>`\n ${c(m.name)} = ${r(m.name)};`).join("")}\n }\n }\n\n ${g.name} Decode${g.name}(JsonElement json_, string path_)\n {\n if (json_.ValueKind != JsonValueKind.Object)\n {\n throw new FatalException($"'{path_}' must be an object.");\n }\n${g.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 ${g.name}(${g.fields.map(m=>r(m.name)).join(", ")});\n }\n\n void Encode${g.name}(${g.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {\n resultWriter_.WriteStartObject();\n ${g.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(g){return`\n public enum ${g.name}\n {${g.values.map(({value:m})=>`\n ${c(m)}`).join(",\n ")}\n }\n\n ${g.name} Decode${g.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();${g.values.map(({value:m})=>`\n if (value == "${m}")\n {\n return ${g.name}.${c(m)};\n }`).join("")}\n throw new FatalException($"'{path_}' must be one of: (${g.values.map(({value:m})=>`'${m}'`).join(", ")}).");\n }\n\n void Encode${g.name}(${g.name} obj_, Utf8JsonWriter resultWriter_, string path_)\n {${g.values.map(({value:m})=>`\n if (obj_ == ${g.name}.${c(m)})\n {\n resultWriter_.WriteStringValue("${m}");\n }`).join("")}\n }\n`}},7179:function(H,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:(H,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:(H,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(g){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(g)?`$${g}`:g}function u(g){switch(g.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(g.base)}?`;case n.ArrayType:return`List<${u(g.base)}>`;case n.StructType:case n.EnumType:return g.name;case n.TypeReference:return u(g.type);default:throw new Error(`BUG: generateTypeName with ${g.constructor.name}`)}}o.mangle=h,o.generateEnum=function _(g){return`enum ${g.name} {\n ${g.values.map(m=>m.value).join(",\n ")}\n}\n`},o.generateTypeName=u,o.generateErrorClass=function r(g){if(g.dataType instanceof n.VoidPrimitiveType)return`class ${g.name} extends SdkgenError {\n ${g.name}(String msg) : super(msg);\n}\n`;const m=u(g.dataType);return`class ${g.name} extends SdkgenErrorWithData<${m}> {\n ${g.name}(String msg, ${m} data) : super(msg, data);\n}\n`},o.cast=function c(g,m){return m instanceof n.OptionalType?`${g} == null ? null : ${c(g,m.base)}`:m instanceof n.ArrayType?`(${g} as List).map((e) => ${c("e",m.base)}).toList()`:m instanceof n.VoidPrimitiveType?g:m instanceof n.FloatPrimitiveType?`(${g} as num).toDouble()`:m instanceof n.MoneyPrimitiveType?`${g} as int`:`${g} as ${u(m)}`},o.generateClass=function b(g){return`class ${g.name} {\n ${g.fields.map(m=>`final ${u(m.type)} ${h(m.name)};`).join("\n ")}\n\n${function d(g){let m=` ${g.name}({\n`;for(const C of g.fields)m+=C.type instanceof n.OptionalType?" ":" required ",m+=`this.${h(C.name)},\n`;return m+=" });\n",m}(g)}\n${function p(g){let m=" @override\n bool operator ==(other){\n";return m+=" if (identical(this, other)) return true;\n",m+=` return ${[`other is ${g.name}`,...g.fields.map(C=>`${h(C.name)} == other.${h(C.name)}`)].join(" && ")};\n`,m+=" }\n",m}(g)}\n${function y(g){return` @override\n int get hashCode => hashList([${g.fields.map(m=>h(m.name)).join(", ")}]);\n`}(g)}\n${function f(g){return` @override\n String toString() {\n return '${g.name} { ${g.fields.map(m=>`${m.name}: $${h(m.name).startsWith("$")?`{${h(m.name)}}`:h(m.name)}`).join(", ")} }';\n }\n`}(g)}}\n`}},1823:function(H,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:(H,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:(H,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(g){return h.includes(g)?`${g}'`:g}function c(g){return g[0].toUpperCase()+g.slice(1)}function d(g){switch(g.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(g.base)} option`;case n.ArrayType:return`${d(g.base)} list`;case n.StructType:case n.EnumType:return g.name;case n.TypeReference:return d(g.type);default:throw new Error(`BUG: generateTypeName with ${g.constructor.name}`)}}function p(g,m,C,M,P=1,O=!0){switch(g.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(g.type,m,C,M,P);case n.OptionalType:return u.includes(g.base.constructor)?`match ${m}.ValueKind with\n | JsonValueKind.Null | JsonValueKind.Undefined -> None\n | _ ->\n (${p(g.base,m,C,M,P,!1).replace(/\n/gu,"\n ")}) |> Some\n `.replace(/\n {16}/gu,"\n").trim():g.base instanceof n.OptionalType||g.base instanceof n.ArrayType?`\n (>.>) decodeOptional ${p(g.base,m,C,M,P,!1)}\n `.replace(/\n {16}/gu,"\n").trim():`\n decodeOptional ${p(g.base,m,C,M,P,!1)}\n `.replace(/\n {16}/gu,"\n").trim();case n.EnumType:case n.StructType:return`Decode${g.name} ${m} ${C}`;case n.JsonPrimitiveType:return O?`\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(g.base,`${m}.[i1]`,`${C.slice(0,-1)}.{i1}"`,M,P,!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 ${g.constructor.name}`)}}function y(g,m,C,M=1,P=!0){switch(g.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 O=g.base;for(;O instanceof n.TypeReference;)O=O.type;return`\n if (${m}.IsNone) then\n resultWriter_.WriteNullValue()\n else\n ${y(O,`${m}.Value`,C,M,P)}\n `.replace(/\n {14}/gu,"\n").trim()}case n.TypeReference:return y(g.type,m,C,M,P);case n.EnumType:case n.StructType:return`Encode${g.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(g.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 ${g.constructor.name}`)}}o.ident=r,o.capitalize=c,o.generateTypeName=d,o.decodeType=p,o.encodeType=y,o.generateStruct=function f(g){return`\ntype ${g.name} = {\n ${g.fields.map(m=>`${c(m.name)}: ${d(m.type)}`).join(";\n ")}\n} with\n static member Create (${g.fields.map(m=>`${r(m.name)}: ${d(m.type)}`).join(", ")}): ${g.name} =\n { ${g.fields.map(m=>`${c(m.name)} = ${r(m.name)}`).join("; ")} }\n\nlet Decode${g.name} (json_: JsonElement) (path_: string): ${g.name} =\n if (json_.ValueKind <> JsonValueKind.Object) then raise (FatalException($"'{path_}' must be an object."))\n ${g.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 { ${g.fields.map(m=>`${c(m.name)} = ${r(m.name)}`).join("; ")} }\n\nlet Encode${g.name} (obj_: ${g.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n resultWriter_.WriteStartObject()\n ${g.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(g){return`\ntype ${g.name} =\n ${g.values.map(({value:m})=>`| ${c(m)}`).join("\n ")}\n\nlet Decode${g.name} (json_: JsonElement) (path_: string): ${g.name} =\n if (json_.ValueKind <> JsonValueKind.String) then raise (FatalException($"'{path_}' must be a string."))\n match json_.GetString() with\n ${g.values.map(({value:m})=>`| "${m}" -> ${g.name}.${c(m)}`).join("\n ")}\n | _ -> raise (FatalException($"'{path_}' must be one of: (${g.values.map(({value:m})=>`'${m}'`).join(", ")})."))\n\nlet Encode${g.name} (obj_: ${g.name}) (resultWriter_: Utf8JsonWriter) (path_: string) =\n match obj_ with\n ${g.values.map(({value:m})=>`| ${g.name}.${c(m)} -> resultWriter_.WriteStringValue("${m}")`).join("\n ")}\n\n`}},2863:function(H,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:(H,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.*\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) : SdkgenHttpClient(baseUrl, applicationContext, defaultTimeoutMillis, fingerprint) {\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 g=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 ${g.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:(H,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 g=c(b.type,b.name);return g+=` var ${_(b.name)}: ${h(b.type)}${b.type.constructor===n.OptionalType?" = null":""}`,g}).join(",\n")}\n ) : Parcelable\n`,f},o.generateErrorClass=function p(y){return`class ${y.name}(message: String) : Error(message)\n`}},7402:function(H,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(H,o,a){"use strict";var n=this&&this.__rest||function(ct,pt){var Xe={};for(var Pe in ct)Object.prototype.hasOwnProperty.call(ct,Pe)&&pt.indexOf(Pe)<0&&(Xe[Pe]=ct[Pe]);if(null!=ct&&"function"==typeof Object.getOwnPropertySymbols){var je=0;for(Pe=Object.getOwnPropertySymbols(ct);je<Pe.length;je++)pt.indexOf(Pe[je])<0&&Object.prototype.propertyIsEnumerable.call(ct,Pe[je])&&(Xe[Pe[je]]=ct[Pe[je]])}return Xe};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.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(pt){return this.location=pt.location,this}atLocation(pt){return this.location=pt,this}}o.AstNode=_;class u extends _{toJSON(){const pt=Object.assign({},this);return n(pt,["name"])}}o.Type=u,o.ErrorNode=class r extends _{constructor(pt,Xe){super(),this.name=pt,this.dataType=Xe}};class c extends _{}o.Annotation=c,o.DescriptionAnnotation=class d extends c{constructor(pt){super(),this.text=pt}},o.ThrowsAnnotation=class p extends c{constructor(pt){super(),this.error=pt}},o.ArgDescriptionAnnotation=class y extends c{constructor(pt,Xe){super(),this.argName=pt,this.text=Xe}},o.RestAnnotation=class f extends c{constructor(pt,Xe,Pe,je,pe,Ye){super(),this.method=pt,this.path=Xe,this.pathVariables=Pe,this.queryVariables=je,this.headers=pe,this.bodyVariable=Ye}},o.HiddenAnnotation=class b extends c{};class g extends u{toJSON(){return this.name}}o.PrimitiveType=g,o.StringPrimitiveType=class m extends g{constructor(){super(...arguments),this.name="string"}},o.IntPrimitiveType=class C extends g{constructor(){super(...arguments),this.name="int"}},o.UIntPrimitiveType=class M extends g{constructor(){super(...arguments),this.name="uint"}},o.FloatPrimitiveType=class P extends g{constructor(){super(...arguments),this.name="float"}},o.BigIntPrimitiveType=class O extends g{constructor(){super(...arguments),this.name="bigint"}},o.DatePrimitiveType=class j extends g{constructor(){super(...arguments),this.name="date"}},o.DateTimePrimitiveType=class Z extends g{constructor(){super(...arguments),this.name="datetime"}},o.BoolPrimitiveType=class U extends g{constructor(){super(...arguments),this.name="bool"}},o.BytesPrimitiveType=class G extends g{constructor(){super(...arguments),this.name="bytes"}},o.VoidPrimitiveType=class B extends g{constructor(){super(...arguments),this.name="void"}},o.MoneyPrimitiveType=class X extends g{constructor(){super(...arguments),this.name="money"}},o.DecimalPrimitiveType=class oe extends g{constructor(){super(...arguments),this.name="decimal"}},o.CpfPrimitiveType=class he extends g{constructor(){super(...arguments),this.name="cpf"}},o.CnpjPrimitiveType=class xe extends g{constructor(){super(...arguments),this.name="cnpj"}},o.EmailPrimitiveType=class it extends g{constructor(){super(...arguments),this.name="email"}},o.UrlPrimitiveType=class z extends g{constructor(){super(...arguments),this.name="url"}},o.UuidPrimitiveType=class q extends g{constructor(){super(...arguments),this.name="uuid"}},o.HexPrimitiveType=class V extends g{constructor(){super(...arguments),this.name="hex"}},o.HtmlPrimitiveType=class te extends g{constructor(){super(...arguments),this.name="html"}},o.Base64PrimitiveType=class Ee extends g{constructor(){super(...arguments),this.name="base64"}},o.XmlPrimitiveType=class Oe extends g{constructor(){super(...arguments),this.name="xml"}},o.JsonPrimitiveType=class K extends g{constructor(){super(...arguments),this.name="json"}},o.OptionalType=class ie extends u{constructor(pt){super(),this.base=pt}get name(){return`${this.base.name}?`}},o.ArrayType=class Ae extends u{constructor(pt){super(),this.base=pt}get name(){return`${this.base.name}[]`}},o.EnumValue=class $ extends _{constructor(pt){super(),this.value=pt,this.annotations=[],this.struct=null}},o.EnumType=class ye extends u{constructor(pt){super(),this.values=pt}get hasStructValues(){return this.values.some(pt=>null!==pt.struct)}},o.Field=class Ce extends _{constructor(pt,Xe,Pe=!1){super(),this.name=pt,this.type=Xe,this.secret=Pe,this.annotations=[]}},o.Spread=class De extends _{constructor(pt){super(),this.typeReference=pt}},o.TypeReference=class Be extends u{constructor(pt){super(),this.name=pt}},o.StructType=class Se extends u{constructor(pt){super(),this.fieldsAndSpreads=pt,this.fields=[]}},o.TypeDefinition=class He extends _{constructor(pt,Xe){super(),this.name=pt,this.type=Xe,this.annotations=[]}},o.FunctionOperation=class dt extends _{constructor(pt,Xe,Pe){super(),this.name=pt,this.fieldsAndSpreads=Xe,this.returnType=Pe,this.annotations=[],this.args=[]}},o.AstRoot=class bt{constructor(pt=[],Xe=[],Pe=[]){this.typeDefinitions=pt,this.operations=Xe,this.errors=Pe,this.structTypes=[],this.enumTypes=[],this.warnings=[]}}},9747:(H,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 g=d.fields.find(m=>m.name===b.name);if(g)h(`${r}.${g.name}`,c,g.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 g=p.values.find(m=>m.value===b.value);g?h(`${r}.${b.value}`,c,null!==(y=b.struct)&&void 0!==y?y:new n.StructType([]),null!==(f=g.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 g=p.fields.find(m=>m.name===b.name);if(g)_(`${r}.${b.name}`,c,b.type,g.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 g=d.values.find(m=>m.value===b.value);g?_(`${r}.${b.value}`,c,null!==(y=g.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(g=>g.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:(H,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(H,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:(H,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};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:g,headers:m,bodyVariable:C}=p.value;return new n.RestAnnotation(y,f,b,g,new Map(m),C)}case"hidden":return new n.HiddenAnnotation;default:throw new Error(`BUG: annotationFromJson with ${p.type}`)}}o.astToJson=function c(p){var y,f,b;const g={},m={};function C(O){return O instanceof n.ArrayType?`${C(O.base)}[]`:O instanceof n.OptionalType?`${C(O.base)}?`:O.name}for(const{name:O,fields:j}of p.structTypes){if(O in m)throw new Error(`Duplicate struct type ${O}`);m[O]={};const Z=m[O];for(const U of j){Z[U.name]=C(U.type);for(const G of U.annotations)if(G instanceof n.DescriptionAnnotation){const B=`type.${O}.${U.name}`;null!==(y=g[B])&&void 0!==y||(g[B]=[]),g[B].push(u(G))}}}for(const{name:O,values:j}of p.enumTypes){if(O in m)throw new Error(`Duplicate enum type ${O}`);m[O]=j.map(Z=>Z.struct?[Z.value,Z.struct.name]:Z.value)}for(const{name:O,type:j}of p.typeDefinitions)j instanceof n.StructType||j instanceof n.EnumType||(m[O]=C(j));const M={};for(const O of p.operations){const j={};for(const Z of O.args){j[Z.name]=C(Z.type);for(const U of Z.annotations)if(U instanceof n.DescriptionAnnotation){const G=`fn.${O.name}.${Z.name}`;null!==(f=g[G])&&void 0!==f||(g[G]=[]),g[G].push(u(U))}}M[O.name]={args:j,ret:C(O.returnType)};for(const Z of O.annotations){const U=`fn.${O.name}`;null!==(b=g[U])&&void 0!==b||(g[U]=[]),g[U].push(u(Z))}}return{annotations:g,errors:p.errors.map(O=>O.dataType instanceof n.VoidPrimitiveType?O.name:[O.name,O.dataType.name]),functionTable:M,typeTable:m}},o.jsonToAst=function d(p){var y,f;const b=[],g=[],m=[];function C(O,j){var Z;if("string"==typeof O){const G=_.primitiveToAstClass.get(O);return G?new G:O.endsWith("?")?new n.OptionalType(C(O.slice(0,O.length-1))):O.endsWith("[]")?new n.ArrayType(C(O.slice(0,O.length-2))):new n.TypeReference(O)}if(Array.isArray(O))return new n.EnumType(O.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 U=[];for(const G of Object.keys(O)){const B=new n.Field(G,C(O[G]));if(j){const X=`type.${j}.${G}`;for(const oe of null!==(Z=p.annotations[X])&&void 0!==Z?Z:[])B.annotations.push(r(oe))}U.push(B)}return new n.StructType(U)}for(const[O,j]of Object.entries(p.typeTable)){const Z=C(j,O);g.push(new n.TypeDefinition(O,Z))}for(const[O,j]of Object.entries(p.functionTable)){const Z=Object.keys(j.args).map(B=>{var X;const oe=new n.Field(B,C(j.args[B])),he=`fn.${O}.${B}`;for(const xe of null!==(X=p.annotations[he])&&void 0!==X?X:[])oe.annotations.push(r(xe));return oe}),U=new n.FunctionOperation(O,Z,C(j.ret)),G=`fn.${O}`;for(const B of null!==(y=p.annotations[G])&&void 0!==y?y:[])U.annotations.push(r(B));b.push(U)}for(const[O,j]of m){const Z=null===(f=g.find(U=>U.name===j))||void 0===f?void 0:f.type;Z instanceof n.StructType&&(O.struct=Z)}const M=p.errors.map(O=>{if(Array.isArray(O)){const[j,Z]=O;return new n.ErrorNode(j,C(Z))}return new n.ErrorNode(O,new n.VoidPrimitiveType)}),P=new n.AstRoot(g,b,M);return(0,h.analyse)(P),P}},8053:(H,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:(H,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(g){}const b=Array.isArray(f)?[...f].reverse():[f];this.lexers=b.map(g=>g instanceof h.Lexer?g:new h.Lexer(this.readFileSync(g).toString(),g)),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(g=>g.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 g=this.token.maybeAsIdentifier();if(g instanceof r.IdentifierToken)return f.IdentifierToken(g)}throw new d(`Expected ${Object.keys(f).map(g=>g.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=[],g=[];for(this.warnings=[];this.token;)this.acceptAnnotations(),this.multiExpect({ErrorKeywordToken:()=>{g.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,g);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(g){throw new d(`${g instanceof Error?g.message:g} 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;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),g=b.value;if(!/[A-Z]/u.test(g[0]))throw new d(`The custom type name must start with an uppercase letter, but found ${JSON.stringify(g)} at ${b.location}`);this.nextToken();const{annotations:m}=this;this.annotations=[];const C=this.parseType(),M=new n.TypeDefinition(g,C).at(f);return M.annotations=m,M}parseError(){this.checkCannotHaveAnnotationsHere();const f=this.expect(r.ErrorKeywordToken);this.nextToken();const b=this.expect(r.IdentifierToken),g=b.value;if(!/[A-Z]/u.test(g[0]))throw new d(`Error name must start with an uppercase letter, but found ${JSON.stringify(g)} at ${b.location}`);this.nextToken();let m=new n.VoidPrimitiveType;return(this.token instanceof r.CurlyOpenSymbolToken||this.token instanceof r.EnumKeywordToken||this.token instanceof r.IdentifierToken||this.token instanceof r.PrimitiveTypeToken)&&(m=this.parseType()),new n.ErrorNode(g,m).at(f)}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 g=new Set,m=[];let M,C=!1;for(;!C;)this.acceptAnnotations(),this.multiExpect({ParensCloseSymbolToken:j=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),C=!0,M=j},IdentifierToken:()=>{const j=this.parseField();if(g.has(j.name))throw new d(`Cannot redeclare argument '${j.name}'`);g.add(j.name),m.push(j),this.multiExpect({ParensCloseSymbolToken:Z=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),C=!0,M=Z},CommaSymbolToken:()=>this.nextToken()})},SpreadSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken();const j=this.expect(r.IdentifierToken);if(this.nextToken(),!/[A-Z]/u.test(j.value[0]))throw new d(`Expected a type but found ${JSON.stringify(j.value)} at ${j.location}`);m.push(new n.Spread(new n.TypeReference(j.value).at(j)).at(j)),this.multiExpect({ParensCloseSymbolToken:Z=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),C=!0,M=Z},CommaSymbolToken:()=>this.nextToken()})}});for(const j of f)if(j instanceof n.ArgDescriptionAnnotation){const Z=m.find(U=>U instanceof n.Field&&U.name===j.argName);if(!Z)throw new d(`Argument '${j.argName}' not found, at ${j.location}`);Z.annotations.push(new n.DescriptionAnnotation(j.text).atLocation(j.location))}f=f.filter(j=>!(j instanceof n.ArgDescriptionAnnotation));let P=(new n.VoidPrimitiveType).at(M);this.token instanceof r.ColonSymbolToken&&(this.nextToken(),P=this.parseType());const O=new n.FunctionOperation(b,m,P);return O.annotations=f,O}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 g=!1;for(;!g;)this.acceptAnnotations(),this.multiExpect({CurlyCloseSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),g=!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,P=[];for(;this.token&&this.token.maybeAsIdentifier()instanceof r.IdentifierToken;){const O=this.parseField();if("tag"===O.name&&(O.name="_tag"),M.has(O.name))throw new d(`Cannot redeclare argument '${O.name}'`);if(M.add(O.name),P.push(O),!(this.token instanceof r.CommaSymbolToken))break;this.nextToken()}C.struct=new n.StructType(P).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 g=this.parseType(),m=new n.Field(f.value,g).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=[],g=new Set;let m=!1;for(;!m;)this.acceptAnnotations(),this.multiExpect({CurlyCloseSymbolToken:()=>{this.checkCannotHaveAnnotationsHere(),this.nextToken(),m=!0},IdentifierToken:()=>{const C=this.parseField();if(g.has(C.name))throw new d(`Cannot redeclare field '${C.name}'`);g.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 g=c.primitiveToAstClass.get(b.value);if(g)return(new g).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:(H,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,...P]=y.split("?");y=M;const O=P.join("?");if(!/^\{\w+\}(?:&\{\w+\})*$/u.test(O))throw new Error("Invalid querystring on path");f=u(O)}const b=u(y),g=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}(g),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}(g);return new n.RestAnnotation(p,y,b,f,m,C)}},7629:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckMultipleDeclarationVisitor=void 0;const n=a(1942),h=a(3154);o.CheckMultipleDeclarationVisitor=class _ extends h.Visitor{constructor(){super(...arguments),this.nameToType=new Map}visit(r){if(r instanceof n.TypeDefinition){const c=this.nameToType.get(r.name);if(c&&JSON.stringify(c)!==JSON.stringify(r.type))throw new h.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:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.GiveStructAndEnumNamesTransformer=void 0;const n=a(1942),h=a(9989),_=a(3154);o.GiveStructAndEnumNamesTransformer=class u extends h.Transformer{constructor(){super(...arguments),this.path=[],this.names=new Map}transform(c){if(c instanceof n.TypeDefinition)return this.path=[c.name],super.transform(c);if(c instanceof n.ErrorNode)return this.path=[`${c.name}Data`],super.transform(c);if(c instanceof n.FunctionOperation)return this.path=[c.name],super.transform(c);if(c instanceof n.Field)try{return this.path.push(c.name),super.transform(c)}finally{this.path.pop()}else{if(!(c instanceof n.EnumValue)){if(c instanceof n.StructType||c instanceof n.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 _.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:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.MatchTypeDefinitionsVisitor=void 0;const n=a(1942),h=a(3154);o.MatchTypeDefinitionsVisitor=class _ extends h.Visitor{visit(r){if(r instanceof n.TypeReference){const c=this.root.typeDefinitions.find(d=>d.name===r.name);if(void 0===c)throw new h.SemanticError(`Could not find type '${r.name}' at ${r.location}`);r.type=c.type}super.visit(r)}}},4612:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckDontReturnSecretVisitor=void 0;const n=a(1942),h=a(3154);o.CheckDontReturnSecretVisitor=class _ extends h.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 n.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 n.TypeReference)this.visit(r.type);else if(r instanceof n.Field){if(this.path.push(r.name),this.isInReturn&&r.secret)throw new h.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:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ExpandSpreadsVisitor=void 0;const n=a(1942),h=a(3154);o.ExpandSpreadsVisitor=class _ extends h.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 n.Field)y=[p];else{const f=p.typeReference.type;if(!(f instanceof n.StructType))throw new h.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 n.StructType){if(this.processed.has(r))return;this.processed.add(r)}super.visit(r),r instanceof n.StructType?(this.expandSpread(r.fields,r.fieldsAndSpreads),r.fieldsAndSpreads=[]):r instanceof n.FunctionOperation&&(this.expandSpread(r.args,r.fieldsAndSpreads),r.fieldsAndSpreads=[])}}},9866:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CheckEmptyStructOrEnumVisitor=void 0;const n=a(1942),h=a(3154);o.CheckEmptyStructOrEnumVisitor=class _ extends h.Visitor{visit(r){if(super.visit(r),r instanceof n.EnumType&&0===r.values.length)throw new h.SemanticError(`Enum '${r.name}' at ${r.location} is empty`);if(r instanceof n.StructType&&0===r.fields.length)throw new h.SemanticError(`Struct '${r.name}' at ${r.location} is empty`)}}},4647:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ValidateRecursiveTypes=void 0;const n=a(1942),h=a(3154);o.ValidateRecursiveTypes=class _ extends h.Visitor{visit(r){if(super.visit(r),r instanceof n.TypeDefinition&&this.isRecursiveType(r,r.type)){if(!(r.type instanceof n.StructType||r.type instanceof n.EnumType))throw new h.SemanticError(`Type '${r.name}' at ${r.location} is recursive but is not an struct`);if(this.isInfinitelyRecursiveType(r,r.type))throw new h.SemanticError(`Type '${r.name}' at ${r.location} is infinitely recursive`)}}isRecursiveType(r,c){return c instanceof n.TypeReference?r.name===c.name:c instanceof n.ArrayType||c instanceof n.OptionalType?this.isRecursiveType(r,c.base):c instanceof n.StructType?c.fields.some(d=>this.isRecursiveType(r,d.type)):c instanceof n.EnumType&&c.values.some(d=>d.struct&&this.isRecursiveType(r,d.struct))}isInfinitelyRecursiveType(r,c){return c instanceof n.TypeReference?c.name===r.name:c instanceof n.StructType?c.fields.some(d=>this.isInfinitelyRecursiveType(r,d.type)):c instanceof n.EnumType&&c.values.every(d=>d.struct&&this.isInfinitelyRecursiveType(r,d.struct))}}},2060:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CollectStructAndEnumTypesVisitor=void 0;const n=a(1942),h=a(3154);o.CollectStructAndEnumTypesVisitor=class _ extends h.Visitor{constructor(){super(...arguments),this.visited=new Set}visit(r){super.visit(r),!this.visited.has(r)&&(this.visited.add(r),r instanceof n.StructType?this.root.structTypes.push(r):r instanceof n.EnumType&&this.root.enumTypes.push(r))}}},4212:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.ValidateAnnotationsVisitor=void 0;const n=a(1942),h=a(3154);function u(c){return c instanceof n.TypeReference?u(c.type):c}o.ValidateAnnotationsVisitor=class r extends h.Visitor{visit(d){if(d instanceof n.EnumValue){for(const p of d.annotations)if(!(p instanceof n.DescriptionAnnotation))throw new h.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(d instanceof n.TypeDefinition){for(const p of d.annotations)if(!(p instanceof n.DescriptionAnnotation))throw new h.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(d instanceof n.Field){for(const p of d.annotations)if(!(p instanceof n.DescriptionAnnotation))throw new h.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`)}else if(d instanceof n.FunctionOperation)for(const p of d.annotations)if(!(p instanceof n.DescriptionAnnotation))if(p instanceof n.ThrowsAnnotation){if(!this.root.errors.some(y=>y.name===p.error))throw new h.SemanticError(`Unknown error type '${p.error}' at ${p.location}`)}else if(p instanceof n.RestAnnotation){const y=[...p.pathVariables,...p.queryVariables,...p.headers.values()];if(y.length!==new Set(y).size)throw new h.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 h.SemanticError(`Argument '${f}' not found at ${p.location}`);if(p.pathVariables.includes(f)&&b.type instanceof n.OptionalType)throw new h.SemanticError(`The path argument '${f}' can't be nullable at ${p.location}`);if(!((c=u(b.type instanceof n.OptionalType?b.type.base:b.type))instanceof n.BoolPrimitiveType||c instanceof n.IntPrimitiveType||c instanceof n.UIntPrimitiveType||c instanceof n.BigIntPrimitiveType||c instanceof n.FloatPrimitiveType||c instanceof n.StringPrimitiveType||c instanceof n.DatePrimitiveType||c instanceof n.DateTimePrimitiveType||c instanceof n.MoneyPrimitiveType||c instanceof n.DecimalPrimitiveType||c instanceof n.CpfPrimitiveType||c instanceof n.CnpjPrimitiveType||c instanceof n.UuidPrimitiveType||c instanceof n.HexPrimitiveType||c instanceof n.Base64PrimitiveType||c instanceof n.EnumType))throw new h.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 h.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 h.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 n.VoidPrimitiveType)throw new h.SemanticError(`A GET rest endpoint must return something at ${p.location}`)}else if(!(p instanceof n.HiddenAnnotation))throw new h.SemanticError(`Cannot have @${p.constructor.name.replace("Annotation","").toLowerCase()} at ${p.location}`);var c}}},6758:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.analyse=void 0;const n=a(1942),h=a(7629),_=a(6153),u=a(9471),r=a(4612),c=a(4978),d=a(9866),p=a(4647),y=a(2060),f=a(4212);o.analyse=function b(g){g.errors.some(m=>"Fatal"===m.name)||g.errors.push(new n.ErrorNode("Fatal",new n.VoidPrimitiveType)),new h.CheckMultipleDeclarationVisitor(g).process(),new _.GiveStructAndEnumNamesTransformer(g).process(),new u.MatchTypeDefinitionsVisitor(g).process(),new r.CheckDontReturnSecretVisitor(g).process(),new c.ExpandSpreadsVisitor(g).process(),new d.CheckEmptyStructOrEnumVisitor(g).process(),new p.ValidateRecursiveTypes(g).process(),new y.CollectStructAndEnumTypesVisitor(g).process(),new f.ValidateAnnotationsVisitor(g).process()}},9989:(H,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:(H,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:(H,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(he=""){this.value=he,this.location=new a,Object.defineProperty(this,"location",{enumerable:!1})}maybeAsIdentifier(){return this}toString(){const he=this.constructor.name.replace("Token","");return""===this.value?he:`${he}(${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 g extends n{},o.CommaSymbolToken=class m extends n{},o.SpreadSymbolToken=class C extends n{},o.AnnotationToken=class M extends n{},o.ImportKeywordToken=class P extends n{maybeAsIdentifier(){return new h("import")}},o.TypeKeywordToken=class O extends n{maybeAsIdentifier(){return new h("type")}},o.EnumKeywordToken=class j extends n{maybeAsIdentifier(){return new h("enum")}},o.FnKeywordToken=class Z extends n{maybeAsIdentifier(){return new h("fn")}},o.ErrorKeywordToken=class U 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:(H,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:(H,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)),g=n.__importStar(a(2313)),m=n.__importStar(a(3293)),C=n.__importStar(a(9808)),M=n.__importStar(a(107)),P=n.__importStar(a(7423)),O=n.__importStar(a(1451)),j=n.__importStar(a(3251)),Z=n.__importStar(a(7238)),U=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 he(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 xe(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,he,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,xe,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(g.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,P.MatButton,m.MatIcon,O.MatMenu,O.MatMenuItem,O.MatMenuTrigger,j.MatTabGroup,j.MatTabLabel,j.MatTab,Z.MatTooltip,U.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:(H,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),g=a(7238),m=a(2313),C=a(6360),M=a(107),P=a(1430),O=a(1017),j=a(2290),Z=a(5041),U=n.__importStar(a(5e3));n.__importStar(a(2290));class B{}o.AppModule=B,B.\u0275fac=function(oe){return new(oe||B)},B.\u0275mod=U.\u0275\u0275defineNgModule({type:B,bootstrap:[Z.AppComponent]}),B.\u0275inj=U.\u0275\u0275defineInjector({providers:[{provide:M.MONACO_PATH,useValue:"assets/vs"}],imports:[m.BrowserModule,_.FormsModule,_.ReactiveFormsModule,M.MonacoEditorModule,C.BrowserAnimationsModule,O.NgxJsonViewerModule,j.ToastrModule.forRoot(),P.AngularSplitModule,h.HttpClientModule,u.MatButtonModule,r.MatChipsModule,d.MatDialogModule,p.MatIconModule,y.MatMenuModule,c.MatRippleModule,f.MatTableModule,b.MatTabsModule,g.MatTooltipModule]})},8495:(H,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 P=_.\u0275\u0275nextContext().$implicit;_.\u0275\u0275property("json",P.details)("expanded",!1)}}function g(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 P=M.$implicit,O=_.\u0275\u0275nextContext();_.\u0275\u0275property("ngClass",P.type),_.\u0275\u0275advance(1),_.\u0275\u0275property("ngSwitch",P.type)("ngClass",P.type),_.\u0275\u0275advance(1),_.\u0275\u0275property("ngSwitchCase",O.itemTypes.INFO),_.\u0275\u0275advance(1),_.\u0275\u0275property("ngSwitchCase",O.itemTypes.ERROR),_.\u0275\u0275advance(1),_.\u0275\u0275property("ngSwitchCase",O.itemTypes.NETWORK),_.\u0275\u0275advance(2),_.\u0275\u0275textInterpolate(P.message),_.\u0275\u0275advance(1),_.\u0275\u0275property("ngIf",P.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,P){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 P.items.splice(0,P.items.length)}),_.\u0275\u0275elementStart(5,"mat-icon"),_.\u0275\u0275text(6,"delete"),_.\u0275\u0275elementEnd()()(),_.\u0275\u0275elementStart(7,"ul"),_.\u0275\u0275template(8,g,8,8,"li",1),_.\u0275\u0275elementEnd()),2&M&&(_.\u0275\u0275advance(8),_.\u0275\u0275property("ngForOf",P.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:(H,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:(H,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:(H,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:(H,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:(H,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),g=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:g,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(H,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 H.reduce((n,h)=>(n[h.name]=a(h.type),n),{})}getTypeScriptCode(H,o){return`await client.${H}(${JSON.stringify(o,null,2)});\n`}buildKotlinString(H,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 H.map(n=>`${" ".repeat(o+1)}${a(n.type)}`).join(",\n")}getKotlinCode(H,o){return 0===o.length?`client.${H}().await();`:`client.${H}(\n${this.buildKotlinString(o)}\n).await();`}getDartCode(H,o){return'print("todo");'}getSwiftCode(H,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:(H,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 H(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(H){this.sdkgen=H,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(H=>{!H||(this.generateFunctionCode(H.astRoot,this.fn),this.client=this.sdkgen.getSdkgenClient(H.url,H.astJson))})}ngOnDestroy(){var H;null===(H=this.state$)||void 0===H||H.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(H){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:H.toString()}),delete H.toString,_this.response={error:{type:H.type,message:H.message,data:H.data}}}finally{eval(code_execution_1.unwrap),_this.selected.setValue(1)}})()}generateFunctionCode(H,o){var a;const n=null===(a=H.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 H(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 H(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(H){this.sdkgen=H,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(H=>{if(!H)return;const o=`${this.patchBrowserClientSource((0,typescript_generator_1.generateBrowserClientSource)(H.astRoot))}\n\ndeclare const client: sdkgen.ApiClient;\n\n`;this.client=this.sdkgen.getSdkgenClient(H.url,H.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]=H.astRoot.operations;this.code=this.sdkgen.getTypeScriptCode(n.name,this.sdkgen.buildJsonObject(n.args))})}ngOnDestroy(){var H;null===(H=this.state$)||void 0===H||H.unsubscribe()}patchBrowserClientSource(H){return`declare namespace sdkgen {\n${H.substring(95,H.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(H){_this.consoleItems.push({type:console_types_1.ConsoleItemType.ERROR,message:H.toString()})}})()}}exports.TabEditorComponent=TabEditorComponent,TabEditorComponent.\u0275fac=function H(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 H(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:(H,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)),g=n.__importStar(a(1430)),m=n.__importStar(a(7423)),C=n.__importStar(a(9417)),M=n.__importStar(a(3293)),P=n.__importStar(a(4999)),O=n.__importStar(a(3251)),j=n.__importStar(a(7238)),Z=n.__importStar(a(4211));function U(pe,Ye){if(1&pe&&(r.\u0275\u0275elementStart(0,"span",8),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&pe){const Ve=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Ve.description)}}const G=function(pe){return{active:pe}};function B(pe,Ye){if(1&pe){const Ve=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"li",5),r.\u0275\u0275listener("click",function(){const Te=r.\u0275\u0275restoreView(Ve).$implicit,Ue=r.\u0275\u0275nextContext();return r.\u0275\u0275resetView(Ue.selectedFunction=Te)}),r.\u0275\u0275elementStart(1,"span",6),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(3,U,2,1,"span",7),r.\u0275\u0275elementEnd()}if(2&pe){const Ve=Ye.$implicit,Ge=r.\u0275\u0275nextContext();r.\u0275\u0275property("ngClass",r.\u0275\u0275pureFunction1(3,G,(null==Ge.selectedFunction?null:Ge.selectedFunction.name)===Ve.name)),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(Ve.name),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Ve.description)}}function X(pe,Ye){1&pe&&r.\u0275\u0275element(0,"span")}function oe(pe,Ye){if(1&pe){const Ve=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(Ve).$implicit,Ue=r.\u0275\u0275nextContext(2);return r.\u0275\u0275resetView(Ue.showDocumentation(Te.rawType))}),r.\u0275\u0275text(9),r.\u0275\u0275elementEnd(),r.\u0275\u0275template(10,X,1,0,"span",38),r.\u0275\u0275elementEnd()}if(2&pe){const Ve=Ye.$implicit,Ge=Ye.index;r.\u0275\u0275nextContext();const Y=r.\u0275\u0275reference(18),Te=r.\u0275\u0275reference(20),Ue=r.\u0275\u0275nextContext();r.\u0275\u0275advance(4),r.\u0275\u0275textInterpolate(Ve.name),r.\u0275\u0275advance(4),r.\u0275\u0275property("matTooltip",Ue.getTooltip(Ve.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Ve.type),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Ge!=Ue.selectedFunction.args.length-1)("ngIfThen",Y)("ngIfElse",Te)}}function he(pe,Ye){1&pe&&r.\u0275\u0275text(0,",")}function xe(pe,Ye){1&pe&&r.\u0275\u0275element(0,"br")}function it(pe,Ye){if(1&pe){const Ve=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"u",29),r.\u0275\u0275listener("click",function(){r.\u0275\u0275restoreView(Ve);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&pe){const Ve=r.\u0275\u0275nextContext().$implicit,Ge=r.\u0275\u0275nextContext(3);r.\u0275\u0275property("matTooltip",Ge.getTooltip(Ve.dataType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate1("(",Ve.dataType.name,")")}}function z(pe,Ye){if(1&pe&&(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&pe){const Ve=Ye.$implicit;r.\u0275\u0275property("disableRipple",!0),r.\u0275\u0275advance(2),r.\u0275\u0275textInterpolate(Ve.name),r.\u0275\u0275advance(3),r.\u0275\u0275textInterpolate1("",Ve.type," "),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngIf",Ve.dataType&&"void"!==Ve.dataType.name)}}function q(pe,Ye){if(1&pe&&(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&pe){const Ve=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275property("selectable",!1),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngForOf",Ve.selectedFunction.labels)}}function V(pe,Ye){if(1&pe&&(r.\u0275\u0275elementStart(0,"p"),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&pe){const Ve=r.\u0275\u0275nextContext(2);r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Ve.selectedFunction.description)}}function te(pe,Ye){1&pe&&(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(pe,Ye){1&pe&&(r.\u0275\u0275elementStart(0,"p",44),r.\u0275\u0275text(1,"Esta fun\xe7\xe3o n\xe3o possui argumentos."),r.\u0275\u0275elementEnd())}function Oe(pe,Ye){1&pe&&(r.\u0275\u0275elementStart(0,"th",54),r.\u0275\u0275text(1,"Nome"),r.\u0275\u0275elementEnd())}function K(pe,Ye){if(1&pe&&(r.\u0275\u0275elementStart(0,"td",55),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&pe){const Ve=Ye.$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Ve.name)}}function ie(pe,Ye){1&pe&&(r.\u0275\u0275elementStart(0,"th",54),r.\u0275\u0275text(1,"Tipo"),r.\u0275\u0275elementEnd())}function Ae(pe,Ye){if(1&pe){const Ve=r.\u0275\u0275getCurrentView();r.\u0275\u0275elementStart(0,"td",55)(1,"u",29),r.\u0275\u0275listener("click",function(){const Te=r.\u0275\u0275restoreView(Ve).$implicit,Ue=r.\u0275\u0275nextContext(3);return r.\u0275\u0275resetView(Ue.showDocumentation(Te.rawType))}),r.\u0275\u0275text(2),r.\u0275\u0275elementEnd()()}if(2&pe){const Ve=Ye.$implicit,Ge=r.\u0275\u0275nextContext(3);r.\u0275\u0275advance(1),r.\u0275\u0275property("matTooltip",Ge.getTooltip(Ve.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Ve.type)}}function $(pe,Ye){1&pe&&(r.\u0275\u0275elementStart(0,"th",54),r.\u0275\u0275text(1,"Descri\xe7\xe3o"),r.\u0275\u0275elementEnd())}function ye(pe,Ye){if(1&pe&&(r.\u0275\u0275elementStart(0,"td",56),r.\u0275\u0275text(1),r.\u0275\u0275elementEnd()),2&pe){const Ve=Ye.$implicit;r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Ve.description||"-")}}function Ce(pe,Ye){1&pe&&r.\u0275\u0275element(0,"tr",57)}function De(pe,Ye){1&pe&&r.\u0275\u0275element(0,"tr",58)}function Be(pe,Ye){if(1&pe&&(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&pe){const Ve=r.\u0275\u0275nextContext(2);r.\u0275\u0275property("dataSource",Ve.selectedFunction.args),r.\u0275\u0275advance(10),r.\u0275\u0275property("matHeaderRowDef",Ve.argumentsTableColumns),r.\u0275\u0275advance(1),r.\u0275\u0275property("matRowDefColumns",Ve.argumentsTableColumns)}}function Se(pe,Ye){1&pe&&(r.\u0275\u0275elementStart(0,"span",59),r.\u0275\u0275text(1,"Dart"),r.\u0275\u0275elementEnd())}function He(pe,Ye){1&pe&&(r.\u0275\u0275elementStart(0,"span",59),r.\u0275\u0275text(1,"Swift"),r.\u0275\u0275elementEnd())}const dt=function(){return{theme:"vs-dark",language:"javascript"}},bt=function(){return{theme:"vs-dark",language:"kotlin"}},ct=function(){return{theme:"vs-dark",language:"dart"}},pt=function(){return{theme:"vs-dark",language:"swift"}};function Xe(pe,Ye){if(1&pe){const Ve=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(Ve);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,he,1,0,"ng-template",null,16,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275template(19,xe,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(Ve);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,Be,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(Ve);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,He,2,0,"ng-template",36),r.\u0275\u0275element(57,"ngx-monaco-editor",33),r.\u0275\u0275elementEnd()()()()}if(2&pe){const Ve=r.\u0275\u0275nextContext();r.\u0275\u0275advance(8),r.\u0275\u0275textInterpolate(Ve.selectedFunction.name),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",Ve.selectedFunction.args),r.\u0275\u0275advance(5),r.\u0275\u0275property("matTooltip",Ve.getTooltip(Ve.selectedFunction.returns.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Ve.selectedFunction.returns.type),r.\u0275\u0275advance(10),r.\u0275\u0275property("ngIf",Ve.selectedFunction.labels.length>0),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngSwitch",!!Ve.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",Ve.selectedFunction.args.length),r.\u0275\u0275advance(1),r.\u0275\u0275property("ngSwitchCase",0),r.\u0275\u0275advance(7),r.\u0275\u0275property("matTooltip",Ve.getTooltip(Ve.selectedFunction.returns.rawType)),r.\u0275\u0275advance(1),r.\u0275\u0275textInterpolate(Ve.selectedFunction.returns.type),r.\u0275\u0275advance(5),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(20,dt))("ngModel",Ve.selectedFunction.examples.typeScript),r.\u0275\u0275advance(2),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(21,bt))("ngModel",Ve.selectedFunction.examples.kotlin),r.\u0275\u0275advance(3),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(22,ct))("ngModel",Ve.selectedFunction.examples.dart),r.\u0275\u0275advance(3),r.\u0275\u0275property("options",r.\u0275\u0275pureFunction0(23,pt))("ngModel",Ve.selectedFunction.examples.swift)}}const Pe=function(){return{standalone:!0}};class je{constructor(Ye,Ve,Ge){this.sdkgen=Ye,this.dialog=Ve,this.responsive=Ge,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(Ye=>{!Ye||(this.selectedFunction=void 0,this.fnTable=Ye.astRoot.operations.sort((Ve,Ge)=>Ve.name.localeCompare(Ge.name)).map(Ve=>{var Ge,Y,Te;const Ue=Ye.astJson.annotations[`fn.${Ve.name}`],Le=this.sdkgen.buildJsonObject(Ve.args);return null!=Ue&&Ue.find(ze=>"hidden"===ze.type)?null:{name:Ve.name,description:null===(Ge=null==Ue?void 0:Ue.find(ze=>"description"===ze.type))||void 0===Ge?void 0:Ge.value,args:Ve.args.map(({name:ze,type:ve})=>{var $e,ut,Fe;return{name:ze,description:null===(Fe=[...null!==($e=Ye.astJson.annotations[`type.${ve}.${ze}`])&&void 0!==$e?$e:[],...null!==(ut=Ye.astJson.annotations[`fn.${Ve.name}.${ze}`])&&void 0!==ut?ut:[]].find(ge=>"description"===ge.type))||void 0===Fe?void 0:Fe.value,type:ve.name,rawType:ve}}),argsStr:Ve.args.map(ze=>`${ze.name}: ${ze.type.name}`).join(", "),argsFields:Ve.args,returns:{type:Ve.returnType.name,rawType:Ve.returnType},labels:null!==(Y=null==Ue?void 0:Ue.filter(ze=>["rest","throws"].includes(ze.type)).map(ze=>{var ve;return"rest"===ze.type?{name:"REST",type:`${ze.value.method} ${ze.value.path}`}:"throws"===ze.type?{name:"THROWS",type:ze.value,dataType:null===(ve=Ye.astRoot.errors.find($e=>$e.name===ze.value))||void 0===ve?void 0:ve.dataType}:{name:"?",type:"?"}}))&&void 0!==Y?Y:[],throws:null===(Te=null==Ue?void 0:Ue.find(ze=>"throws"===ze.type))||void 0===Te?void 0:Te.value,examples:{typeScript:this.sdkgen.getTypeScriptCode(Ve.name,Le),kotlin:this.sdkgen.getKotlinCode(Ve.name,Ve.args),dart:this.sdkgen.getDartCode(Ve.name,Le),swift:this.sdkgen.getSwiftCode(Ve.name,Le)}}}).filter(Ve=>Boolean(Ve)))})}ngOnDestroy(){var Ye,Ve;null===(Ye=this.state$)||void 0===Ye||Ye.unsubscribe(),null===(Ve=this.responsive$)||void 0===Ve||Ve.unsubscribe()}ngAfterViewInit(){this.responsive$=this.responsive.isBelowMd().subscribe(Ye=>{this.isBelowMd=Ye.matches})}addSimpleCallTab(){var Ye;this.runFunction.emit(null===(Ye=this.selectedFunction)||void 0===Ye?void 0:Ye.name)}getTooltip(Ye){return(0,_.getTypeDoc)(Ye).shortDescription}showDocumentation(Ye){this.dialog.open(u.TypeDetailsComponent,{position:{right:"0",top:"0",bottom:"0"},data:{type:Ye},height:"100vh",panelClass:["dialog-no-border-radius","dialog-responsive"]})}}o.TabHomeComponent=je,je.\u0275fac=function(Ye){return new(Ye||je)(r.\u0275\u0275directiveInject(c.SdkgenService),r.\u0275\u0275directiveInject(d.MatDialog),r.\u0275\u0275directiveInject(p.ResponsiveService))},je.\u0275cmp=r.\u0275\u0275defineComponent({type:je,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(Ye,Ve){1&Ye&&(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 Ve.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,Xe,58,24,"article",4),r.\u0275\u0275elementEnd()()),2&Ye&&(r.\u0275\u0275property("direction",Ve.isBelowMd?"vertical":"horizontal"),r.\u0275\u0275advance(1),r.\u0275\u0275property("size",Ve.isBelowMd?130:350),r.\u0275\u0275advance(4),r.\u0275\u0275property("ngModel",Ve.searchText)("ngModelOptions",r.\u0275\u0275pureFunction0(9,Pe)),r.\u0275\u0275advance(2),r.\u0275\u0275property("ngForOf",r.\u0275\u0275pipeBind2(8,6,Ve.fnTable,Ve.searchText)),r.\u0275\u0275advance(3),r.\u0275\u0275property("ngIf",Ve.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,g.SplitComponent,g.SplitAreaDirective,m.MatButton,C.MatChipList,C.MatChip,M.MatIcon,P.MatTable,P.MatHeaderCellDef,P.MatHeaderRowDef,P.MatColumnDef,P.MatCellDef,P.MatRowDef,P.MatHeaderCell,P.MatCell,P.MatHeaderRow,P.MatRow,O.MatTabGroup,O.MatTabLabel,O.MatTab,j.MatTooltip,Z.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:(H,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)),g=h.__importStar(a(7423)),m=h.__importStar(a(3293)),C=h.__importStar(a(508));function M(j,Z){1&j&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"mat-icon",6),c.\u0275\u0275text(2,"loop"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementContainerEnd())}function P(j,Z){1&j&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"mat-icon"),c.\u0275\u0275text(2,"arrow_forward"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementContainerEnd())}class O{constructor(Z,U,G){this.sdkgen=Z,this.toastr=U,this.dialog=G,this.loading=!1,this.url=new _.FormControl("")}ngOnInit(){fetch("/ast.json").then(Z=>{Z.ok&&(this.url.setValue(`${window.location.protocol}//${window.location.host}`),this.loadUrl())}).catch(()=>{})}loadUrl(Z){var U=this;return n(function*(){null==Z||Z.preventDefault();try{U.loading=!0,/^https?:\/\//.test(U.url.value)||U.url.setValue(`https://${U.url.value}`);const G=new URL(U.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),U.sdkgen.state$.next({astJson:X,astRoot:(0,u.jsonToAst)(X),url:U.url.value})}catch(G){U.toastr.error(G instanceof Error?G.message:JSON.stringify(G),"Erro ao carregar AST",{positionClass:"toast-bottom-right"})}finally{U.loading=!1}})()}openAbout(){this.dialog.open(r.DialogAboutComponent)}}o.TabNavComponent=O,O.\u0275fac=function(Z){return new(Z||O)(c.\u0275\u0275directiveInject(d.SdkgenService),c.\u0275\u0275directiveInject(p.ToastrService),c.\u0275\u0275directiveInject(y.MatDialog))},O.\u0275cmp=c.\u0275\u0275defineComponent({type:O,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(Z,U){1&Z&&(c.\u0275\u0275element(0,"img",0),c.\u0275\u0275elementStart(1,"form",1),c.\u0275\u0275listener("submit",function(B){return U.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,P,3,0,"ng-container",4),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(6,"button",5),c.\u0275\u0275listener("click",function(){return U.openAbout()}),c.\u0275\u0275elementStart(7,"mat-icon"),c.\u0275\u0275text(8,"info"),c.\u0275\u0275elementEnd()()),2&Z&&(c.\u0275\u0275advance(2),c.\u0275\u0275property("formControl",U.url)("readonly",U.loading),c.\u0275\u0275advance(1),c.\u0275\u0275property("disabled",U.loading)("ngSwitch",U.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,g.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:(H,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 g(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 P(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 O(V,te){1&V&&(u.\u0275\u0275elementStart(0,"th",20),u.\u0275\u0275text(1,"Tipo"),u.\u0275\u0275elementEnd())}function j(V,te){1&V&&(u.\u0275\u0275elementStart(0,"span"),u.\u0275\u0275text(1,"-"),u.\u0275\u0275elementEnd())}function Z(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 U(V,te){1&V&&(u.\u0275\u0275elementStart(0,"td",22),u.\u0275\u0275template(1,j,2,0,"span",23),u.\u0275\u0275template(2,Z,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 he=function(){return[]};function xe(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,P,2,1,"td",13),u.\u0275\u0275elementContainerEnd(),u.\u0275\u0275elementContainerStart(6,14),u.\u0275\u0275template(7,O,2,0,"th",12),u.\u0275\u0275template(8,U,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,he)),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,g,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,xe,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:(H,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:(H,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.environment=void 0,o.environment={production:!0}},4431:(H,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(H,o){var h;void 0!==(h=function(){"use strict";function u(f,b,g){var m=new XMLHttpRequest;m.open("GET",f),m.responseType="blob",m.onload=function(){y(m.response,b,g)},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(g){}return 200<=b.status&&299>=b.status}function c(f){try{f.dispatchEvent(new MouseEvent("click"))}catch(g){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,g){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,g):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,g){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,g),b);else if(r(f))u(f,b,g);else{var m=document.createElement("a");m.href=f,m.target="_blank",setTimeout(function(){c(m)})}}:function(f,b,g,m){if((m=m||open("","_blank"))&&(m.document.title=m.document.body.innerText="downloading..."),"string"==typeof f)return u(f,b,g);var C="application/octet-stream"===f.type,M=/constructor/i.test(d.HTMLElement)||d.safari,P=/CriOS\/[\d]+/.test(navigator.userAgent);if((P||C&&M||p)&&"undefined"!=typeof FileReader){var O=new FileReader;O.onloadend=function(){var U=O.result;U=P?U:U.replace(/^data:[^;]*;/,"data:attachment/file;"),m?m.location.href=U:location=U,m=null},O.readAsDataURL(f)}else{var j=d.URL||d.webkitURL,Z=j.createObjectURL(f);m?m.location=Z:location.href=Z,m=null,setTimeout(function(){j.revokeObjectURL(Z)},4e4)}});d.saveAs=y.saveAs=y,H.exports=y}.apply(o,[]))&&(H.exports=h)},6477:function(H,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 g=a(4006);Object.defineProperty(o,"async",{enumerable:!0,get:function(){return g.async}}),Object.defineProperty(o,"asyncScheduler",{enumerable:!0,get:function(){return g.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 P=a(2716);Object.defineProperty(o,"Scheduler",{enumerable:!0,get:function(){return P.Scheduler}});var O=a(6448);Object.defineProperty(o,"Subscription",{enumerable:!0,get:function(){return O.Subscription}});var j=a(7052);Object.defineProperty(o,"Subscriber",{enumerable:!0,get:function(){return j.Subscriber}});var Z=a(7262);Object.defineProperty(o,"Notification",{enumerable:!0,get:function(){return Z.Notification}}),Object.defineProperty(o,"NotificationKind",{enumerable:!0,get:function(){return Z.NotificationKind}});var U=a(1471);Object.defineProperty(o,"pipe",{enumerable:!0,get:function(){return U.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 he=a(5754);Object.defineProperty(o,"firstValueFrom",{enumerable:!0,get:function(){return he.firstValueFrom}});var xe=a(4769);Object.defineProperty(o,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return xe.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 Be=a(4996);Object.defineProperty(o,"from",{enumerable:!0,get:function(){return Be.from}});var Se=a(2579);Object.defineProperty(o,"fromEvent",{enumerable:!0,get:function(){return Se.fromEvent}});var He=a(3975);Object.defineProperty(o,"fromEventPattern",{enumerable:!0,get:function(){return He.fromEventPattern}});var dt=a(4318);Object.defineProperty(o,"generate",{enumerable:!0,get:function(){return dt.generate}});var bt=a(3140);Object.defineProperty(o,"iif",{enumerable:!0,get:function(){return bt.iif}});var ct=a(1836);Object.defineProperty(o,"interval",{enumerable:!0,get:function(){return ct.interval}});var pt=a(9248);Object.defineProperty(o,"merge",{enumerable:!0,get:function(){return pt.merge}});var Xe=a(2818);Object.defineProperty(o,"never",{enumerable:!0,get:function(){return Xe.never}});var Pe=a(9677);Object.defineProperty(o,"of",{enumerable:!0,get:function(){return Pe.of}});var je=a(9978);Object.defineProperty(o,"onErrorResumeNext",{enumerable:!0,get:function(){return je.onErrorResumeNext}});var pe=a(5519);Object.defineProperty(o,"pairs",{enumerable:!0,get:function(){return pe.pairs}});var Ye=a(8221);Object.defineProperty(o,"partition",{enumerable:!0,get:function(){return Ye.partition}});var Ve=a(8181);Object.defineProperty(o,"race",{enumerable:!0,get:function(){return Ve.race}});var Ge=a(4622);Object.defineProperty(o,"range",{enumerable:!0,get:function(){return Ge.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 Ue=a(924);Object.defineProperty(o,"using",{enumerable:!0,get:function(){return Ue.using}});var Le=a(4842);Object.defineProperty(o,"zip",{enumerable:!0,get:function(){return Le.zip}});var ze=a(9341);Object.defineProperty(o,"scheduled",{enumerable:!0,get:function(){return ze.scheduled}});var ve=a(7406);Object.defineProperty(o,"EMPTY",{enumerable:!0,get:function(){return ve.EMPTY}});var $e=a(2818);Object.defineProperty(o,"NEVER",{enumerable:!0,get:function(){return $e.NEVER}}),h(a(5256),o);var ut=a(3570);Object.defineProperty(o,"config",{enumerable:!0,get:function(){return ut.config}});var Fe=a(4815);Object.defineProperty(o,"audit",{enumerable:!0,get:function(){return Fe.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 gt=a(7274);Object.defineProperty(o,"bufferWhen",{enumerable:!0,get:function(){return gt.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 Ze=a(4659);Object.defineProperty(o,"concatMap",{enumerable:!0,get:function(){return Ze.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 L=a(9784);Object.defineProperty(o,"debounce",{enumerable:!0,get:function(){return L.debounce}});var we=a(7061);Object.defineProperty(o,"debounceTime",{enumerable:!0,get:function(){return we.debounceTime}});var yt=a(926);Object.defineProperty(o,"defaultIfEmpty",{enumerable:!0,get:function(){return yt.defaultIfEmpty}});var We=a(2096);Object.defineProperty(o,"delay",{enumerable:!0,get:function(){return We.delay}});var _t=a(3264);Object.defineProperty(o,"delayWhen",{enumerable:!0,get:function(){return _t.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 Ke=a(5183);Object.defineProperty(o,"exhaustMap",{enumerable:!0,get:function(){return Ke.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 Qe=a(752);Object.defineProperty(o,"map",{enumerable:!0,get:function(){return Qe.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(2098);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(H,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,g=d.isStopped,m=d._isComplete;d.hasError?c.error(d.thrownError):(g||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(H,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:(H,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 g=this,m=g.kind,M=g.error;return"N"===m?null==y?void 0:y(g.value):"E"===m?null==f?void 0:f(M):null==b?void 0:b()},p.prototype.accept=function(y,f,b){var g;return u.isFunction(null===(g=y)||void 0===g?void 0:g.next)?this.observe(y):this.do(y,f,b)},p.prototype.toObservable=function(){var y=this,f=y.kind,g=y.error,m="N"===f?h.of(y.value):"E"===f?_.throwError(function(){return g}):"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,g,C=p.kind,M=p.value,P=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,P):null===(g=y.complete)||void 0===g||g.call(y)}o.Notification=c,o.observeNotification=d},6941:(H,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:(H,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 g(m){m&&(this._subscribe=m)}return g.prototype.lift=function(m){var C=new g;return C.source=this,C.operator=m,C},g.prototype.subscribe=function(m,C,M){var P=this,O=function b(g){return g&&g instanceof n.Subscriber||function f(g){return g&&c.isFunction(g.next)&&c.isFunction(g.error)&&c.isFunction(g.complete)}(g)&&h.isSubscription(g)}(m)?m:new n.SafeSubscriber(m,C,M);return d.errorContext(function(){var Z=P.operator,U=P.source;O.add(Z?Z.call(O,U):U?P._subscribe(O):P._trySubscribe(O))}),O},g.prototype._trySubscribe=function(m){try{return this._subscribe(m)}catch(C){m.error(C)}},g.prototype.forEach=function(m,C){var M=this;return new(C=y(C))(function(P,O){var j=new n.SafeSubscriber({next:function(Z){try{m(Z)}catch(U){O(U),j.unsubscribe()}},error:O,complete:P});M.subscribe(j)})},g.prototype._subscribe=function(m){var C;return null===(C=this.source)||void 0===C?void 0:C.subscribe(m)},g.prototype[_.observable]=function(){return this},g.prototype.pipe=function(){for(var m=[],C=0;C<arguments.length;C++)m[C]=arguments[C];return u.pipeFromArray(m)(this)},g.prototype.toPromise=function(m){var C=this;return new(m=y(m))(function(M,P){var O;C.subscribe(function(j){return O=j},function(j){return P(j)},function(){return M(O)})})},g.create=function(m){return new g(m)},g}();function y(g){var m;return null!==(m=null!=g?g:r.config.Promise)&&void 0!==m?m:Promise}o.Observable=p},3406:function(H,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,g=p._timestampProvider,m=p._windowTime;p.isStopped||(f.push(d),!b&&f.push(g.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,g=this._buffer.slice(),m=0;m<g.length&&!d.closed;m+=f?1:2)d.next(g[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,g=(b?1:2)*p;if(p<1/0&&g<f.length&&f.splice(0,f.length-g),!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:(H,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(H,o,a){"use strict";var f,n=this&&this.__extends||(f=function(b,g){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,g)},function(b,g){if("function"!=typeof g&&null!==g)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function m(){this.constructor=b}f(b,g),b.prototype=null===g?Object.create(g):(m.prototype=g.prototype,new m)}),h=this&&this.__values||function(f){var b="function"==typeof Symbol&&Symbol.iterator,g=b&&f[b],m=0;if(g)return g.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 g=f.call(this)||this;return g.closed=!1,g.currentObservers=null,g.observers=[],g.isStopped=!1,g.hasError=!1,g.thrownError=null,g}return n(b,f),b.prototype.lift=function(g){var m=new y(this,this);return m.operator=g,m},b.prototype._throwIfClosed=function(){if(this.closed)throw new r.ObjectUnsubscribedError},b.prototype.next=function(g){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 P=h(m.currentObservers),O=P.next();!O.done;O=P.next())O.value.next(g)}catch(Z){C={error:Z}}finally{try{O&&!O.done&&(M=P.return)&&M.call(P)}finally{if(C)throw C.error}}}})},b.prototype.error=function(g){var m=this;d.errorContext(function(){if(m._throwIfClosed(),!m.isStopped){m.hasError=m.isStopped=!0,m.thrownError=g;for(var C=m.observers;C.length;)C.shift().error(g)}})},b.prototype.complete=function(){var g=this;d.errorContext(function(){if(g._throwIfClosed(),!g.isStopped){g.isStopped=!0;for(var m=g.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 g;return(null===(g=this.observers)||void 0===g?void 0:g.length)>0},enumerable:!1,configurable:!0}),b.prototype._trySubscribe=function(g){return this._throwIfClosed(),f.prototype._trySubscribe.call(this,g)},b.prototype._subscribe=function(g){return this._throwIfClosed(),this._checkFinalizedStatuses(g),this._innerSubscribe(g)},b.prototype._innerSubscribe=function(g){var m=this,C=this,O=C.observers;return C.hasError||C.isStopped?u.EMPTY_SUBSCRIPTION:(this.currentObservers=null,O.push(g),new u.Subscription(function(){m.currentObservers=null,c.arrRemove(O,g)}))},b.prototype._checkFinalizedStatuses=function(g){var m=this,P=m.isStopped;m.hasError?g.error(m.thrownError):P&&g.complete()},b.prototype.asObservable=function(){var g=new _.Observable;return g.source=this,g},b.create=function(g,m){return new y(g,m)},b}(_.Observable);o.Subject=p;var y=function(f){function b(g,m){var C=f.call(this)||this;return C.destination=g,C.source=m,C}return n(b,f),b.prototype.next=function(g){var m,C;null===(C=null===(m=this.destination)||void 0===m?void 0:m.next)||void 0===C||C.call(m,g)},b.prototype.error=function(g){var m,C;null===(C=null===(m=this.destination)||void 0===m?void 0:m.error)||void 0===C||C.call(m,g)},b.prototype.complete=function(){var g,m;null===(m=null===(g=this.destination)||void 0===g?void 0:g.complete)||void 0===m||m.call(g)},b.prototype._subscribe=function(g){var m,C;return null!==(C=null===(m=this.source)||void 0===m?void 0:m.subscribe(g))&&void 0!==C?C:u.EMPTY_SUBSCRIPTION},b}(p);o.AnonymousSubject=y},7052:function(H,o,a){"use strict";var j,n=this&&this.__extends||(j=function(Z,U){return(j=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])})(Z,U)},function(Z,U){if("function"!=typeof U&&null!==U)throw new TypeError("Class extends value "+String(U)+" is not a constructor or null");function G(){this.constructor=Z}j(Z,U),Z.prototype=null===U?Object.create(U):(G.prototype=U.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(j){function Z(U){var G=j.call(this)||this;return G.isStopped=!1,U?(G.destination=U,_.isSubscription(U)&&U.add(G)):G.destination=o.EMPTY_OBSERVER,G}return n(Z,j),Z.create=function(U,G,B){return new C(U,G,B)},Z.prototype.next=function(U){this.isStopped?O(d.nextNotification(U),this):this._next(U)},Z.prototype.error=function(U){this.isStopped?O(d.errorNotification(U),this):(this.isStopped=!0,this._error(U))},Z.prototype.complete=function(){this.isStopped?O(d.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},Z.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,j.prototype.unsubscribe.call(this),this.destination=null)},Z.prototype._next=function(U){this.destination.next(U)},Z.prototype._error=function(U){try{this.destination.error(U)}finally{this.unsubscribe()}},Z.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},Z}(_.Subscription);o.Subscriber=f;var b=Function.prototype.bind;function g(j,Z){return b.call(j,Z)}var m=function(){function j(Z){this.partialObserver=Z}return j.prototype.next=function(Z){var U=this.partialObserver;if(U.next)try{U.next(Z)}catch(G){M(G)}},j.prototype.error=function(Z){var U=this.partialObserver;if(U.error)try{U.error(Z)}catch(G){M(G)}else M(Z)},j.prototype.complete=function(){var Z=this.partialObserver;if(Z.complete)try{Z.complete()}catch(U){M(U)}},j}(),C=function(j){function Z(U,G,B){var oe,he,X=j.call(this)||this;return h.isFunction(U)||!U?oe={next:null!=U?U:void 0,error:null!=G?G:void 0,complete:null!=B?B:void 0}:X&&u.config.useDeprecatedNextContext?((he=Object.create(U)).unsubscribe=function(){return X.unsubscribe()},oe={next:U.next&&g(U.next,he),error:U.error&&g(U.error,he),complete:U.complete&&g(U.complete,he)}):oe=U,X.destination=new m(oe),X}return n(Z,j),Z}(f);function M(j){u.config.useDeprecatedSynchronousErrorHandling?y.captureError(j):r.reportUnhandledError(j)}function O(j,Z){var U=u.config.onStoppedNotification;U&&p.timeoutProvider.setTimeout(function(){return U(j,Z)})}o.SafeSubscriber=C,o.EMPTY_OBSERVER={closed:!0,next:c.noop,error:function P(j){throw j},complete:c.noop}},6448:function(H,o,a){"use strict";var n=this&&this.__values||function(f){var b="function"==typeof Symbol&&Symbol.iterator,g=b&&f[b],m=0;if(g)return g.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 g="function"==typeof Symbol&&f[Symbol.iterator];if(!g)return f;var C,P,m=g.call(f),M=[];try{for(;(void 0===b||b-- >0)&&!(C=m.next()).done;)M.push(C.value)}catch(O){P={error:O}}finally{try{C&&!C.done&&(g=m.return)&&g.call(m)}finally{if(P)throw P.error}}return M},_=this&&this.__spreadArray||function(f,b){for(var g=0,m=b.length,C=f.length;g<m;g++,C++)f[C]=b[g];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,g,m,C,M;if(!this.closed){this.closed=!0;var P=this._parentage;if(P)if(this._parentage=null,Array.isArray(P))try{for(var O=n(P),j=O.next();!j.done;j=O.next())j.value.remove(this)}catch(he){b={error:he}}finally{try{j&&!j.done&&(g=O.return)&&g.call(O)}finally{if(b)throw b.error}}else P.remove(this);var U=this.initialTeardown;if(u.isFunction(U))try{U()}catch(he){M=he instanceof r.UnsubscriptionError?he.errors:[he]}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(he){M=null!=M?M:[],he instanceof r.UnsubscriptionError?M=_(_([],h(M)),h(he.errors)):M.push(he)}}}catch(he){m={error:he}}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 g;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!==(g=this._finalizers)&&void 0!==g?g:[]).push(b)}},f.prototype._hasParent=function(b){var g=this._parentage;return g===b||Array.isArray(g)&&g.includes(b)},f.prototype._addParent=function(b){var g=this._parentage;this._parentage=Array.isArray(g)?(g.push(b),g):g?[g,b]:b},f.prototype._removeParent=function(b){var g=this._parentage;g===b?this._parentage=null:Array.isArray(g)&&c.arrRemove(g,b)},f.prototype.remove=function(b){var g=this._finalizers;g&&c.arrRemove(g,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:(H,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:(H,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:(H,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(H,o,a){"use strict";var p,n=this&&this.__extends||(p=function(y,f){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,g){b.__proto__=g}||function(b,g){for(var m in g)Object.prototype.hasOwnProperty.call(g,m)&&(b[m]=g[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 g=p.call(this)||this;return g.source=f,g.subjectFactory=b,g._subject=null,g._refCount=0,g._connection=null,c.hasLift(f)&&(g.lift=f.lift),g}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 g=this.getSubject();b.add(this.source.subscribe(r.createOperatorSubscriber(g,void 0,function(){f._teardown(),g.complete()},function(m){f._teardown(),g.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:(H,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(H,o,a){"use strict";var n=this&&this.__read||function(f,b){var g="function"==typeof Symbol&&f[Symbol.iterator];if(!g)return f;var C,P,m=g.call(f),M=[];try{for(;(void 0===b||b-- >0)&&!(C=m.next()).done;)M.push(C.value)}catch(O){P={error:O}}finally{try{C&&!C.done&&(g=m.return)&&g.call(m)}finally{if(P)throw P.error}}return M},h=this&&this.__spreadArray||function(f,b){for(var g=0,m=b.length,C=f.length;g<m;g++,C++)f[C]=b[g];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,g,m){if(g){if(!_.isScheduler(g))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(g))};m=g}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=[],P=0;P<arguments.length;P++)M[P]=arguments[P];var O=new p.AsyncSubject,j=!0;return new u.Observable(function(Z){var U=O.subscribe(Z);if(j){j=!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 he=X.shift();if(null!=he)return void O.error(he)}O.next(1<X.length?X:X[0]),B=!0,G&&O.complete()}])),B&&O.complete(),G=!0}return U})}}},3488:(H,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:(H,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(P){g(C,function(){for(var O=m.length,j=new Array(O),Z=O,U=O,G=function(X){g(C,function(){var oe=_.from(m[X],C),he=!1;oe.subscribe(p.createOperatorSubscriber(P,function(xe){j[X]=xe,he||(he=!0,U--),U||P.next(M(j.slice()))},function(){--Z||P.complete()}))},P)},B=0;B<O;B++)G(B)},P)}}function g(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),P=c.popResultSelector(m),O=h.argsArgArrayOrObject(m),j=O.args,Z=O.keys;if(0===j.length)return _.from([],M);var U=new n.Observable(b(j,M,Z?function(G){return d.createObject(Z,G)}:u.identity));return P?U.pipe(r.mapOneOrManyArgs(P)):U},o.combineLatestInit=b},509:(H,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:(H,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,g=y(),m=new h.Observable(function(C){return g.subscribe(C)});return m.connect=function(){return(!p||p.closed)&&(p=_.defer(function(){return c}).subscribe(g),b&&p.add(function(){return g=y()})),p},m}},9954:(H,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:(H,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,g=function(){p.closed||(b=_.animationFrameProvider.requestAnimationFrame(function(m){b=0;var C=y.now();p.next({timestamp:d?C:m,elapsed:C-f}),g()}))};return g(),function(){b&&_.animationFrameProvider.cancelAnimationFrame(b)}})}o.animationFrames=function u(d){return d?r(d):c};var c=r()},7406:(H,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:(H,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),g=h.argsArgArrayOrObject(y),m=g.args,C=g.keys,M=new n.Observable(function(P){var O=m.length;if(O)for(var j=new Array(O),Z=O,U=O,G=function(X){var oe=!1;_.innerFrom(m[X]).subscribe(r.createOperatorSubscriber(P,function(he){oe||(oe=!0,U--),j[X]=he},function(){return Z--},void 0,function(){(!Z||!oe)&&(U||P.next(C?d.createObject(C,j):j),P.complete())}))},B=0;B<O;B++)G(B);else P.complete()});return b?M.pipe(c.mapOneOrManyArgs(b)):M}},4996:(H,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(H,o,a){"use strict";var n=this&&this.__read||function(P,O){var j="function"==typeof Symbol&&P[Symbol.iterator];if(!j)return P;var U,B,Z=j.call(P),G=[];try{for(;(void 0===O||O-- >0)&&!(U=Z.next()).done;)G.push(U.value)}catch(X){B={error:X}}finally{try{U&&!U.done&&(j=Z.return)&&j.call(Z)}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 g(P,O){return function(j){return function(Z){return P[j](O,Z)}}}o.fromEvent=function b(P,O,j,Z){if(c.isFunction(j)&&(Z=j,j=void 0),Z)return b(P,O,j).pipe(d.mapOneOrManyArgs(Z));var U=n(function M(P){return c.isFunction(P.addEventListener)&&c.isFunction(P.removeEventListener)}(P)?y.map(function(X){return function(oe){return P[X](O,oe,j)}}):function m(P){return c.isFunction(P.addListener)&&c.isFunction(P.removeListener)}(P)?p.map(g(P,O)):function C(P){return c.isFunction(P.on)&&c.isFunction(P.off)}(P)?f.map(g(P,O)):[],2),G=U[0],B=U[1];if(!G&&r.isArrayLike(P))return u.mergeMap(function(X){return b(X,O,j)})(h.innerFrom(P));if(!G)throw new TypeError("Invalid event target");return new _.Observable(function(X){var oe=function(){for(var he=[],xe=0;xe<arguments.length;xe++)he[xe]=arguments[xe];return X.next(1<he.length?he:he[0])};return G(oe),function(){return B(oe)}})}},3975:(H,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=[],g=0;g<arguments.length;g++)b[g]=arguments[g];return p.next(1===b.length?b[0]:b)},f=r(y);return h.isFunction(c)?function(){return c(y,f)}:void 0})}},5107:(H,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(H,o,a){"use strict";var n=this&&this.__generator||function(d,p){var f,b,g,m,y={label:0,sent:function(){if(1&g[0])throw g[1];return g[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(P){return function(O){return function M(P){if(f)throw new TypeError("Generator is already executing.");for(;y;)try{if(f=1,b&&(g=2&P[0]?b.return:P[0]?b.throw||((g=b.return)&&g.call(b),0):b.next)&&!(g=g.call(b,P[1])).done)return g;switch(b=0,g&&(P=[2&P[0],g.value]),P[0]){case 0:case 1:g=P;break;case 4:return y.label++,{value:P[1],done:!1};case 5:y.label++,b=P[1],P=[0];continue;case 7:P=y.ops.pop(),y.trys.pop();continue;default:if(!(g=(g=y.trys).length>0&&g[g.length-1])&&(6===P[0]||2===P[0])){y=0;continue}if(3===P[0]&&(!g||P[1]>g[0]&&P[1]<g[3])){y.label=P[1];break}if(6===P[0]&&y.label<g[1]){y.label=g[1],g=P;break}if(g&&y.label<g[2]){y.label=g[2],y.ops.push(P);break}g[2]&&y.ops.pop(),y.trys.pop();continue}P=p.call(d,y)}catch(O){P=[6,O],b=0}finally{f=g=0}if(5&P[0])throw P[1];return{value:P[0]?P[1]:void 0,done:!0}}([P,O])}}};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 g,m,C,M;function P(){var O;return n(this,function(j){switch(j.label){case 0:O=M,j.label=1;case 1:return!p||p(O)?[4,C(O)]:[3,4];case 2:j.sent(),j.label=3;case 3:return O=y(O),[3,1];case 4:return[2]}})}return 1===arguments.length?(M=(g=d).initialState,p=g.condition,y=g.iterate,C=void 0===(m=g.resultSelector)?h.identity:m,b=g.scheduler):(M=d,!f||_.isScheduler(f)?(C=h.identity,b=f):C=f),u.defer(b?function(){return r.scheduleIterable(P(),b)}:P)}},3140:(H,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(H,o,a){"use strict";var n=this&&this.__awaiter||function(oe,he,xe,it){return new(xe||(xe=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 xe?q:new xe(function(V){V(q)})}(K.value).then(te,Ee)}Oe((it=it.apply(oe,he||[])).next())})},h=this&&this.__generator||function(oe,he){var it,z,q,V,xe={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(;xe;)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 xe.label++,{value:Oe[1],done:!1};case 5:xe.label++,z=Oe[1],Oe=[0];continue;case 7:Oe=xe.ops.pop(),xe.trys.pop();continue;default:if(!(q=(q=xe.trys).length>0&&q[q.length-1])&&(6===Oe[0]||2===Oe[0])){xe=0;continue}if(3===Oe[0]&&(!q||Oe[1]>q[0]&&Oe[1]<q[3])){xe.label=Oe[1];break}if(6===Oe[0]&&xe.label<q[1]){xe.label=q[1],q=Oe;break}if(q&&xe.label<q[2]){xe.label=q[2],xe.ops.push(Oe);break}q[2]&&xe.ops.pop(),xe.trys.pop();continue}Oe=he.call(oe,xe)}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 xe,he=oe[Symbol.asyncIterator];return he?he.call(oe):(oe="function"==typeof u?u(oe):oe[Symbol.iterator](),xe={},it("next"),it("throw"),it("return"),xe[Symbol.asyncIterator]=function(){return this},xe);function it(q){xe[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 he="function"==typeof Symbol&&Symbol.iterator,xe=he&&oe[he],it=0;if(xe)return xe.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(he?"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),g=a(7128),m=a(7104),C=a(4709),M=a(1689);function O(oe){return new d.Observable(function(he){var xe=oe[M.observable]();if(m.isFunction(xe.subscribe))return xe.subscribe(he);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function j(oe){return new d.Observable(function(he){for(var xe=0;xe<oe.length&&!he.closed;xe++)he.next(oe[xe]);he.complete()})}function Z(oe){return new d.Observable(function(he){oe.then(function(xe){he.closed||(he.next(xe),he.complete())},function(xe){return he.error(xe)}).then(null,C.reportUnhandledError)})}function U(oe){return new d.Observable(function(he){var xe,it;try{for(var z=u(oe),q=z.next();!q.done;q=z.next())if(he.next(q.value),he.closed)return}catch(te){xe={error:te}}finally{try{q&&!q.done&&(it=z.return)&&it.call(z)}finally{if(xe)throw xe.error}}he.complete()})}function G(oe){return new d.Observable(function(he){(function X(oe,he){var xe,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]),xe=_(oe),Ee.label=1;case 1:return[4,xe.next()];case 2:if((it=Ee.sent()).done)return[3,4];if(he.next(it.value),he.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=xe.return)?[4,q.call(xe)]:[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 he.complete(),[2]}})})})(oe,he).catch(function(xe){return he.error(xe)})})}function B(oe){return G(g.readableStreamLikeToAsyncGenerator(oe))}o.innerFrom=function P(oe){if(oe instanceof d.Observable)return oe;if(null!=oe){if(p.isInteropObservable(oe))return O(oe);if(r.isArrayLike(oe))return j(oe);if(c.isPromise(oe))return Z(oe);if(y.isAsyncIterable(oe))return G(oe);if(b.isIterable(oe))return U(oe);if(g.isReadableStreamLike(oe))return B(oe)}throw f.createInvalidObservableTypeError(oe)},o.fromInteropObservable=O,o.fromArrayLike=j,o.fromPromise=Z,o.fromIterable=U,o.fromAsyncIterable=G,o.fromReadableStreamLike=B},1836:(H,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:(H,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:(H,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:(H,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:(H,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:(H,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:(H,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:(H,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(g){y.push(h.innerFrom(d[g]).subscribe(u.createOperatorSubscriber(p,function(m){if(y){for(var C=0;C<y.length;C++)C!==g&&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:(H,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:(H,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:(H,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 g=0;return p.schedule(function(){f.closed||(f.next(g++),0<=y?this.schedule(void 0,y):f.complete())},b)})}},924:(H,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(H,o,a){"use strict";var n=this&&this.__read||function(f,b){var g="function"==typeof Symbol&&f[Symbol.iterator];if(!g)return f;var C,P,m=g.call(f),M=[];try{for(;(void 0===b||b-- >0)&&!(C=m.next()).done;)M.push(C.value)}catch(O){P={error:O}}finally{try{C&&!C.done&&(g=m.return)&&g.call(m)}finally{if(P)throw P.error}}return M},h=this&&this.__spreadArray||function(f,b){for(var g=0,m=b.length,C=f.length;g<m;g++,C++)f[C]=b[g];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 g=p.popResultSelector(f),m=r.argsOrArgArray(f);return m.length?new _.Observable(function(C){var M=m.map(function(){return[]}),P=m.map(function(){return!1});C.add(function(){M=P=null});for(var O=function(Z){u.innerFrom(m[Z]).subscribe(d.createOperatorSubscriber(C,function(U){if(M[Z].push(U),M.every(function(B){return B.length})){var G=M.map(function(B){return B.shift()});C.next(g?g.apply(void 0,h([],n(G))):G),M.some(function(B,X){return!B.length&&P[X]})&&C.complete()}},function(){P[Z]=!0,!M[Z].length&&C.complete()}))},j=0;!C.closed&&j<m.length;j++)O(j);return function(){M=P=null}}):c.EMPTY}},3173:function(H,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,g){var m=r.call(this,d)||this;return m.onFinalize=b,m.shouldUnsubscribe=g,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:(H,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,g=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,g,m))},function(){b=!0,(!p||!f||f.closed)&&d.complete()}))})}},9034:(H,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:(H,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(H,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(g){var m,C,M,P,O=null;b++%d==0&&f.push([]);try{for(var j=n(f),Z=j.next();!Z.done;Z=j.next())(U=Z.value).push(g),c<=U.length&&(O=null!=O?O:[]).push(U)}catch(X){m={error:X}}finally{try{Z&&!Z.done&&(C=j.return)&&C.call(j)}finally{if(m)throw m.error}}if(O)try{for(var G=n(O),B=G.next();!B.done;B=G.next()){var U;u.arrRemove(f,U=B.value),y.next(U)}}catch(X){M={error:X}}finally{try{B&&!B.done&&(P=G.return)&&P.call(G)}finally{if(M)throw M.error}}},function(){var g,m;try{for(var C=n(f),M=C.next();!M.done;M=C.next())y.next(M.value)}catch(O){g={error:O}}finally{try{M&&!M.done&&(m=C.return)&&m.call(C)}finally{if(g)throw g.error}}y.complete()},void 0,function(){f=null}))})}},1392:function(H,o,a){"use strict";var n=this&&this.__values||function(f){var b="function"==typeof Symbol&&Symbol.iterator,g=b&&f[b],m=0;if(g)return g.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,g,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,P=null!==(g=m[0])&&void 0!==g?g:null,O=m[1]||1/0;return _.operate(function(j,Z){var U=[],G=!1,B=function(he){var xe=he.buffer;he.subs.unsubscribe(),r.arrRemove(U,he),Z.next(xe),G&&X()},X=function(){if(U){var he=new h.Subscription;Z.add(he);var it={buffer:[],subs:he};U.push(it),p.executeSchedule(he,M,function(){return B(it)},f)}};null!==P&&P>=0?p.executeSchedule(Z,M,X,P,!0):G=!0,X();var oe=u.createOperatorSubscriber(Z,function(he){var xe,it,z=U.slice();try{for(var q=n(z),V=q.next();!V.done;V=q.next()){var te=V.value,Ee=te.buffer;Ee.push(he),O<=Ee.length&&B(te)}}catch(Oe){xe={error:Oe}}finally{try{V&&!V.done&&(it=q.return)&&it.call(q)}finally{if(xe)throw xe.error}}},function(){for(;null!=U&&U.length;)Z.next(U.shift().buffer);null==oe||oe.unsubscribe(),Z.complete(),Z.unsubscribe()},void 0,function(){return U=null});j.subscribe(oe)})}},555:function(H,o,a){"use strict";var n=this&&this.__values||function(y){var f="function"==typeof Symbol&&Symbol.iterator,b=f&&y[f],g=0;if(b)return b.call(y);if(y&&"number"==typeof y.length)return{next:function(){return y&&g>=y.length&&(y=void 0),{value:y&&y[g++],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,g){var m=[];u.innerFrom(y).subscribe(r.createOperatorSubscriber(g,function(C){var M=[];m.push(M);var P=new h.Subscription;P.add(u.innerFrom(f(C)).subscribe(r.createOperatorSubscriber(g,function(){d.arrRemove(m,M),g.next(M),P.unsubscribe()},c.noop)))},c.noop)),b.subscribe(r.createOperatorSubscriber(g,function(C){var M,P;try{for(var O=n(m),j=O.next();!j.done;j=O.next())j.value.push(C)}catch(U){M={error:U}}finally{try{j&&!j.done&&(P=O.return)&&P.call(O)}finally{if(M)throw M.error}}},function(){for(;m.length>0;)g.next(m.shift());g.complete()}))})}},7274:(H,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 g=y;y=[],g&&p.next(g),u.innerFrom(c()).subscribe(f=_.createOperatorSubscriber(p,b,h.noop))};b(),d.subscribe(_.createOperatorSubscriber(p,function(g){return null==y?void 0:y.push(g)},function(){y&&p.next(y),p.complete()},void 0,function(){return y=f=null}))})}},6e3:(H,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:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.combineAll=void 0;var n=a(8931);o.combineAll=n.combineLatestAll},5538:function(H,o,a){"use strict";var n=this&&this.__read||function(f,b){var g="function"==typeof Symbol&&f[Symbol.iterator];if(!g)return f;var C,P,m=g.call(f),M=[];try{for(;(void 0===b||b-- >0)&&!(C=m.next()).done;)M.push(C.value)}catch(O){P={error:O}}finally{try{C&&!C.done&&(g=m.return)&&g.call(m)}finally{if(P)throw P.error}}return M},h=this&&this.__spreadArray||function(f,b){for(var g=0,m=b.length,C=f.length;g<m;g++,C++)f[C]=b[g];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 g=p.popResultSelector(f);return g?d.pipe(y.apply(void 0,h([],n(f))),c.mapOneOrManyArgs(g)):u.operate(function(m,C){_.combineLatestInit(h([m],n(r.argsOrArgArray(f))))(C)})}},8931:(H,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(H,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(g){b={error:g}}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(H,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 g,C,b=f.call(p),m=[];try{for(;(void 0===y||y-- >0)&&!(g=b.next()).done;)m.push(g.value)}catch(M){C={error:M}}finally{try{g&&!g.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,g=p.length;f<b;f++,g++)p[g]=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,g){u.concatAll()(c.from(h([b],n(p)),f)).subscribe(g)})}},739:(H,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:(H,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:(H,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(H,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(g){b={error:g}}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:(H,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 g=y();h.innerFrom(d(u.fromSubscribable(g))).subscribe(b),b.add(f.subscribe(g))})}},1814:(H,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:(H,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,g=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,g,h.noop),u.innerFrom(c(m)).subscribe(b)},function(){g(),p.complete()},void 0,function(){f=b=null}))})}},7061:(H,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,g=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);g()}d.subscribe(_.createOperatorSubscriber(p,function(C){f=C,b=c.now(),y||(y=c.schedule(m,r),p.add(y))},function(){g(),p.complete()},void 0,function(){f=y=null}))})}},926:(H,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:(H,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:(H,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:(H,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:(H,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:(H,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(g){var m=d(g);(b||!c(f,m))&&(b=!1,f=m,y.next(g))}))})}},8589:(H,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:(H,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,g){return g===d}),r.take(1),y?u.defaultIfEmpty(p):_.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},4312:function(H,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,g,y=p.call(c),b=[];try{for(;(void 0===d||d-- >0)&&!(f=y.next()).done;)b.push(f.value)}catch(m){g={error:m}}finally{try{f&&!f.done&&(p=y.return)&&p.call(y)}finally{if(g)throw g.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:(H,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:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.exhaust=void 0;var n=a(1399);o.exhaust=n.exhaustAll},1399:(H,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:(H,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,g){return d(y,b,f,g)}))}))}:_.operate(function(p,y){var f=0,b=null,g=!1;p.subscribe(u.createOperatorSubscriber(y,function(m){b||(b=u.createOperatorSubscriber(y,void 0,function(){b=null,g&&y.complete()}),h.innerFrom(c(m,f++)).subscribe(b))},function(){g=!0,!b&&y.complete()}))})}},8678:(H,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:(H,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:(H,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:(H,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(g){var m=b++;r.call(c,g,m,y)&&(f.next(p?m:g),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:(H,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:(H,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(g,m){return p(g,m,b)}):c.identity,_.take(1),f?u.defaultIfEmpty(y):r.throwIfEmpty(function(){return new n.EmptyError}))}}},1463:(H,o,a)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.flatMap=void 0;var n=a(3010);o.flatMap=n.mergeMap},4075:(H,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,g){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(g)},P=function(G){return M(function(B){return B.error(G)})},O=0,j=!1,Z=new r.OperatorSubscriber(g,function(G){try{var B=d(G),X=C.get(B);if(!X){C.set(B,X=f?f():new _.Subject);var oe=function U(G,B){var X=new n.Observable(function(oe){O++;var he=B.subscribe(oe);return function(){he.unsubscribe(),0==--O&&j&&Z.unsubscribe()}});return X.key=G,X}(B,X);if(g.next(oe),y){var he=r.createOperatorSubscriber(X,function(){X.complete(),null==he||he.unsubscribe()},void 0,void 0,function(){return C.delete(B)});Z.add(h.innerFrom(y(oe)).subscribe(he))}}X.next(m?m(G):G)}catch(xe){P(xe)}},function(){return M(function(G){return G.complete()})},P,function(){return C.clear()},function(){return j=!0,0===O});b.subscribe(Z)})}},4041:(H,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:(H,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:(H,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:(H,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(g,m){return p(g,m,b)}):c.identity,_.takeLast(1),f?r.defaultIfEmpty(y):u.throwIfEmpty(function(){return new n.EmptyError}))}}},752:(H,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:(H,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:(H,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:(H,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(H,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,g=b.call(y),C=[];try{for(;(void 0===f||f-- >0)&&!(m=g.next()).done;)C.push(m.value)}catch(P){M={error:P}}finally{try{m&&!m.done&&(b=g.return)&&b.call(g)}finally{if(M)throw M.error}}return C},h=this&&this.__spreadArray||function(y,f){for(var b=0,g=f.length,m=y.length;b<g;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),g=c.popNumber(y,1/0);return y=u.argsOrArgArray(y),_.operate(function(m,C){r.mergeAll(g)(d.from(h([m],n(y)),b)).subscribe(C)})}},3917:(H,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:(H,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,g){var m=[],C=0,M=0,P=!1,O=function(){P&&!m.length&&!C&&c.complete()},j=function(U){return C<p?Z(U):m.push(U)},Z=function(U){f&&c.next(U),C++;var G=!1;n.innerFrom(d(U,M++)).subscribe(_.createOperatorSubscriber(c,function(B){null==y||y(B),f?j(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 Z(X)}):Z(X)};m.length&&C<p;)B();O()}catch(X){c.error(X)}}))};return r.subscribe(_.createOperatorSubscriber(c,j,function(){P=!0,O()})),function(){null==g||g()}}},3010:(H,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(g,m){return p(f,g,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:(H,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:(H,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(H,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(g){b={error:g}}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:(H,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:(H,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:(H,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(H,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,g=b.call(y),C=[];try{for(;(void 0===f||f-- >0)&&!(m=g.next()).done;)C.push(m.value)}catch(P){M={error:P}}finally{try{m&&!m.done&&(b=g.return)&&b.call(g)}finally{if(M)throw M.error}}return C},h=this&&this.__spreadArray||function(y,f){for(var b=0,g=f.length,m=y.length;b<g;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(g,m){var C=h([g],n(b)),M=function(){if(!m.closed)if(C.length>0){var P=void 0;try{P=u.innerFrom(C.shift())}catch(j){return void M()}var O=c.createOperatorSubscriber(m,void 0,d.noop,d.noop);P.subscribe(O),O.add(M)}else m.complete()};M()})}},9526:(H,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:(H,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:(H,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:(H,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:(H,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:(H,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(H,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),g=[];try{for(;(void 0===p||p-- >0)&&!(b=f.next()).done;)g.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 g},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:(H,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:(H,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:(H,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,g){var C,m=0,M=function(){if(null==C||C.unsubscribe(),C=null,null!=f){var O="number"==typeof f?r.timer(f):u.innerFrom(f(m)),j=_.createOperatorSubscriber(g,function(){j.unsubscribe(),P()});O.subscribe(j)}else P()},P=function(){var O=!1;C=b.subscribe(_.createOperatorSubscriber(g,void 0,function(){++m<y?C?M():O=!0:g.complete()})),O&&M()};P()})}},7032:(H,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,g=!1,m=function(){return g&&b&&(d.complete(),!0)},M=function(){g=!1,p=c.subscribe(_.createOperatorSubscriber(d,void 0,function(){g=!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:(H,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,g=p.resetOnSuccess,m=void 0!==g&&g;return f<=0?_.identity:n.operate(function(C,M){var O,P=0,j=function(){var Z=!1;O=C.subscribe(h.createOperatorSubscriber(M,function(U){m&&(P=0),M.next(U)},void 0,function(U){if(P++<f){var G=function(){O?(O.unsubscribe(),O=null,j()):Z=!0};if(null!=b){var B="number"==typeof b?u.timer(b):r.innerFrom(b(U,P)),X=h.createOperatorSubscriber(M,function(){X.unsubscribe(),G()},function(){M.complete()});B.subscribe(X)}else G()}else M.error(U)})),Z&&(O.unsubscribe(),O=null,j())};j()})}},5131:(H,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(g){f||(f=new n.Subject,r(f).subscribe(_.createOperatorSubscriber(d,function(){return p?b():y=!0}))),f&&f.next(g)})),y&&(p.unsubscribe(),p=null,y=!1,b())};b()})}},2531:(H,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))})}},2098:(H,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:(H,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:(H,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,g=0;p.subscribe(n.createOperatorSubscriber(y,function(m){var C=g++;b=f?_(b,m,C):(f=!0,m),c&&y.next(b)},d&&function(){f&&y.next(b),y.complete()}))}}},9788:(H,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()},g=function(m,C){var M=h.createOperatorSubscriber(p,function(P){var O=C.buffer;0===O.length?C.complete?b(!1):m.buffer.push(P):!c(P,O.shift())&&b(!1)},function(){m.complete=!0,C.complete&&b(0===C.buffer.length),null==M||M.unsubscribe()});return M};d.subscribe(g(y,f)),r.subscribe(g(f,y))})}},3222:function(H,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,g=b.call(y),C=[];try{for(;(void 0===f||f-- >0)&&!(m=g.next()).done;)C.push(m.value)}catch(P){M={error:P}}finally{try{m&&!m.done&&(b=g.return)&&b.call(g)}finally{if(M)throw M.error}}return C},h=this&&this.__spreadArray||function(y,f){for(var b=0,g=f.length,m=y.length;b<g;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=[],g=2;g<arguments.length;g++)b[g-2]=arguments[g];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,g=y.resetOnError,m=void 0===g||g,C=y.resetOnComplete,M=void 0===C||C,P=y.resetOnRefCountZero,O=void 0===P||P;return function(j){var Z,U,G,B=0,X=!1,oe=!1,he=function(){null==U||U.unsubscribe(),U=void 0},xe=function(){he(),Z=G=void 0,X=oe=!1},it=function(){var z=Z;xe(),null==z||z.unsubscribe()};return c.operate(function(z,q){B++,!oe&&!X&&he();var V=G=null!=G?G:b();q.add(function(){0==--B&&!oe&&!X&&(U=p(it,O))}),V.subscribe(q),!Z&&B>0&&(Z=new r.SafeSubscriber({next:function(te){return V.next(te)},error:function(te){oe=!0,he(),U=p(xe,m,te),V.error(te)},complete:function(){X=!0,he(),U=p(xe,M),V.complete()}}),_.innerFrom(z).subscribe(Z))})(j)}}},2186:(H,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:(H,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,g=!1,m=0;p.subscribe(r.createOperatorSubscriber(y,function(C){g=!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(g?new _.NotFoundError("No matching values"):new n.EmptyError)}))})}},4975:(H,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:(H,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 g=b%r,m=p[g];p[g]=f,d.next(m)}})),function(){p=null}})}},7409:(H,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:(H,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:(H,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:(H,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:(H,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:(H,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,g=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(P){return p.next(c?c(m,P,M,C++):P)},function(){y=null,g()}))},function(){b=!0,g()}))})}},9309:(H,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:(H,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:(H,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(H,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 g=n(y),m=g.next();!m.done;m=g.next())p.next(m.value)}catch(M){f={error:M}}finally{try{m&&!m.done&&(b=g.return)&&b.call(g)}finally{if(f)throw f.error}}p.complete()},void 0,function(){y=null}))})}},5716:(H,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:(H,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:(H,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 g;null===(g=y.subscribe)||void 0===g||g.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:(H,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,g=null,m=null,C=!1,M=function(){null==m||m.unsubscribe(),m=null,f&&(j(),C&&p.complete())},P=function(){m=null,C&&p.complete()},O=function(Z){return m=_.innerFrom(r(Z)).subscribe(h.createOperatorSubscriber(p,M,P))},j=function(){if(b){b=!1;var Z=g;g=null,p.next(Z),!C&&O(Z)}};d.subscribe(h.createOperatorSubscriber(p,function(Z){b=!0,g=Z,(!m||m.closed)&&(y?j():O(Z))},function(){C=!0,(!(f&&b&&m)||m.closed)&&p.complete()}))})}},4029:(H,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:(H,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:(H,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(),g=b-y;y=b,p.next(new r(f,g))}))})};var r=function c(d,p){this.value=d,this.interval=p};o.TimeInterval=r},5001:(H,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(g){void 0===g&&(g=null),f(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=g}}),o.timeout=function p(f,b){var g=h.isValidDate(f)?{first:f}:"number"==typeof f?{each:f}:f,m=g.first,C=g.each,M=g.with,P=void 0===M?y:M,O=g.scheduler,j=void 0===O?null!=b?b:n.asyncScheduler:O,Z=g.meta,U=void 0===Z?null:Z;if(null==m&&null==C)throw new TypeError("No timeout provided.");return _.operate(function(G,B){var X,oe,he=null,xe=0,it=function(z){oe=d.executeSchedule(B,j,function(){try{X.unsubscribe(),u.innerFrom(P({meta:U,lastValue:he,seen:xe})).subscribe(B)}catch(q){B.error(q)}},z)};X=G.subscribe(c.createOperatorSubscriber(B,function(z){null==oe||oe.unsubscribe(),xe++,B.next(he=z),C>0&&it(C)},void 0,void 0,function(){null!=oe&&oe.closed||null==oe||oe.unsubscribe(),he=null})),!xe&&it(null!=m?"number"==typeof m?m:+m-j.now():C)})}},8308:(H,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:(H,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:(H,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:(H,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(H,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,P;try{for(var O=n(b),j=O.next();!j.done;j=O.next())j.value.next(C)}catch(B){M={error:B}}finally{try{j&&!j.done&&(P=O.return)&&P.call(O)}finally{if(M)throw M.error}}var U=m-c+1;if(U>=0&&U%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:(H,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,g,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,P=null!==(g=m[0])&&void 0!==g?g:null,O=m[1]||1/0;return u.operate(function(j,Z){var U=[],G=!1,B=function(xe){var z=xe.subs;xe.window.complete(),z.unsubscribe(),c.arrRemove(U,xe),G&&X()},X=function(){if(U){var xe=new _.Subscription;Z.add(xe);var it=new n.Subject,z={window:it,subs:xe,seen:0};U.push(z),Z.next(it.asObservable()),p.executeSchedule(xe,M,function(){return B(z)},f)}};null!==P&&P>=0?p.executeSchedule(Z,M,X,P,!0):G=!0,X();var oe=function(xe){return U.slice().forEach(xe)},he=function(xe){oe(function(it){return xe(it.window)}),xe(Z),Z.unsubscribe()};return j.subscribe(r.createOperatorSubscriber(Z,function(xe){oe(function(it){it.window.next(xe),O<=++it.seen&&B(it)})},function(){return he(function(xe){return xe.complete()})},function(xe){return he(function(it){return it.error(xe)})})),function(){U=null}})}},6464:function(H,o,a){"use strict";var n=this&&this.__values||function(f){var b="function"==typeof Symbol&&Symbol.iterator,g=b&&f[b],m=0;if(g)return g.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(g,m){var C=[],M=function(P){for(;0<C.length;)C.shift().error(P);m.error(P)};r.innerFrom(f).subscribe(c.createOperatorSubscriber(m,function(P){var O=new h.Subject;C.push(O);var U,j=new _.Subscription;try{U=r.innerFrom(b(P))}catch(G){return void M(G)}m.next(O.asObservable()),j.add(U.subscribe(c.createOperatorSubscriber(m,function(){p.arrRemove(C,O),O.complete(),j.unsubscribe()},d.noop,M)))},d.noop)),g.subscribe(c.createOperatorSubscriber(m,function(P){var O,j,Z=C.slice();try{for(var U=n(Z),G=U.next();!G.done;G=U.next())G.value.next(P)}catch(X){O={error:X}}finally{try{G&&!G.done&&(j=U.return)&&j.call(U)}finally{if(O)throw O.error}}},function(){for(;0<C.length;)C.shift().complete();m.complete()},M,function(){for(;0<C.length;)C.shift().unsubscribe()}))})}},5424:(H,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)},g=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,g,g,b))};g(),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(H,o,a){"use strict";var n=this&&this.__read||function(f,b){var g="function"==typeof Symbol&&f[Symbol.iterator];if(!g)return f;var C,P,m=g.call(f),M=[];try{for(;(void 0===b||b-- >0)&&!(C=m.next()).done;)M.push(C.value)}catch(O){P={error:O}}finally{try{C&&!C.done&&(g=m.return)&&g.call(m)}finally{if(P)throw P.error}}return M},h=this&&this.__spreadArray||function(f,b){for(var g=0,m=b.length,C=f.length;g<m;g++,C++)f[C]=b[g];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 g=p.popResultSelector(f);return _.operate(function(m,C){for(var M=f.length,P=new Array(M),O=f.map(function(){return!1}),j=!1,Z=function(G){r.innerFrom(f[G]).subscribe(u.createOperatorSubscriber(C,function(B){P[G]=B,!j&&!O[G]&&(O[G]=!0,(j=O.every(c.identity))&&(O=null))},d.noop))},U=0;U<M;U++)Z(U);m.subscribe(u.createOperatorSubscriber(C,function(G){if(j){var B=h([G],n(P));C.next(g?g.apply(void 0,h([],n(B))):B)}}))})}},5573:function(H,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,g,y=p.call(c),b=[];try{for(;(void 0===d||d-- >0)&&!(f=y.next()).done;)b.push(f.value)}catch(m){g={error:m}}finally{try{f&&!f.done&&(p=y.return)&&p.call(y)}finally{if(g)throw g.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:(H,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(H,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(g){b={error:g}}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:(H,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:(H,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:(H,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,g;try{b=(f=y.next()).value,g=f.done}catch(m){return void p.error(m)}g?p.complete():p.next(b)},0,!0)}),function(){return _.isFunction(null==y?void 0:y.return)&&y.return()}})}},7767:(H,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:(H,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:(H,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:(H,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),g=a(7128),m=a(3958);o.scheduled=function C(M,P){if(null!=M){if(c.isInteropObservable(M))return n.scheduleObservable(M,P);if(p.isArrayLike(M))return _.scheduleArray(M,P);if(d.isPromise(M))return h.schedulePromise(M,P);if(f.isAsyncIterable(M))return r.scheduleAsyncIterable(M,P);if(y.isIterable(M))return u.scheduleIterable(M,P);if(g.isReadableStreamLike(M))return m.scheduleReadableStreamLike(M,P)}throw b.createInvalidObservableTypeError(M)}},1394:function(H,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(H,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(H,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(H,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(H,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(H,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,g=this.scheduler;return null!=b&&(this.id=this.recycleAsyncId(g,b,y)),this.pending=!0,this.delay=y,this.id=null!==(f=this.id)&&void 0!==f?f:this.requestAsyncId(g,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(g){f=!0,b=g||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(H,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(H,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(H,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(H,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 g in b)Object.prototype.hasOwnProperty.call(b,g)&&(f[g]=b[g])})(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 g,m,f=this.actions,b=this.maxFrames;(m=f[0])&&m.delay<=b&&(f.shift(),this.frame=m.delay,!(g=m.execute(m.state,m.delay))););if(g){for(;m=f.shift();)m.unsubscribe();throw g}},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 g=d.call(this,y,f)||this;return g.scheduler=y,g.work=f,g.index=b,g.active=!0,g.index=y.index=b,g}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 g=y.actions;return g.push(this),g.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:(H,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(H,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:(H,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:(H,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:(H,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(H,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,g,y=p.call(c),b=[];try{for(;(void 0===d||d-- >0)&&!(f=y.next()).done;)b.push(f.value)}catch(m){g={error:m}}finally{try{f&&!f.done&&(p=y.return)&&p.call(y)}finally{if(g)throw g.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(H,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:(H,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:(H,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(H,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:(H,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:(H,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.observable=void 0,o.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},5256:(H,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0})},4769:(H,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:(H,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:(H,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:(H,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:(H,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:(H,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:(H,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:(H,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:(H,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:(H,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:(H,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:(H,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:(H,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:(H,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:(H,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:(H,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.identity=void 0,o.identity=function a(n){return n}},697:(H,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:(H,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:(H,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:(H,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.isFunction=void 0,o.isFunction=function a(n){return"function"==typeof n}},7454:(H,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:(H,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:(H,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:(H,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(H,o,a){"use strict";var n=this&&this.__generator||function(d,p){var f,b,g,m,y={label:0,sent:function(){if(1&g[0])throw g[1];return g[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(P){return function(O){return function M(P){if(f)throw new TypeError("Generator is already executing.");for(;y;)try{if(f=1,b&&(g=2&P[0]?b.return:P[0]?b.throw||((g=b.return)&&g.call(b),0):b.next)&&!(g=g.call(b,P[1])).done)return g;switch(b=0,g&&(P=[2&P[0],g.value]),P[0]){case 0:case 1:g=P;break;case 4:return y.label++,{value:P[1],done:!1};case 5:y.label++,b=P[1],P=[0];continue;case 7:P=y.ops.pop(),y.trys.pop();continue;default:if(!(g=(g=y.trys).length>0&&g[g.length-1])&&(6===P[0]||2===P[0])){y=0;continue}if(3===P[0]&&(!g||P[1]>g[0]&&P[1]<g[3])){y.label=P[1];break}if(6===P[0]&&y.label<g[1]){y.label=g[1],g=P;break}if(g&&y.label<g[2]){y.label=g[2],y.ops.push(P);break}g[2]&&y.ops.pop(),y.trys.pop();continue}P=p.call(d,y)}catch(O){P=[6,O],b=0}finally{f=g=0}if(5&P[0])throw P[1];return{value:P[0]?P[1]:void 0,done:!0}}([P,O])}}},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||[]),g=[];return b={},m("next"),m("throw"),m("return"),b[Symbol.asyncIterator]=function(){return this},b;function m(Z){f[Z]&&(b[Z]=function(U){return new Promise(function(G,B){g.push([Z,U,G,B])>1||C(Z,U)})})}function C(Z,U){try{!function M(Z){Z.value instanceof h?Promise.resolve(Z.value.v).then(P,O):j(g[0][2],Z)}(f[Z](U))}catch(G){j(g[0][3],G)}}function P(Z){C("next",Z)}function O(Z){C("throw",Z)}function j(Z,U){Z(U),g.shift(),g.length&&C(g[0][0],g[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:(H,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:(H,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(H,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),g=[];try{for(;(void 0===p||p-- >0)&&!(b=f.next()).done;)g.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 g},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:(H,o)=>{"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.noop=void 0,o.noop=function a(){}},963:(H,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:(H,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:(H,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:(H,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:(H,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:(H,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(P){P&&(this._subscribe=P)}lift(P){const O=new C;return O.source=this,O.operator=P,O}subscribe(P,O,j){const Z=function m(C){return C&&C instanceof n.Lv||function g(C){return C&&(0,p.m)(C.next)&&(0,p.m)(C.error)&&(0,p.m)(C.complete)}(C)&&(0,h.Nn)(C)}(P)?P:new n.Hp(P,O,j);return(0,y.x)(()=>{const{operator:U,source:G}=this;Z.add(U?U.call(Z,G):G?this._subscribe(Z):this._trySubscribe(Z))}),Z}_trySubscribe(P){try{return this._subscribe(P)}catch(O){P.error(O)}}forEach(P,O){return new(O=b(O))((j,Z)=>{const U=new n.Hp({next:G=>{try{P(G)}catch(B){Z(B),U.unsubscribe()}},error:Z,complete:j});this.subscribe(U)})}_subscribe(P){var O;return null===(O=this.source)||void 0===O?void 0:O.subscribe(P)}[_.L](){return this}pipe(...P){return function c(C){return 0===C.length?u.y:1===C.length?C[0]:function(P){return C.reduce((O,j)=>j(O),P)}}(P)(this)}toPromise(P){return new(P=b(P))((O,j)=>{let Z;this.subscribe(U=>Z=U,U=>j(U),()=>O(Z))})}}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:(H,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 g=new p(this,this);return g.operator=b,g}_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 g of this.currentObservers)g.next(b)}})}error(b){(0,c.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=b;const{observers:g}=this;for(;g.length;)g.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:g,isStopped:m,observers:C}=this;return g||m?h.Lc:(this.currentObservers=null,C.push(b),new h.w0(()=>{this.currentObservers=null,(0,r.P)(C,b)}))}_checkFinalizedStatuses(b){const{hasError:g,thrownError:m,isStopped:C}=this;g?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,g;null===(g=null===(b=this.destination)||void 0===b?void 0:b.next)||void 0===g||g.call(b,f)}error(f){var b,g;null===(g=null===(b=this.destination)||void 0===b?void 0:b.error)||void 0===g||g.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,g;return null!==(g=null===(b=this.source)||void 0===b?void 0:b.subscribe(f))&&void 0!==g?g:h.Lc}}},930:(H,o,a)=>{"use strict";a.d(o,{Hp:()=>P,Lv:()=>g});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 g extends h.w0{constructor(B){super(),this.isStopped=!1,B?(this.destination=B,(0,h.Nn)(B)&&B.add(this)):this.destination=U}static create(B,X,oe){return new P(B,X,oe)}next(B){this.isStopped?Z(function p(G){return y("N",G,void 0)}(B),this):this._next(B)}error(B){this.isStopped?Z(function d(G){return y("E",void 0,G)}(B),this):(this.isStopped=!0,this._error(B))}complete(){this.isStopped?Z(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){O(oe)}}error(B){const{partialObserver:X}=this;if(X.error)try{X.error(B)}catch(oe){O(oe)}else O(B)}complete(){const{partialObserver:B}=this;if(B.complete)try{B.complete()}catch(X){O(X)}}}class P extends g{constructor(B,X,oe){let he;if(super(),(0,n.m)(B)||!B)he={next:null!=B?B:void 0,error:null!=X?X:void 0,complete:null!=oe?oe:void 0};else{let xe;this&&_.v.useDeprecatedNextContext?(xe=Object.create(B),xe.unsubscribe=()=>this.unsubscribe(),he={next:B.next&&C(B.next,xe),error:B.error&&C(B.error,xe),complete:B.complete&&C(B.complete,xe)}):he=B}this.destination=new M(he)}}function O(G){_.v.useDeprecatedSynchronousErrorHandling?(0,b.O)(G):(0,u.h)(G)}function Z(G,B){const{onStoppedNotification:X}=_.v;X&&f.z.setTimeout(()=>X(G,B))}const U={closed:!0,next:r.Z,error:function j(G){throw G},complete:r.Z}},727:(H,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((g,m)=>`${m+1}) ${g.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:g}=this;if((0,n.m)(g))try{g()}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:(H,o,a)=>{"use strict";a.d(o,{v:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},9841:(H,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:P,keys:O}=(0,h.D)(m);if(0===P.length)return(0,_.D)([],C);const j=new n.y(function b(m,C,M=u.y){return P=>{g(C,()=>{const{length:O}=m,j=new Array(O);let Z=O,U=O;for(let G=0;G<O;G++)g(C,()=>{const B=(0,_.D)(m[G],C);let X=!1;B.subscribe((0,p.x)(P,oe=>{j[G]=oe,X||(X=!0,U--),U||P.next(M(j.slice()))},()=>{--Z||P.complete()}))},P)},P)}}(P,C,O?Z=>(0,d.n)(O,Z):u.y));return M?j.pipe((0,r.Z)(M)):j}function g(m,C,M){m?(0,y.f)(M,m,C):C()}},7272:(H,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:(H,o,a)=>{"use strict";a.d(o,{E:()=>h});const h=new(a(8306).y)(r=>r.complete())},4128:(H,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:g}=(0,h.D)(y),m=new n.y(C=>{const{length:M}=b;if(!M)return void C.complete();const P=new Array(M);let O=M,j=M;for(let Z=0;Z<M;Z++){let U=!1;(0,_.Xf)(b[Z]).subscribe((0,r.x)(C,G=>{U||(U=!0,j--),P[Z]=G},()=>O--,void 0,()=>{(!O||!U)&&(j||C.next(g?(0,d.n)(g,P):P),C.complete())}))}});return f?m.pipe((0,c.Z)(f)):m}},2076:(H,o,a)=>{"use strict";a.d(o,{D:()=>oe});var n=a(8421),h=a(9672),_=a(4482),u=a(5403);function r(he,xe=0){return(0,_.e)((it,z)=>{it.subscribe((0,u.x)(z,q=>(0,h.f)(z,he,()=>z.next(q),xe),()=>(0,h.f)(z,he,()=>z.complete(),xe),q=>(0,h.f)(z,he,()=>z.error(q),xe)))})}function c(he,xe=0){return(0,_.e)((it,z)=>{z.add(he.schedule(()=>it.subscribe(z),xe))})}var y=a(8306),b=a(2202),g=a(576);function C(he,xe){if(!he)throw new Error("Iterable cannot be null");return new y.y(it=>{(0,h.f)(it,xe,()=>{const z=he[Symbol.asyncIterator]();(0,h.f)(it,xe,()=>{z.next().then(q=>{q.done?it.complete():it.next(q.value)})},0,!0)})})}var M=a(3670),P=a(8239),O=a(1144),j=a(6495),Z=a(2206),U=a(4532),G=a(3260);function oe(he,xe){return xe?function X(he,xe){if(null!=he){if((0,M.c)(he))return function d(he,xe){return(0,n.Xf)(he).pipe(c(xe),r(xe))}(he,xe);if((0,O.z)(he))return function f(he,xe){return new y.y(it=>{let z=0;return xe.schedule(function(){z===he.length?it.complete():(it.next(he[z++]),it.closed||this.schedule())})})}(he,xe);if((0,P.t)(he))return function p(he,xe){return(0,n.Xf)(he).pipe(c(xe),r(xe))}(he,xe);if((0,Z.D)(he))return C(he,xe);if((0,j.T)(he))return function m(he,xe){return new y.y(it=>{let z;return(0,h.f)(it,xe,()=>{z=he[b.h](),(0,h.f)(it,xe,()=>{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,g.m)(null==z?void 0:z.return)&&z.return()})}(he,xe);if((0,G.L)(he))return function B(he,xe){return C((0,G.Q)(he),xe)}(he,xe)}throw(0,U.z)(he)}(he,xe):(0,n.Xf)(he)}},4968:(H,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,P,O,j){if((0,r.m)(O)&&(j=O,O=void 0),j)return f(M,P,O).pipe((0,c.Z)(j));const[Z,U]=function C(M){return(0,r.m)(M.addEventListener)&&(0,r.m)(M.removeEventListener)}(M)?p.map(G=>B=>M[G](P,B,O)):function g(M){return(0,r.m)(M.addListener)&&(0,r.m)(M.removeListener)}(M)?d.map(b(M,P)):function m(M){return(0,r.m)(M.on)&&(0,r.m)(M.off)}(M)?y.map(b(M,P)):[];if(!Z&&(0,u.z)(M))return(0,_.z)(G=>f(G,P,O))((0,n.Xf)(M));if(!Z)throw new TypeError("Invalid event target");return new h.y(G=>{const B=(...X)=>G.next(1<X.length?X:X[0]);return Z(B),()=>U(B)})}function b(M,P){return O=>j=>M[O](P,j)}},8421:(H,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),g=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[g.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 P(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 j(G);if((0,p.T)(G))return function O(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 Z(G){return j((0,y.Q)(G))}(G)}throw(0,d.z)(G)}function j(G){return new u.y(B=>{(function U(G,B){var X,oe,he,xe;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){he={error:it}}finally{try{oe&&!oe.done&&(xe=X.return)&&(yield xe.call(X))}finally{if(he)throw he.error}}B.complete()})})(G,B).catch(X=>B.error(X))})}},6451:(H,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:(H,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:(H,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 g=0;return p.schedule(function(){f.closed||(f.next(g++),0<=y?this.schedule(void 0,y):f.complete())},b)})}},5403:(H,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(g){r.error(g)}}:super._next,this._error=p?function(b){try{p(b)}catch(g){r.error(g)}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:(H,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 g=()=>{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);g()}d.subscribe((0,_.x)(p,C=>{f=C,b=c.now(),y||(y=c.schedule(m,r),p.add(y))},()=>{g(),p.complete()},void 0,()=>{f=y=null}))})}},1884:(H,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,g=>{const m=d(g);(b||!c(f,m))&&(b=!1,f=m,y.next(g))}))})}function r(c,d){return c===d}},9300:(H,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:(H,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:(H,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:(H,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((g,m)=>(0,n.U)((C,M)=>f(g,C,m,M))((0,h.Xf)(y(g,m))),b):("number"==typeof f&&(b=f),(0,_.e)((g,m)=>function c(y,f,b,g,m,C,M,P){const O=[];let j=0,Z=0,U=!1;const G=()=>{U&&!O.length&&!j&&f.complete()},B=oe=>j<g?X(oe):O.push(oe),X=oe=>{C&&f.next(oe),j++;let he=!1;(0,h.Xf)(b(oe,Z++)).subscribe((0,r.x)(f,xe=>{null==m||m(xe),C?B(xe):f.next(xe)},()=>{he=!0},void 0,()=>{if(he)try{for(j--;O.length&&j<g;){const xe=O.shift();M?(0,u.f)(f,M,()=>X(xe)):X(xe)}G()}catch(xe){f.error(xe)}}))};return y.subscribe((0,r.x)(f,B,()=>{U=!0,G()})),()=>{null==P||P()}}(g,m,y,b)))}},3099:(H,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 g=>{let m,C,M,P=0,O=!1,j=!1;const Z=()=>{null==C||C.unsubscribe(),C=void 0},U=()=>{Z(),m=M=void 0,O=j=!1},G=()=>{const B=m;U(),null==B||B.unsubscribe()};return(0,u.e)((B,X)=>{P++,!j&&!O&&Z();const oe=M=null!=M?M:p();X.add(()=>{P--,0===P&&!j&&!O&&(C=c(G,b))}),oe.subscribe(X),!m&&P>0&&(m=new _.Hp({next:he=>oe.next(he),error:he=>{j=!0,Z(),C=c(U,y,he),oe.error(he)},complete:()=>{O=!0,Z(),C=c(U,f),oe.complete()}}),(0,n.Xf)(B).subscribe(m))})(g)}}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:(H,o,a)=>{"use strict";a.d(o,{T:()=>h});var n=a(9300);function h(_){return(0,n.h)((u,r)=>_<=r)}},8675:(H,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:(H,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 g=()=>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,P=>p.next(c?c(m,P,M,C++):P),()=>{y=null,g()}))},()=>{b=!0,g()}))})}},5698:(H,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:(H,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:(H,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 g;null===(g=y.subscribe)||void 0===g||g.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:(H,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:(H,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:(H,o,a)=>{"use strict";a.d(o,{E:()=>C});var n=a(4408);let _,h=1;const u={};function r(P){return P in u&&(delete u[P],!0)}const c={setImmediate(P){const O=h++;return u[O]=!0,_||(_=Promise.resolve()),_.then(()=>r(O)&&P()),O},clearImmediate(P){r(P)}},{setImmediate:p,clearImmediate:y}=c,f={setImmediate(...P){const{delegate:O}=f;return((null==O?void 0:O.setImmediate)||p)(...P)},clearImmediate(P){const{delegate:O}=f;return((null==O?void 0:O.clearImmediate)||y)(P)},delegate:void 0};var g=a(640);const C=new class m extends g.v{flush(O){this._active=!0;const j=this._scheduled;this._scheduled=void 0;const{actions:Z}=this;let U;O=O||Z.shift();do{if(U=O.execute(O.state,O.delay))break}while((O=Z[0])&&O.id===j&&Z.shift());if(this._active=!1,U){for(;(O=Z[0])&&O.id===j&&Z.shift();)O.unsubscribe();throw U}}}(class b extends n.o{constructor(O,j){super(O,j),this.scheduler=O,this.work=j}requestAsyncId(O,j,Z=0){return null!==Z&&Z>0?super.requestAsyncId(O,j,Z):(O.actions.push(this),O._scheduled||(O._scheduled=f.setImmediate(O.flush.bind(O,void 0))))}recycleAsyncId(O,j,Z=0){var U;if(null!=Z?Z>0:this.delay>0)return super.recycleAsyncId(O,j,Z);const{actions:G}=O;null!=j&&(null===(U=G[G.length-1])||void 0===U?void 0:U.id)!==j&&(f.clearImmediate(j),O._scheduled=void 0)}})},4986:(H,o,a)=>{"use strict";a.d(o,{P:()=>u,z:()=>_});var n=a(4408);const _=new(a(640).v)(n.o),u=_},3410:(H,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:(H,o,a)=>{"use strict";a.d(o,{h:()=>h});const h=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(H,o,a)=>{"use strict";a.d(o,{L:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},3269:(H,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:(H,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:(H,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:(H,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:(H,o,a)=>{"use strict";function n(h,_){return h.reduce((u,r,c)=>(u[r]=_[c],u),{})}a.d(o,{n:()=>n})},2806:(H,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:(H,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:(H,o,a)=>{"use strict";function n(h){return h}a.d(o,{y:()=>n})},1144:(H,o,a)=>{"use strict";a.d(o,{z:()=>n});const n=h=>h&&"number"==typeof h.length&&"function"!=typeof h},2206:(H,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:(H,o,a)=>{"use strict";function n(h){return"function"==typeof h}a.d(o,{m:()=>n})},3670:(H,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:(H,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:(H,o,a)=>{"use strict";a.d(o,{t:()=>h});var n=a(576);function h(_){return(0,n.m)(null==_?void 0:_.then)}},3260:(H,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:(H,o,a)=>{"use strict";a.d(o,{K:()=>h});var n=a(576);function h(_){return _&&(0,n.m)(_.schedule)}},4482:(H,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:(H,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:(H,o,a)=>{"use strict";function n(){}a.d(o,{Z:()=>n})},7849:(H,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:(H,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:(H,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 g(m){const C=m.args.map(P=>`${_(P.name)}: ${h(P.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(P=>`${_(P.name)}: ${_(P.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(H,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:(H,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:(H,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:(H,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(H,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:(H,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:(H,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:(H,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:(H,o,a)=>{"use strict";a.r(o),a.d(o,{__assign:()=>_,__asyncDelegator:()=>Z,__asyncGenerator:()=>j,__asyncValues:()=>U,__await:()=>O,__awaiter:()=>p,__classPrivateFieldGet:()=>he,__classPrivateFieldIn:()=>it,__classPrivateFieldSet:()=>xe,__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:()=>P,__spreadArrays:()=>M,__values:()=>g});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(;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 g(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 P(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 O(z){return this instanceof O?(this.v=z,this):new O(z)}function j(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(Be){return new Promise(function(Se,He){Oe.push([De,Be,Se,He])>1||ie(De,Be)})})}function ie(De,Be){try{!function Ae(De){De.value instanceof O?Promise.resolve(De.value.v).then($,ye):Ce(Oe[0][2],De)}(te[De](Be))}catch(Se){Ce(Oe[0][3],Se)}}function $(De){ie("next",De)}function ye(De){ie("throw",De)}function Ce(De,Be){De(Be),Oe.shift(),Oe.length&&ie(Oe[0][0],Oe[0][1])}}function Z(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:O(z[Ee](K)),done:"return"===Ee}:Oe?Oe(K):K}:Oe}}function U(z){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var V,q=z[Symbol.asyncIterator];return q?q.call(z):(z=g(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 he(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 xe(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:H=>{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)}H.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)})}},H.exports.__esModule=!0,H.exports.default=H.exports},1777:(H,o,a)=>{"use strict";a.d(o,{F4:()=>f,IO:()=>M,LC:()=>h,SB:()=>y,X$:()=>u,ZE:()=>Z,ZN:()=>j,_j:()=>n,eR:()=>b,jt:()=>r,k1:()=>U,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 O(G){Promise.resolve(null).then(G)}class j{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(){O(()=>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 Z{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,he=0;const xe=this.players.length;0==xe?O(()=>this._onFinish()):this.players.forEach(it=>{it.onDone(()=>{++X==xe&&this._onFinish()}),it.onDestroy(()=>{++oe==xe&&this._onDestroy()}),it.onStart(()=>{++he==xe&&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 he=oe.totalTime?Math.min(1,X/oe.totalTime):1;oe.setPosition(he)})}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 U="!"},5664:(H,o,a)=>{"use strict";a.d(o,{$s:()=>z,Em:()=>Oe,X6:()=>Te,ic:()=>ie,kH:()=>At,qV:()=>Pe,qm:()=>Ze,rt:()=>be,tE:()=>Ft,yG:()=>Ue});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),g=a(4004),m=a(5698),C=a(5684),M=a(1884),P=a(2722),O=a(3191),j=a(7144),Z=a(5113);function X(me,ae){return(me.getAttribute(ae)||"").match(/\S+/g)||[]}const he="cdk-describedby-message",xe="cdk-describedby-host";let it=0,z=(()=>{class me{constructor(le,L){this._platform=L,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+it++,this._document=le,this._id=(0,h.inject)(h.APP_ID)+"-"+it++}describe(le,L,we){if(!this._canBeDescribed(le,L))return;const yt=q(L,we);"string"!=typeof L?(V(L,this._id),this._messageRegistry.set(yt,{messageElement:L,referenceCount:0})):this._messageRegistry.has(yt)||this._createMessageElement(L,we),this._isElementDescribedByMessage(le,yt)||this._addMessageReference(le,yt)}removeDescription(le,L,we){var yt;if(!L||!this._isElementNode(le))return;const We=q(L,we);if(this._isElementDescribedByMessage(le,We)&&this._removeMessageReference(le,We),"string"==typeof L){const _t=this._messageRegistry.get(We);_t&&0===_t.referenceCount&&this._deleteMessageElement(We)}0===(null===(yt=this._messagesContainer)||void 0===yt?void 0:yt.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var le;const L=this._document.querySelectorAll(`[${xe}="${this._id}"]`);for(let we=0;we<L.length;we++)this._removeCdkDescribedByReferenceIds(L[we]),L[we].removeAttribute(xe);null===(le=this._messagesContainer)||void 0===le||le.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(le,L){const we=this._document.createElement("div");V(we,this._id),we.textContent=le,L&&we.setAttribute("role",L),this._createMessagesContainer(),this._messagesContainer.appendChild(we),this._messageRegistry.set(q(le,L),{messageElement:we,referenceCount:0})}_deleteMessageElement(le){var L,we;null===(we=null===(L=this._messageRegistry.get(le))||void 0===L?void 0:L.messageElement)||void 0===we||we.remove(),this._messageRegistry.delete(le)}_createMessagesContainer(){if(this._messagesContainer)return;const le="cdk-describedby-message-container",L=this._document.querySelectorAll(`.${le}[platform="server"]`);for(let yt=0;yt<L.length;yt++)L[yt].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 L=X(le,"aria-describedby").filter(we=>0!=we.indexOf(he));le.setAttribute("aria-describedby",L.join(" "))}_addMessageReference(le,L){const we=this._messageRegistry.get(L);(function G(me,ae,le){const L=X(me,ae);L.some(we=>we.trim()==le.trim())||(L.push(le.trim()),me.setAttribute(ae,L.join(" ")))})(le,"aria-describedby",we.messageElement.id),le.setAttribute(xe,this._id),we.referenceCount++}_removeMessageReference(le,L){const we=this._messageRegistry.get(L);we.referenceCount--,function B(me,ae,le){const we=X(me,ae).filter(yt=>yt!=le.trim());we.length?me.setAttribute(ae,we.join(" ")):me.removeAttribute(ae)}(le,"aria-describedby",we.messageElement.id),le.removeAttribute(xe)}_isElementDescribedByMessage(le,L){const we=X(le,"aria-describedby"),yt=this._messageRegistry.get(L),We=yt&&yt.messageElement.id;return!!We&&-1!=we.indexOf(We)}_canBeDescribed(le,L){if(!this._isElementNode(le))return!1;if(L&&"object"==typeof L)return!0;const we=null==L?"":`${L}`.trim(),yt=le.getAttribute("aria-label");return!(!we||yt&&yt.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=`${he}-${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,g.U)(()=>this._pressedLetters.join(""))).subscribe(le=>{const L=this._getItemsArray();for(let we=1;we<L.length+1;we++){const yt=(this._activeItemIndex+we)%L.length,We=L[yt];if(!this._skipPredicateFn(We)&&0===We.getLabel().toUpperCase().trim().indexOf(le)){this.setActiveItem(yt);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(yt=>!ae[yt]||this._allowedModifierKeys.indexOf(yt)>-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(),L="number"==typeof ae?ae:le.indexOf(ae),we=le[L];this._activeItem=null==we?null:we,this._activeItemIndex=L}_setActiveItemByDelta(ae){this._wrap?this._setActiveInWrapMode(ae):this._setActiveInDefaultMode(ae)}_setActiveInWrapMode(ae){const le=this._getItemsArray();for(let L=1;L<=le.length;L++){const we=(this._activeItemIndex+ae*L+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 L=this._getItemsArray();if(L[ae]){for(;this._skipPredicateFn(L[ae]);)if(!L[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 L=function Ae(me){try{return me.frameElement}catch(ae){return null}}(function pt(me){return me.ownerDocument&&me.ownerDocument.defaultView||window}(le));if(L&&(-1===dt(L)||!this.isVisible(L)))return!1;let we=le.nodeName.toLowerCase(),yt=dt(le);return le.hasAttribute("contenteditable")?-1!==yt:!("iframe"===we||"object"===we||this._platform.WEBKIT&&this._platform.IOS&&!function bt(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!==yt:"video"===we?-1!==yt&&(null!==yt||this._platform.FIREFOX||le.hasAttribute("controls")):le.tabIndex>=0)}isFocusable(le,L){return function ct(me){return!function Ce(me){return function Be(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")||He(me))}(le)&&!this.isDisabled(le)&&((null==L?void 0:L.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 He(me){if(!me.hasAttribute("tabindex")||void 0===me.tabIndex)return!1;let ae=me.getAttribute("tabindex");return!(!ae||isNaN(parseInt(ae,10)))}function dt(me){if(!He(me))return null;const ae=parseInt(me.getAttribute("tabindex")||"",10);return isNaN(ae)?-1:ae}class Xe{constructor(ae,le,L,we,yt=!1){this._element=ae,this._checker=le,this._ngZone=L,this._document=we,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,yt||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 L=this._getFirstTabbableElement(le);return null==L||L.focus(ae),!!L}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 L=0;L<le.length;L++){const we=le[L].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(le[L]):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 L=le.length-1;L>=0;L--){const we=le[L].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(le[L]):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,L,we){this._checker=le,this._ngZone=L,this._document=we}create(le,L=!1){return new Xe(le,this._checker,this._ngZone,this._document,L)}}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 Ue(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 Le=new h.InjectionToken("cdk-input-modality-detector-options"),ze={ignoreKeys:[p.zL,p.jx,p.b2,p.MW,p.JU]},$e=(0,_.i$)({passive:!0,capture:!0});let ut=(()=>{class me{constructor(le,L,we,yt){this._platform=le,this._mostRecentTarget=null,this._modality=new c.X(null),this._lastTouchMs=0,this._onKeydown=We=>{var _t,ee;null!==(ee=null===(_t=this._options)||void 0===_t?void 0:_t.ignoreKeys)&&void 0!==ee&&ee.some(Ie=>Ie===We.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,_.sA)(We))},this._onMousedown=We=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Te(We)?"keyboard":"mouse"),this._mostRecentTarget=(0,_.sA)(We))},this._onTouchstart=We=>{Ue(We)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,_.sA)(We))},this._options=Object.assign(Object.assign({},ze),yt),this.modalityDetected=this._modality.pipe((0,C.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,M.x)()),le.isBrowser&&L.runOutsideAngular(()=>{we.addEventListener("keydown",this._onKeydown,$e),we.addEventListener("mousedown",this._onMousedown,$e),we.addEventListener("touchstart",this._onTouchstart,$e)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,$e),document.removeEventListener("mousedown",this._onMousedown,$e),document.removeEventListener("touchstart",this._onTouchstart,$e))}}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(Le,8))},me.\u0275prov=h.\u0275\u0275defineInjectable({token:me,factory:me.\u0275fac,providedIn:"root"}),me})();const tt=new h.InjectionToken("cdk-focus-monitor-default-options"),gt=(0,_.i$)({passive:!0,capture:!0});let Ft=(()=>{class me{constructor(le,L,we,yt,We){this._ngZone=le,this._platform=L,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=_t=>{for(let Ie=(0,_.sA)(_t);Ie;Ie=Ie.parentElement)"focus"===_t.type?this._onFocus(_t,Ie):this._onBlur(_t,Ie)},this._document=yt,this._detectionMode=(null==We?void 0:We.detectionMode)||0}monitor(le,L=!1){const we=(0,O.fI)(le);if(!this._platform.isBrowser||1!==we.nodeType)return(0,d.of)(null);const yt=(0,_.kV)(we)||this._getDocument(),We=this._elementInfo.get(we);if(We)return L&&(We.checkChildren=!0),We.subject;const _t={checkChildren:L,subject:new u.x,rootNode:yt};return this._elementInfo.set(we,_t),this._registerGlobalListeners(_t),_t.subject}stopMonitoring(le){const L=(0,O.fI)(le),we=this._elementInfo.get(L);we&&(we.subject.complete(),this._setClasses(L),this._elementInfo.delete(L),this._removeGlobalListeners(we))}focusVia(le,L,we){const yt=(0,O.fI)(le);yt===this._getDocument().activeElement?this._getClosestElementsInfo(yt).forEach(([_t,ee])=>this._originChanged(_t,L,ee)):(this._setOrigin(L),"function"==typeof yt.focus&&yt.focus(we))}ngOnDestroy(){this._elementInfo.forEach((le,L)=>this.stopMonitoring(L))}_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,L){le.classList.toggle("cdk-focused",!!L),le.classList.toggle("cdk-touch-focused","touch"===L),le.classList.toggle("cdk-keyboard-focused","keyboard"===L),le.classList.toggle("cdk-mouse-focused","mouse"===L),le.classList.toggle("cdk-program-focused","program"===L)}_setOrigin(le,L=!1){this._ngZone.runOutsideAngular(()=>{this._origin=le,this._originFromTouchInteraction="touch"===le&&L,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(le,L){const we=this._elementInfo.get(L),yt=(0,_.sA)(le);!we||!we.checkChildren&&L!==yt||this._originChanged(L,this._getFocusOrigin(yt),we)}_onBlur(le,L){const we=this._elementInfo.get(L);!we||we.checkChildren&&le.relatedTarget instanceof Node&&L.contains(le.relatedTarget)||(this._setClasses(L),this._emitOrigin(we,null))}_emitOrigin(le,L){le.subject.observers.length&&this._ngZone.run(()=>le.subject.next(L))}_registerGlobalListeners(le){if(!this._platform.isBrowser)return;const L=le.rootNode,we=this._rootNodeFocusListenerCount.get(L)||0;we||this._ngZone.runOutsideAngular(()=>{L.addEventListener("focus",this._rootNodeFocusAndBlurListener,gt),L.addEventListener("blur",this._rootNodeFocusAndBlurListener,gt)}),this._rootNodeFocusListenerCount.set(L,we+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,P.R)(this._stopInputModalityDetector)).subscribe(yt=>{this._setOrigin(yt,!0)}))}_removeGlobalListeners(le){const L=le.rootNode;if(this._rootNodeFocusListenerCount.has(L)){const we=this._rootNodeFocusListenerCount.get(L);we>1?this._rootNodeFocusListenerCount.set(L,we-1):(L.removeEventListener("focus",this._rootNodeFocusAndBlurListener,gt),L.removeEventListener("blur",this._rootNodeFocusAndBlurListener,gt),this._rootNodeFocusListenerCount.delete(L))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(le,L,we){this._setClasses(le,L),this._emitOrigin(we,L),this._lastFocusOrigin=L}_getClosestElementsInfo(le){const L=[];return this._elementInfo.forEach((we,yt)=>{(yt===le||we.checkChildren&&yt.contains(le))&&L.push([yt,we])}),L}_isLastInteractionFromInputLabel(le){const{_mostRecentTarget:L,mostRecentModality:we}=this._inputModalityDetector;if("mouse"!==we||!L||L===le||"INPUT"!==le.nodeName&&"TEXTAREA"!==le.nodeName||le.disabled)return!1;const yt=le.labels;if(yt)for(let We=0;We<yt.length;We++)if(yt[We].contains(L))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(ut),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,L){this._elementRef=le,this._focusMonitor=L,this.cdkFocusChange=new h.EventEmitter}ngAfterViewInit(){const le=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(le,1===le.nodeType&&le.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(L=>this.cdkFocusChange.emit(L))}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 Ze=(()=>{class me{constructor(le,L){this._platform=le,this._document=L,this._breakpointSubscription=(0,h.inject)(Z.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 L=this._document.defaultView||window,we=L&&L.getComputedStyle?L.getComputedStyle(le):null,yt=(we&&we.backgroundColor||"").replace(/ /g,"");switch(le.remove(),yt){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 L=this.getHighContrastMode();1===L?le.add(rt,Yt):2===L&&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(Ze))},me.\u0275mod=h.\u0275\u0275defineNgModule({type:me}),me.\u0275inj=h.\u0275\u0275defineInjector({imports:[j.Q8]}),me})()},226:(H,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(g){if(this.value="ltr",this.change=new n.EventEmitter,g){const C=g.documentElement?g.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"}((g.body?g.body.dir:null)||C||"ltr")}}ngOnDestroy(){this.change.complete()}}return f.\u0275fac=function(g){return new(g||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(g){return new(g||f)},f.\u0275mod=n.\u0275\u0275defineNgModule({type:f}),f.\u0275inj=n.\u0275\u0275defineInjector({}),f})()},3191:(H,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:(H,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(g){return g&&"function"==typeof g.connect}class c{applyChanges(m,C,M,P,O){m.forEachOperation((j,Z,U)=>{let G,B;if(null==j.previousIndex){const X=M(j,Z,U);G=C.createEmbeddedView(X.templateRef,X.context,X.index),B=1}else null==U?(C.remove(Z),B=3):(G=C.get(Z),C.move(G,U),B=2);O&&O({context:null==G?void 0:G.context,operation:B,record:j})})}detach(){}}class d{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(m,C,M,P,O){m.forEachOperation((j,Z,U)=>{let G,B;null==j.previousIndex?(G=this._insertView(()=>M(j,Z,U),U,C,P(j)),B=G?1:0):null==U?(this._detachAndCacheView(Z,C),B=3):(G=this._moveView(Z,U,C,P(j)),B=2),O&&O({context:null==G?void 0:G.context,operation:B,record:j})})}detach(){for(const m of this._viewCache)m.destroy();this._viewCache=[]}_insertView(m,C,M,P){const O=this._insertViewFromCache(C,M);if(O)return void(O.context.$implicit=P);const j=m();return M.createEmbeddedView(j.templateRef,j.context,j.index)}_detachAndCacheView(m,C){const M=C.detach(m);this._maybeCacheView(M,C)}_moveView(m,C,M,P){const O=M.get(m);return M.move(O,C),O.context.$implicit=P,O}_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,P){this._multiple=m,this._emitChanges=M,this.compareWith=P,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new n.x,C&&C.length&&(m?C.forEach(O=>this._markSelected(O)):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(O=>this._markSelected(O)),C.filter(O=>!M.has(O)).forEach(O=>this._unmarkSelected(O));const P=this._hasQueuedChanges();return this._emitChangeEvent(),P}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:(H,o,a)=>{"use strict";a.d(o,{A:()=>Ce,JH:()=>U,JU:()=>c,K5:()=>r,LH:()=>j,L_:()=>g,MW:()=>ge,Mf:()=>_,SV:()=>Z,Sd:()=>P,Vb:()=>kn,Z:()=>W,ZH:()=>h,aO:()=>K,b2:()=>On,hY:()=>b,jx:()=>d,oh:()=>O,uR:()=>M,xE:()=>he,yY:()=>oe,zL:()=>p});const h=8,_=9,r=13,c=16,d=17,p=18,b=27,g=32,M=35,P=36,O=37,j=38,Z=39,U=40,oe=46,he=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:(H,o,a)=>{"use strict";a.r(o),a.d(o,{BreakpointObserver:()=>U,Breakpoints:()=>B,LayoutModule:()=>C,MediaMatcher:()=>O});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),g=a(2722),m=a(925);let C=(()=>{class X{}return X.\u0275fac=function(he){return new(he||X)},X.\u0275mod=n.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=n.\u0275\u0275defineInjector({}),X})();const M=new Set;let P,O=(()=>{class X{constructor(he){this._platform=he,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Z}matchMedia(he){return(this._platform.WEBKIT||this._platform.BLINK)&&function j(X){if(!M.has(X))try{P||(P=document.createElement("style"),P.setAttribute("type","text/css"),document.head.appendChild(P)),P.sheet&&(P.sheet.insertRule(`@media ${X} {body{ }}`,0),M.add(X))}catch(oe){console.error(oe)}}(he),this._matchMedia(he)}}return X.\u0275fac=function(he){return new(he||X)(n.\u0275\u0275inject(m.t4))},X.\u0275prov=n.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac,providedIn:"root"}),X})();function Z(X){return{matches:"all"===X||""===X,media:X,addListener:()=>{},removeListener:()=>{}}}let U=(()=>{class X{constructor(he,xe){this._mediaMatcher=he,this._zone=xe,this._queries=new Map,this._destroySubject=new _.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(he){return G((0,h.Eq)(he)).some(it=>this._registerQuery(it).mql.matches)}observe(he){const it=G((0,h.Eq)(he)).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(he){if(this._queries.has(he))return this._queries.get(he);const xe=this._mediaMatcher.matchMedia(he),z={observable:new c.y(q=>{const V=te=>this._zone.run(()=>q.next(te));return xe.addListener(V),()=>{xe.removeListener(V)}}).pipe((0,b.O)(xe),(0,f.U)(({matches:q})=>({query:he,matches:q})),(0,g.R)(this._destroySubject)),mql:xe};return this._queries.set(he,z),z}}return X.\u0275fac=function(he){return new(he||X)(n.\u0275\u0275inject(O),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,he)=>oe.concat(he)).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:(H,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(g){return"undefined"==typeof MutationObserver?null:new MutationObserver(g)}}return f.\u0275fac=function(g){return new(g||f)},f.\u0275prov=h.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),d=(()=>{class f{constructor(g){this._mutationObserverFactory=g,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((g,m)=>this._cleanupObserver(m))}observe(g){const m=(0,n.fI)(g);return new _.y(C=>{const P=this._observeElement(m).subscribe(C);return()=>{P.unsubscribe(),this._unobserveElement(m)}})}_observeElement(g){if(this._observedElements.has(g))this._observedElements.get(g).count++;else{const m=new u.x,C=this._mutationObserverFactory.create(M=>m.next(M));C&&C.observe(g,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(g,{observer:C,stream:m,count:1})}return this._observedElements.get(g).stream}_unobserveElement(g){this._observedElements.has(g)&&(this._observedElements.get(g).count--,this._observedElements.get(g).count||this._cleanupObserver(g))}_cleanupObserver(g){if(this._observedElements.has(g)){const{observer:m,stream:C}=this._observedElements.get(g);m&&m.disconnect(),C.complete(),this._observedElements.delete(g)}}}return f.\u0275fac=function(g){return new(g||f)(h.\u0275\u0275inject(c))},f.\u0275prov=h.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"}),f})(),p=(()=>{class f{constructor(g,m,C){this._contentObserver=g,this._elementRef=m,this._ngZone=C,this.event=new h.EventEmitter,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(g){this._disabled=(0,n.Ig)(g),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(g){this._debounce=(0,n.su)(g),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const g=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?g.pipe((0,r.b)(this.debounce)):g).subscribe(this.event)})}_unsubscribe(){var g;null===(g=this._currentSubscription)||void 0===g||g.unsubscribe()}}return f.\u0275fac=function(g){return new(g||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(g){return new(g||f)},f.\u0275mod=h.\u0275\u0275defineNgModule({type:f}),f.\u0275inj=h.\u0275\u0275defineInjector({providers:[c]}),f})()},1314:(H,o,a)=>{"use strict";a.d(o,{Iu:()=>z,U8:()=>Ye,X_:()=>B,Xj:()=>q,aV:()=>bt});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),g=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,Ue=Y.style,Le=this._document.body.style,ze=Ue.scrollBehavior||"",ve=Le.scrollBehavior||"";this._isEnabled=!1,Ue.left=this._previousHTMLStyles.left,Ue.top=this._previousHTMLStyles.top,Y.classList.remove("cdk-global-scrollblock"),m&&(Ue.scrollBehavior=Le.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),m&&(Ue.scrollBehavior=ze,Le.scrollBehavior=ve)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const Te=this._document.body,Ue=this._viewportRuler.getViewportSize();return Te.scrollHeight>Ue.height||Te.scrollWidth>Ue.width}}class P{constructor(Y,Te,Ue,Le){this._scrollDispatcher=Y,this._ngZone=Te,this._viewportRuler=Ue,this._config=Le,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 O{enable(){}disable(){}attach(){}}function j(Ge,Y){return Y.some(Te=>Ge.bottom<Te.top||Ge.top>Te.bottom||Ge.right<Te.left||Ge.left>Te.right)}function Z(Ge,Y){return Y.some(Te=>Ge.top<Te.top||Ge.bottom>Te.bottom||Ge.left<Te.left||Ge.right>Te.right)}class U{constructor(Y,Te,Ue,Le){this._scrollDispatcher=Y,this._viewportRuler=Te,this._ngZone=Ue,this._config=Le,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:Ue,height:Le}=this._viewportRuler.getViewportSize();j(Te,[{width:Ue,height:Le,bottom:Le,right:Ue,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 Ge{constructor(Te,Ue,Le,ze){this._scrollDispatcher=Te,this._viewportRuler=Ue,this._ngZone=Le,this.noop=()=>new O,this.close=ve=>new P(this._scrollDispatcher,this._ngZone,this._viewportRuler,ve),this.block=()=>new C(this._viewportRuler,this._document),this.reposition=ve=>new U(this._scrollDispatcher,this._viewportRuler,this._ngZone,ve),this._document=ze}}return Ge.\u0275fac=function(Te){return new(Te||Ge)(_.\u0275\u0275inject(n.mF),_.\u0275\u0275inject(n.rL),_.\u0275\u0275inject(_.NgZone),_.\u0275\u0275inject(h.DOCUMENT))},Ge.\u0275prov=_.\u0275\u0275defineInjectable({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})();class B{constructor(Y){if(this.scrollStrategy=new O,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,Y){const Te=Object.keys(Y);for(const Ue of Te)void 0!==Y[Ue]&&(this[Ue]=Y[Ue])}}}class he{constructor(Y,Te){this.connectionPair=Y,this.scrollableViewProperties=Te}}class z{constructor(Y,Te,Ue,Le,ze,ve,$e,ut,Fe,W=!1){this._portalOutlet=Y,this._host=Te,this._pane=Ue,this._config=Le,this._ngZone=ze,this._keyboardDispatcher=ve,this._document=$e,this._location=ut,this._outsideClickDispatcher=Fe,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,Le.scrollStrategy&&(this._scrollStrategy=Le.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=Le.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,Ue){const Le=(0,u.Eq)(Te||[]).filter(ze=>!!ze);Le.length&&(Ue?Y.classList.add(...Le):Y.classList.remove(...Le))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const Y=this._ngZone.onStable.pipe((0,g.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 Ge{constructor(Te,Ue){this._platform=Ue,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 Le=this._document.querySelectorAll(`.${Te}[platform="server"], .${Te}[platform="test"]`);for(let ze=0;ze<Le.length;ze++)Le[ze].remove()}const Ue=this._document.createElement("div");Ue.classList.add(Te),(0,r.Oy)()?Ue.setAttribute("platform","test"):this._platform.isBrowser||Ue.setAttribute("platform","server"),this._document.body.appendChild(Ue),this._containerElement=Ue}}return Ge.\u0275fac=function(Te){return new(Te||Ge)(_.\u0275\u0275inject(h.DOCUMENT),_.\u0275\u0275inject(r.t4))},Ge.\u0275prov=_.\u0275\u0275defineInjectable({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})();const V="cdk-overlay-connected-position-bounding-box",te=/([A-Za-z%]+)$/;class Ee{constructor(Y,Te,Ue,Le,ze){this._viewportRuler=Te,this._document=Ue,this._platform=Le,this._overlayContainer=ze,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,Ue=this._viewportRect,Le=this._containerRect,ze=[];let ve;for(let $e of this._preferredPositions){let ut=this._getOriginPoint(Y,Le,$e),Fe=this._getOverlayPoint(ut,Te,$e),W=this._getOverlayFit(Fe,Te,Ue,$e);if(W.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition($e,ut);this._canFitWithFlexibleDimensions(W,Fe,Ue)?ze.push({position:$e,origin:ut,overlayRect:Te,boundingBoxRect:this._calculateBoundingBoxRect(ut,$e)}):(!ve||ve.overlayFit.visibleArea<W.visibleArea)&&(ve={overlayFit:W,overlayPoint:Fe,originPoint:ut,position:$e,overlayRect:Te})}if(ze.length){let $e=null,ut=-1;for(const Fe of ze){const W=Fe.boundingBoxRect.width*Fe.boundingBoxRect.height*(Fe.position.weight||1);W>ut&&(ut=W,$e=Fe)}return this._isPushed=!1,void this._applyPosition($e.position,$e.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,Ue){let Le,ze;if("center"==Ue.originX)Le=Y.left+Y.width/2;else{const ve=this._isRtl()?Y.right:Y.left,$e=this._isRtl()?Y.left:Y.right;Le="start"==Ue.originX?ve:$e}return Te.left<0&&(Le-=Te.left),ze="center"==Ue.originY?Y.top+Y.height/2:"top"==Ue.originY?Y.top:Y.bottom,Te.top<0&&(ze-=Te.top),{x:Le,y:ze}}_getOverlayPoint(Y,Te,Ue){let Le,ze;return Le="center"==Ue.overlayX?-Te.width/2:"start"===Ue.overlayX?this._isRtl()?-Te.width:0:this._isRtl()?0:-Te.width,ze="center"==Ue.overlayY?-Te.height/2:"top"==Ue.overlayY?0:-Te.height,{x:Y.x+Le,y:Y.y+ze}}_getOverlayFit(Y,Te,Ue,Le){const ze=ie(Te);let{x:ve,y:$e}=Y,ut=this._getOffset(Le,"x"),Fe=this._getOffset(Le,"y");ut&&(ve+=ut),Fe&&($e+=Fe);let de=0-$e,ke=$e+ze.height-Ue.height,tt=this._subtractOverflows(ze.width,0-ve,ve+ze.width-Ue.width),gt=this._subtractOverflows(ze.height,de,ke),Ft=tt*gt;return{visibleArea:Ft,isCompletelyWithinViewport:ze.width*ze.height===Ft,fitsInViewportVertically:gt===ze.height,fitsInViewportHorizontally:tt==ze.width}}_canFitWithFlexibleDimensions(Y,Te,Ue){if(this._hasFlexibleDimensions){const Le=Ue.bottom-Te.y,ze=Ue.right-Te.x,ve=K(this._overlayRef.getConfig().minHeight),$e=K(this._overlayRef.getConfig().minWidth),Fe=Y.fitsInViewportHorizontally||null!=$e&&$e<=ze;return(Y.fitsInViewportVertically||null!=ve&&ve<=Le)&&Fe}return!1}_pushOverlayOnScreen(Y,Te,Ue){if(this._previousPushAmount&&this._positionLocked)return{x:Y.x+this._previousPushAmount.x,y:Y.y+this._previousPushAmount.y};const Le=ie(Te),ze=this._viewportRect,ve=Math.max(Y.x+Le.width-ze.width,0),$e=Math.max(Y.y+Le.height-ze.height,0),ut=Math.max(ze.top-Ue.top-Y.y,0),Fe=Math.max(ze.left-Ue.left-Y.x,0);let W=0,ge=0;return W=Le.width<=ze.width?Fe||-ve:Y.x<this._viewportMargin?ze.left-Ue.left-Y.x:0,ge=Le.height<=ze.height?ut||-$e:Y.y<this._viewportMargin?ze.top-Ue.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 Ue=this._getScrollVisibility(),Le=new he(Y,Ue);this._positionChanges.next(Le)}this._isInitialRender=!1}_setTransformOrigin(Y){if(!this._transformOriginSelector)return;const Te=this._boundingBox.querySelectorAll(this._transformOriginSelector);let Ue,Le=Y.overlayY;Ue="center"===Y.overlayX?"center":this._isRtl()?"start"===Y.overlayX?"right":"left":"start"===Y.overlayX?"left":"right";for(let ze=0;ze<Te.length;ze++)Te[ze].style.transformOrigin=`${Ue} ${Le}`}_calculateBoundingBoxRect(Y,Te){const Ue=this._viewportRect,Le=this._isRtl();let ze,ve,$e,W,ge,de;if("top"===Te.overlayY)ve=Y.y,ze=Ue.height-ve+this._viewportMargin;else if("bottom"===Te.overlayY)$e=Ue.height-Y.y+2*this._viewportMargin,ze=Ue.height-$e+this._viewportMargin;else{const ke=Math.min(Ue.bottom-Y.y+Ue.top,Y.y),tt=this._lastBoundingBoxSize.height;ze=2*ke,ve=Y.y-ke,ze>tt&&!this._isInitialRender&&!this._growAfterOpen&&(ve=Y.y-tt/2)}if("end"===Te.overlayX&&!Le||"start"===Te.overlayX&&Le)de=Ue.width-Y.x+this._viewportMargin,W=Y.x-this._viewportMargin;else if("start"===Te.overlayX&&!Le||"end"===Te.overlayX&&Le)ge=Y.x,W=Ue.right-Y.x;else{const ke=Math.min(Ue.right-Y.x+Ue.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:$e,right:de,width:W,height:ze}}_setBoundingBoxStyles(Y,Te){const Ue=this._calculateBoundingBoxRect(Y,Te);!this._isInitialRender&&!this._growAfterOpen&&(Ue.height=Math.min(Ue.height,this._lastBoundingBoxSize.height),Ue.width=Math.min(Ue.width,this._lastBoundingBoxSize.width));const Le={};if(this._hasExactPosition())Le.top=Le.left="0",Le.bottom=Le.right=Le.maxHeight=Le.maxWidth="",Le.width=Le.height="100%";else{const ze=this._overlayRef.getConfig().maxHeight,ve=this._overlayRef.getConfig().maxWidth;Le.height=(0,u.HM)(Ue.height),Le.top=(0,u.HM)(Ue.top),Le.bottom=(0,u.HM)(Ue.bottom),Le.width=(0,u.HM)(Ue.width),Le.left=(0,u.HM)(Ue.left),Le.right=(0,u.HM)(Ue.right),Le.alignItems="center"===Te.overlayX?"center":"end"===Te.overlayX?"flex-end":"flex-start",Le.justifyContent="center"===Te.overlayY?"center":"bottom"===Te.overlayY?"flex-end":"flex-start",ze&&(Le.maxHeight=(0,u.HM)(ze)),ve&&(Le.maxWidth=(0,u.HM)(ve))}this._lastBoundingBoxSize=Ue,Oe(this._boundingBox.style,Le)}_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 Ue={},Le=this._hasExactPosition(),ze=this._hasFlexibleDimensions,ve=this._overlayRef.getConfig();if(Le){const W=this._viewportRuler.getViewportScrollPosition();Oe(Ue,this._getExactOverlayY(Te,Y,W)),Oe(Ue,this._getExactOverlayX(Te,Y,W))}else Ue.position="static";let $e="",ut=this._getOffset(Te,"x"),Fe=this._getOffset(Te,"y");ut&&($e+=`translateX(${ut}px) `),Fe&&($e+=`translateY(${Fe}px)`),Ue.transform=$e.trim(),ve.maxHeight&&(Le?Ue.maxHeight=(0,u.HM)(ve.maxHeight):ze&&(Ue.maxHeight="")),ve.maxWidth&&(Le?Ue.maxWidth=(0,u.HM)(ve.maxWidth):ze&&(Ue.maxWidth="")),Oe(this._pane.style,Ue)}_getExactOverlayY(Y,Te,Ue){let Le={top:"",bottom:""},ze=this._getOverlayPoint(Te,this._overlayRect,Y);return this._isPushed&&(ze=this._pushOverlayOnScreen(ze,this._overlayRect,Ue)),"bottom"===Y.overlayY?Le.bottom=this._document.documentElement.clientHeight-(ze.y+this._overlayRect.height)+"px":Le.top=(0,u.HM)(ze.y),Le}_getExactOverlayX(Y,Te,Ue){let ve,Le={left:"",right:""},ze=this._getOverlayPoint(Te,this._overlayRect,Y);return this._isPushed&&(ze=this._pushOverlayOnScreen(ze,this._overlayRect,Ue)),ve=this._isRtl()?"end"===Y.overlayX?"left":"right":"end"===Y.overlayX?"right":"left","right"===ve?Le.right=this._document.documentElement.clientWidth-(ze.x+this._overlayRect.width)+"px":Le.left=(0,u.HM)(ze.x),Le}_getScrollVisibility(){const Y=this._getOriginRect(),Te=this._pane.getBoundingClientRect(),Ue=this._scrollables.map(Le=>Le.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Z(Y,Ue),isOriginOutsideView:j(Y,Ue),isOverlayClipped:Z(Te,Ue),isOverlayOutsideView:j(Te,Ue)}}_subtractOverflows(Y,...Te){return Te.reduce((Ue,Le)=>Ue-Math.max(Le,0),Y)}_getNarrowedViewportRect(){const Y=this._document.documentElement.clientWidth,Te=this._document.documentElement.clientHeight,Ue=this._viewportRuler.getViewportScrollPosition();return{top:Ue.top+this._viewportMargin,left:Ue.left+this._viewportMargin,right:Ue.left+Y-this._viewportMargin,bottom:Ue.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,Ue=Y.height||0;return{top:Y.y,bottom:Y.y+Ue,left:Y.x,right:Y.x+Te,height:Ue,width:Te}}}function Oe(Ge,Y){for(let Te in Y)Y.hasOwnProperty(Te)&&(Ge[Te]=Y[Te]);return Ge}function K(Ge){if("number"!=typeof Ge&&null!=Ge){const[Y,Te]=Ge.split(te);return Te&&"px"!==Te?null:parseFloat(Y)}return Ge||null}function ie(Ge){return{top:Math.floor(Ge.top),right:Math.floor(Ge.right),bottom:Math.floor(Ge.bottom),left:Math.floor(Ge.left),width:Math.floor(Ge.width),height:Math.floor(Ge.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,Ue=this._overlayRef.getConfig(),{width:Le,height:ze,maxWidth:ve,maxHeight:$e}=Ue,ut=!("100%"!==Le&&"100vw"!==Le||ve&&"100%"!==ve&&"100vw"!==ve),Fe=!("100%"!==ze&&"100vh"!==ze||$e&&"100%"!==$e&&"100vh"!==$e),W=this._xPosition,ge=this._xOffset,de="rtl"===this._overlayRef.getConfig().direction;let ke="",tt="",gt="";ut?gt="flex-start":"center"===W?(gt="center",de?tt=ge:ke=ge):de?"left"===W||"end"===W?(gt="flex-end",ke=ge):("right"===W||"start"===W)&&(gt="flex-start",tt=ge):"left"===W||"start"===W?(gt="flex-start",ke=ge):("right"===W||"end"===W)&&(gt="flex-end",tt=ge),Y.position=this._cssPosition,Y.marginLeft=ut?"0":ke,Y.marginTop=Fe?"0":this._topOffset,Y.marginBottom=this._bottomOffset,Y.marginRight=ut?"0":tt,Te.justifyContent=gt,Te.alignItems=Fe?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const Y=this._overlayRef.overlayElement.style,Te=this._overlayRef.hostElement,Ue=Te.style;Te.classList.remove(ye),Ue.justifyContent=Ue.alignItems=Y.marginTop=Y.marginBottom=Y.marginLeft=Y.marginRight=Y.position="",this._overlayRef=null,this._isDisposed=!0}}let De=(()=>{class Ge{constructor(Te,Ue,Le,ze){this._viewportRuler=Te,this._document=Ue,this._platform=Le,this._overlayContainer=ze}global(){return new Ce}flexibleConnectedTo(Te){return new Ee(Te,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Ge.\u0275fac=function(Te){return new(Te||Ge)(_.\u0275\u0275inject(n.rL),_.\u0275\u0275inject(h.DOCUMENT),_.\u0275\u0275inject(r.t4),_.\u0275\u0275inject(q))},Ge.\u0275prov=_.\u0275\u0275defineInjectable({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})(),Be=(()=>{class Ge{constructor(Te){this._attachedOverlays=[],this._document=Te}ngOnDestroy(){this.detach()}add(Te){this.remove(Te),this._attachedOverlays.push(Te)}remove(Te){const Ue=this._attachedOverlays.indexOf(Te);Ue>-1&&this._attachedOverlays.splice(Ue,1),0===this._attachedOverlays.length&&this.detach()}}return Ge.\u0275fac=function(Te){return new(Te||Ge)(_.\u0275\u0275inject(h.DOCUMENT))},Ge.\u0275prov=_.\u0275\u0275defineInjectable({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})(),Se=(()=>{class Ge extends Be{constructor(Te,Ue){super(Te),this._ngZone=Ue,this._keydownListener=Le=>{const ze=this._attachedOverlays;for(let ve=ze.length-1;ve>-1;ve--)if(ze[ve]._keydownEvents.observers.length>0){const $e=ze[ve]._keydownEvents;this._ngZone?this._ngZone.run(()=>$e.next(Le)):$e.next(Le);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 Ge.\u0275fac=function(Te){return new(Te||Ge)(_.\u0275\u0275inject(h.DOCUMENT),_.\u0275\u0275inject(_.NgZone,8))},Ge.\u0275prov=_.\u0275\u0275defineInjectable({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})(),He=(()=>{class Ge extends Be{constructor(Te,Ue,Le){super(Te),this._platform=Ue,this._ngZone=Le,this._cursorStyleIsSet=!1,this._pointerDownListener=ze=>{this._pointerDownEventTarget=(0,r.sA)(ze)},this._clickListener=ze=>{const ve=(0,r.sA)(ze),$e="click"===ze.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:ve;this._pointerDownEventTarget=null;const ut=this._attachedOverlays.slice();for(let Fe=ut.length-1;Fe>-1;Fe--){const W=ut[Fe];if(W._outsidePointerEvents.observers.length<1||!W.hasAttached())continue;if(W.overlayElement.contains(ve)||W.overlayElement.contains($e))break;const ge=W._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>ge.next(ze)):ge.next(ze)}}}add(Te){if(super.add(Te),!this._isAttached){const Ue=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(Ue)):this._addEventListeners(Ue),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=Ue.style.cursor,Ue.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 Ge.\u0275fac=function(Te){return new(Te||Ge)(_.\u0275\u0275inject(h.DOCUMENT),_.\u0275\u0275inject(r.t4),_.\u0275\u0275inject(_.NgZone,8))},Ge.\u0275prov=_.\u0275\u0275defineInjectable({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})(),dt=0,bt=(()=>{class Ge{constructor(Te,Ue,Le,ze,ve,$e,ut,Fe,W,ge,de,ke){this.scrollStrategies=Te,this._overlayContainer=Ue,this._componentFactoryResolver=Le,this._positionBuilder=ze,this._keyboardDispatcher=ve,this._injector=$e,this._ngZone=ut,this._document=Fe,this._directionality=W,this._location=ge,this._outsideClickDispatcher=de,this._animationsModuleType=ke}create(Te){const Ue=this._createHostElement(),Le=this._createPaneElement(Ue),ze=this._createPortalOutlet(Le),ve=new B(Te);return ve.direction=ve.direction||this._directionality.value,new z(ze,Ue,Le,ve,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(Te){const Ue=this._document.createElement("div");return Ue.id="cdk-overlay-"+dt++,Ue.classList.add("cdk-overlay-pane"),Te.appendChild(Ue),Ue}_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 Ge.\u0275fac=function(Te){return new(Te||Ge)(_.\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(He),_.\u0275\u0275inject(_.ANIMATION_MODULE_TYPE,8))},Ge.\u0275prov=_.\u0275\u0275defineInjectable({token:Ge,factory:Ge.\u0275fac}),Ge})();const pe={provide:new _.InjectionToken("cdk-connected-overlay-scroll-strategy"),deps:[bt],useFactory:function je(Ge){return()=>Ge.scrollStrategies.reposition()}};let Ye=(()=>{class Ge{}return Ge.\u0275fac=function(Te){return new(Te||Ge)},Ge.\u0275mod=_.\u0275\u0275defineNgModule({type:Ge}),Ge.\u0275inj=_.\u0275\u0275defineInjector({providers:[bt,pe],imports:[c.vT,d.eL,n.Cl,n.Cl]}),Ge})()},925:(H,o,a)=>{"use strict";a.d(o,{Mq:()=>C,Oy:()=>G,ht:()=>Z,i$:()=>b,kV:()=>j,sA:()=>U,t4:()=>u});var n=a(5e3),h=a(9808);let _;try{_="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(B){_=!1}let y,m,P,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 j(B){if(function O(){if(null==P){const B="undefined"!=typeof document?document.head:null;P=!(!B||!B.createShadowRoot&&!B.attachShadow)}return P}()){const X=B.getRootNode?B.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&X instanceof ShadowRoot)return X}return null}function Z(){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 U(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:(H,o,a)=>{"use strict";a.d(o,{C5:()=>f,Pl:()=>Z,UE:()=>b,eL:()=>G,en:()=>m,ig:()=>O,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,he,xe,it){super(),this.component=oe,this.viewContainerRef=he,this.injector=xe,this.componentFactoryResolver=it}}class b extends y{constructor(oe,he,xe,it){super(),this.templateRef=oe,this.viewContainerRef=he,this.context=xe,this.injector=it}get origin(){return this.templateRef.elementRef}attach(oe,he=this.context){return this.context=he,super.attach(oe)}detach(){return this.context=void 0,super.detach()}}class g 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 g?(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,he,xe,it,z){super(),this.outletElement=oe,this._componentFactoryResolver=he,this._appRef=xe,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 xe=(oe.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(oe.component);let it;return oe.viewContainerRef?(it=oe.viewContainerRef.createComponent(xe,oe.viewContainerRef.length,oe.injector||oe.viewContainerRef.injector),this.setDisposeFn(()=>it.destroy())):(it=xe.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 he=oe.viewContainerRef,xe=he.createEmbeddedView(oe.templateRef,oe.context,{injector:oe.injector});return xe.rootNodes.forEach(it=>this.outletElement.appendChild(it)),xe.detectChanges(),this.setDisposeFn(()=>{let it=he.indexOf(xe);-1!==it&&he.remove(it)}),this._attachedPortal=oe,xe}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(oe){return oe.hostView.rootNodes[0]}}let O=(()=>{class X extends b{constructor(he,xe){super(he,xe)}}return X.\u0275fac=function(he){return new(he||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})(),Z=(()=>{class X extends m{constructor(he,xe,it){super(),this._componentFactoryResolver=he,this._viewContainerRef=xe,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(he){this.hasAttached()&&!he&&!this._isInitialized||(this.hasAttached()&&super.detach(),he&&super.attach(he),this._attachedPortal=he||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(he){he.setAttachedHost(this);const xe=null!=he.viewContainerRef?he.viewContainerRef:this._viewContainerRef,z=(he.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(he.component),q=xe.createComponent(z,xe.length,he.injector||xe.injector);return xe!==this._viewContainerRef&&this._getRootNode().appendChild(q.hostView.rootNodes[0]),super.setDisposeFn(()=>q.destroy()),this._attachedPortal=he,this._attachedRef=q,this.attached.emit(q),q}attachTemplatePortal(he){he.setAttachedHost(this);const xe=this._viewContainerRef.createEmbeddedView(he.templateRef,he.context,{injector:he.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=he,this._attachedRef=xe,this.attached.emit(xe),xe}_getRootNode(){const he=this._viewContainerRef.element.nativeElement;return he.nodeType===he.ELEMENT_NODE?he:he.parentNode}}return X.\u0275fac=function(he){return new(he||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(he){return new(he||X)},X.\u0275mod=n.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=n.\u0275\u0275defineInjector({}),X})()},495:(H,o,a)=>{"use strict";a.d(o,{ZD:()=>pt,mF:()=>K,Cl:()=>Xe,rL:()=>Ce});var n=a(3191),h=a(5e3),_=a(4408),u=a(727);const r={schedule(Pe){let je=requestAnimationFrame,pe=cancelAnimationFrame;const{delegate:Ye}=r;Ye&&(je=Ye.requestAnimationFrame,pe=Ye.cancelAnimationFrame);const Ve=je(Ge=>{pe=void 0,Pe(Ge)});return new u.w0(()=>null==pe?void 0:pe(Ve))},requestAnimationFrame(...Pe){const{delegate:je}=r;return((null==je?void 0:je.requestAnimationFrame)||requestAnimationFrame)(...Pe)},cancelAnimationFrame(...Pe){const{delegate:je}=r;return((null==je?void 0:je.cancelAnimationFrame)||cancelAnimationFrame)(...Pe)},delegate:void 0};var d=a(640);new class p extends d.v{flush(je){this._active=!0;const pe=this._scheduled;this._scheduled=void 0;const{actions:Ye}=this;let Ve;je=je||Ye.shift();do{if(Ve=je.execute(je.state,je.delay))break}while((je=Ye[0])&&je.id===pe&&Ye.shift());if(this._active=!1,Ve){for(;(je=Ye[0])&&je.id===pe&&Ye.shift();)je.unsubscribe();throw Ve}}}(class c extends _.o{constructor(je,pe){super(je,pe),this.scheduler=je,this.work=pe}requestAsyncId(je,pe,Ye=0){return null!==Ye&&Ye>0?super.requestAsyncId(je,pe,Ye):(je.actions.push(this),je._scheduled||(je._scheduled=r.requestAnimationFrame(()=>je.flush(void 0))))}recycleAsyncId(je,pe,Ye=0){var Ve;if(null!=Ye?Ye>0:this.delay>0)return super.recycleAsyncId(je,pe,Ye);const{actions:Ge}=je;null!=pe&&(null===(Ve=Ge[Ge.length-1])||void 0===Ve?void 0:Ve.id)!==pe&&(r.cancelAnimationFrame(pe),je._scheduled=void 0)}});var b=a(7579),g=a(9646),m=a(8306),C=a(4968),P=(a(3101),a(4986)),O=a(4482),j=a(8421),Z=a(5403),G=a(5963);function B(Pe,je=P.z){return function U(Pe){return(0,O.e)((je,pe)=>{let Ye=!1,Ve=null,Ge=null,Y=!1;const Te=()=>{if(null==Ge||Ge.unsubscribe(),Ge=null,Ye){Ye=!1;const Le=Ve;Ve=null,pe.next(Le)}Y&&pe.complete()},Ue=()=>{Ge=null,Y&&pe.complete()};je.subscribe((0,Z.x)(pe,Le=>{Ye=!0,Ve=Le,Ge||(0,j.Xf)(Pe(Le)).subscribe(Ge=(0,Z.x)(pe,Te,Ue))},()=>{Y=!0,(!Ye||!Ge||Ge.closed)&&pe.complete()}))})}(()=>(0,G.H)(Pe,je))}var X=a(9300),oe=a(9808),he=a(925),xe=a(226);let K=(()=>{class Pe{constructor(pe,Ye,Ve){this._ngZone=pe,this._platform=Ye,this._scrolled=new b.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=Ve}register(pe){this.scrollContainers.has(pe)||this.scrollContainers.set(pe,pe.elementScrolled().subscribe(()=>this._scrolled.next(pe)))}deregister(pe){const Ye=this.scrollContainers.get(pe);Ye&&(Ye.unsubscribe(),this.scrollContainers.delete(pe))}scrolled(pe=20){return this._platform.isBrowser?new m.y(Ye=>{this._globalSubscription||this._addGlobalListener();const Ve=pe>0?this._scrolled.pipe(B(pe)).subscribe(Ye):this._scrolled.subscribe(Ye);return this._scrolledCount++,()=>{Ve.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,g.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((pe,Ye)=>this.deregister(Ye)),this._scrolled.complete()}ancestorScrolled(pe,Ye){const Ve=this.getAncestorScrollContainers(pe);return this.scrolled(Ye).pipe((0,X.h)(Ge=>!Ge||Ve.indexOf(Ge)>-1))}getAncestorScrollContainers(pe){const Ye=[];return this.scrollContainers.forEach((Ve,Ge)=>{this._scrollableContainsElement(Ge,pe)&&Ye.push(Ge)}),Ye}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(pe,Ye){let Ve=(0,n.fI)(Ye),Ge=pe.getElementRef().nativeElement;do{if(Ve==Ge)return!0}while(Ve=Ve.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const pe=this._getWindow();return(0,C.R)(pe.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Pe.\u0275fac=function(pe){return new(pe||Pe)(h.\u0275\u0275inject(h.NgZone),h.\u0275\u0275inject(he.t4),h.\u0275\u0275inject(oe.DOCUMENT,8))},Pe.\u0275prov=h.\u0275\u0275defineInjectable({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})(),Ce=(()=>{class Pe{constructor(pe,Ye,Ve){this._platform=pe,this._change=new b.x,this._changeListener=Ge=>{this._change.next(Ge)},this._document=Ve,Ye.runOutsideAngular(()=>{if(pe.isBrowser){const Ge=this._getWindow();Ge.addEventListener("resize",this._changeListener),Ge.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const pe=this._getWindow();pe.removeEventListener("resize",this._changeListener),pe.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const pe={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),pe}getViewportRect(){const pe=this.getViewportScrollPosition(),{width:Ye,height:Ve}=this.getViewportSize();return{top:pe.top,left:pe.left,bottom:pe.top+Ve,right:pe.left+Ye,height:Ve,width:Ye}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const pe=this._document,Ye=this._getWindow(),Ve=pe.documentElement,Ge=Ve.getBoundingClientRect();return{top:-Ge.top||pe.body.scrollTop||Ye.scrollY||Ve.scrollTop||0,left:-Ge.left||pe.body.scrollLeft||Ye.scrollX||Ve.scrollLeft||0}}change(pe=20){return pe>0?this._change.pipe(B(pe)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const pe=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:pe.innerWidth,height:pe.innerHeight}:{width:0,height:0}}}return Pe.\u0275fac=function(pe){return new(pe||Pe)(h.\u0275\u0275inject(he.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})(),pt=(()=>{class Pe{}return Pe.\u0275fac=function(pe){return new(pe||Pe)},Pe.\u0275mod=h.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=h.\u0275\u0275defineInjector({}),Pe})(),Xe=(()=>{class Pe{}return Pe.\u0275fac=function(pe){return new(pe||Pe)},Pe.\u0275mod=h.\u0275\u0275defineNgModule({type:Pe}),Pe.\u0275inj=h.\u0275\u0275defineInjector({imports:[xe.vT,pt,xe.vT,pt]}),Pe})()},9808:(H,o,a)=>{"use strict";a.r(o),a.d(o,{APP_BASE_HREF:()=>j,AsyncPipe:()=>Di,CommonModule:()=>mr,CurrencyPipe:()=>Xi,DATE_PIPE_DEFAULT_TIMEZONE:()=>Mi,DOCUMENT:()=>d,DatePipe:()=>fr,DecimalPipe:()=>Ii,FormStyle:()=>z,FormatWidth:()=>V,HashLocationStrategy:()=>U,I18nPluralPipe:()=>Ar,I18nSelectPipe:()=>Si,JsonPipe:()=>Zi,KeyValuePipe:()=>Ji,LOCATION_INITIALIZED:()=>f,Location:()=>G,LocationStrategy:()=>O,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:()=>xe,NumberSymbol:()=>te,PathLocationStrategy:()=>Z,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:()=>pt,getLocaleCurrencyName:()=>ct,getLocaleCurrencySymbol:()=>bt,getLocaleDateFormat:()=>De,getLocaleDateTimeFormat:()=>Se,getLocaleDayNames:()=>ie,getLocaleDayPeriods:()=>K,getLocaleDirection:()=>Ve,getLocaleEraNames:()=>$,getLocaleExtraDayPeriodRules:()=>pe,getLocaleExtraDayPeriods:()=>Ye,getLocaleFirstDayOfWeek:()=>ye,getLocaleId:()=>Oe,getLocaleMonthNames:()=>Ae,getLocaleNumberFormat:()=>dt,getLocaleNumberSymbol:()=>He,getLocalePluralCase:()=>Pe,getLocaleTimeFormat:()=>Be,getLocaleWeekEndRange:()=>Ce,getNumberOfCurrencyDigits:()=>Le,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,Je){g()?this._history.pushState(k,fe,Je):this.location.hash=Je}replaceState(k,fe,Je){g()?this._history.replaceState(k,fe,Je):this.location.hash=Je}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 g(){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 P(x){return x&&"?"!==x[0]?"?"+x:x}let O=(()=>{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)(Z)},providedIn:"root"}),x})();const j=new n.InjectionToken("appBaseHref");let Z=(()=>{class x extends O{constructor(k,fe){var Je,Et,vt;super(),this._platformLocation=k,this._removeListenerFns=[],this._baseHref=null!==(vt=null!==(Je=null!=fe?fe:this._platformLocation.getBaseHrefFromDOM())&&void 0!==Je?Je:null===(Et=(0,n.inject)(d).location)||void 0===Et?void 0:Et.origin)&&void 0!==vt?vt:""}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+P(this._platformLocation.search),Je=this._platformLocation.hash;return Je&&k?`${fe}${Je}`:fe}pushState(k,fe,Je,Et){const vt=this.prepareExternalUrl(Je+P(Et));this._platformLocation.pushState(k,fe,vt)}replaceState(k,fe,Je,Et){const vt=this.prepareExternalUrl(Je+P(Et));this._platformLocation.replaceState(k,fe,vt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(k=0){var fe,Je;null===(Je=(fe=this._platformLocation).historyGo)||void 0===Je||Je.call(fe,k)}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(j,8))},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:x.\u0275fac,providedIn:"root"}),x})(),U=(()=>{class x extends O{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,Je,Et){let vt=this.prepareExternalUrl(Je+P(Et));0==vt.length&&(vt=this._platformLocation.pathname),this._platformLocation.pushState(k,fe,vt)}replaceState(k,fe,Je,Et){let vt=this.prepareExternalUrl(Je+P(Et));0==vt.length&&(vt=this._platformLocation.pathname),this._platformLocation.replaceState(k,fe,vt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(k=0){var fe,Je;null===(Je=(fe=this._platformLocation).historyGo)||void 0===Je||Je.call(fe,k)}}return x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(j,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(Je=>{this._subject.emit({url:this.path(!0),pop:!0,state:Je.state,type:Je.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+P(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="",Je=null){this._locationStrategy.pushState(Je,"",k,fe),this._notifyUrlChangeListeners(this.prepareExternalUrl(k+P(fe)),Je)}replaceState(k,fe="",Je=null){this._locationStrategy.replaceState(Je,"",k,fe),this._notifyUrlChangeListeners(this.prepareExternalUrl(k+P(fe)),Je)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(k=0){var fe,Je;null===(Je=(fe=this._locationStrategy).historyGo)||void 0===Je||Je.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 Je=this._urlChangeListeners.indexOf(k);this._urlChangeListeners.splice(Je,1),0===this._urlChangeListeners.length&&(null===(fe=this._urlChangeSubscription)||void 0===fe||fe.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(k="",fe){this._urlChangeListeners.forEach(Je=>Je(k,fe))}subscribe(k,fe,Je){return this._subject.subscribe({next:k,error:fe,complete:Je})}}return x.normalizeQueryParams=P,x.joinWithSlash=C,x.stripTrailingSlash=M,x.\u0275fac=function(k){return new(k||x)(n.\u0275\u0275inject(O))},x.\u0275prov=n.\u0275\u0275defineInjectable({token:x,factory:function(){return function B(){return new G((0,n.\u0275\u0275inject)(O))}()},providedIn:"root"}),x})();function oe(x){return x.replace(/\/index.html$/,"")}const he={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 xe=(()=>((xe=xe||{})[xe.Decimal=0]="Decimal",xe[xe.Percent=1]="Percent",xe[xe.Currency=2]="Currency",xe[xe.Scientific=3]="Scientific",xe))(),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=Ge([fe[n.\u0275LocaleDataIndex.DayPeriodsFormat],fe[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],se);return Ge(Et,k)}function ie(x,se,k){const fe=(0,n.\u0275findLocaleData)(x),Et=Ge([fe[n.\u0275LocaleDataIndex.DaysFormat],fe[n.\u0275LocaleDataIndex.DaysStandalone]],se);return Ge(Et,k)}function Ae(x,se,k){const fe=(0,n.\u0275findLocaleData)(x),Et=Ge([fe[n.\u0275LocaleDataIndex.MonthsFormat],fe[n.\u0275LocaleDataIndex.MonthsStandalone]],se);return Ge(Et,k)}function $(x,se){return Ge((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 Ge((0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.DateFormat],se)}function Be(x,se){return Ge((0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.TimeFormat],se)}function Se(x,se){return Ge((0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.DateTimeFormat],se)}function He(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 dt(x,se){return(0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.NumberFormats][se]}function bt(x){return(0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function ct(x){return(0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.CurrencyName]||null}function pt(x){return(0,n.\u0275getLocaleCurrencyCode)(x)}const Pe=n.\u0275getLocalePluralCase;function je(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 pe(x){const se=(0,n.\u0275findLocaleData)(x);return je(se),(se[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(fe=>"string"==typeof fe?Y(fe):[Y(fe[0]),Y(fe[1])])}function Ye(x,se,k){const fe=(0,n.\u0275findLocaleData)(x);je(fe);const Et=Ge([fe[n.\u0275LocaleDataIndex.ExtraData][0],fe[n.\u0275LocaleDataIndex.ExtraData][1]],se)||[];return Ge(Et,k)||[]}function Ve(x){return(0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.Directionality]}function Ge(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 Xe(x){return(0,n.\u0275findLocaleData)(x)[n.\u0275LocaleDataIndex.Currencies]}(k)[x]||he[x]||[],Je=fe[1];return"narrow"===se&&"string"==typeof Je?Je:fe[0]||x}function Le(x){let se;const k=he[x];return k&&(se=k[2]),"number"==typeof se?se:2}const ze=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ve={},$e=/((?:[^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 ut=(()=>((ut=ut||{})[ut.Short=0]="Short",ut[ut.ShortGMT=1]="ShortGMT",ut[ut.Long=2]="Long",ut[ut.Extended=3]="Extended",ut))(),Fe=(()=>((Fe=Fe||{})[Fe.FullYear=0]="FullYear",Fe[Fe.Month=1]="Month",Fe[Fe.Date=2]="Date",Fe[Fe.Hours=3]="Hours",Fe[Fe.Minutes=4]="Minutes",Fe[Fe.Seconds=5]="Seconds",Fe[Fe.FractionalSeconds=6]="FractionalSeconds",Fe[Fe.Day=7]="Day",Fe))(),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 Je=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[Je,Et=1,vt=1]=x.split("-").map(Bt=>+Bt);return de(Je,Et-1,vt)}const k=parseFloat(x);if(!isNaN(x-k))return new Date(k);let fe;if(fe=x.match(ze))return function Dt(x){const se=new Date(0);let k=0,fe=0;const Je=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])),Je.call(se,Number(x[1]),Number(x[2])-1,Number(x[3]));const vt=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,vt,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,vt=[];for(;se;){if(Bt=$e.exec(se),!Bt){vt.push(se);break}{vt=vt.concat(Bt.slice(1));const Sn=vt.pop();if(!Sn)break;se=Sn}}let pn=Je.getTimezoneOffset();fe&&(pn=_t(fe,pn),Je=function Ie(x,se,k){const fe=k?-1:1,Je=x.getTimezoneOffset();return function ee(x,se){return(x=new Date(x.getTime())).setMinutes(x.getMinutes()+se),x}(x,fe*(_t(se,Je)-Je))}(Je,fe,!0));let Cn="";return vt.forEach(Sn=>{const fn=function We(x){if(yt[x])return yt[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(Fe.FullYear,1,0,!1,!0);break;case"yy":se=At(Fe.FullYear,2,0,!0,!0);break;case"yyy":se=At(Fe.FullYear,3,0,!1,!0);break;case"yyyy":se=At(Fe.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(Fe.Month,1,1);break;case"MM":case"LL":se=At(Fe.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=L(1);break;case"ww":se=L(2);break;case"W":se=L(1,!0);break;case"d":se=At(Fe.Date,1);break;case"dd":se=At(Fe.Date,2);break;case"c":case"cc":se=At(Fe.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(Fe.Hours,1,-12);break;case"hh":se=At(Fe.Hours,2,-12);break;case"H":se=At(Fe.Hours,1);break;case"HH":se=At(Fe.Hours,2);break;case"m":se=At(Fe.Minutes,1);break;case"mm":se=At(Fe.Minutes,2);break;case"s":se=At(Fe.Seconds,1);break;case"ss":se=At(Fe.Seconds,2);break;case"S":se=At(Fe.FractionalSeconds,1);break;case"SS":se=At(Fe.FractionalSeconds,2);break;case"SSS":se=At(Fe.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":se=Ze(ut.Short);break;case"ZZZZZ":se=Ze(ut.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":se=Ze(ut.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":se=Ze(ut.Long);break;default:return null}return yt[x]=se,se}(Sn);Cn+=fn?fn(Je,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=Be(x,V.Short);break;case"mediumTime":fe=Be(x,V.Medium);break;case"longTime":fe=Be(x,V.Long);break;case"fullTime":fe=Be(x,V.Full);break;case"short":const Je=ke(x,"shortTime"),Et=ke(x,"shortDate");fe=tt(Se(x,V.Short),[Je,Et]);break;case"medium":const vt=ke(x,"mediumTime"),Bt=ke(x,"mediumDate");fe=tt(Se(x,V.Medium),[vt,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 gt(x,se,k="-",fe,Je){let Et="";(x<0||Je&&x<=0)&&(Je?x=1-x:(x=-x,Et=k));let vt=String(x);for(;vt.length<se;)vt="0"+vt;return fe&&(vt=vt.slice(vt.length-se)),Et+vt}function At(x,se,k=0,fe=!1,Je=!1){return function(Et,vt){let Bt=function Yt(x,se){switch(x){case Fe.FullYear:return se.getFullYear();case Fe.Month:return se.getMonth();case Fe.Date:return se.getDate();case Fe.Hours:return se.getHours();case Fe.Minutes:return se.getMinutes();case Fe.Seconds:return se.getSeconds();case Fe.FractionalSeconds:return se.getMilliseconds();case Fe.Day:return se.getDay();default:throw new Error(`Unknown DateType value "${x}".`)}}(x,Et);if((k>0||Bt>-k)&&(Bt+=k),x===Fe.Hours)0===Bt&&-12===k&&(Bt=12);else if(x===Fe.FractionalSeconds)return function Ft(x,se){return gt(x,3).substring(0,se)}(Bt,se);const pn=He(vt,te.MinusSign);return gt(Bt,se,pn,fe,Je)}}function Nt(x,se,k=z.Format,fe=!1){return function(Je,Et){return function rt(x,se,k,fe,Je,Et){switch(k){case W.Months:return Ae(se,Je,fe)[x.getMonth()];case W.Days:return ie(se,Je,fe)[x.getDay()];case W.DayPeriods:const vt=x.getHours(),Bt=x.getMinutes();if(Et){const Cn=pe(se),Sn=Ye(se,Je,fe),fn=Cn.findIndex($n=>{if(Array.isArray($n)){const[Dn,Rn]=$n,St=vt>=Dn.hours&&Bt>=Dn.minutes,on=vt<Rn.hours||vt===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===vt&&$n.minutes===Bt)return!0;return!1});if(-1!==fn)return Sn[fn]}return K(se,Je,fe)[vt<12?0:1];case W.Eras:return $(se,fe)[x.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${k}`)}}(Je,Et,x,se,k,fe)}}function Ze(x){return function(se,k,fe){const Je=-1*fe,Et=He(k,te.MinusSign),vt=Je>0?Math.floor(Je/60):Math.ceil(Je/60);switch(x){case ut.Short:return(Je>=0?"+":"")+gt(vt,2,Et)+gt(Math.abs(Je%60),2,Et);case ut.ShortGMT:return"GMT"+(Je>=0?"+":"")+gt(vt,1,Et);case ut.Long:return"GMT"+(Je>=0?"+":"")+gt(vt,2,Et)+":"+gt(Math.abs(Je%60),2,Et);case ut.Extended:return 0===fe?"Z":(Je>=0?"+":"")+gt(vt,2,Et)+":"+gt(Math.abs(Je%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 L(x,se=!1){return function(k,fe){let Je;if(se){const Et=new Date(k.getFullYear(),k.getMonth(),1).getDay()-1,vt=k.getDate();Je=1+Math.floor((vt+Et)/7)}else{const Et=le(k),vt=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()-vt.getTime();Je=1+Math.round(Bt/6048e5)}return gt(Je,x,He(fe,te.MinusSign))}}function we(x,se=!1){return function(k,fe){return gt(le(k).getFullYear(),x,He(fe,te.MinusSign),se)}}const yt={};function _t(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,Je,Et,vt=!1){let Bt="",pn=!1;if(isFinite(x)){let Cn=function Qe(x){let fe,Je,Et,vt,Bt,se=Math.abs(x)+"",k=0;for((Je=se.indexOf("."))>-1&&(se=se.replace(".","")),(Et=se.search(/e/i))>0?(Je<0&&(Je=Et),Je+=+se.slice(Et+1),se=se.substring(0,Et)):Je<0&&(Je=se.length),Et=0;"0"===se.charAt(Et);Et++);if(Et===(Bt=se.length))fe=[0],Je=1;else{for(Bt--;"0"===se.charAt(Bt);)Bt--;for(Je-=Et,fe=[],vt=0;Et<=Bt;Et++,vt++)fe[vt]=Number(se.charAt(Et))}return Je>22&&(fe=fe.splice(0,21),k=Je-1,Je=1),{digits:fe,exponent:k,integerLen:Je}}(x);vt&&(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,Je=fe.length-x.integerLen;const Et=Math.min(Math.max(se,Je),k);let vt=Et+x.integerLen,Bt=fe[vt];if(vt>0){fe.splice(Math.max(x.integerLen,vt));for(let fn=vt;fn<fe.length;fn++)fe[fn]=0}else{Je=Math.max(0,Je),x.integerLen=1,fe.length=Math.max(1,vt=Et+1),fe[0]=0;for(let fn=1;fn<vt;fn++)fe[fn]=0}if(Bt>=5)if(vt-1<0){for(let fn=0;fn>vt;fn--)fe.unshift(0),x.integerLen++;fe.unshift(1),x.integerLen++}else fe[vt-1]++;for(;Je<Math.max(0,Et);Je++)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(He(k,fe)),on.length&&(Bt+=He(k,Je)+on.join("")),St&&(Bt+=He(k,te.Exponential)+"+"+St)}else Bt=He(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,Je){const vt=Hn(dt(se,xe.Currency),He(se,te.MinusSign));return vt.minFrac=Le(fe),vt.maxFrac=vt.minFrac,Lt(x,vt,se,te.CurrencyGroup,te.CurrencyDecimal,Je).replace("\xa4",k).replace("\xa4","").trim()}function yn(x,se,k){return Lt(x,Hn(dt(se,xe.Percent),He(se,te.MinusSign)),se,te.Group,te.Decimal,k,!0).replace(new RegExp("%","g"),He(se,te.PercentSign))}function gn(x,se,k){return Lt(x,Hn(dt(se,xe.Decimal),He(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(";"),Je=fe[0],Et=fe[1],vt=-1!==Je.indexOf(".")?Je.split("."):[Je.substring(0,Je.lastIndexOf("0")+1),Je.substring(Je.lastIndexOf("0")+1)],Bt=vt[0],pn=vt[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=Je.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:(Je=n.\u0275\u0275inject(n.LOCALE_ID),fe=new xt(Je)),fe;var Je},providedIn:"root"}),x})();function Tt(x,se,k,fe){let Je=`=${x}`;if(se.indexOf(Je)>-1||(Je=k.getPluralCategory(x,fe),se.indexOf(Je)>-1))return Je;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("="),[Je,Et]=-1==fe?[k,""]:[k.slice(0,fe),k.slice(fe+1)];if(Je.trim()===se)return decodeURIComponent(Et)}return null}let _n=(()=>{class x{constructor(k,fe,Je,Et){this._iterableDiffers=k,this._keyValueDiffers=fe,this._ngEl=Je,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(Je=>{fe?this._renderer.addClass(this._ngEl.nativeElement,Je):this._renderer.removeClass(this._ngEl.nativeElement,Je)})}}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:Je,ngComponentOutletNgModuleFactory:Et}=this;if(fe.clear(),this._componentRef=void 0,this.ngComponentOutlet){const vt=this.ngComponentOutletInjector||fe.parentInjector;(k.ngComponentOutletNgModule||k.ngComponentOutletNgModuleFactory)&&(this._moduleRef&&this._moduleRef.destroy(),this._moduleRef=Je?(0,n.createNgModule)(Je,ln(vt)):Et?Et.create(ln(vt)):void 0),this._componentRef=fe.createComponent(this.ngComponentOutlet,{index:fe.length,injector:vt,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,Je){this.$implicit=se,this.ngForOf=k,this.index=fe,this.count=Je}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,Je){this._viewContainer=k,this._template=fe,this._differs=Je,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((Je,Et,vt)=>{if(null==Je.previousIndex)fe.createEmbeddedView(this._template,new zn(Je.item,this._ngForOf,-1,-1),null===vt?void 0:vt);else if(null==vt)fe.remove(null===Et?void 0:Et);else if(null!==Et){const Bt=fe.get(Et);fe.move(Bt,vt),On(Bt,Je)}});for(let Je=0,Et=fe.length;Je<Et;Je++){const Bt=fe.get(Je).context;Bt.index=Je,Bt.count=Et,Bt.ngForOf=this._ngForOf}k.forEachIdentityChange(Je=>{On(fe.get(Je.currentIndex),Je)})}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,Je){this.ngSwitch=Je,Je._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,Je){Je._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,Je,Et){this.value=k;const vt=!isNaN(Number(k));Et.addCase(vt?`=${k}`:k,new wi(Je,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,Je){this._ngEl=k,this._differs=fe,this._renderer=Je,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[Je,Et]=k.split("."),vt=-1===Je.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=fe?this._renderer.setStyle(this._ngEl.nativeElement,Je,Et?`${fe}${Et}`:fe,vt):this._renderer.removeStyle(this._ngEl.nativeElement,Je,vt)}_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:Je,ngTemplateOutletContext:Et,ngTemplateOutletInjector:vt}=this;this._viewRef=fe.createEmbeddedView(Je,Et,vt?{injector:vt}: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",Je,Et){var vt;if(null==k||""===k||k!=k)return null;try{return ge(k,fe,Et||this.locale,null!==(vt=null!=Je?Je:this.defaultTimezone)&&void 0!==vt?vt: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,Je){if(null==k)return"";if("object"!=typeof fe||null===fe)throw Xn();return fe[Tt(k,Object.keys(fe),this._localization,Je)].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 Je=this.differ.diff(k),Et=fe!==this.compareFn;return Je&&(this.keyValues=[],Je.forEachItem(vt=>{this.keyValues.push(function ni(x,se){return{key:x,value:se}}(vt.key,vt.currentValue))})),(Je||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 Je=String(k),Et=String(fe);return Je==Et?0:Je<Et?-1:1}let Ii=(()=>{class x{constructor(k){this._locale=k}transform(k,fe,Je){if(!Bi(k))return null;Je=Je||this._locale;try{return gn(hi(k),Je,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,Je){if(!Bi(k))return null;Je=Je||this._locale;try{return yn(hi(k),Je,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,Je="symbol",Et,vt){if(!Bi(k))return null;vt=vt||this._locale,"boolean"==typeof Je&&(Je=Je?"symbol":"code");let Bt=fe||this._defaultCurrencyCode;"code"!==Je&&(Bt="symbol"===Je||"symbol-narrow"===Je?Te(Bt,"symbol"===Je?"wide":"narrow",vt):Je);try{return Wt(hi(k),vt,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,Je){if(null==k)return null;if(!this.supports(k))throw Xn();return k.slice(fe,Je)}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 Je=fe.currentNode;for(;Je;){const Et=Je.shadowRoot;if(Et){const vt=Et.getElementById(se)||Et.querySelector(`[name="${se}"]`);if(vt)return vt}Je=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,Je=k.top+this.window.pageYOffset,Et=this.offset();this.window.scrollTo(fe-Et[0],Je-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:(H,o,a)=>{"use strict";a.r(o),a.d(o,{HTTP_INTERCEPTORS:()=>$,HttpBackend:()=>b,HttpClient:()=>ie,HttpClientJsonpModule:()=>$e,HttpClientModule:()=>ve,HttpClientXsrfModule:()=>ze,HttpContext:()=>B,HttpContextToken:()=>G,HttpErrorResponse:()=>Oe,HttpEventType:()=>q,HttpHandler:()=>f,HttpHeaderResponse:()=>te,HttpHeaders:()=>g,HttpParams:()=>U,HttpRequest:()=>z,HttpResponse:()=>Ee,HttpResponseBase:()=>V,HttpUrlEncodingCodec:()=>C,HttpXhrBackend:()=>je,HttpXsrfTokenExtractor:()=>Ve,JsonpClientBackend:()=>ct,JsonpInterceptor:()=>pt,XhrFactory:()=>ut,\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 g{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(),gt=ge.slice(de+1).trim();this.maybeSetNormalizedName(ke,tt),this.headers.has(tt)?this.headers.get(tt).push(gt):this.headers.set(tt,[gt])}})}:()=>{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 g?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 g;return ge.lazyInit=this.lazyInit&&this.lazyInit instanceof g?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 gt=this.headers.get(ge);if(!gt)return;gt=gt.filter(Ft=>-1===tt.indexOf(Ft)),0===gt.length?(this.headers.delete(ge),this.normalizedNames.delete(ge)):this.headers.set(ge,gt)}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 j(W)}encodeValue(W){return j(W)}decodeKey(W){return decodeURIComponent(W)}decodeValue(W){return decodeURIComponent(W)}}const P=/%(\d[a-f0-9])/gi,O={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function j(Fe){return encodeURIComponent(Fe).replace(P,(W,ge)=>{var de;return null!==(de=O[ge])&&void 0!==de?de:W})}function Z(Fe){return`${Fe}`}class U{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(Fe,W){const ge=new Map;return Fe.length>0&&Fe.replace(/^\?/,"").split("&").forEach(ke=>{const tt=ke.indexOf("="),[gt,Ft]=-1==tt?[W.decodeKey(ke),""]:[W.decodeKey(ke.slice(0,tt)),W.decodeValue(ke.slice(tt+1))],At=ge.get(gt)||[];At.push(Ft),ge.set(gt,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(Z):[Z(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 U({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(Z(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(Z(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(Fe){return"undefined"!=typeof ArrayBuffer&&Fe instanceof ArrayBuffer}function he(Fe){return"undefined"!=typeof Blob&&Fe instanceof Blob}function xe(Fe){return"undefined"!=typeof FormData&&Fe 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(Fe){switch(Fe){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 g),this.context||(this.context=new B),this.params){const gt=this.params.toString();if(0===gt.length)this.urlWithParams=ge;else{const Ft=ge.indexOf("?");this.urlWithParams=ge+(-1===Ft?"?":Ft<ge.length-1?"&":"")+gt}}else this.params=new U,this.urlWithParams=ge}serializeBody(){return null===this.body?null:oe(this.body)||he(this.body)||xe(this.body)||function it(Fe){return"undefined"!=typeof URLSearchParams&&Fe instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof U?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||xe(this.body)?null:he(this.body)?this.body.type||null:oe(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof U?"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,gt=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((Ze,be)=>Ze.set(be,W.setHeaders[be]),Yt)),W.setParams&&(Nt=Object.keys(W.setParams).reduce((Ze,be)=>Ze.set(be,W.setParams[be]),Nt)),new z(de,ke,gt,{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 g,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(Fe,W){return{body:W,headers:Fe.headers,context:Fe.context,observe:Fe.observe,params:Fe.params,reportProgress:Fe.reportProgress,responseType:Fe.responseType,withCredentials:Fe.withCredentials}}let ie=(()=>{class Fe{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 g?ke.headers:new g(ke.headers),ke.params&&(Yt=ke.params instanceof U?ke.params:new U({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 gt=(0,_.of)(tt).pipe(function d(Fe,W){return(0,c.m)(W)?(0,r.z)(Fe,W,1):(0,r.z)(Fe,1)}(At=>this.handler.handle(At)));if(ge instanceof z||"events"===ke.observe)return gt;const Ft=gt.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 U).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 Fe.\u0275fac=function(ge){return new(ge||Fe)(h.\u0275\u0275inject(f))},Fe.\u0275prov=h.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac}),Fe})();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 Fe{intercept(ge,de){return de.handle(ge)}}return Fe.\u0275fac=function(ge){return new(ge||Fe)},Fe.\u0275prov=h.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac}),Fe})(),Ce=0;class bt{}let ct=(()=>{class Fe{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`),gt=this.document.createElement("script");gt.src=tt;let Ft=null,At=!1;this.callbackMap[ke]=Ze=>{delete this.callbackMap[ke],Ft=Ze,At=!0};const Yt=()=>{gt.parentNode&>.parentNode.removeChild(gt),delete this.callbackMap[ke]};return gt.addEventListener("load",Ze=>{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.")}))})}),gt.addEventListener("error",Ze=>{Yt(),de.error(new Oe({error:Ze,status:0,statusText:"JSONP Error",url:tt}))}),this.document.body.appendChild(gt),de.next({type:q.Sent}),()=>{At||this.removeListeners(gt),Yt()}})}removeListeners(ge){De||(De=this.document.implementation.createHTMLDocument()),De.adoptNode(ge)}}return Fe.\u0275fac=function(ge){return new(ge||Fe)(h.\u0275\u0275inject(bt),h.\u0275\u0275inject(n.DOCUMENT))},Fe.\u0275prov=h.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac}),Fe})(),pt=(()=>{class Fe{constructor(ge){this.jsonp=ge}intercept(ge,de){return"JSONP"===ge.method?this.jsonp.handle(ge):de.handle(ge)}}return Fe.\u0275fac=function(ge){return new(ge||Fe)(h.\u0275\u0275inject(ct))},Fe.\u0275prov=h.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac}),Fe})();const Xe=/^\)\]\}',?\n/;let je=(()=>{class Fe{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 gt=null;const Ft=()=>{if(null!==gt)return gt;const be=ke.statusText||"OK",me=new g(ke.getAllResponseHeaders()),ae=function Pe(Fe){return"responseURL"in Fe&&Fe.responseURL?Fe.responseURL:/^X-Request-URL:/m.test(Fe.getAllResponseHeaders())?Fe.getResponseHeader("X-Request-URL"):null}(ke)||ge.url;return gt=new te({headers:me,status:ke.status,statusText:be,url:ae}),gt},At=()=>{let{headers:be,status:me,statusText:ae,url:le}=Ft(),L=null;204!==me&&(L=void 0===ke.response?ke.responseText:ke.response),0===me&&(me=L?200:0);let we=me>=200&&me<300;if("json"===ge.responseType&&"string"==typeof L){const yt=L;L=L.replace(Xe,"");try{L=""!==L?JSON.parse(L):null}catch(We){L=yt,we&&(we=!1,L={error:We,text:L})}}we?(de.next(new Ee({body:L,headers:be,status:me,statusText:ae,url:le||void 0})),de.complete()):de.error(new Oe({error:L,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)},Ze=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",Ze)),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",Ze)),ke.readyState!==ke.DONE&&ke.abort()}})}}return Fe.\u0275fac=function(ge){return new(ge||Fe)(h.\u0275\u0275inject(n.XhrFactory))},Fe.\u0275prov=h.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac}),Fe})();const pe=new h.InjectionToken("XSRF_COOKIE_NAME"),Ye=new h.InjectionToken("XSRF_HEADER_NAME");class Ve{}let Ge=(()=>{class Fe{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 Fe.\u0275fac=function(ge){return new(ge||Fe)(h.\u0275\u0275inject(n.DOCUMENT),h.\u0275\u0275inject(h.PLATFORM_ID),h.\u0275\u0275inject(pe))},Fe.\u0275prov=h.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac}),Fe})(),Y=(()=>{class Fe{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 Fe.\u0275fac=function(ge){return new(ge||Fe)(h.\u0275\u0275inject(Ve),h.\u0275\u0275inject(Ye))},Fe.\u0275prov=h.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac}),Fe})(),Te=(()=>{class Fe{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 Fe.\u0275fac=function(ge){return new(ge||Fe)(h.\u0275\u0275inject(b),h.\u0275\u0275inject(h.Injector))},Fe.\u0275prov=h.\u0275\u0275defineInjectable({token:Fe,factory:Fe.\u0275fac}),Fe})();function Le(){return"object"==typeof window?window:{}}let ze=(()=>{class Fe{static disable(){return{ngModule:Fe,providers:[{provide:Y,useClass:ye}]}}static withOptions(ge={}){return{ngModule:Fe,providers:[ge.cookieName?{provide:pe,useValue:ge.cookieName}:[],ge.headerName?{provide:Ye,useValue:ge.headerName}:[]]}}}return Fe.\u0275fac=function(ge){return new(ge||Fe)},Fe.\u0275mod=h.\u0275\u0275defineNgModule({type:Fe}),Fe.\u0275inj=h.\u0275\u0275defineInjector({providers:[Y,{provide:$,useExisting:Y,multi:!0},{provide:Ve,useClass:Ge},{provide:pe,useValue:"XSRF-TOKEN"},{provide:Ye,useValue:"X-XSRF-TOKEN"}]}),Fe})(),ve=(()=>{class Fe{}return Fe.\u0275fac=function(ge){return new(ge||Fe)},Fe.\u0275mod=h.\u0275\u0275defineNgModule({type:Fe}),Fe.\u0275inj=h.\u0275\u0275defineInjector({providers:[ie,{provide:f,useClass:Te},je,{provide:b,useExisting:je}],imports:[ze.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]}),Fe})(),$e=(()=>{class Fe{}return Fe.\u0275fac=function(ge){return new(ge||Fe)},Fe.\u0275mod=h.\u0275\u0275defineNgModule({type:Fe}),Fe.\u0275inj=h.\u0275\u0275defineInjector({providers:[ct,{provide:bt,useFactory:Le},{provide:$,useClass:pt,multi:!0}]}),Fe})();const ut=n.XhrFactory},5e3:(H,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:()=>Ve,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:()=>Fe,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:()=>g,setTestabilityGetter:()=>Kg,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>Uu,\u0275APP_ID_RANDOM_PROVIDER:()=>DD,\u0275ChangeDetectorStatus:()=>$e,\u0275ComponentFactory:()=>ra,\u0275Console:()=>MD,\u0275DEFAULT_LOCALE_ID:()=>fo,\u0275INJECTOR_SCOPE:()=>ml,\u0275LContext:()=>Ef,\u0275LifecycleHooksFeature:()=>Kh,\u0275LocaleDataIndex:()=>Jt,\u0275NG_COMP_DEF:()=>gt,\u0275NG_DIR_DEF:()=>Ft,\u0275NG_ELEMENT_ID:()=>rt,\u0275NG_INJ_DEF:()=>je,\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:()=>dt,\u0275getLContext:()=>ui,\u0275getLocaleCurrencyCode:()=>P0,\u0275getLocalePluralCase:()=>zp,\u0275getSanitizationBypassType:()=>Ld,\u0275getUnknownElementStrictMode:()=>By,\u0275getUnknownPropertyStrictMode:()=>$y,\u0275global:()=>W,\u0275injectChangeDetectorRef:()=>cv,\u0275internalBootstrapApplication:()=>UD,\u0275isBoundToModule:()=>Qg,\u0275isDefaultChangeDetectionStrategy:()=>ut,\u0275isListLikeIterable:()=>Ts,\u0275isObservable:()=>rp,\u0275isPromise:()=>Ac,\u0275isStandalone:()=>Xo,\u0275isSubscribable:()=>ip,\u0275ivyEnabled:()=>vE,\u0275makeDecorator:()=>Co,\u0275markDirty:()=>Xh,\u0275noSideEffects:()=>ze,\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:()=>We,\u0275\u0275defineInjectable:()=>Be,\u0275\u0275defineInjector:()=>He,\u0275\u0275defineNgModule:()=>L,\u0275\u0275definePipe:()=>_t,\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 g(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 P(e,t){return`NG0${Math.abs(e)}${t?": "+t.trim():""}`}(t,i)),this.code=t}}function O(e){return"string"==typeof e?e:null==e?"":String(e)}function j(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():O(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 Be(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const Se=Be;function He(e){return{providers:e.providers||[],imports:e.imports||[]}}function dt(e){return bt(e,Pe)||bt(e,pe)}function bt(e,t){return e.hasOwnProperty(t)?e[t]:null}function Xe(e){return e&&(e.hasOwnProperty(je)||e.hasOwnProperty(Ye))?e[je]:null}const Pe=c({\u0275prov:c}),je=c({\u0275inj:c}),pe=c({ngInjectableDef:c}),Ye=c({ngInjectorDef:c});var Ve=(()=>((Ve=Ve||{})[Ve.Default=0]="Default",Ve[Ve.Host=1]="Host",Ve[Ve.Self=2]="Self",Ve[Ve.SkipSelf=4]="SkipSelf",Ve[Ve.Optional=8]="Optional",Ve))();let Ge;function Te(e){const t=Ge;return Ge=e,t}function Ue(e,t,i){const s=dt(e);return s&&"root"==s.providedIn?void 0===s.value?s.value=s.factory():s.value:i&Ve.Optional?null:void 0!==t?t:void B(p(e))}function ze(e){return{toString:e}.toString()}var ve=(()=>((ve=ve||{})[ve.OnPush=0]="OnPush",ve[ve.Default=1]="Default",ve))(),$e=(()=>(($e=$e||{})[$e.CheckOnce=0]="CheckOnce",$e[$e.Checked=1]="Checked",$e[$e.CheckAlways=2]="CheckAlways",$e[$e.Detached=3]="Detached",$e[$e.Errored=4]="Errored",$e[$e.Destroyed=5]="Destroyed",$e))();function ut(e){return null==e||e===ve.Default}var Fe=(()=>{return(e=Fe||(Fe={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",Fe;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=[],gt=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 Ze=0;function be(e){return ze(()=>{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||Fe.Emulated,id:"c"+Ze++,styles:e.styles||tt,_:null,setInput:null,schemas:e.schemas||null,tView:null},v=e.dependencies,D=e.features;return l.inputs=yt(e.inputs,s),l.outputs=yt(e.outputs),D&&D.forEach(w=>w(l)),l.directiveDefs=v?()=>("function"==typeof v?v():v).map(ae).filter(le):null,l.pipeDefs=v?()=>("function"==typeof v?v():v).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 L(e){return ze(()=>({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 ze(()=>{const i=Dt(e,!0);i.declarations=t.declarations||tt,i.imports=t.imports||tt,i.exports=t.exports||tt})}function yt(e,t){if(null==e)return ke;const i={};for(const s in e)if(e.hasOwnProperty(s)){let l=e[s],v=l;Array.isArray(l)&&(v=l[1],l=l[0]),i[l]=s,t&&(t[l]=v)}return i}const We=be;function _t(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[gt]||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}),v=l.current||(l.current={}),D=l.previous,w=this.declaredInputs[i],I=D[w];v[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 Je(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 vt={lFrame:T(null),bindingsEnabled:!0};function $n(){return vt.bindingsEnabled}function Dn(){vt.bindingsEnabled=!0}function Rn(){vt.bindingsEnabled=!1}function St(){return vt.lFrame.lView}function on(){return vt.lFrame.tView}function $i(e){return vt.lFrame.contextLView=e,e[8]}function ai(e){return vt.lFrame.contextLView=null,e}function xn(){let e=tr();for(;null!==e&&64===e.type;)e=e.parent;return e}function tr(){return vt.lFrame.currentTNode}function Hi(){const e=vt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function F(e,t){const i=vt.lFrame;i.currentTNode=e,i.isParent=t}function A(){return vt.lFrame.isParent}function S(){vt.lFrame.isParent=!1}function Fn(){const e=vt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function li(){return vt.lFrame.bindingIndex}function Rr(e){return vt.lFrame.bindingIndex=e}function Ur(){return vt.lFrame.bindingIndex++}function nr(e){const t=vt.lFrame,i=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,i}function js(e){vt.lFrame.inI18n=e}function Ha(e,t){const i=vt.lFrame;i.bindingIndex=i.bindingRootIndex=e,qr(t)}function qr(e){vt.lFrame.currentDirectiveIndex=e}function eo(e){const t=vt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Vs(){return vt.lFrame.currentQueryIndex}function es(e){vt.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&Ve.SkipSelf){let l=t,v=e;for(;!(l=l.parent,null!==l||i&Ve.Host||(l=Ua(v),null===l||(v=v[15],10&l.type))););if(null===l)return!1;t=l,e=v}const s=vt.lFrame=E();return s.currentTNode=t,s.lView=e,!0}function Q(e){const t=E(),i=e[1];vt.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=vt.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=vt.lFrame;return vt.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 vt.lFrame.selectedIndex}function wt(e){vt.lFrame.selectedIndex=e}function Pt(){const e=vt.lFrame;return er(e.tView,e.selectedIndex)}function $t(){vt.lFrame.currentNamespace="svg"}function an(){vt.lFrame.currentNamespace="math"}function un(){!function en(){vt.lFrame.currentNamespace=null}()}function wn(e,t){for(let i=t.directiveStart,s=t.directiveEnd;i<s;i++){const v=e.data[i].type.prototype,{ngAfterContentInit:D,ngAfterContentChecked:w,ngAfterViewInit:I,ngAfterViewChecked:N,ngOnDestroy:re}=v;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),N&&((e.viewHooks||(e.viewHooks=[])).push(i,N),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(i,N)),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 v=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<v||-1==v)&&(_r(e,i,t,I),e[18]=(4294901760&e[18])+I+2),I++}function _r(e,t,i,s){const l=i[s]<0,v=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,v);try{v.call(w)}finally{Wn(5,w,v)}}}else{Wn(4,w,v);try{v.call(w)}finally{Wn(5,w,v)}}}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 v=i[s++],D=i[s++],w=i[s++];e.setAttribute(t,D,w,v)}else{const v=l,D=i[++s];hn(v)?e.setProperty(t,v,D):e.setAttribute(t,v,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 v=0,D=e.length;if(-1===t)D=-1;else for(;v<e.length;){const w=e[v++];if("number"==typeof w){if(w===t){D=-1;break}if(w>t){D=v-1;break}}}for(;v<e.length;){const w=e[v];if("number"==typeof w)break;if(w===i){if(null===s)return void(null!==l&&(e[v+1]=l));if(s===e[v+1])return void(e[v+2]=l)}v++,null!==s&&v++,null!==l&&v++}-1!==D&&(e.splice(D,0,t),v=D+1),e.splice(v++,0,i),null!==s&&e.splice(v++,0,s),null!==l&&e.splice(v++,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),v=e.injectorIndex;if(ci(l)){const D=vi(l),w=Fr(l,t),I=w[1].data;for(let N=0;N<8;N++)t[v+N]=w[D+N]|I[D+N]}return t[v+8]=l,v}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&Ve.Optional)return e;B()}function cd(e,t,i,s){if(i&Ve.Optional&&void 0===s&&(s=null),0==(i&(Ve.Self|Ve.Host))){const l=e[9],v=Te(void 0);try{return l?l.get(t,s,i&Ve.Optional):Ue(t,s,i&Ve.Optional)}finally{Te(v)}}return ld(s,0,i)}function ud(e,t,i,s=Ve.Default,l){if(null!==e){if(1024&t[2]){const D=function wv(e,t,i,s,l){let v=e,D=t;for(;null!==v&&null!==D&&1024&D[2]&&!(256&D[2]);){const w=dd(v,D,i,s|Ve.Self,br);if(w!==br)return w;let I=v.parent;if(!I){const N=D[21];if(N){const re=N.get(i,br,s);if(re!==br)return re}I=md(D),D=D[15]}v=I}return l}(e,t,i,s,br);if(D!==br)return D}const v=dd(e,t,i,s,br);if(v!==br)return v}return cd(t,i,s,l)}function dd(e,t,i,s,l){const v=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 v){if(!$s(t,e,s))return s&Ve.Host?ld(l,0,s):cd(t,i,s,l);try{const D=v(s);if(null!=D||s&Ve.Optional)return D;B()}finally{J()}}else if("number"==typeof v){let D=null,w=Ga(e,t),I=-1,N=s&Ve.Host?t[16][6]:null;for((-1===w||s&Ve.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(v,w,re.data)){const Re=Dv(w,t,i,D,s,N);if(Re!==br)return Re}I=t[w+8],-1!==I&&hd(s,t[1].data[w+8]===N)&&fd(v,w,t)?(D=re,w=vi(I),t=Fr(I,t)):w=-1}}return l}function Dv(e,t,i,s,l,v){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&Ve.Host&&v===w);return null!==re?rs(t,D,re,w):br}function zs(e,t,i,s,l){const v=e.providerIndexes,D=t.data,w=1048575&v,I=e.directiveStart,re=v>>20,st=l?w+re:e.directiveEnd;for(let mt=s?w:w+re;mt<st;mt++){const Mt=D[mt];if(mt<I&&i===Mt||mt>=I&&Mt.type===i)return mt}if(l){const mt=D[I];if(mt&&Ln(mt)&&mt.type===i)return I}return null}function rs(e,t,i,s){let l=e[i];const v=t.data;if(function go(e){return e instanceof si}(l)){const D=l;D.resolving&&function Z(e,t){const i=t?`. Dependency path: ${t.join(" > ")} > ${e}`:"";throw new M(-200,`Circular dependency in DI detected for ${e}${i}`)}(j(v[i]));const w=Zn(D.canSeeViewProviders);D.resolving=!0;const I=D.injectImpl?Te(D.injectImpl):null;$s(e,s,Ve.Default);try{l=e[i]=D.factory(void 0,v,e,s),t.firstCreatePass&&i>=s.directiveStart&&function Mn(e,t,i){const{ngOnChanges:s,ngOnInit:l,ngDoCheck:v}=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),v&&((i.preOrderHooks||(i.preOrderHooks=[])).push(e,v),(i.preOrderCheckHooks||(i.preOrderCheckHooks=[])).push(e,v))}(i,v[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&Ve.Self||e&Ve.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 ze(()=>{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 v=l[Nt]||Ka(l);if(v&&v!==i)return v;l=Object.getPrototypeOf(l)}return v=>new v})}function Ka(e){return m(e)?()=>{const t=Ka(g(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 v=i[l];if(Zt(v))break;if(0===v)l+=2;else if("number"==typeof v)for(l++;l<s&&"string"==typeof i[l];)l++;else{if(v===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 ze(()=>{const v=Qa(t);function D(...w){if(this instanceof D)return v.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 ze(()=>{const s=Qa(t);function l(...v){if(this instanceof l)return s.apply(this,v),this;const D=new l(...v);return w.annotation=D,w;function w(I,N,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 ze(()=>{const l=Qa(t);function v(...D){if(this instanceof v)return l.apply(this,D),this;const w=new v(...D);return function I(N,re){const Re=N.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(N,re,...D)}}return i&&(v.prototype=Object.create(i.prototype)),v.prototype.ngMetadataName=e,v.annotationCls=v,v})}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=Be({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 v=s+(l-s>>1),D=e[v<<i];if(t===D)return v<<i;D>t?l=v:s=v+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),N=w.map(re=>re&&Ja(re.decorators));return this._zipTypesAndAnnotations(I,N)}const v=t.hasOwnProperty(_o)&&t[_o],D=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return D||v?this._zipTypesAndAnnotations(D,v):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(v=>{l[v]=Ja(s[v])}),l}return t.hasOwnProperty(bo)?t[bo]:null}propMetadata(t){if(!ss(t))return{};const i=Ks(t),s={};if(i!==Object){const v=this.propMetadata(i);Object.keys(v).forEach(D=>{s[D]=v[D]})}const l=this._ownPropMetadata(t,i);return l&&Object.keys(l).forEach(v=>{const D=[];s.hasOwnProperty(v)&&D.push(...s[v]),D.push(...l[v]),s[v]=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=Ve.Default){if(void 0===ls)throw new M(-203,!1);return null===ls?Ue(e,void 0,t):ls.get(e,t&Ve.Optional?null:void 0,t)}function ti(e,t=Ve.Default){return(function Y(){return Ge}()||Hv)(g(e),t)}function qa(e){throw new M(202,!1)}function Td(e,t=Ve.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=g(e[i]);if(Array.isArray(s)){if(0===s.length)throw new M(900,!1);let l,v=Ve.Default;for(let D=0;D<s.length;D++){const w=s[D],I=Uv(w);"number"==typeof I?-1===I?l=w.token:v|=I:l=w}t.push(ti(l,v))}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 v=i.get(l);if(!v){const D=e(l);i.set(l,v=D.then(Qv))}return v}return wo.forEach((l,v)=>{const D=[];l.templateUrl&&D.push(s(l.templateUrl).then(Re=>{l.template=Re}));const w=l.styleUrls,I=l.styles||(l.styles=[]),N=l.styles.length;w&&w.forEach((Re,st)=>{I.push(""),D.push(s(Re).then(mt=>{I[N+st]=mt,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)}(v));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 v=s.item(l),D=v.name,w=D.toLowerCase();if(!Ud.hasOwnProperty(w)){this.sanitizedSomething=!0;continue}let I=v.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,"&").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,"<").replace(/>/g,">")}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,v=s;do{if(0===l)throw new Error("Failed to sanitize html because the input is unstable");l--,s=v,v=i.innerHTML,i=ta.getInertBodyElement(s)}while(s!==v);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(),O(e))}function Kd(e){const t=ms();return t?t.sanitize(Jn.STYLE,e)||"":So(e,"Style")?Nr(e):O(e)}function cl(e){const t=ms();return t?t.sanitize(Jn.URL,e)||"":So(e,"URL")?Nr(e):hs(O(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,v=>{const D=v;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,v=>{t.push(v)})}}function hl(e,t,i,s){if(!(e=g(e)))return!1;let l=null,v=Xe(e);const D=!v&&ee(e);if(v||D){if(D&&!D.standalone)return!1;l=e}else{const I=e.ngModule;if(v=Xe(I),!v)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 N of I)hl(N,t,i,s)}}else{if(!v)return!1;{if(null!=v.imports&&!w){let N;s.add(l);try{kr(v.imports,re=>{hl(re,t,i,s)&&(N||(N=[]),N.push(re))})}finally{}void 0!==N&&nf(N,t)}if(!w){const N=ni(l)||(()=>new l);t.push({provide:l,useFactory:N,deps:tt},{provide:Xd,useValue:l,multi:!0},{provide:dl,useValue:()=>ti(l),multi:!0})}const I=v.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 v=this.records.get(ml);null!=v&&"string"==typeof v.value&&this.scopes.add(v.value),this.injectorDefTypes=new Set(this.get(Xd.multi,tt,Ve.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=Ve.Default){this.assertNotDestroyed();const l=io(this),v=Te(void 0);try{if(!(s&Ve.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)&&dt(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&Ve.Self?ia():this.parent).get(t,i=s&Ve.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 v=[];for(let D in t)if(t.hasOwnProperty(D)){let w=t[D];v.push(D+":"+("string"==typeof w?JSON.stringify(w):p(w)))}l=`{${v.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(v),io(l)}}resolveInjectorInitializers(){const t=io(this),i=Te(void 0);try{const s=this.get(dl.multi,tt,Ve.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=g(t))?t:g(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=g(t.providedIn);return"string"==typeof i?"any"===i||this.scopes.has(i):this.injectorDefTypes.has(i)}}function vl(e){const t=dt(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 ct(e){const t=e&&(e[Pe]||e[pe]);if(t){const i=function pt(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=g(e);return ni(l)||vl(l)}if(pl(e))s=()=>g(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(g(e.useExisting));else{const l=g(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=Be({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,v;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 v=i.directiveStart;v<l;v++)if(e[v]===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");v=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)),v&&void 0===I.directives){I.directives=v;for(let N=0;N<v.length;N++)di(v[N],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 v=Array.isArray(l)?l:l.lView;if(!v)return null;const D=wf(v,i);if(D>=0){const w=bn(v[D]),I=wl(v,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 v=wl(s,l,i[0]);v.component=e,di(e,v),di(v.native,v)}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 v,D=!1;Nn(s)?v=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!=v&&function w_(e,t,i,s,l){const v=i[7];v!==bn(i)&&Po(t,e,s,v,l);for(let w=10;w<i.length;w++){const I=i[w];Cs(I[1],I,e,t,s,v)}}(t,e,v,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 v=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=v[19];null!==D&&D.detachView(v[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 v=i[s+1];if(Array.isArray(v))for(let D=0;D<v.length;D+=2){const w=l[v[D]],I=v[D+1];Wn(4,w,I);try{I.call(w)}finally{Wn(5,w,I)}}else{Wn(4,l,v);try{v.call(l)}finally{Wn(5,l,v)}}}}}(e,t),function b_(e,t){const i=e.cleanup,s=t[7];let l=-1;if(null!==i)for(let v=0;v<i.length-1;v+=2)if("string"==typeof i[v]){const D=i[v+1],w="function"==typeof D?D(t):bn(t[D]),I=s[l=i[v+2]],N=i[v+3];"boolean"==typeof N?w.removeEventListener(i[v],I,N):N>=0?s[l=N]():s[l=-N].unsubscribe(),v+=2}else{const D=s[l=i[v+1]];i[v].call(D)}if(null!==s){for(let v=l+1;v<s.length;v++)(0,s[v])();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===Fe.None||l===Fe.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),v=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(v,l,i[I],w,!1);else $f(v,l,i,w,!1);void 0!==Nl&&Nl(v,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,v,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,v,!1),Po(t,e,l,w,v);else if(32&I){const N=Ol(i,s);let re;for(;re=N();)Po(t,e,l,re,v);Po(t,e,l,w,v)}else 16&I?Yf(e,t,s,i,l,v):Po(t,e,l,w,v);i=D?i.projectionNext:i.next}}function Cs(e,t,i,s,l,v){jl(i,s,e.firstChild,t,l,v,!1)}function Yf(e,t,i,s,l,v){const D=i[16],I=D[6].projection[s.projection];if(Array.isArray(I))for(let N=0;N<I.length;N++)Po(t,e,l,I[N],v);else jl(e,t,I,D[3],l,v,!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 v=t.length;if(l+v===s||e.charCodeAt(l+v)<=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||[],v=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 N=8&s?I:t[++w];if(8&s&&null!==e.attrs){if(!S_(e.attrs,N,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(""!==N){let st;st=Re>v?"":l[Re+1].toLowerCase();const mt=8&s?st:null;if(mt&&-1!==Zf(mt,N,0)||2&s&&N!==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 v=!1;for(;l<t.length;){const D=t[l];if(D===e)return l;if(3===D||6===D)v=!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+=v?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="",v=!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(v,l),l=""),s=D,v=v||!rr(s);i++}return""!==l&&(t+=eh(v,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 v=e.preOrderCheckHooks;null!==v&&Gn(t,v,i)}else{const v=e.preOrderHooks;null!==v&&ei(t,v,0,i)}wt(i)}const ih={\u0275\u0275defineInjectable:Be,\u0275\u0275defineInjector:He,\u0275\u0275inject:ti,\u0275\u0275invalidFactoryDep:qa,resolveForwardRef:g};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 v=[i||tt,ef(e)];return s=s||("object"==typeof e?void 0:p(e)),new af(v,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 v=null!==(l=i.name)&&void 0!==l?l:"";return Vl({name:v},i.parent,i.providers,v)}}}return e.THROW_IF_NOT_FOUND=Kr,e.NULL=new qd,e.\u0275prov=Be({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],v=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}(v,s):Error(v);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 v=t[s];i.push(v&&0!=v.length?v.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(g(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=g(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 v=0;v<s.resolvedFactories.length;v++)l.resolvedFactories.push(s.resolvedFactories[v]);else t.set(s.key.id,s)}else{let v;v=s.multiProvider?new ch(s.key,s.resolvedFactories.slice(),s.multiProvider):s,t.set(s.key.id,v)}}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 v=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?v=w:w instanceof Pn&&(s=w)}if(s=g(s),null!=s)return Ul(s,l,v);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 v=0;v<l;v++)this.keyIds[v]=i[v].key.id,this.objs[v]=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 v,D;try{v=s.dependencies.map(w=>this._getByReflectiveDependency(w))}catch(w){throw w.addKey&&w.addKey(this,i.key),w}try{D=l(...v)}catch(w){throw function Y_(e,t,i,s){return Hl(e,s,function(l){const v=p(l[0].token);return`${t.message}: Error during instantiation of ${v}!${$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 v;for(v=l instanceof To?this.parent:this;v instanceof e;){const D=v,w=D._getObjByKeyId(i.id);if(w!==Ds)return w;v=D.parent}return null!==v?v.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=Ve.Default){const i=St();return null===i?ti(e,t):ud(xn(),i,g(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],v=i[s+1];if(-1!==v){const D=e.data[v];es(l),D.contentQueries(2,t[v],v)}}}function ha(e,t,i,s,l,v,D,w,I,N,re){const Re=t.blueprint.slice();return Re[0]=l,Re[2]=76|s,(null!==re||e&&1024&e[2])&&(Re[2]|=1024),Je(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]=N||e&&e[9]||null,Re[6]=v,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 v=e.data[t];if(null===v)v=tc(e,t,i,s,l),function Ls(){return vt.lFrame.inI18n}()&&(v.flags|=64);else if(64&v.type){v.type=i,v.value=s,v.attrs=l;const D=Hi();v.injectorIndex=null===D?-1:D.injectorIndex}return F(v,!0),v}function tc(e,t,i,s,l){const v=tr(),D=A(),I=e.data[t]=function Eb(e,t,i,s,l,v){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:v,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?v:v&&v.parent,i,t,s,l);return null===e.firstChild&&(e.firstChild=I),null!==v&&(D?null==v.child&&null!==I.parent&&(v.child=I):null===v.next&&(v.next=I)),I}function ko(e,t,i,s){if(0===i)return-1;const l=t.length;for(let v=0;v<i;v++)t.push(s),e.blueprint.push(s),e.data.push(null);return l}function pa(e,t,i){Q(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 v=e.components;null!==v&&function _b(e,t){for(let i=0;i<t.length;i++)Bb(e,t[i])}(t,v)}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)){Q(t);try{Je(t),Rr(e.bindingStartIndex),null!==i&&Mh(e,t,i,2,s);const D=3==(3&l);if(D){const N=e.preOrderCheckHooks;null!==N&&Gn(t,N,null)}else{const N=e.preOrderHooks;null!==N&&ei(t,N,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],v=l[3];0==(512&l[2])&&Et(v,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 N=e.contentCheckHooks;null!==N&&Gn(t,N)}else{const N=e.contentHooks;null!==N&&ei(t,N,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 v=l,D=i[++s],w=i[++s];Ha(D,v),w(2,t[v])}}}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 N=e.viewCheckHooks;null!==N&&Gn(t,N)}else{const N=e.viewHooks;null!==N&&ei(t,N,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 v=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(v),Wn(D?3:1,l)}}function Sh(e,t,i){if(Ti(t)){const l=t.directiveEnd;for(let v=t.directiveStart;v<l;v++){const D=e.data[v];D.contentQueries&&D.contentQueries(1,i[v],v)}}}function nc(e,t,i){!$n()||(function Ib(e,t,i,s){const l=i.directiveStart,v=i.directiveEnd;e.firstCreatePass||is(i,t),di(s,t);const D=i.initialInputs;for(let w=l;w<v;w++){const I=e.data[w],N=Ln(I);N&&xb(t,i,I);const re=rs(t,e,w,i);di(re,t),null!==D&&Fb(0,w-l,re,I,0,D),N&&(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,v=i.index,D=function Bs(){return vt.lFrame.currentDirectiveIndex}();try{wt(v);for(let w=s;w<l;w++){const I=e.data[w],N=t[w];qr(w),(null!==I.hostBindings||0!==I.hostVars||null!==I.hostAttrs)&&Fh(I,N)}}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 v=0;v<s.length;v+=2){const D=s[v+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,v,D,w,I,N){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),mt="function"==typeof N?N():N;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 v?v():v,pipeRegistry:"function"==typeof D?D():D,firstChild:null,schemas:I,consts:mt,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,v=t.attrs,D=[];let w=null,I=null;for(let N=t.directiveStart;N<s;N++){const re=l[N],Re=re.inputs,st=null===v||Xf(t)?null:kb(Re,v);D.push(st),w=Ah(Re,N,w),I=Ah(re.outputs,N,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,v,D,w){const I=Tn(t,i);let re,N=t.inputs;!w&&null!=N&&(re=N[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,v.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 v=function Ab(e,t,i){const s=e.directiveRegistry;let l=null;if(s)for(let v=0;v<s.length;v++){const D=s[v];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!==v){l=!0,Nh(i,e.data.length,v.length);for(let re=0;re<v.length;re++){const Re=v[re];Re.providersResolver&&Re.providersResolver(Re)}let w=!1,I=!1,N=ko(e,t,v.length,null);for(let re=0;re<v.length;re++){const Re=v[re];i.mergedAttrs=An(i.mergedAttrs,Re.hostAttrs),Lh(e,i,t,N,Re),Rb(N,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),N++}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 v=i[t[l+1]];if(null==v)throw new M(-301,!1);s.push(t[l],v)}}}(i,s,D)}return i.mergedAttrs=An(i.mergedAttrs,i.attrs),l}function xh(e,t,i,s,l,v){const D=v.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 v=l.factory||(l.factory=ni(l.type)),D=new si(v,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),v=e[10],D=ma(e,ha(e,l,null,i.onPush?32:16,s,t,v,v.createRenderer(s,i),null,null,null));e[t.index]=D}function Er(e,t,i,s,l,v){const D=Tn(e,t);sc(t[11],D,v,e.value,i,s,l)}function sc(e,t,i,s,l,v,D){if(null==v)e.removeAttribute(t,l,i);else{const w=null==D?O(v):D(v,s||"",l);e.setAttribute(t,l,w,i)}}function Fb(e,t,i,s,l,v){const D=v[t];if(null!==D){const w=s.setInput;for(let I=0;I<D.length;){const N=D[I++],re=D[I++],Re=D[I++];null!==w?s.setInput(i,Re,N,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 v=s[l];if(se(v))if(512&v[2]){const D=v[1];Es(D,v,D.template,v[8])}else v[5]>0&&ac(v)}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 v=0;v<i.length;){const D=i[v++],w=i[v++],I=t[D],N=e.data[D];null!==N.setInput?N.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,v=0;if(null!==t)for(let D=0;D<t.length;D++){const w=t[D];"number"==typeof w?v=w:1==v?l=y(l,w):2==v&&(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 v=t[i.index];if(null!==v&&s.push(bn(v)),Nn(v))for(let w=10;w<v.length;w++){const I=v[w],N=I[1].firstChild;null!==N&&va(I[1],I,N,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 v=(l=l||this.ngModule)instanceof so?l:null==l?void 0:l.injector;v&&null!==this.componentDef.getStandaloneInjector&&(v=this.componentDef.getStandaloneInjector(v)||v);const D=v?new Wb(t,v):t,w=D.get(df,null);if(null===w)throw new M(407,!1);const I=D.get(ff,null),N=w.createRenderer(null,this.componentDef),re=this.componentDef.selectors[0][0]||"div",Re=s?function Db(e,t,i){return e.selectRootElement(t,i===Fe.ShadowDom)}(N,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,mt=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,mt,st,null,null,w,N,I,D,null);let kt,Vt;Q(Rt);try{const qt=function Kb(e,t,i,s,l,v){const D=i[1];i[22]=e;const I=Fo(D,22,2,"#host",null),N=I.mergedAttrs=t.hostAttrs;null!==N&&(ga(I,N,!0),null!==e&&(Gt(l,e,N),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,v||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,N);if(Re)if(s)Gt(N,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 v=e[s];if("string"==typeof v)2===l?""!==v&&t.push(v,e[++s]):8===l&&i.push(v);else{if(!rr(l))break;l=v}s++}return{attrs:t,classes:i}}(this.componentDef.selectors[0]);Ot&&Gt(N,Re,Ot),Qt&&Qt.length>0&&Bl(N,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 v=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 v=Tn(s,t);return v&&di(v,t),l}(v,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!v.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,mt,[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,v){super(),this.location=s,this._rootLView=l,this._tNode=v,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 v=this._rootLView;dc(v[1],v,l,t,i),Rh(v,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,N=l.contentQueries;if(I&&Xb(e,I),N&&qb(e,N),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 v=l.features;if(v)for(let D=0;D<v.length;D++){const w=v[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,v)=>{t(s,l,v),i(s,l,v)}: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 v=s.next(),D=l.next();if(v.done&&D.done)return!0;if(v.done||D.done||!i(v.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 v=co(e,t,i,s);return fi(e,t+2,l)||v}function Ui(e,t,i,s,l,v){const D=co(e,t,i,s);return co(e,t+2,l,v)||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 v=1;v<t.length;v+=2)i=fi(e,s++,t[v])||i;if(Rr(s),!i)return sn;let l=t[0];for(let v=1;v<t.length;v+=2)l+=O(t[v])+t[v+1];return l}function Bo(e,t,i,s){return fi(e,Ur(),i)?t+O(i)+s:sn}function Vo(e,t,i,s,l,v){const w=co(e,li(),i,l);return nr(2),w?t+O(i)+s+O(l)+v:sn}function $o(e,t,i,s,l,v,D,w){const N=_a(e,li(),i,l,D);return nr(3),N?t+O(i)+s+O(l)+v+O(D)+w:sn}function Ho(e,t,i,s,l,v,D,w,I,N){const Re=Ui(e,li(),i,l,D,I);return nr(4),Re?t+O(i)+s+O(l)+v+O(D)+w+O(I)+N:sn}function Uo(e,t,i,s,l,v,D,w,I,N,re,Re){const st=li();let mt=Ui(e,st,i,l,D,I);return mt=fi(e,st+4,re)||mt,nr(5),mt?t+O(i)+s+O(l)+v+O(D)+w+O(I)+N+O(re)+Re:sn}function zo(e,t,i,s,l,v,D,w,I,N,re,Re,st,mt){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+O(i)+s+O(l)+v+O(D)+w+O(I)+N+O(re)+Re+O(st)+mt:sn}function Wo(e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,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+O(i)+s+O(l)+v+O(D)+w+O(I)+N+O(re)+Re+O(st)+mt+O(Mt)+Rt:sn}function Go(e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,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+O(i)+s+O(l)+v+O(D)+w+O(I)+N+O(re)+Re+O(st)+mt+O(Mt)+Rt+O(kt)+Vt:sn}function vc(e,t,i,s,l,v){const D=St(),w=Bo(D,t,i,s);return w!==sn&&Er(Pt(),D,e,w,l,v),vc}function yc(e,t,i,s,l,v,D,w){const I=St(),N=Vo(I,t,i,s,l,v);return N!==sn&&Er(Pt(),I,e,N,D,w),yc}function _c(e,t,i,s,l,v,D,w,I,N){const re=St(),Re=$o(re,t,i,s,l,v,D,w);return Re!==sn&&Er(Pt(),re,e,Re,I,N),_c}function bc(e,t,i,s,l,v,D,w,I,N,re,Re){const st=St(),mt=Ho(st,t,i,s,l,v,D,w,I,N);return mt!==sn&&Er(Pt(),st,e,mt,re,Re),bc}function Cc(e,t,i,s,l,v,D,w,I,N,re,Re,st,mt){const Mt=St(),Rt=Uo(Mt,t,i,s,l,v,D,w,I,N,re,Re);return Rt!==sn&&Er(Pt(),Mt,e,Rt,st,mt),Cc}function Dc(e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt,Rt){const kt=St(),Vt=zo(kt,t,i,s,l,v,D,w,I,N,re,Re,st,mt);return Vt!==sn&&Er(Pt(),kt,e,Vt,Mt,Rt),Dc}function Ec(e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt,Rt,kt,Vt){const qt=St(),Ot=Wo(qt,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt,Rt);return Ot!==sn&&Er(Pt(),qt,e,Ot,kt,Vt),Ec}function Tc(e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt,Rt,kt,Vt,qt,Ot){const Qt=St(),mn=Go(Qt,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt,Rt,kt,Vt);return mn!==sn&&Er(Pt(),Qt,e,mn,qt,Ot),Tc}function wc(e,t,i,s){const l=St(),v=jo(l,t);return v!==sn&&Er(Pt(),l,e,v,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,v,D,w){const I=St(),N=on(),re=e+22,Re=N.firstCreatePass?function s0(e,t,i,s,l,v,D,w,I){const N=t.consts,re=Fo(t,e,4,D||null,fe(N,w));oc(t,i,re,fe(N,I)),wn(t,re);const Re=re.tViews=rc(2,re,s,l,v,t.directiveRegistry,t.pipeRegistry,null,t.schemas,N);return null!==t.queries&&(t.queries.template(t,re),Re.queries=t.queries.embeddedTView(re)),re}(re,N,I,t,i,s,l,v,D):N.data[re];F(Re,!1);const st=I[11].createComment("");aa(N,I,st,Re),di(st,I),ma(I,I[re]=jh(st,I,st,Re)),bi(Re)&&nc(N,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 vt.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(),v=on(),D=22+e,w=l[11],I=l[D]=xl(w,t,function tn(){return vt.lFrame.currentNamespace}()),N=v.firstCreatePass?function a0(e,t,i,s,l,v,D){const w=t.consts,N=Fo(t,e,2,l,fe(w,v));return oc(t,i,N,fe(w,D)),null!==N.attrs&&ga(N,N.attrs,!1),null!==N.mergedAttrs&&ga(N,N.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,N),N}(D,v,l,0,t,i,s):v.data[D];F(N,!0);const re=N.mergedAttrs;null!==re&&Gt(w,I,re);const Re=N.classes;null!==Re&&Bl(w,I,Re);const st=N.styles;return null!==st&&Qf(w,I,st),64!=(64&N.flags)&&aa(v,l,I,N),0===function Cn(){return vt.lFrame.elementDepthCount}()&&di(I,l),function Sn(){vt.lFrame.elementDepthCount++}(),bi(N)&&(nc(v,l,N),Sh(v,N,l)),null!==s&&ic(l,N),ba}function Ca(){let e=xn();A()?S():(e=e.parent,F(e,!1));const t=e;!function fn(){vt.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(),v=e+22,D=l.firstCreatePass?function l0(e,t,i,s,l){const v=t.consts,D=fe(v,s),w=Fo(t,e,8,"ng-container",D);return null!==D&&ga(w,D,!0),oc(t,i,w,fe(v,l)),null!==t.queries&&t.queries.elementStart(t,w),w}(v,l,s,t,i):l.data[v];F(D,!0);const w=s[v]=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(),v=on(),D=xn();return op(v,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,v,D,w){const I=bi(s),re=e.firstCreatePass&&Hh(e),Re=t[8],st=$h(t);let mt=!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 v=0;v<l.length-1;v+=2){const D=l[v];if(D===i&&l[v+1]===s){const w=t[7],I=l[v+2];return w.length>I?w[I]:null}"string"==typeof D&&(v+=2)}return null}(e,t,l,s.index)),null!==Qt)(Qt.__ngLastListenerFn__||Qt).__ngNextListenerFn__=v,Qt.__ngLastListenerFn__=v,mt=!1;else{v=ap(s,t,Re,v,!1);const mn=i.listen(Vt,l,v);st.push(v,mn),re&&re.push(l,Ot,qt,qt+1)}}else v=ap(s,t,Re,v,!1);const Mt=s.outputs;let Rt;if(mt&&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(v),mo=st.length;st.push(v,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 v(D){if(D===Function)return s;lc(2&e.flags?Qn(e.index,t):t);let I=sp(t,i,s,D),N=v.__ngNextListenerFn__;for(;N;)I=sp(t,i,N,D)&&I,N=N.__ngNextListenerFn__;return l&&!1===I&&(D.preventDefault(),D.returnValue=!1),I}}function lp(e=1){return function nt(e){return(vt.lFrame.contextLView=function ot(e,t){for(;e>0;)t=t[15],e--;return t}(e,vt.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 v=t[l];if("*"!==v){if(null===s?qf(e,v,!0):F_(s,v))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 v=t.child;for(;null!==v;){const D=e?u0(v,e):0;null!==D&&(l[D]?l[D].projectionNext=v:s[D]=v,l[D]=v),v=v.next}}}function up(e,t=0,i){const s=St(),l=on(),v=Fo(l,22+e,16,null,i||null);null===v.projection&&(v.projection=t),S(),64!=(64&v.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,v)}function xc(e,t,i){return Ta(e,"",t,"",i),xc}function Ta(e,t,i,s,l){const v=St(),D=Bo(v,t,i,s);return D!==sn&&Fi(on(),Pt(),v,e,D,v[11],l,!1),Ta}function Fc(e,t,i,s,l,v,D){const w=St(),I=Vo(w,t,i,s,l,v);return I!==sn&&Fi(on(),Pt(),w,e,I,w[11],D,!1),Fc}function kc(e,t,i,s,l,v,D,w,I){const N=St(),re=$o(N,t,i,s,l,v,D,w);return re!==sn&&Fi(on(),Pt(),N,e,re,N[11],I,!1),kc}function Nc(e,t,i,s,l,v,D,w,I,N,re){const Re=St(),st=Ho(Re,t,i,s,l,v,D,w,I,N);return st!==sn&&Fi(on(),Pt(),Re,e,st,Re[11],re,!1),Nc}function Lc(e,t,i,s,l,v,D,w,I,N,re,Re,st){const mt=St(),Mt=Uo(mt,t,i,s,l,v,D,w,I,N,re,Re);return Mt!==sn&&Fi(on(),Pt(),mt,e,Mt,mt[11],st,!1),Lc}function jc(e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt){const Rt=St(),kt=zo(Rt,t,i,s,l,v,D,w,I,N,re,Re,st,mt);return kt!==sn&&Fi(on(),Pt(),Rt,e,kt,Rt[11],Mt,!1),jc}function Bc(e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt,Rt,kt){const Vt=St(),qt=Wo(Vt,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt,Rt);return qt!==sn&&Fi(on(),Pt(),Vt,e,qt,Vt[11],kt,!1),Bc}function Vc(e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt,Rt,kt,Vt,qt){const Ot=St(),Qt=Go(Ot,t,i,s,l,v,D,w,I,N,re,Re,st,mt,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 v=e[i+1],D=null===t;let w=s?or(v):Br(v),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(v):Gl(v))}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,v=-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===v&&82===l&&76===s&&40===I?w=D=vp(e,41,D,i):I>32&&(w=D),v=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,v=i;for(;v<s;){const D=e.charCodeAt(v++);if(D==t&&92!==l)return v;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(),v=on(),D=nr(2);v.firstUpdatePass&&bp(v,e,D,s),t!==sn&&fi(l,D,t)&&Dp(v,v.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(),v=nr(2);l.firstUpdatePass&&bp(l,null,v,s);const D=St();if(i!==sn&&fi(D,v,i)){const w=l.data[ht()];if(Tp(w,s)&&!_p(l,v)){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,v,D,w){l===sn&&(l=tt);let I=0,N=0,re=0<l.length?l[0]:null,Re=0<v.length?v[0]:null;for(;null!==re||null!==Re;){const st=I<l.length?l[I+1]:void 0,mt=N<v.length?v[N+1]:void 0;let Rt,Mt=null;re===Re?(I+=2,N+=2,st!==mt&&(Mt=Re,Rt=mt)):null===Re||null!==re&&re<Re?(I+=2,Mt=re):(N+=2,Mt=Re,Rt=mt),null!==Mt&&Dp(e,t,i,s,Mt,Rt,D,w),re=I<l.length?l[I]:null,Re=N<v.length?v[N]:null}}(l,w,D,D[11],D[v+1],D[v+1]=function w0(e,t,i){if(null==i||""===i)return tt;const s=[],l=Nr(i);if(Array.isArray(l))for(let v=0;v<l.length;v++)e(s,l[v],!0);else if("object"==typeof l)for(const v in l)l.hasOwnProperty(v)&&e(s,v,l[v]);else"string"==typeof l&&t(s,l);return s}(e,t,i),s,v)}}function _p(e,t){return t>=e.expandoStartIndex}function bp(e,t,i,s){const l=e.data;if(null===l[i+1]){const v=l[ht()],D=_p(e,i);Tp(v,s)&&null===t&&!D&&(t=!1),t=function C0(e,t,i,s){const l=eo(e);let v=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),v=null);else{const D=t.directiveStylingLast;if(-1===D||e[D]!==l)if(i=zc(l,e,t,i,s),null===v){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 v=function T0(e,t,i){let s;const l=t.directiveEnd;for(let v=1+t.directiveStylingLast;v<l;v++)s=Ms(s,e[v].hostAttrs,i);return Ms(s,t.attrs,i)}(e,t,s)}return void 0!==v&&(s?t.residualClasses=v:t.residualStyles=v),i}(l,v,t,s),function d0(e,t,i,s,l,v){let D=v?t.classBindings:t.styleBindings,w=or(D),I=Br(D);e[s]=i;let re,N=!1;if(Array.isArray(i)){const Re=i;re=Re[1],(null===re||Eo(Re,re)>0)&&(N=!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;N&&(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 v=l?e.residualClasses:e.residualStyles;null!=v&&"string"==typeof t&&Eo(v,t)>=0&&(i[s+1]=Gl(i[s+1]))}(t,re,e,s,v),D=ua(w,I),v?t.classBindings=D:t.styleBindings=D}(l,v,t,i,D,s)}}function zc(e,t,i,s,l){let v=null;const D=i.directiveEnd;let w=i.directiveStylingLast;for(-1===w?w=i.directiveStart:w++;w<D&&(v=t[w],s=Ms(s,v.hostAttrs,l),v!==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 v=0;v<t.length;v++){const D=t[v];"number"==typeof D?l=D:l===s&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),xi(e,D,!!i||t[++v]))}return void 0===e?null:e}function Cp(e,t,i){xi(e,t,Nr(i))}function Dp(e,t,i,s,l,v,D,w){if(!(3&t.type))return;const I=e.data,N=I[w+1];wa(function vh(e){return 1==(1&e)}(N)?Ep(I,t,i,l,Br(N),D):void 0)||(wa(v)||function gh(e){return 2==(2&e)}(N)&&(v=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 v=-1===s.indexOf("-")?void 0:Dr.DashCase;null==l?e.removeStyle(i,s,v):("string"==typeof l&&l.endsWith("!important")&&(l=l.slice(0,-10),v|=Dr.Important),e.setStyle(i,s,l,v))}}(s,D,In(ht(),i),l,v))}function Ep(e,t,i,s,l,v){const D=null===t;let w;for(;l>0;){const I=e[l],N=Array.isArray(I),re=N?I[1]:I,Re=null===re;let st=i[l+1];st===sn&&(st=Re?tt:void 0);let mt=Re?Za(st,s):re===s?st:void 0;if(N&&!wa(mt)&&(mt=Za(I,s)),wa(mt)&&(w=mt,D))return w;const Mt=e[l+1];l=D?or(Mt):Br(Mt)}if(null!==t){let I=v?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,v=s.firstCreatePass?Fo(s,l,1,t,null):s.data[l],D=i[l]=Rl(i[11],t);aa(s,i,D,v),F(v,!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 v=St(),D=Vo(v,e,t,i,s,l);return D!==sn&&Vr(v,ht(),D),Gc}function Kc(e,t,i,s,l,v,D){const w=St(),I=$o(w,e,t,i,s,l,v,D);return I!==sn&&Vr(w,ht(),I),Kc}function Yc(e,t,i,s,l,v,D,w,I){const N=St(),re=Ho(N,e,t,i,s,l,v,D,w,I);return re!==sn&&Vr(N,ht(),re),Yc}function Qc(e,t,i,s,l,v,D,w,I,N,re){const Re=St(),st=Uo(Re,e,t,i,s,l,v,D,w,I,N,re);return st!==sn&&Vr(Re,ht(),st),Qc}function Zc(e,t,i,s,l,v,D,w,I,N,re,Re,st){const mt=St(),Mt=zo(mt,e,t,i,s,l,v,D,w,I,N,re,Re,st);return Mt!==sn&&Vr(mt,ht(),Mt),Zc}function Jc(e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt){const Rt=St(),kt=Wo(Rt,e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt);return kt!==sn&&Vr(Rt,ht(),kt),Jc}function Xc(e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt,Rt,kt){const Vt=St(),qt=Go(Vt,e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,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,v,D){lr(xi,wr,$o(St(),e,t,i,s,l,v,D),!0)}function Op(e,t,i,s,l,v,D,w,I){lr(xi,wr,Ho(St(),e,t,i,s,l,v,D,w,I),!0)}function Ap(e,t,i,s,l,v,D,w,I,N,re){lr(xi,wr,Uo(St(),e,t,i,s,l,v,D,w,I,N,re),!0)}function Pp(e,t,i,s,l,v,D,w,I,N,re,Re,st){lr(xi,wr,zo(St(),e,t,i,s,l,v,D,w,I,N,re,Re,st),!0)}function Rp(e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt){lr(xi,wr,Wo(St(),e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt),!0)}function xp(e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt,Rt,kt){lr(xi,wr,Go(St(),e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,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,v,D){sr($o(St(),e,t,i,s,l,v,D))}function jp(e,t,i,s,l,v,D,w,I){sr(Ho(St(),e,t,i,s,l,v,D,w,I))}function Bp(e,t,i,s,l,v,D,w,I,N,re){sr(Uo(St(),e,t,i,s,l,v,D,w,I,N,re))}function Vp(e,t,i,s,l,v,D,w,I,N,re,Re,st){sr(zo(St(),e,t,i,s,l,v,D,w,I,N,re,Re,st))}function $p(e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt){sr(Wo(St(),e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt))}function Hp(e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt,Rt,kt){sr(Go(St(),e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,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,v,D){return ar(e,Vo(St(),t,i,s,l,v),D,!1),tu}function nu(e,t,i,s,l,v,D,w,I){return ar(e,$o(St(),t,i,s,l,v,D,w),I,!1),nu}function iu(e,t,i,s,l,v,D,w,I,N,re){return ar(e,Ho(St(),t,i,s,l,v,D,w,I,N),re,!1),iu}function ru(e,t,i,s,l,v,D,w,I,N,re,Re,st){return ar(e,Uo(St(),t,i,s,l,v,D,w,I,N,re,Re),st,!1),ru}function ou(e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt){return ar(e,zo(St(),t,i,s,l,v,D,w,I,N,re,Re,st,mt),Mt,!1),ou}function su(e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt,Rt,kt){return ar(e,Wo(St(),t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt,Rt),kt,!1),su}function au(e,t,i,s,l,v,D,w,I,N,re,Re,st,mt,Mt,Rt,kt,Vt,qt){return ar(e,Go(St(),t,i,s,l,v,D,w,I,N,re,Re,st,mt,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 v=on(),D=Pt();Fi(v,D,s,e,t,Uh(eo(v.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 v=t.insertBeforeIndex;if(Array.isArray(v)){let D=s,w=null;if(3&t.type||(w=D,D=l),null!==D&&0==(2&t.flags))for(let I=1;I<v.length;I++)ao(e,D,i[v[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,v=null;for(let w=0;w<t.length;w++){const I=t[w];if("string"==typeof I){const N=t[++w];null===i[N]&&(i[N]=Rl(l,I))}else if("number"==typeof I)switch(1&I){case 0:const N=Jp(I);let re,Re;if(null===v&&(v=N,D=sa(l,s)),N===v?(re=s,Re=D):(re=null,Re=bn(i[N])),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 mt=t[++w],Mt=t[++w];sc(l,In(I>>>1,i),null,null,mt,Mt,null)}else switch(I){case Ia:const N=t[++w],re=t[++w];null===i[re]&&di(i[re]=h_(l,N),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 v=0;v<i.length;v++){const D=i[v],w=i[++v];if(D&l){let I="";for(let N=v+1;N<=v+w;N++){const re=i[N];if("string"==typeof re)I+=re;else if("number"==typeof re)if(re<0)I+=O(t[s-re]);else{const Re=re>>>2;switch(3&re){case 1:const st=i[++N],mt=i[++N],Mt=e.data[Re];"string"==typeof Mt?sc(t[11],t[Re],null,Mt,st,I,mt):Fi(e,Mt,t,st,I,t[11],mt,!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[v+1];if(I>0&&3==(3&I)){const re=Ss(e,I>>>2);t[re.currentCaseLViewIndex]<0&&nm(e,re,s,t)}}v+=w}}function nm(e,t,i,s){let l=s[t.currentCaseLViewIndex];if(null!==l){let v=Is;l<0&&(l=s[t.currentCaseLViewIndex]=~l,v=-1),tm(e,s,t.update[l],i,v)}}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 v=0;v<l.length;v++){const D=l[v];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 v(w,I){t=0;const N=Oa(w,I);s=null!==N?w.remove[N]:tt}function D(){if(t<s.length){const w=s[t++];return w>0?i[w]:(e.push(t,s),v(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 v(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,v,D){const w=ko(e,s,1,null);let I=w<<Yn.SHIFT,N=Hi();t===N&&(N=null),null===N&&(I|=Yn.APPEND_EAGERLY),D&&(I|=Yn.COMMENT,function u_(e){void 0===Il&&(Il=e())}(Z0)),l.push(I,null===v?"":v);const re=tc(e,w,D?32:1,null===v?"":v,null);Qp(i,re);const Re=re.index;return F(re,!1),null!==N&&t!==N&&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))}(N,Re),re}function rC(e,t,i,s,l,v,D){const w=D.match(Aa),I=sm(e,t,i,v,s,w?null:D,!1);w&&Qo(l,D,I.index,null,0,null)}function Qo(e,t,i,s,l,v){const D=e.length,w=D+1;e.push(null,null);const I=D+2,N=t.split(Aa);let re=0;for(let Re=0;Re<N.length;Re++){const st=N[Re];if(1&Re){const mt=l+parseInt(st,10);e.push(-1-mt),re|=am(mt)}else""!==st&&e.push(st)}return e.push(i<<2|(s?1:0)),s&&e.push(s,v),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,v,i="",s=0,l=!1;for(;null!==(t=q0.exec(e));)l?t[0]===`\ufffd/*${v}\ufffd`&&(s=t.index,l=!1):(i+=e.substring(s,t.index+t[0].length),v=t[1],l=!0);return i+=e.slice(s),i}function cm(e,t,i,s,l,v){let D=0;const w={type:l.type,currentCaseLViewIndex:ko(e,t,1,null),anchorIdx:v,cases:[],create:[],remove:[],update:[]};(function fC(e,t,i){e.push(am(t.mainBinding),2,-1-t.mainBinding,i<<2|2)})(i,l,v),function $0(e,t,i){const s=e.data[t];null===s?e.data[t]=i:s.value=i}(e,v,w);const I=l.values;for(let N=0;N<I.length;N++){const re=I[N],Re=[];for(let st=0;st<re.length;st++){const mt=re[st];if("string"!=typeof mt){const Mt=Re.push(mt)-1;re[st]=`\x3c!--\ufffd${Mt}\ufffd--\x3e`}}D=uC(e,w,t,i,s,l.cases[N],re.join(""),Re)|D}D&&function hC(e,t,i){e.push(t,1,i<<2|3)}(i,D,v)}function cC(e){const t=[],i=[];let s=1,l=0;const v=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<v.length;){let w=v[D++].trim();1===s&&(w=w.replace(/\s*(?:=)?(\w+)\s*/,"$1")),w.length&&t.push(w);const I=hu(v[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 v;for(l.lastIndex=0;v=l.exec(e);){const w=v.index;if("}"==v[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,v,D,w){const I=[],N=[],re=[];t.cases.push(v),t.create.push(I),t.remove.push(N),t.update.push(re);const st=jd(xd()).getInertBodyElement(D),mt=ll(st)||st;return mt?um(e,t,i,s,I,N,re,mt,l,w,0):0}function um(e,t,i,s,l,v,D,w,I,N,re){let Re=0,st=w.firstChild;for(;st;){const mt=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,mt),e.data[mt]=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,mt,mn.name,0,sl[Vn]?hs:al[Vn]?Bd:null):pC(l,mt,mn)}Re=um(e,t,i,s,l,v,D,st,mt,N,re+1)|Re,dm(v,mt,re)}break;case Node.TEXT_NODE:const kt=st.textContent||"",Vt=kt.match(Aa);pu(l,null,Vt?"":kt,I,mt),dm(v,mt,re),Vt&&(Re=Qo(D,kt,mt,null,0,null)|Re);break;case Node.COMMENT_NODE:const qt=X0.exec(st.textContent||"");if(qt){const Qt=N[parseInt(qt[1],10)];pu(l,Ia,"",I,mt),cm(e,i,s,I,Qt,mt),dC(v,mt,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(),v=22+e,D=fe(s.consts,t),w=Hi();s.firstCreatePass&&function iC(e,t,i,s,l,v){const D=Hi(),w=[],I=[],N=[[]];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,v);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 mt=hu(st);for(let Mt=0;Mt<mt.length;Mt++){let Rt=mt[Mt];if(0==(1&Mt)){const kt=Rt;""!==kt&&rC(e,D,N[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,N[0],i,w,"",!0).index)}}}else{const mt=47===st.charCodeAt(0),Rt=(st.charCodeAt(mt?1:0),22+Number.parseInt(st.substring(mt?2:1)));if(mt)N.shift(),F(Hi(),!1);else{const kt=U0(e,N[0],Rt);N.unshift([]),F(kt,!0)}}}e.data[s]={create:w,update:I}}(s,null===w?0:w.index,l,v,D,i);const I=s.data[v],re=Bf(s,w===l[6]?null:w,l);(function K0(e,t,i,s){const l=e[11];for(let v=0;v<t.length;v++){const D=t[v++],w=t[v],I=(D&Yn.COMMENT)===Yn.COMMENT,N=(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)),N&&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,v=[];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(v,I,l,w,sC(v),null)}}e.data[t]=v}}(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,(v,D,w)=>{const I=D||w,N=s[I]||[];if(N.length||(I.split("|").forEach(Rt=>{const kt=Rt.match(CC),Vt=kt?parseInt(kt[1],10):0,qt=bC.test(Rt);N.push([Vt,qt,Rt])}),s[I]=N),!N.length)throw new Error(`i18n postprocess: unmatched placeholder - ${I}`);const re=l[l.length-1];let Re=0;for(let Rt=0;Rt<N.length;Rt++)if(N[Rt][0]===re){Re=Rt;break}const[st,mt,Mt]=N[Re];return mt?l.pop():re!==st&&l.push(st),N.splice(Re,1),Mt})}return Object.keys(t).length&&(i=i.replace(vC,(s,l,v,D,w,I)=>t.hasOwnProperty(v)?`${l}${t[v]}${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 v=t[l];if(!v.length)throw new Error(`i18n postprocess: unmatched ICU - ${s} with key: ${l}`);return v.shift()}return s})),i}(e,t)}function yu(e,t,i,s,l){if(e=g(e),Array.isArray(e))for(let v=0;v<e.length;v++)yu(e[v],t,i,s,l);else{const v=on(),D=St();let w=oo(e)?e:g(e.provide),I=lf(e);const N=xn(),re=1048575&N.providerIndexes,Re=N.directiveStart,st=N.providerIndexes>>20;if(oo(e)||!e.multi){const mt=new si(I,l,xo),Mt=bu(w,t,l?re:re+st,Re);-1===Mt?(Us(is(N,D),v,w),_u(v,e,t.length),t.push(w),N.directiveStart++,N.directiveEnd++,l&&(N.providerIndexes+=1048576),i.push(mt),D.push(mt)):(i[Mt]=mt,D[Mt]=mt)}else{const mt=bu(w,t,re+st,Re),Mt=bu(w,t,re,re+st),Rt=mt>=0&&i[mt],kt=Mt>=0&&i[Mt];if(l&&!kt||!l&&!Rt){Us(is(N,D),v,w);const Vt=function MC(e,t,i,s,l){const v=new si(e,i,xo);return v.multi=[],v.index=t,v.componentProviders=0,vm(v,l,s&&!i),v}(l?wC:TC,i.length,l,s,I);!l&&kt&&(i[Mt].providerFactory=Vt),_u(v,e,t.length,0),t.push(w),N.directiveStart++,N.directiveEnd++,l&&(N.providerIndexes+=1048576),i.push(Vt),D.push(Vt)}else _u(v,e,mt>-1?mt:Mt,vm(i[l?Mt:mt],I,!l&&s));!l&&s&&kt&&i[Mt].componentProviders++}}}function _u(e,t,i,s){const l=oo(t),v=function Ty(e){return!!e.useClass}(t);if(l||v){const I=(v?g(t.useClass):t).prototype.ngOnDestroy;if(I){const N=e.destroyHooks||(e.destroyHooks=[]);if(!l&&t.multi){const re=N.indexOf(i);-1===re?N.push(i,[s,I]):N[re+1].push(s,I)}else N.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 v;if(this.providerFactory){const D=this.providerFactory.componentProviders,w=rs(i,i[1],this.providerFactory.index,s);v=w.slice(0,D),Cu(l,v);for(let I=D;I<w.length;I++)v.push(w[I])}else v=[],Cu(l,v);return v}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=Be({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],v=i[1].cleanup,D=[];if(v&&l)for(let w=0;w<v.length;){const I=v[w++],N=v[w++];if("string"==typeof I){const re=I,Re=bn(i[N]),st=l[v[w++]],mt=v[w++],Mt="boolean"==typeof mt||mt>=0?"dom":"output",Rt="boolean"==typeof mt&&mt;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 ze(()=>{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,v){return $m(St(),Fn(),e,t,i,s,l,v)}function xm(e,t,i,s,l,v,D){return Hm(St(),Fn(),e,t,i,s,l,v,D)}function Fm(e,t,i,s,l,v,D,w){const I=Fn()+e,N=St(),re=Ui(N,I,i,s,l,v);return fi(N,I+4,D)||re?Tr(N,I+5,w?t.call(w,i,s,l,v,D):t(i,s,l,v,D)):ws(N,I+5)}function km(e,t,i,s,l,v,D,w,I){const N=Fn()+e,re=St(),Re=Ui(re,N,i,s,l,v);return co(re,N+4,D,w)||Re?Tr(re,N+6,I?t.call(I,i,s,l,v,D,w):t(i,s,l,v,D,w)):ws(re,N+6)}function Nm(e,t,i,s,l,v,D,w,I,N){const re=Fn()+e,Re=St();let st=Ui(Re,re,i,s,l,v);return _a(Re,re+4,D,w,I)||st?Tr(Re,re+7,N?t.call(N,i,s,l,v,D,w,I):t(i,s,l,v,D,w,I)):ws(Re,re+7)}function Lm(e,t,i,s,l,v,D,w,I,N,re){const Re=Fn()+e,st=St(),mt=Ui(st,Re,i,s,l,v);return Ui(st,Re+4,D,w,I,N)||mt?Tr(st,Re+8,re?t.call(re,i,s,l,v,D,w,I,N):t(i,s,l,v,D,w,I,N)):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,v){const D=t+i;return fi(e,D,l)?Tr(e,D+1,v?s.call(v,l):s(l)):Ps(e,D+1)}function Vm(e,t,i,s,l,v,D){const w=t+i;return co(e,w,l,v)?Tr(e,w+2,D?s.call(D,l,v):s(l,v)):Ps(e,w+2)}function $m(e,t,i,s,l,v,D,w){const I=t+i;return _a(e,I,l,v,D)?Tr(e,I+3,w?s.call(w,l,v,D):s(l,v,D)):Ps(e,I+3)}function Hm(e,t,i,s,l,v,D,w,I){const N=t+i;return Ui(e,N,l,v,D,w)?Tr(e,N+4,I?s.call(I,l,v,D,w):s(l,v,D,w)):Ps(e,N+4)}function Um(e,t,i,s,l,v){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(v,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 v=s.factory||(s.factory=ni(s.type)),D=Te(xo);try{const w=Zn(!1),I=v();return Zn(w),ep(i,St(),l,I),I}finally{Te(D)}}function Wm(e,t,i){const s=e+22,l=St(),v=gi(l,s);return Rs(l,s)?Bm(l,Fn(),t,v.transform,i,v):v.transform(i)}function Gm(e,t,i,s){const l=e+22,v=St(),D=gi(v,l);return Rs(v,l)?Vm(v,Fn(),t,D.transform,i,s,D):D.transform(i,s)}function Km(e,t,i,s,l){const v=e+22,D=St(),w=gi(D,v);return Rs(D,v)?$m(D,Fn(),t,w.transform,i,s,l,w):w.transform(i,s,l)}function Ym(e,t,i,s,l,v){const D=e+22,w=St(),I=gi(w,D);return Rs(w,D)?Hm(w,Fn(),t,I.transform,i,s,l,v,I):I.transform(i,s,l,v)}function Qm(e,t,i){const s=e+22,l=St(),v=gi(l,s);return Rs(l,s)?Um(l,Fn(),t,v.transform,i,v):v.transform.apply(v,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,v,D;let w=t,I=i||(()=>null),N=s;if(t&&"object"==typeof t){const Re=t;w=null===(l=Re.next)||void 0===l?void 0:l.bind(Re),I=null===(v=Re.error)||void 0===v?void 0:v.bind(Re),N=null===(D=Re.complete)||void 0===D?void 0:D.bind(Re)}this.__isAsync&&(I=Mu(I),w&&(w=Mu(w)),N&&(N=Mu(N)));const re=super.subscribe({next:w,error:I,complete:N});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],v=t[s];if(i&&(l=i(l),v=i(v)),v!==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,v;"number"==typeof s?l=s:null!=s&&(l=s.index,v=s.injector);const D=t.createEmbeddedView(i||{},v);return this.insert(D,l),D}createComponent(t,i,s,l,v){const D=t&&!ss(t);let w;if(D)w=i;else{const Re=i||{};w=Re.index,s=Re.injector,l=Re.projectableNodes,v=Re.environmentInjector||Re.ngModuleRef}const I=D?t:new Lo(ee(t)),N=s||this.parentInjector;if(!v&&null==I.ngModule){const st=(D?N:this.parentInjector).get(so,null);st&&(v=st)}const re=I.create(N,l,void 0,v);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 v=this._adjustIndex(i),D=this._lContainer;!function y_(e,t,i,s){const l=10+s,v=i.length;s>0&&(i[l-1][4]=t),s<v-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,v);const w=Ll(v,D),I=s[11],N=sa(I,D[7]);return null!==N&&function m_(e,t,i,s,l,v){s[0]=l,s[6]=t,Cs(e,s,i,1,l,v)}(l,D[6],I,s,N,w),t.attachToViewContainerRef(),yd(Su(D),v,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 v=t[11];l=v.createComment("");const D=Tn(e,t);ao(v,sa(v,D),l,function E_(e,t){return e.nextSibling(t)}(v,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 v=0;v<s;v++){const D=i.getByIndex(v);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,v=this.getByIndex(s).embeddedTView(t,l);v&&(v.indexInDeclarationView=s,null!==i?i.push(v):i=[v])}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 v=s[l];this.matchTNodeWithReadOption(t,i,GC(i,v)),this.matchTNodeWithReadOption(t,i,zs(i,t,v,!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 v=zs(i,t,l,!1,!1);null!==v&&this.addMatch(i.index,v)}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 v=e.data,D=i.matches,w=[];for(let I=0;I<D.length;I+=2){const N=D[I];w.push(N<0?null:YC(t,v[N],D[I+1],i.metadata.read))}l.matches=w}return l.matches}function Ru(e,t,i,s){const l=e.queries.getByIndex(i),v=l.matches;if(null!==v){const D=eg(e,t,l,i);for(let w=0;w<v.length;w+=2){const I=v[w];if(I>0)s.push(D[w/2]);else{const N=v[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,N,s)}if(null!==re[9]){const Re=re[9];for(let st=0;st<Re.length;st++){const mt=Re[st];Ru(mt[1],mt,N,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 v=l.crossesNgTemplate?Ru(i,t,s,[]):eg(i,t,l,s);e.reset(v,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 v=xn();sg(l,new qm(t,i,s),v.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:We,\u0275\u0275defineInjectable:Be,\u0275\u0275defineInjector:He,\u0275\u0275defineNgModule:L,\u0275\u0275definePipe:_t,\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:g}))();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):!!g(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(g),declarations:s.map(g),imports:Ri(t.imports||tt).map(g).map(yg),exports:Ri(t.exports||tt).map(g).map(yg),schemas:t.schemas?Ri(t.schemas):null,id:t.id||null}),l.schemas||(l.schemas=[])),l)});let v=null;Object.defineProperty(e,Nt,{get:()=>{if(null===v){const w=ri();v=w.compileFactory(_i,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:Js(e),target:w.FactoryTarget.NgModule,typeArgumentCount:0})}return v},configurable:!1});let D=null;Object.defineProperty(e,je,{get:()=>{if(null===D){const w={name:e.name,type:e,providers:t.providers||tt,imports:[(t.imports||tt).map(g),(t.exports||tt).map(g)]};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=g(l)).hasOwnProperty(gt)?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(gt)?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(v=>i.compilation.directives.add(v)),l.exported.pipes.forEach(v=>i.compilation.pipes.add(v))}),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 v=ho(l);v.exported.directives.forEach(D=>{i.compilation.directives.add(D),i.exported.directives.add(D)}),v.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,gt,{get:()=>{if(null===i){const s=ri();if(Od(t)){const N=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&N.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&N.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),N.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(N.join("\n"))}const l=function qC(){return Jo}();let v=t.preserveWhitespaces;void 0===v&&(v=null!==l&&void 0!==l.preserveWhitespaces&&l.preserveWhitespaces);let D=t.encapsulation;void 0===D&&(D=null!==l&&void 0!==l.defaultEncapsulation?l.defaultEncapsulation:Fe.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:v,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 N=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=g(w);if(!D.has(I))if(D.add(I),Dt(I)){const N=ho(I);for(const re of N.exported.directives){const Re=ee(re)||Ie(re);Re&&!D.has(re)&&(D.add(re),i.push(Re))}}else{const N=ee(I)||Ie(I);N&&i.push(N)}}}return i},pipeDefs:()=>{if(null===s){s=[];const D=new Set;for(const w of t){const I=g(w);if(!D.has(I))if(D.add(I),Dt(I)){const N=ho(I);for(const re of N.exported.pipes){const Re=at(re);Re&&!D.has(re)&&(D.add(re),s.push(Re))}}else{const N=at(I);N&&s.push(N)}}}return s}}}(e,N);i.directiveDefs=re,i.pipeDefs=Re,i.dependencies=()=>N.map(g)}}finally{Lu--}if(0===Lu&&dg(),function lD(e){return void 0!==e.ngSelectorScope}(e)){const N=ho(e.ngSelectorScope);Nu(i,N)}if(t.schemas){if(!t.standalone)throw new Error(`The 'schemas' was specified for the ${j(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(),v=Dg(e,t);return v.typeSourceSpan=l.createParseSourceSpan("Directive",i,s),v.usesInheritance&&Eg(e),{metadata:v,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):g(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 v=t[l];v.forEach(D=>{if(i(D)){if(!D.selector)throw new Error(`Can't construct a query for the property "${l}" of "${j(e)}" since the query selector wasn't defined.`);if(v.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 v=0;v<l.length;v++){const D=l[v],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),v=ri();s=v.compileFactory(_i,`ng:///${l.name}/\u0275fac.js`,{name:l.name,type:l.type,typeArgumentCount:0,deps:Js(e),target:v.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 v=this.appInits[l]();if(Ac(v))i.push(v);else if(rp(v)){const D=new Promise((w,I)=>{v.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=Be({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=Be({token:e,factory:e.\u0275fac,providedIn:"platform"}),e})();const ja=new Pn("LocaleId",{providedIn:"root",factory:()=>Td(ja,Ve.Optional|Ve.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),v=Lr(Dt(i).declarations).reduce((D,w)=>{const I=ee(w);return I&&D.push(new Lo(I)),D},[]);return new Lg(s,v)}compileModuleAndAllComponentsAsync(i){return Promise.resolve(this.compileModuleAndAllComponentsSync(i))}clearCache(){}clearCacheFor(i){}getModuleId(i){}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275prov=Be({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 v=Zone.AsyncStackTaggingZoneSpec;l._inner=l._inner.fork(new v("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,v,D,w)=>{try{return $g(e),i.invokeTask(l,v,D,w)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===v.type||e.shouldCoalesceRunChangeDetection)&&t(),Hg(e)}},onInvoke:(i,s,l,v,D,w,I)=>{try{return $g(e),i.invoke(l,v,D,w,I)}finally{e.shouldCoalesceRunChangeDetection&&t(),Hg(e)}},onHasTask:(i,s,l,v)=>{i.hasTask(l,v),s===l&&("microTask"==v.change?(e._hasPendingMicrotasks=v.microTask,Hu(e),$u(e)):"macroTask"==v.change&&(e.hasPendingMacrotasks=v.macroTask))},onHandleError:(i,s,l,v)=>(i.handleError(l,v),e.runOutsideAngular(()=>e.onError.emit(v)),!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 v=this._inner,D=v.scheduleEventTask("NgZoneEvent: "+l,t,LD,Na,Na);try{return v.runTask(D,i,s)}finally{v.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 v=-1;s&&s>0&&(v=setTimeout(()=>{this._callbacks=this._callbacks.filter(D=>D.timeoutId!==v),i(this._didWork,this.getPendingTasks())},s)),this._callbacks.push({doneCb:i,timeoutId:v,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=Be({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=Be({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),v=new ki(tv());return v.run(()=>{const w=Eu([{provide:ki,useValue:v},...i||[]],l,"Environment Injector"),I=w.get(ys,null);let N;return v.runOutsideAngular(()=>{N=v.onError.subscribe({next:re=>{I.handleError(re)}})}),nv(I,v,()=>{const re=w.get(La);return re.runInitializers(),re.donePromise.then(()=>{fu(w.get(ja,fo)||fo);const st=w.get(Va),mt=()=>st.destroy(),Mt=l.get(zu,null);return null==Mt||Mt.add(mt),st.onDestroy(()=>{null==Mt||Mt.delete(mt),N.unsubscribe()}),st.bootstrap(t),st})})})}function Xg(e,t,i=[]){const s=`Platform: ${t}`,l=new Pn(s);return(v=[])=>{let D=Ba();if(!D||D.injector.get(Uu,!1)){const w=[...i,...v,{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)),v=[{provide:ki,useValue:l}];return l.run(()=>{const D=Yr.create({providers:v,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 N=l.onError.subscribe({next:re=>{I.handleError(re)}});w.onDestroy(()=>{$a(this._modules,w),N.unsubscribe()})}),nv(I,l,()=>{const N=w.injector.get(La);return N.runInitializers(),N.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(v=>this.bootstrapModuleFactory(v,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=Be({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 v=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 N=this._zone.onUnstable.subscribe(()=>{ki.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{w.next(!1)}))});return()=>{I.unsubscribe(),N.unsubscribe()}});this.isStable=(0,u.T)(v,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),N=D.create(Yr.NULL,[],s||D.selector,w),re=N.location.nativeElement,Re=N.injector.get(zg,null);return null==Re||Re.registerApplication(re),N.onDestroy(()=>{this.detachView(N.hostView),$a(this.components,N),null==Re||Re.unregisterApplication(re)}),this._loadComponent(N),N}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=Be({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 v=0;v<i.localNames.length;v+=2)s[i.localNames[v]]=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],v=[],w=l.directiveEnd;for(let I=1048575&l.providerIndexes;I<w;I++){let N=s.data[I];FC(N)&&(N=N.type),v.push(N)}return v}(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],v={};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 v in l)if(!v.startsWith("__")&&!v.startsWith("on")){const D=e[v];nE(D)&&(t[v]=D)}i=Object.getPrototypeOf(i)}}}(this.nativeElement,v),function iE(e,t,i,s){let l=t.propertyBindings;if(null!==l)for(let v=0;v<l.length;v++){const D=l[v],I=s[D].split("\ufffd"),N=I[0];if(I.length>1){let re=I[1];for(let Re=1;Re<I.length-1;Re++)re+=O(i[D+Re-1])+I[Re+1];e[N]=re}else e[N]=i[D]}}(v,l,i,s),v}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 v=l[1].data[s.nodeIndex].attrs,D=[];if(v){let I=0;for(;I<v.length;){const N=v[I];if("string"!=typeof N)break;t[N]=v[I+1],D.push(N.toLowerCase()),I+=2}}const w=i.attributes;for(let I=0;I<w.length;I++){const N=w[I],re=N.name.toLowerCase();-1===D.indexOf(re)&&(t[re]=N.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(v=>t[v]=!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(v=>{if(v.name===t){const D=v.callback;D.call(s,i),l.push(D)}}),"function"==typeof s.eventListeners&&s.eventListeners(t).forEach(v=>{if(-1!==v.toString().indexOf("__ngUnwrap__")){const D=v("__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),v=l?l.lView:null;null!==v?po(v[1].data[l.nodeIndex],v,t,i,s,e.nativeNode):Yu(e.nativeNode,t,i,s)}function po(e,t,i,s,l,v){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,v),wi(e)){const I=Qn(e.index,t);I&&I[1].firstChild&&po(I[1].firstChild,I,i,s,l,v)}else e.child&&po(e.child,t,i,s,l,v),D&&Yu(D,i,s,l);const w=t[e.index];Nn(w)&&fv(w,i,s,l,v)}else if(4&e.type){const w=t[e.index];Ku(w[7],i,s,l,v),fv(w,i,s,l,v)}else if(16&e.type){const w=t[16],N=w[6].projection[e.projection];if(Array.isArray(N))for(let re of N)Ku(re,i,s,l,v);else if(N){const re=w[3];po(re[1].data[N.index],re,i,s,l,v)}}else e.child&&po(e.child,t,i,s,l,v);if(v!==D){const w=4&e.flags?e.projectionNext:e.next;w&&po(w,t,i,s,l,v)}}function fv(e,t,i,s,l){for(let v=10;v<e.length;v++){const D=e[v],w=D[1].firstChild;w&&po(w,D,t,i,s,l)}}function Ku(e,t,i,s,l){if(l!==e){const v=qo(e);if(!v)return;(s&&v instanceof Ns&&t(v)&&-1===i.indexOf(v)||!s&&t(v)&&-1===i.indexOf(v))&&i.push(v)}}function Yu(e,t,i,s){const l=e.childNodes,v=l.length;for(let D=0;D<v;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,v=null;for(;i||s;){const D=!s||i&&i.currentIndex<gv(s,l,v)?i:s,w=gv(D,l,v),I=D.currentIndex;if(D===s)l--,s=s._nextRemoved;else if(i=i._next,null==D.previousIndex)l++;else{v||(v=[]);const N=w-l,re=I-l;if(N!=re){for(let st=0;st<N;st++){const mt=st<v.length?v[st]:v[st]=0,Mt=mt+st;re<=Mt&&Mt<N&&(v[st]=mt+1)}v[D.previousIndex]=re-N}}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,v,D,i=this._itHead,s=!1;if(Array.isArray(t)){this.length=t.length;for(let w=0;w<this.length;w++)v=t[w],D=this._trackByFn(w,v),null!==i&&Object.is(i.trackById,D)?(s&&(i=this._verifyReinsertion(i,v,D,w)),Object.is(i.item,v)||this._addIdentityChange(i,v)):(i=this._mismatch(i,v,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 v;return null===t?v=this._itTail:(v=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,v,l)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(s,l))?(Object.is(t.item,i)||this._addIdentityChange(t,i),this._moveAfter(t,v,l)):t=this._addAfter(new sE(i,s),v,l),t}_verifyReinsertion(t,i,s,l){let v=null===this._unlinkedRecords?null:this._unlinkedRecords.get(s,null);return null!==v?t=this._reinsertAfter(v,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,v=t._nextRemoved;return null===l?this._removalsHead=v:l._nextRemoved=v,null===v?this._removalsTail=l:v._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 v=this._getOrCreateRecordForKey(l,s);i=this._insertBeforeOrAppend(i,v)}}),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 v=l._prev,D=l._next;return v&&(v._next=D),D&&(D._prev=v),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=Be({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=Be({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=L({type:e}),e.\u0275inj=He({}),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:(H,o,a)=>{"use strict";a.r(o),a.d(o,{AbstractControl:()=>ee,AbstractControlDirective:()=>Xe,AbstractFormGroupDirective:()=>Nn,COMPOSITION_BUFFER_MODE:()=>m,CheckboxControlValueAccessor:()=>f,CheckboxRequiredValidator:()=>Qn,ControlContainer:()=>je,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:()=>Z,NG_VALIDATORS:()=>j,NG_VALUE_ACCESSOR:()=>p,NgControl:()=>Pe,NgControlStatus:()=>Ge,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 g(){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 P(F){return null==F||("string"==typeof F||Array.isArray(F))&&0===F.length}function O(F){return null!=F&&"number"==typeof F.length}const j=new n.InjectionToken("NgValidators"),Z=new n.InjectionToken("NgAsyncValidators"),U=/^(?=.{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 he(A)}static email(A){return xe(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(P(A.value)||P(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(P(A.value)||P(F))return null;const S=parseFloat(A.value);return!isNaN(S)&&S>F?{max:{max:F,actual:A.value}}:null}}function oe(F){return P(F.value)?{required:!0}:null}function he(F){return!0===F.value?null:{required:!0}}function xe(F){return P(F.value)||U.test(F.value)?null:{email:!0}}function it(F){return A=>P(A.value)||!O(A.value)?null:A.value.length<F?{minlength:{requiredLength:F,actualLength:A.value.length}}:null}function z(F){return A=>O(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(P(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 Be(F,A){return null===F?[A]:Array.isArray(F)?[...F,A]:[F,A]}function Se(F){return F._rawValidators}function He(F){return F._rawAsyncValidators}function dt(F){return F?Array.isArray(F)?F:[F]:[]}function bt(F,A){return Array.isArray(F)?F.includes(A):F===A}function ct(F,A){const S=dt(A);return dt(F).forEach(Ct=>{bt(S,Ct)||S.push(Ct)}),S}function pt(F,A){return dt(A).filter(S=>!bt(F,S))}class Xe{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 Xe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class je extends Xe{get formDirective(){return null}get path(){return null}}class pe{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 Ge=(()=>{class F extends pe{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 pe{constructor(S){super(S)}}return F.\u0275fac=function(S){return new(S||F)(n.\u0275\u0275directiveInject(je,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",Ze="INVALID",be="PENDING",me="DISABLED";function ae(F){return(yt(F)?F.validators:F)||null}function le(F){return Array.isArray(F)?ye(F):F||null}function L(F,A){return(yt(A)?A.asyncValidators:F)||null}function we(F){return Array.isArray(F)?De(F):F||null}function yt(F){return null!=F&&!Array.isArray(F)&&"object"==typeof F}function We(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 _t(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===Ze}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(ct(A,this._rawValidators))}addAsyncValidators(A){this.setAsyncValidators(ct(A,this._rawAsyncValidators))}removeValidators(A){this.setValidators(pt(A,this._rawValidators))}removeAsyncValidators(A){this.setAsyncValidators(pt(A,this._rawAsyncValidators))}hasValidator(A){return bt(this._rawValidators,A)}hasAsyncValidator(A){return bt(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?Ze:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(be)?be:this._anyControlsHaveStatus(Ze)?Ze: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){yt(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),L(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={}){_t(this,0,A),Object.keys(A).forEach(ce=>{We(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 Ke(F,A){F.forEach(S=>{S.registerOnValidatorChange&&S.registerOnValidatorChange(A)})}function et(F,A){const S=Se(F);null!==A.validator?F.setValidators(Be(S,A.validator)):"function"==typeof S&&F.setValidators([S]);const ce=He(F);null!==A.asyncValidator?F.setAsyncValidators(Be(ce,A.asyncValidator)):"function"==typeof ce&&F.setAsyncValidators([ce]);const Ct=()=>F.updateValueAndValidity();Ke(A._rawValidators,Ct),Ke(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=He(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 Ke(A._rawValidators,ce),Ke(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:je,useExisting:(0,n.forwardRef)(()=>nn)},ln=(()=>Promise.resolve(null))();let nn=(()=>{class F extends je{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(j,10),n.\u0275\u0275directiveInject(Z,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),L(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}),yt(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 je{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:je,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(je,5),n.\u0275\u0275directiveInject(j,10),n.\u0275\u0275directiveInject(Z,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(je,9),n.\u0275\u0275directiveInject(j,10),n.\u0275\u0275directiveInject(Z,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(j,10),n.\u0275\u0275directiveInject(Z,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:je,useExisting:(0,n.forwardRef)(()=>Ei)};let Ei=(()=>{class F extends je{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&<(this._oldForm,this)}_checkFormPresent(){}}return F.\u0275fac=function(S){return new(S||F)(n.\u0275\u0275directiveInject(j,10),n.\u0275\u0275directiveInject(Z,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:je,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(je,13),n.\u0275\u0275directiveInject(j,10),n.\u0275\u0275directiveInject(Z,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:je,useExisting:(0,n.forwardRef)(()=>ni)};let ni=(()=>{class F extends je{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(je,13),n.\u0275\u0275directiveInject(j,10),n.\u0275\u0275directiveInject(Z,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(je,13),n.\u0275\u0275directiveInject(j,10),n.\u0275\u0275directiveInject(Z,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:j,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:j,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:j,useExisting:(0,n.forwardRef)(()=>gi),multi:!0},er={provide:j,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=>he}}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:j,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=>xe}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:j,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 Je={provide:j,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([Je]),n.\u0275\u0275InheritDefinitionFeature]}),F})();const vt={provide:j,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([vt]),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),L(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={}){_t(this,0,A),A.forEach((ce,Ct)=>{We(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:(H,o,a)=>{"use strict";a.r(o),a.d(o,{MatAnchor:()=>b,MatButton:()=>f,MatButtonModule:()=>g});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,P,O){super(M),this._focusMonitor=P,this._animationMode=O,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const j of p)this._hasHostAttributes(j)&&this._getHostElement().classList.add(j);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,P){M?this._focusMonitor.focusVia(this._getHostElement(),M,P):this._getHostElement().focus(P)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...M){return M.some(P=>this._getHostElement().hasAttribute(P))}}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,P){if(1&M&&n.\u0275\u0275viewQuery(h.MatRipple,5),2&M){let O;n.\u0275\u0275queryRefresh(O=n.\u0275\u0275loadQuery())&&(P.ripple=O.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(M,P){2&M&&(n.\u0275\u0275attribute("disabled",P.disabled||null),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===P._animationMode)("mat-button-disabled",P.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,P){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",P.isRoundButton||P.isIconButton),n.\u0275\u0275property("matRippleDisabled",P._isRippleDisabled())("matRippleCentered",P.isIconButton)("matRippleTrigger",P._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,P,O,j){super(P,M,O),this._ngZone=j,this._haltDisabledEvents=Z=>{this.disabled&&(Z.preventDefault(),Z.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,P){2&M&&(n.\u0275\u0275attribute("tabindex",P.disabled?-1:P.tabIndex)("disabled",P.disabled||null)("aria-disabled",P.disabled.toString()),n.\u0275\u0275classProp("_mat-animation-noopable","NoopAnimations"===P._animationMode)("mat-button-disabled",P.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,P){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",P.isRoundButton||P.isIconButton),n.\u0275\u0275property("matRippleDisabled",P._isRippleDisabled())("matRippleCentered",P.isIconButton)("matRippleTrigger",P._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})(),g=(()=>{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:(H,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_CHIPS_DEFAULT_OPTIONS:()=>gt,MAT_CHIP_AVATAR:()=>$e,MAT_CHIP_REMOVE:()=>ve,MAT_CHIP_TRAILING_ICON:()=>ut,MatChip:()=>ke,MatChipAvatar:()=>ge,MatChipInput:()=>At,MatChipList:()=>Ze,MatChipListChange:()=>rt,MatChipRemove:()=>tt,MatChipSelectionChange:()=>ze,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),g=a(5664),m=a(449),C=a(3075);a(1777);let Ae=(()=>{class ae{}return ae.\u0275fac=function(L){return new(L||ae)},ae.\u0275dir=h.\u0275\u0275defineDirective({type:ae}),ae})();var Ue=a(226);const Le=["*"];class ze{constructor(le,L,we=!1){this.source=le,this.selected=L,this.isUserInput=we}}const ve=new h.InjectionToken("MatChipRemove"),$e=new h.InjectionToken("MatChipAvatar"),ut=new h.InjectionToken("MatChipTrailingIcon");class Fe{constructor(le){this._elementRef=le}}const W=(0,_.mixinTabIndex)((0,_.mixinColor)((0,_.mixinDisableRipple)(Fe),"primary"),-1);let ge=(()=>{class ae{}return ae.\u0275fac=function(L){return new(L||ae)},ae.\u0275dir=h.\u0275\u0275defineDirective({type:ae,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"],features:[h.\u0275\u0275ProvidersFeature([{provide:$e,useExisting:ae}])]}),ae})(),de=(()=>{class ae{}return ae.\u0275fac=function(L){return new(L||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:ut,useExisting:ae}])]}),ae})(),ke=(()=>{class ae extends W{constructor(L,we,yt,We,_t,ee,Ie,at){super(L),this._ngZone=we,this._changeDetectorRef=_t,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,yt),this._chipRipple.setupTriggerEvents(L),this.rippleConfig=We||{},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(L){const we=(0,u.Ig)(L);we!==this._selected&&(this._selected=we,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(L){this._value=L}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(L){this._selectable=(0,u.Ig)(L)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(L){this._disabled=(0,u.Ig)(L)}get removable(){return this._removable}set removable(L){this._removable=(0,u.Ig)(L)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const L="mat-basic-chip",we=this._elementRef.nativeElement;we.hasAttribute(L)||we.tagName.toLowerCase()===L?we.classList.add(L):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(L=!1){return this._selected=!this.selected,this._dispatchSelectionChange(L),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(L){this.disabled&&L.preventDefault()}_handleKeydown(L){if(!this.disabled)switch(L.keyCode){case n.yY:case n.ZH:this.remove(),L.preventDefault();break;case n.L_:this.selectable&&this.toggleSelected(!0),L.preventDefault()}}_blur(){this._ngZone.onStable.pipe((0,p.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(L=!1){this.selectionChange.emit({source:this,isUserInput:L,selected:this._selected})}}return ae.\u0275fac=function(L){return new(L||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(L,we,yt){if(1&L&&(h.\u0275\u0275contentQuery(yt,$e,5),h.\u0275\u0275contentQuery(yt,ut,5),h.\u0275\u0275contentQuery(yt,ve,5)),2&L){let We;h.\u0275\u0275queryRefresh(We=h.\u0275\u0275loadQuery())&&(we.avatar=We.first),h.\u0275\u0275queryRefresh(We=h.\u0275\u0275loadQuery())&&(we.trailingIcon=We.first),h.\u0275\u0275queryRefresh(We=h.\u0275\u0275loadQuery())&&(we.removeIcon=We.first)}},hostAttrs:[1,"mat-chip","mat-focus-indicator"],hostVars:15,hostBindings:function(L,we){1&L&&h.\u0275\u0275listener("click",function(We){return we._handleClick(We)})("keydown",function(We){return we._handleKeydown(We)})("focus",function(){return we.focus()})("blur",function(){return we._blur()}),2&L&&(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(L,we){this._parentChip=L,"BUTTON"===we.nativeElement.nodeName&&we.nativeElement.setAttribute("type","button")}_handleClick(L){const we=this._parentChip;we.removable&&!we.disabled&&we.remove(),L.stopPropagation(),L.preventDefault()}}return ae.\u0275fac=function(L){return new(L||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(L,we){1&L&&h.\u0275\u0275listener("click",function(We){return we._handleClick(We)})},features:[h.\u0275\u0275ProvidersFeature([{provide:ve,useExisting:ae}])]}),ae})();const gt=new h.InjectionToken("mat-chips-default-options");let Ft=0,At=(()=>{class ae{constructor(L,we){this._elementRef=L,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(L){L&&(this._chipList=L,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(L){this._addOnBlur=(0,u.Ig)(L)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(L){this._disabled=(0,u.Ig)(L)}get empty(){return!this.inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}ngOnDestroy(){this.chipEnd.complete()}ngAfterContentInit(){this._focusLastChipOnBackspace=this.empty}_keydown(L){if(L){if(L.keyCode===n.Mf&&!(0,n.Vb)(L,"shiftKey")&&this._chipList._allowFocusEscape(),L.keyCode===n.ZH&&this._focusLastChipOnBackspace)return this._chipList._keyManager.setLastItemActive(),void L.preventDefault();this._focusLastChipOnBackspace=!1}this._emitChipEnd(L)}_keyup(L){!this._focusLastChipOnBackspace&&L.keyCode===n.ZH&&this.empty&&(this._focusLastChipOnBackspace=!0,L.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(L){!this.inputElement.value&&!!L&&this._chipList._keydown(L),(!L||this._isSeparatorKey(L))&&(this.chipEnd.emit({input:this.inputElement,value:this.inputElement.value,chipInput:this}),null==L||L.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(L){this.inputElement.focus(L)}clear(){this.inputElement.value="",this._focusLastChipOnBackspace=!0}_isSeparatorKey(L){return!(0,n.Vb)(L)&&new Set(this.separatorKeyCodes).has(L.keyCode)}}return ae.\u0275fac=function(L){return new(L||ae)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(gt))},ae.\u0275dir=h.\u0275\u0275defineDirective({type:ae,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(L,we){1&L&&h.\u0275\u0275listener("keydown",function(We){return we._keydown(We)})("keyup",function(We){return we._keyup(We)})("blur",function(){return we._blur()})("focus",function(){return we._focus()})("input",function(){return we._onInput()}),2&L&&(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,L,we){this._defaultErrorStateMatcher=ae,this._parentForm=le,this._parentFormGroup=L,this.ngControl=we,this.stateChanges=new c.x}});let Nt=0;class rt{constructor(le,L){this.source=le,this.value=L}}let Ze=(()=>{class ae extends Yt{constructor(L,we,yt,We,_t,ee,Ie){super(ee,We,_t,Ie),this._elementRef=L,this._changeDetectorRef=we,this._dir=yt,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 L,we;return this.multiple?(null===(L=this._selectionModel)||void 0===L?void 0:L.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(L){this._explicitRole=L}get multiple(){return this._multiple}set multiple(L){this._multiple=(0,u.Ig)(L),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(L){this._compareWith=L,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(L){this.writeValue(L),this._value=L}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){var L,we,yt,We;return null!==(We=null!==(L=this._required)&&void 0!==L?L:null===(yt=null===(we=this.ngControl)||void 0===we?void 0:we.control)||void 0===yt?void 0:yt.hasValidator(C.Validators.required))&&void 0!==We&&We}set required(L){this._required=(0,u.Ig)(L),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(L){this._placeholder=L,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(L){this._disabled=(0,u.Ig)(L),this._syncChipsState()}get selectable(){return this._selectable}set selectable(L){this._selectable=(0,u.Ig)(L),this._syncChipsState()}set tabIndex(L){this._userTabIndex=L,this._tabIndex=L}get chipSelectionChanges(){return(0,d.T)(...this.chips.map(L=>L.selectionChange))}get chipFocusChanges(){return(0,d.T)(...this.chips.map(L=>L._onFocus))}get chipBlurChanges(){return(0,d.T)(...this.chips.map(L=>L._onBlur))}get chipRemoveChanges(){return(0,d.T)(...this.chips.map(L=>L.destroyed))}ngAfterContentInit(){this._keyManager=new g.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(L=>this._keyManager.withHorizontalOrientation(L)),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(L){this._chipInput=L,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",L.id)}setDescribedByIds(L){L.length?this._elementRef.nativeElement.setAttribute("aria-describedby",L.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}writeValue(L){this.chips&&this._setSelectionByValue(L,!1)}registerOnChange(L){this._onChange=L}registerOnTouched(L){this._onTouched=L}setDisabledState(L){this.disabled=L,this.stateChanges.next()}onContainerClick(L){this._originatesFromChip(L)||this.focus()}focus(L){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(L),this.stateChanges.next()))}_focusInput(L){this._chipInput&&this._chipInput.focus(L)}_keydown(L){const we=L.target;we&&we.classList.contains("mat-chip")&&(this._keyManager.onKeydown(L),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const L=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(L)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(L){return L>=0&&L<this.chips.length}_setSelectionByValue(L,we=!0){if(this._clearSelection(),this.chips.forEach(yt=>yt.deselect()),Array.isArray(L))L.forEach(yt=>this._selectValue(yt,we)),this._sortValues();else{const yt=this._selectValue(L,we);yt&&we&&this._keyManager.setActiveItem(yt)}}_selectValue(L,we=!0){const yt=this.chips.find(We=>null!=We.value&&this._compareWith(We.value,L));return yt&&(we?yt.selectViaInteraction():yt.select(),this._selectionModel.select(yt)),yt}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(L){this._selectionModel.clear(),this.chips.forEach(we=>{we!==L&&we.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(L=>{L.selected&&this._selectionModel.select(L)}),this.stateChanges.next())}_propagateChanges(L){let we=null;we=Array.isArray(this.selected)?this.selected.map(yt=>yt.value):this.selected?this.selected.value:L,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(L=>{L.source.selected?this._selectionModel.select(L.source):this._selectionModel.deselect(L.source),this.multiple||this.chips.forEach(we=>{!this._selectionModel.isSelected(we)&&we.selected&&we.deselect()}),L.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(L=>{let we=this.chips.toArray().indexOf(L.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(L=>{const we=L.chip,yt=this.chips.toArray().indexOf(L.chip);this._isValidIndex(yt)&&we._hasFocus&&(this._lastDestroyedChipIndex=yt)})}_originatesFromChip(L){let we=L.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(L=>L._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(L=>{L._chipListDisabled=this._disabled,L._chipListMultiple=this.multiple,L.chipListSelectable=this._selectable})}}return ae.\u0275fac=function(L){return new(L||ae)(h.\u0275\u0275directiveInject(h.ElementRef),h.\u0275\u0275directiveInject(h.ChangeDetectorRef),h.\u0275\u0275directiveInject(Ue.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(L,we,yt){if(1&L&&h.\u0275\u0275contentQuery(yt,ke,5),2&L){let We;h.\u0275\u0275queryRefresh(We=h.\u0275\u0275loadQuery())&&(we.chips=We)}},hostAttrs:[1,"mat-chip-list"],hostVars:14,hostBindings:function(L,we){1&L&&h.\u0275\u0275listener("focus",function(){return we.focus()})("blur",function(){return we._blur()})("keydown",function(We){return we._keydown(We)}),2&L&&(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:Le,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(L,we){1&L&&(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(L){return new(L||ae)},ae.\u0275mod=h.\u0275\u0275defineNgModule({type:ae}),ae.\u0275inj=h.\u0275\u0275defineInjector({providers:[_.ErrorStateMatcher,{provide:gt,useValue:{separatorKeyCodes:[n.K5]}}],imports:[_.MatCommonModule]}),ae})()},508:(H,o,a)=>{"use strict";a.r(o),a.d(o,{AnimationCurves:()=>j,AnimationDurations:()=>Z,DateAdapter:()=>K,ErrorStateMatcher:()=>He,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:()=>$e,MAT_RIPPLE_GLOBAL_OPTIONS:()=>Te,MatCommonModule:()=>B,MatLine:()=>dt,MatLineModule:()=>pt,MatNativeDateModule:()=>Be,MatOptgroup:()=>de,MatOption:()=>Ft,MatOptionModule:()=>Nt,MatOptionSelectionChange:()=>tt,MatPseudoCheckbox:()=>ze,MatPseudoCheckboxModule:()=>ve,MatRipple:()=>Ue,MatRippleModule:()=>Le,NativeDateAdapter:()=>ye,NativeDateModule:()=>De,RippleRef:()=>Xe,RippleRenderer:()=>Ge,ShowOnDirtyErrorStateMatcher:()=>Se,VERSION:()=>O,_MatOptgroupBase:()=>W,_MatOptionBase:()=>gt,_countGroupLabelsBeforeOption:()=>At,_getOptionScrollPosition:()=>Yt,defaultRippleAnimationConfig:()=>Pe,mixinColor:()=>it,mixinDisableRipple:()=>z,mixinDisabled:()=>xe,mixinErrorState:()=>V,mixinInitialized:()=>te,mixinTabIndex:()=>q,setLines:()=>bt});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 g=["*",[["mat-option"],["ng-container"]]],m=["*","mat-option, ng-container"];function C(rt,Ze){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,Ze){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 P=["*"],O=new n.Version("14.1.3");let j=(()=>{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})(),Z=(()=>{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 U(){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 xe(rt){return class extends rt{constructor(...Ze){super(...Ze),this._disabled=!1}get disabled(){return this._disabled}set disabled(Ze){this._disabled=(0,d.Ig)(Ze)}}}function it(rt,Ze){return class extends rt{constructor(...be){super(...be),this.defaultColor=Ze,this.color=Ze}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(...Ze){super(...Ze),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(Ze){this._disableRipple=(0,d.Ig)(Ze)}}}function q(rt,Ze=0){return class extends rt{constructor(...be){super(...be),this._tabIndex=Ze,this.defaultTabIndex=Ze}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(...Ze){super(...Ze),this.errorState=!1}updateErrorState(){const Ze=this.errorState,le=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);le!==Ze&&(this.errorState=le,this.stateChanges.next())}}}function te(rt){return class extends rt{constructor(...Ze){super(...Ze),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(Ze){Ze.next(),Ze.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(Ze){return this.isDateInstance(Ze)&&this.isValid(Ze)?Ze:null}deserialize(Ze){return null==Ze||this.isDateInstance(Ze)&&this.isValid(Ze)?Ze:this.invalid()}setLocale(Ze){this.locale=Ze,this._localeChanges.next()}compareDate(Ze,be){return this.getYear(Ze)-this.getYear(be)||this.getMonth(Ze)-this.getMonth(be)||this.getDate(Ze)-this.getDate(be)}sameDate(Ze,be){if(Ze&&be){let me=this.isValid(Ze),ae=this.isValid(be);return me&&ae?!this.compareDate(Ze,be):me==ae}return Ze==be}clampDate(Ze,be,me){return be&&this.compareDate(Ze,be)<0?be:me&&this.compareDate(Ze,me)>0?me:Ze}}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,Ze){const be=Array(rt);for(let me=0;me<rt;me++)be[me]=Ze(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})(),Be=(()=>{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})(),He=(()=>{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})(),dt=(()=>{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 bt(rt,Ze,be="mat"){rt.changes.pipe((0,f.O)(rt)).subscribe(({length:me})=>{ct(Ze,`${be}-2-line`,!1),ct(Ze,`${be}-3-line`,!1),ct(Ze,`${be}-multi-line`,!1),2===me||3===me?ct(Ze,`${be}-${me}-line`,!0):me>3&&ct(Ze,`${be}-multi-line`,!0)})}function ct(rt,Ze,be){rt.nativeElement.classList.toggle(Ze,be)}let pt=(()=>{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 Xe{constructor(Ze,be,me,ae=!1){this._renderer=Ze,this.element=be,this.config=me,this._animationForciblyDisabledThroughCss=ae,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Pe={enterDuration:225,exitDuration:150},pe=(0,r.i$)({passive:!0}),Ye=["mousedown","touchstart"],Ve=["mouseup","mouseleave","touchend","touchcancel"];class Ge{constructor(Ze,be,me,ae){this._target=Ze,this._ngZone=be,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,ae.isBrowser&&(this._containerElement=(0,d.fI)(me))}fadeInRipple(Ze,be,me={}){const ae=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),le=Object.assign(Object.assign({},Pe),me.animation);me.centered&&(Ze=ae.left+ae.width/2,be=ae.top+ae.height/2);const L=me.radius||function Y(rt,Ze,be){const me=Math.max(Math.abs(rt-be.left),Math.abs(rt-be.right)),ae=Math.max(Math.abs(Ze-be.top),Math.abs(Ze-be.bottom));return Math.sqrt(me*me+ae*ae)}(Ze,be,ae),we=Ze-ae.left,yt=be-ae.top,We=le.enterDuration,_t=document.createElement("div");_t.classList.add("mat-ripple-element"),_t.style.left=we-L+"px",_t.style.top=yt-L+"px",_t.style.height=2*L+"px",_t.style.width=2*L+"px",null!=me.color&&(_t.style.backgroundColor=me.color),_t.style.transitionDuration=`${We}ms`,this._containerElement.appendChild(_t);const ee=window.getComputedStyle(_t),at=ee.transitionDuration,Dt="none"===ee.transitionProperty||"0s"===at||"0s, 0s"===at,Ht=new Xe(this,_t,me,Dt);_t.style.transform="scale3d(1, 1, 1)",Ht.state=0,me.persistent||(this._mostRecentTransientRipple=Ht);let rn=null;return!Dt&&(We||le.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Xt=()=>this._finishRippleTransition(Ht),vn=()=>this._destroyRipple(Ht);_t.addEventListener("transitionend",Xt),_t.addEventListener("transitioncancel",vn),rn={onTransitionEnd:Xt,onTransitionCancel:vn}}),this._activeRipples.set(Ht,rn),(Dt||!We)&&this._finishRippleTransition(Ht),Ht}fadeOutRipple(Ze){if(2===Ze.state||3===Ze.state)return;const be=Ze.element,me=Object.assign(Object.assign({},Pe),Ze.config.animation);be.style.transitionDuration=`${me.exitDuration}ms`,be.style.opacity="0",Ze.state=2,(Ze._animationForciblyDisabledThroughCss||!me.exitDuration)&&this._finishRippleTransition(Ze)}fadeOutAll(){this._getActiveRipples().forEach(Ze=>Ze.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(Ze=>{Ze.config.persistent||Ze.fadeOut()})}setupTriggerEvents(Ze){const be=(0,d.fI)(Ze);!be||be===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=be,this._registerEvents(Ye))}handleEvent(Ze){"mousedown"===Ze.type?this._onMousedown(Ze):"touchstart"===Ze.type?this._onTouchStart(Ze):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Ve),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(Ze){0===Ze.state?this._startFadeOutTransition(Ze):2===Ze.state&&this._destroyRipple(Ze)}_startFadeOutTransition(Ze){const be=Ze===this._mostRecentTransientRipple,{persistent:me}=Ze.config;Ze.state=1,!me&&(!be||!this._isPointerDown)&&Ze.fadeOut()}_destroyRipple(Ze){var be;const me=null!==(be=this._activeRipples.get(Ze))&&void 0!==be?be:null;this._activeRipples.delete(Ze),this._activeRipples.size||(this._containerRect=null),Ze===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),Ze.state=3,null!==me&&(Ze.element.removeEventListener("transitionend",me.onTransitionEnd),Ze.element.removeEventListener("transitioncancel",me.onTransitionCancel)),Ze.element.remove()}_onMousedown(Ze){const be=(0,c.X6)(Ze),me=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!be&&!me&&(this._isPointerDown=!0,this.fadeInRipple(Ze.clientX,Ze.clientY,this._target.rippleConfig))}_onTouchStart(Ze){if(!this._target.rippleDisabled&&!(0,c.yG)(Ze)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const be=Ze.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(Ze=>{!Ze.config.persistent&&(1===Ze.state||Ze.config.terminateOnPointerUp&&0===Ze.state)&&Ze.fadeOut()}))}_registerEvents(Ze){this._ngZone.runOutsideAngular(()=>{Ze.forEach(be=>{this._triggerElement.addEventListener(be,this,pe)})})}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){this._triggerElement&&(Ye.forEach(Ze=>{this._triggerElement.removeEventListener(Ze,this,pe)}),this._pointerUpEventsRegistered&&Ve.forEach(Ze=>{this._triggerElement.removeEventListener(Ze,this,pe)}))}}const Te=new n.InjectionToken("mat-ripple-global-options");let Ue=(()=>{class rt{constructor(be,me,ae,le,L){this._elementRef=be,this._animationMode=L,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=le||{},this._rippleRenderer=new Ge(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})(),Le=(()=>{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})(),ze=(()=>{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 $e=new n.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),ut=xe(class{});let Fe=0,W=(()=>{class rt extends ut{constructor(be){var me;super(),this._labelId="mat-optgroup-label-"+Fe++,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($e,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 Ze;return function(me){return(Ze||(Ze=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(g),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(Ze,be=!1){this.source=Ze,this.isUserInput=be}}let gt=(()=>{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 gt{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($e,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:P,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:[Ue,u.NgIf,ze],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,Ze,be){if(be.length){let me=Ze.toArray(),ae=be.toArray(),le=0;for(let L=0;L<rt+1;L++)me[L].group&&me[L].group===ae[le]&&le++;return le}return 0}function Yt(rt,Ze,be,me){return rt<be?rt:rt+Ze>be+me?Math.max(0,rt-me+Ze):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:[Le,u.CommonModule,B,ve]}),rt})()},9694:(H,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_DIALOG_DATA:()=>Se,MAT_DIALOG_DEFAULT_OPTIONS:()=>He,MAT_DIALOG_SCROLL_STRATEGY:()=>dt,MAT_DIALOG_SCROLL_STRATEGY_FACTORY:()=>bt,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER:()=>pt,MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY:()=>ct,MatDialog:()=>je,MatDialogActions:()=>Y,MatDialogClose:()=>Ye,MatDialogConfig:()=>$,MatDialogContainer:()=>Ce,MatDialogContent:()=>Ge,MatDialogModule:()=>Ue,MatDialogRef:()=>De,MatDialogTitle:()=>Ve,_MatDialogBase:()=>Pe,_MatDialogContainerBase:()=>ye,_closeDialogVia:()=>Be,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(Le){return new y.y(ze=>{(0,f.Xf)(Le()).subscribe(ze)})}var g=a(9646),m=a(226),C=a(8675);function M(Le,ze){}class P{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 j=(()=>{class Le extends h.en{constructor(ve,$e,ut,Fe,W,ge,de,ke){super(),this._elementRef=ve,this._focusTrapFactory=$e,this._config=Fe,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 gt=this._portalOutlet.attachDomPortal(tt);return this._contentAttached(),gt},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=ut}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(ve){this._portalOutlet.hasAttached();const $e=this._portalOutlet.attachComponentPortal(ve);return this._contentAttached(),$e}attachTemplatePortal(ve){this._portalOutlet.hasAttached();const $e=this._portalOutlet.attachTemplatePortal(ve);return this._contentAttached(),$e}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(ve,$e){this._interactivityChecker.isFocusable(ve)||(ve.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const ut=()=>{ve.removeEventListener("blur",ut),ve.removeEventListener("mousedown",ut),ve.removeAttribute("tabindex")};ve.addEventListener("blur",ut),ve.addEventListener("mousedown",ut)})),ve.focus($e)}_focusByCssSelector(ve,$e){let ut=this._elementRef.nativeElement.querySelector(ve);ut&&this._forceFocus(ut,$e)}_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($e=>{$e||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 $e=null;if("string"==typeof ve?$e=this._document.querySelector(ve):"boolean"==typeof ve?$e=ve?this._elementFocusedBeforeDialogWasOpened:null:ve&&($e=ve),this._config.restoreFocus&&$e&&"function"==typeof $e.focus){const ut=(0,n.ht)(),Fe=this._elementRef.nativeElement;(!ut||ut===this._document.body||ut===Fe||Fe.contains(ut))&&(this._focusMonitor?(this._focusMonitor.focusVia($e,this._closeInteractionType),this._closeInteractionType=null):$e.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const ve=this._elementRef.nativeElement,$e=(0,n.ht)();return ve===$e||ve.contains($e)}_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 Le.\u0275fac=function(ve){return new(ve||Le)(u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(r.qV),u.\u0275\u0275directiveInject(_.DOCUMENT,8),u.\u0275\u0275directiveInject(P),u.\u0275\u0275directiveInject(r.ic),u.\u0275\u0275directiveInject(u.NgZone),u.\u0275\u0275directiveInject(c.Iu),u.\u0275\u0275directiveInject(r.tE))},Le.\u0275cmp=u.\u0275\u0275defineComponent({type:Le,selectors:[["cdk-dialog-container"]],viewQuery:function(ve,$e){if(1&ve&&u.\u0275\u0275viewQuery(h.Pl,7),2&ve){let ut;u.\u0275\u0275queryRefresh(ut=u.\u0275\u0275loadQuery())&&($e._portalOutlet=ut.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(ve,$e){2&ve&&u.\u0275\u0275attribute("id",$e._config.id||null)("role",$e._config.role)("aria-modal",$e._config.ariaModal)("aria-labelledby",$e._config.ariaLabel?null:$e._ariaLabelledBy)("aria-label",$e._config.ariaLabel)("aria-describedby",$e._config.ariaDescribedBy||null)},features:[u.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(ve,$e){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}),Le})();class Z{constructor(ze,ve){this.overlayRef=ze,this.config=ve,this.closed=new p.x,this.disableClose=ve.disableClose,this.backdropClick=ze.backdropClick(),this.keydownEvents=ze.keydownEvents(),this.outsidePointerEvents=ze.outsidePointerEvents(),this.id=ve.id,this.keydownEvents.subscribe($e=>{$e.keyCode===d.hY&&!this.disableClose&&!(0,d.Vb)($e)&&($e.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(ze,ve){if(this.containerInstance){const $e=this.closed;this.containerInstance._closeInteractionType=(null==ve?void 0:ve.focusOrigin)||"program",this.overlayRef.dispose(),$e.next(ze),$e.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(ze="",ve=""){return this.overlayRef.updateSize({width:ze,height:ve}),this}addPanelClass(ze){return this.overlayRef.addPanelClass(ze),this}removePanelClass(ze){return this.overlayRef.removePanelClass(ze),this}}const U=new u.InjectionToken("DialogScrollStrategy"),G=new u.InjectionToken("DialogData"),B=new u.InjectionToken("DefaultDialogConfig"),oe={provide:U,deps:[c.aV],useFactory:function X(Le){return()=>Le.scrollStrategies.block()}};let he=0,xe=(()=>{class Le{constructor(ve,$e,ut,Fe,W,ge){this._overlay=ve,this._injector=$e,this._defaultOptions=ut,this._parentDialog=Fe,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,$e){const ut=this._defaultOptions||new P;($e=Object.assign(Object.assign({},ut),$e)).id=$e.id||"cdk-dialog-"+he++,$e.id&&this.getDialogById($e.id);const Fe=this._getOverlayConfig($e),W=this._overlay.create(Fe),ge=new Z(W,$e),de=this._attachContainer(W,ge,$e);return ge.containerInstance=de,this._attachDialogContent(ve,ge,de,$e),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($e=>$e.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 $e=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&&($e.backdropClass=ve.backdropClass),$e}_attachContainer(ve,$e,ut){var Fe;const W=ut.injector||(null===(Fe=ut.viewContainerRef)||void 0===Fe?void 0:Fe.injector),ge=[{provide:P,useValue:ut},{provide:Z,useValue:$e},{provide:c.Iu,useValue:ve}];let de;ut.container?"function"==typeof ut.container?de=ut.container:(de=ut.container.type,ge.push(...ut.container.providers(ut))):de=j;const ke=new h.C5(de,ut.viewContainerRef,u.Injector.create({parent:W||this._injector,providers:ge}),ut.componentFactoryResolver);return ve.attach(ke).instance}_attachDialogContent(ve,$e,ut,Fe){if(ve instanceof u.TemplateRef){const W=this._createInjector(Fe,$e,ut,void 0);let ge={$implicit:Fe.data,dialogRef:$e};Fe.templateContext&&(ge=Object.assign(Object.assign({},ge),"function"==typeof Fe.templateContext?Fe.templateContext():Fe.templateContext)),ut.attachTemplatePortal(new h.UE(ve,null,ge,W))}else{const W=this._createInjector(Fe,$e,ut,this._injector),ge=ut.attachComponentPortal(new h.C5(ve,Fe.viewContainerRef,W,Fe.componentFactoryResolver));$e.componentInstance=ge.instance}}_createInjector(ve,$e,ut,Fe){var W;const ge=ve.injector||(null===(W=ve.viewContainerRef)||void 0===W?void 0:W.injector),de=[{provide:G,useValue:ve.data},{provide:Z,useValue:$e}];return ve.providers&&("function"==typeof ve.providers?de.push(...ve.providers($e,ve,ut)):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,g.of)()}}),u.Injector.create({parent:ge||Fe,providers:de})}_removeOpenDialog(ve,$e){const ut=this.openDialogs.indexOf(ve);ut>-1&&(this.openDialogs.splice(ut,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((Fe,W)=>{Fe?W.setAttribute("aria-hidden",Fe):W.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),$e&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const ve=this._overlayContainer.getContainerElement();if(ve.parentElement){const $e=ve.parentElement.children;for(let ut=$e.length-1;ut>-1;ut--){const Fe=$e[ut];Fe!==ve&&"SCRIPT"!==Fe.nodeName&&"STYLE"!==Fe.nodeName&&!Fe.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(Fe,Fe.getAttribute("aria-hidden")),Fe.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const ve=this._parentDialog;return ve?ve._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return Le.\u0275fac=function(ve){return new(ve||Le)(u.\u0275\u0275inject(c.aV),u.\u0275\u0275inject(u.Injector),u.\u0275\u0275inject(B,8),u.\u0275\u0275inject(Le,12),u.\u0275\u0275inject(c.Xj),u.\u0275\u0275inject(U))},Le.\u0275prov=u.\u0275\u0275defineInjectable({token:Le,factory:Le.\u0275fac}),Le})();function it(Le,ze){let ve=Le.length;for(;ve--;)ze(Le[ve])}let z=(()=>{class Le{}return Le.\u0275fac=function(ve){return new(ve||Le)},Le.\u0275mod=u.\u0275\u0275defineNgModule({type:Le}),Le.\u0275inj=u.\u0275\u0275defineInjector({providers:[xe,oe],imports:[c.U8,h.eL,r.rt,h.eL]}),Le})();var q=a(508),V=a(6451),te=a(9300),Ee=a(5698),Oe=a(1777);function K(Le,ze){}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 Le extends j{constructor(ve,$e,ut,Fe,W,ge,de,ke){super(ve,$e,ut,Fe,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 Le.\u0275fac=function(ve){return new(ve||Le)(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))},Le.\u0275cmp=u.\u0275\u0275defineComponent({type:Le,selectors:[["ng-component"]],features:[u.\u0275\u0275InheritDefinitionFeature],decls:0,vars:0,template:function(ve,$e){},encapsulation:2}),Le})(),Ce=(()=>{class Le extends ye{constructor(ve,$e,ut,Fe,W,ge,de,ke,tt){super(ve,$e,ut,Fe,W,ge,de,tt),this._changeDetectorRef=ke,this._state="enter"}_onAnimationDone({toState:ve,totalTime:$e}){"enter"===ve?this._openAnimationDone($e):"exit"===ve&&this._animationStateChanged.next({state:"closed",totalTime:$e})}_onAnimationStart({toState:ve,totalTime:$e}){"enter"===ve?this._animationStateChanged.next({state:"opening",totalTime:$e}):("exit"===ve||"void"===ve)&&this._animationStateChanged.next({state:"closing",totalTime:$e})}_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 Le.\u0275fac=function(ve){return new(ve||Le)(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))},Le.\u0275cmp=u.\u0275\u0275defineComponent({type:Le,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-dialog-container"],hostVars:7,hostBindings:function(ve,$e){1&ve&&u.\u0275\u0275syntheticHostListener("@dialogContainer.start",function(Fe){return $e._onAnimationStart(Fe)})("@dialogContainer.done",function(Fe){return $e._onAnimationDone(Fe)}),2&ve&&(u.\u0275\u0275hostProperty("id",$e._config.id),u.\u0275\u0275attribute("aria-modal",$e._config.ariaModal)("role",$e._config.role)("aria-labelledby",$e._config.ariaLabel?null:$e._ariaLabelledBy)("aria-label",$e._config.ariaLabel)("aria-describedby",$e._config.ariaDescribedBy||null),u.\u0275\u0275syntheticHostProperty("@dialogContainer",$e._getAnimationState()))},features:[u.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(ve,$e){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]}}),Le})();class De{constructor(ze,ve,$e){this._ref=ze,this._containerInstance=$e,this._afterOpened=new p.x,this._beforeClosed=new p.x,this._state=0,this.disableClose=ve.disableClose,this.id=ze.id,$e._animationStateChanged.pipe((0,te.h)(ut=>"opened"===ut.state),(0,Ee.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),$e._animationStateChanged.pipe((0,te.h)(ut=>"closed"===ut.state),(0,Ee.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),ze.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,V.T)(this.backdropClick(),this.keydownEvents().pipe((0,te.h)(ut=>ut.keyCode===d.hY&&!this.disableClose&&!(0,d.Vb)(ut)))).subscribe(ut=>{this.disableClose||(ut.preventDefault(),Be(this,"keydown"===ut.type?"keyboard":"mouse"))})}close(ze){this._result=ze,this._containerInstance._animationStateChanged.pipe((0,te.h)(ve=>"closing"===ve.state),(0,Ee.q)(1)).subscribe(ve=>{this._beforeClosed.next(ze),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(ze){let ve=this._ref.config.positionStrategy;return ze&&(ze.left||ze.right)?ze.left?ve.left(ze.left):ve.right(ze.right):ve.centerHorizontally(),ze&&(ze.top||ze.bottom)?ze.top?ve.top(ze.top):ve.bottom(ze.bottom):ve.centerVertically(),this._ref.updatePosition(),this}updateSize(ze="",ve=""){return this._ref.updateSize(ze,ve),this}addPanelClass(ze){return this._ref.addPanelClass(ze),this}removePanelClass(ze){return this._ref.removePanelClass(ze),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Be(Le,ze,ve){return Le._closeInteractionType=ze,Le.close(ve)}const Se=new u.InjectionToken("MatDialogData"),He=new u.InjectionToken("mat-dialog-default-options"),dt=new u.InjectionToken("mat-dialog-scroll-strategy");function bt(Le){return()=>Le.scrollStrategies.block()}function ct(Le){return()=>Le.scrollStrategies.block()}const pt={provide:dt,deps:[c.aV],useFactory:ct};let Xe=0,Pe=(()=>{class Le{constructor(ve,$e,ut,Fe,W,ge,de,ke,tt,gt){this._overlay=ve,this._defaultOptions=ut,this._parentDialog=Fe,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=$e.get(xe)}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,$e){let ut;($e=Object.assign(Object.assign({},this._defaultOptions||new $),$e)).id=$e.id||`${this._idPrefix}${Xe++}`,$e.scrollStrategy=$e.scrollStrategy||this._scrollStrategy();const Fe=this._dialog.open(ve,Object.assign(Object.assign({},$e),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:$,useValue:$e},{provide:P,useValue:$e}]},templateContext:()=>({dialogRef:ut}),providers:(W,ge,de)=>(ut=new this._dialogRefConstructor(W,$e,de),ut.updatePosition(null==$e?void 0:$e.position),[{provide:this._dialogContainerType,useValue:de},{provide:this._dialogDataToken,useValue:ge.data},{provide:this._dialogRefConstructor,useValue:ut}])}));return ut.componentInstance=Fe.componentInstance,this.openDialogs.push(ut),this.afterOpened.next(ut),ut.afterClosed().subscribe(()=>{const W=this.openDialogs.indexOf(ut);W>-1&&(this.openDialogs.splice(W,1),this.openDialogs.length||this._getAfterAllClosed().next())}),ut}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(ve){return this.openDialogs.find($e=>$e.id===ve)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(ve){let $e=ve.length;for(;$e--;)ve[$e].close()}}return Le.\u0275fac=function(ve){u.\u0275\u0275invalidFactory()},Le.\u0275prov=u.\u0275\u0275defineInjectable({token:Le,factory:Le.\u0275fac}),Le})(),je=(()=>{class Le extends Pe{constructor(ve,$e,ut,Fe,W,ge,de,ke){super(ve,$e,Fe,ge,de,W,De,Ce,Se,ke)}}return Le.\u0275fac=function(ve){return new(ve||Le)(u.\u0275\u0275inject(c.aV),u.\u0275\u0275inject(u.Injector),u.\u0275\u0275inject(_.Location,8),u.\u0275\u0275inject(He,8),u.\u0275\u0275inject(dt),u.\u0275\u0275inject(Le,12),u.\u0275\u0275inject(c.Xj),u.\u0275\u0275inject(u.ANIMATION_MODULE_TYPE,8))},Le.\u0275prov=u.\u0275\u0275defineInjectable({token:Le,factory:Le.\u0275fac}),Le})(),pe=0,Ye=(()=>{class Le{constructor(ve,$e,ut){this.dialogRef=ve,this._elementRef=$e,this._dialog=ut,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=Te(this._elementRef,this._dialog.openDialogs))}ngOnChanges(ve){const $e=ve._matDialogClose||ve._matDialogCloseResult;$e&&(this.dialogResult=$e.currentValue)}_onButtonClick(ve){Be(this.dialogRef,0===ve.screenX&&0===ve.screenY?"keyboard":"mouse",this.dialogResult)}}return Le.\u0275fac=function(ve){return new(ve||Le)(u.\u0275\u0275directiveInject(De,8),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(je))},Le.\u0275dir=u.\u0275\u0275defineDirective({type:Le,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(ve,$e){1&ve&&u.\u0275\u0275listener("click",function(Fe){return $e._onButtonClick(Fe)}),2&ve&&u.\u0275\u0275attribute("aria-label",$e.ariaLabel||null)("type",$e.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[u.\u0275\u0275NgOnChangesFeature]}),Le})(),Ve=(()=>{class Le{constructor(ve,$e,ut){this._dialogRef=ve,this._elementRef=$e,this._dialog=ut,this.id="mat-dialog-title-"+pe++}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 Le.\u0275fac=function(ve){return new(ve||Le)(u.\u0275\u0275directiveInject(De,8),u.\u0275\u0275directiveInject(u.ElementRef),u.\u0275\u0275directiveInject(je))},Le.\u0275dir=u.\u0275\u0275defineDirective({type:Le,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(ve,$e){2&ve&&u.\u0275\u0275hostProperty("id",$e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),Le})(),Ge=(()=>{class Le{}return Le.\u0275fac=function(ve){return new(ve||Le)},Le.\u0275dir=u.\u0275\u0275defineDirective({type:Le,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),Le})(),Y=(()=>{class Le{constructor(){this.align="start"}}return Le.\u0275fac=function(ve){return new(ve||Le)},Le.\u0275dir=u.\u0275\u0275defineDirective({type:Le,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"],hostVars:4,hostBindings:function(ve,$e){2&ve&&u.\u0275\u0275classProp("mat-dialog-actions-align-center","center"===$e.align)("mat-dialog-actions-align-end","end"===$e.align)},inputs:{align:"align"}}),Le})();function Te(Le,ze){let ve=Le.nativeElement.parentElement;for(;ve&&!ve.classList.contains("mat-dialog-container");)ve=ve.parentElement;return ve?ze.find($e=>$e.id===ve.id):null}let Ue=(()=>{class Le{}return Le.\u0275fac=function(ve){return new(ve||Le)},Le.\u0275mod=u.\u0275\u0275defineNgModule({type:Le}),Le.\u0275inj=u.\u0275\u0275defineInjector({providers:[je,pt],imports:[z,c.U8,h.eL,q.MatCommonModule,q.MatCommonModule]}),Le})()},3293:(H,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:()=>dt,MatIconModule:()=>bt,MatIconRegistry:()=>te,getMatIconFailedToSanitizeLiteralError:()=>q,getMatIconFailedToSanitizeUrlError:()=>z,getMatIconNameNotFoundError:()=>xe,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),g=a(5403),m=a(4482);function C(ct){return(0,m.e)((pt,Xe)=>{let pe,Pe=null,je=!1;Pe=pt.subscribe((0,g.x)(Xe,void 0,void 0,Ye=>{pe=(0,b.Xf)(ct(Ye,C(ct)(pt))),Pe?(Pe.unsubscribe(),Pe=null,pe.subscribe(Xe)):je=!0})),je&&(Pe.unsubscribe(),Pe=null,pe.subscribe(Xe))})}var P=a(8505),O=a(4004),j=a(3099),Z=a(5698),U=a(6529),G=a(2313);const B=["*"];let X;function he(ct){var pt;return(null===(pt=function oe(){if(void 0===X&&(X=null,"undefined"!=typeof window)){const ct=window;void 0!==ct.trustedTypes&&(X=ct.trustedTypes.createPolicy("angular#components",{createHTML:pt=>pt}))}return X}())||void 0===pt?void 0:pt.createHTML(ct))||ct}function xe(ct){return Error(`Unable to find icon with the name "${ct}"`)}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(ct){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${ct}".`)}function q(ct){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${ct}".`)}class V{constructor(pt,Xe,Pe){this.url=pt,this.svgText=Xe,this.options=Pe}}let te=(()=>{class ct{constructor(Xe,Pe,je,pe){this._httpClient=Xe,this._sanitizer=Pe,this._errorHandler=pe,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=je}addSvgIcon(Xe,Pe,je){return this.addSvgIconInNamespace("",Xe,Pe,je)}addSvgIconLiteral(Xe,Pe,je){return this.addSvgIconLiteralInNamespace("",Xe,Pe,je)}addSvgIconInNamespace(Xe,Pe,je,pe){return this._addSvgIconConfig(Xe,Pe,new V(je,null,pe))}addSvgIconResolver(Xe){return this._resolvers.push(Xe),this}addSvgIconLiteralInNamespace(Xe,Pe,je,pe){const Ye=this._sanitizer.sanitize(n.SecurityContext.HTML,je);if(!Ye)throw q(je);const Ve=he(Ye);return this._addSvgIconConfig(Xe,Pe,new V("",Ve,pe))}addSvgIconSet(Xe,Pe){return this.addSvgIconSetInNamespace("",Xe,Pe)}addSvgIconSetLiteral(Xe,Pe){return this.addSvgIconSetLiteralInNamespace("",Xe,Pe)}addSvgIconSetInNamespace(Xe,Pe,je){return this._addSvgIconSetConfig(Xe,new V(Pe,null,je))}addSvgIconSetLiteralInNamespace(Xe,Pe,je){const pe=this._sanitizer.sanitize(n.SecurityContext.HTML,Pe);if(!pe)throw q(Pe);const Ye=he(pe);return this._addSvgIconSetConfig(Xe,new V("",Ye,je))}registerFontClassAlias(Xe,Pe=Xe){return this._fontCssClassesByAlias.set(Xe,Pe),this}classNameForFontAlias(Xe){return this._fontCssClassesByAlias.get(Xe)||Xe}setDefaultFontSetClass(...Xe){return this._defaultFontSetClass=Xe,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Xe){const Pe=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Xe);if(!Pe)throw z(Xe);const je=this._cachedIconsByUrl.get(Pe);return je?(0,p.of)(K(je)):this._loadSvgIconFromConfig(new V(Xe,null)).pipe((0,P.b)(pe=>this._cachedIconsByUrl.set(Pe,pe)),(0,O.U)(pe=>K(pe)))}getNamedSvgIcon(Xe,Pe=""){const je=ie(Pe,Xe);let pe=this._svgIconConfigs.get(je);if(pe)return this._getSvgFromConfig(pe);if(pe=this._getIconConfigFromResolvers(Pe,Xe),pe)return this._svgIconConfigs.set(je,pe),this._getSvgFromConfig(pe);const Ye=this._iconSetConfigs.get(Pe);return Ye?this._getSvgFromIconSetConfigs(Xe,Ye):function d(ct,pt){const Xe=(0,c.m)(ct)?ct:()=>ct,Pe=je=>je.error(Xe());return new r.y(pt?je=>pt.schedule(Pe,0,je):Pe)}(xe(je))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Xe){return Xe.svgText?(0,p.of)(K(this._svgElementFromConfig(Xe))):this._loadSvgIconFromConfig(Xe).pipe((0,O.U)(Pe=>K(Pe)))}_getSvgFromIconSetConfigs(Xe,Pe){const je=this._extractIconWithNameFromAnySet(Xe,Pe);if(je)return(0,p.of)(je);const pe=Pe.filter(Ye=>!Ye.svgText).map(Ye=>this._loadSvgIconSetFromConfig(Ye).pipe(C(Ve=>{const Y=`Loading icon set URL: ${this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,Ye.url)} failed: ${Ve.message}`;return this._errorHandler.handleError(new Error(Y)),(0,p.of)(null)})));return(0,y.D)(pe).pipe((0,O.U)(()=>{const Ye=this._extractIconWithNameFromAnySet(Xe,Pe);if(!Ye)throw xe(Xe);return Ye}))}_extractIconWithNameFromAnySet(Xe,Pe){for(let je=Pe.length-1;je>=0;je--){const pe=Pe[je];if(pe.svgText&&pe.svgText.toString().indexOf(Xe)>-1){const Ye=this._svgElementFromConfig(pe),Ve=this._extractSvgIconFromSet(Ye,Xe,pe.options);if(Ve)return Ve}}return null}_loadSvgIconFromConfig(Xe){return this._fetchIcon(Xe).pipe((0,P.b)(Pe=>Xe.svgText=Pe),(0,O.U)(()=>this._svgElementFromConfig(Xe)))}_loadSvgIconSetFromConfig(Xe){return Xe.svgText?(0,p.of)(null):this._fetchIcon(Xe).pipe((0,P.b)(Pe=>Xe.svgText=Pe))}_extractSvgIconFromSet(Xe,Pe,je){const pe=Xe.querySelector(`[id="${Pe}"]`);if(!pe)return null;const Ye=pe.cloneNode(!0);if(Ye.removeAttribute("id"),"svg"===Ye.nodeName.toLowerCase())return this._setSvgAttributes(Ye,je);if("symbol"===Ye.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(Ye),je);const Ve=this._svgElementFromString(he("<svg></svg>"));return Ve.appendChild(Ye),this._setSvgAttributes(Ve,je)}_svgElementFromString(Xe){const Pe=this._document.createElement("DIV");Pe.innerHTML=Xe;const je=Pe.querySelector("svg");if(!je)throw Error("<svg> tag not found");return je}_toSvgElement(Xe){const Pe=this._svgElementFromString(he("<svg></svg>")),je=Xe.attributes;for(let pe=0;pe<je.length;pe++){const{name:Ye,value:Ve}=je[pe];"id"!==Ye&&Pe.setAttribute(Ye,Ve)}for(let pe=0;pe<Xe.childNodes.length;pe++)Xe.childNodes[pe].nodeType===this._document.ELEMENT_NODE&&Pe.appendChild(Xe.childNodes[pe].cloneNode(!0));return Pe}_setSvgAttributes(Xe,Pe){return Xe.setAttribute("fit",""),Xe.setAttribute("height","100%"),Xe.setAttribute("width","100%"),Xe.setAttribute("preserveAspectRatio","xMidYMid meet"),Xe.setAttribute("focusable","false"),Pe&&Pe.viewBox&&Xe.setAttribute("viewBox",Pe.viewBox),Xe}_fetchIcon(Xe){var Pe;const{url:je,options:pe}=Xe,Ye=null!==(Pe=null==pe?void 0:pe.withCredentials)&&void 0!==Pe&&Pe;if(!this._httpClient)throw it();if(null==je)throw Error(`Cannot fetch icon from URL "${je}".`);const Ve=this._sanitizer.sanitize(n.SecurityContext.RESOURCE_URL,je);if(!Ve)throw z(je);const Ge=this._inProgressUrlFetches.get(Ve);if(Ge)return Ge;const Y=this._httpClient.get(Ve,{responseType:"text",withCredentials:Ye}).pipe((0,O.U)(Te=>he(Te)),function M(ct){return(0,m.e)((pt,Xe)=>{try{pt.subscribe(Xe)}finally{Xe.add(ct)}})}(()=>this._inProgressUrlFetches.delete(Ve)),(0,j.B)());return this._inProgressUrlFetches.set(Ve,Y),Y}_addSvgIconConfig(Xe,Pe,je){return this._svgIconConfigs.set(ie(Xe,Pe),je),this}_addSvgIconSetConfig(Xe,Pe){const je=this._iconSetConfigs.get(Xe);return je?je.push(Pe):this._iconSetConfigs.set(Xe,[Pe]),this}_svgElementFromConfig(Xe){if(!Xe.svgElement){const Pe=this._svgElementFromString(Xe.svgText);this._setSvgAttributes(Pe,Xe.options),Xe.svgElement=Pe}return Xe.svgElement}_getIconConfigFromResolvers(Xe,Pe){for(let je=0;je<this._resolvers.length;je++){const pe=this._resolvers[je](Pe,Xe);if(pe)return Ae(pe)?new V(pe.url,null,pe.options):new V(pe,null)}}}return ct.\u0275fac=function(Xe){return new(Xe||ct)(n.\u0275\u0275inject(U.HttpClient,8),n.\u0275\u0275inject(G.DomSanitizer),n.\u0275\u0275inject(u.DOCUMENT,8),n.\u0275\u0275inject(n.ErrorHandler))},ct.\u0275prov=n.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac,providedIn:"root"}),ct})();function Ee(ct,pt,Xe,Pe,je){return ct||new te(pt,Xe,je,Pe)}const Oe={provide:te,deps:[[new n.Optional,new n.SkipSelf,te],[new n.Optional,U.HttpClient],G.DomSanitizer,n.ErrorHandler,[new n.Optional,u.DOCUMENT]],useFactory:Ee};function K(ct){return ct.cloneNode(!0)}function ie(ct,pt){return ct+":"+pt}function Ae(ct){return!(!ct.url||!ct.options)}const $=(0,h.mixinColor)(class{constructor(ct){this._elementRef=ct}}),ye=new n.InjectionToken("MAT_ICON_DEFAULT_OPTIONS"),Ce=new n.InjectionToken("mat-icon-location",{providedIn:"root",factory:De});function De(){const ct=(0,n.inject)(u.DOCUMENT),pt=ct?ct.location:null;return{getPathname:()=>pt?pt.pathname+pt.search:""}}const Be=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Se=Be.map(ct=>`[${ct}]`).join(", "),He=/^url\(['"]?#(.*?)['"]?\)$/;let dt=(()=>{class ct extends ${constructor(Xe,Pe,je,pe,Ye,Ve){super(Xe),this._iconRegistry=Pe,this._location=pe,this._errorHandler=Ye,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=f.w0.EMPTY,Ve&&(Ve.color&&(this.color=this.defaultColor=Ve.color),Ve.fontSet&&(this.fontSet=Ve.fontSet)),je||Xe.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(Xe){this._inline=(0,_.Ig)(Xe)}get svgIcon(){return this._svgIcon}set svgIcon(Xe){Xe!==this._svgIcon&&(Xe?this._updateSvgIcon(Xe):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Xe)}get fontSet(){return this._fontSet}set fontSet(Xe){const Pe=this._cleanupFontValue(Xe);Pe!==this._fontSet&&(this._fontSet=Pe,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Xe){const Pe=this._cleanupFontValue(Xe);Pe!==this._fontIcon&&(this._fontIcon=Pe,this._updateFontIconClasses())}_splitIconName(Xe){if(!Xe)return["",""];const Pe=Xe.split(":");switch(Pe.length){case 1:return["",Pe[0]];case 2:return Pe;default:throw Error(`Invalid icon name: "${Xe}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Xe=this._elementsWithExternalReferences;if(Xe&&Xe.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(Xe){this._clearSvgElement();const Pe=this._location.getPathname();this._previousPath=Pe,this._cacheChildrenWithExternalReferences(Xe),this._prependPathToReferences(Pe),this._elementRef.nativeElement.appendChild(Xe)}_clearSvgElement(){const Xe=this._elementRef.nativeElement;let Pe=Xe.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();Pe--;){const je=Xe.childNodes[Pe];(1!==je.nodeType||"svg"===je.nodeName.toLowerCase())&&je.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Xe=this._elementRef.nativeElement,Pe=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(je=>je.length>0);this._previousFontSetClass.forEach(je=>Xe.classList.remove(je)),Pe.forEach(je=>Xe.classList.add(je)),this._previousFontSetClass=Pe,this.fontIcon!==this._previousFontIconClass&&!Pe.includes("mat-ligature-font")&&(this._previousFontIconClass&&Xe.classList.remove(this._previousFontIconClass),this.fontIcon&&Xe.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Xe){return"string"==typeof Xe?Xe.trim().split(" ")[0]:Xe}_prependPathToReferences(Xe){const Pe=this._elementsWithExternalReferences;Pe&&Pe.forEach((je,pe)=>{je.forEach(Ye=>{pe.setAttribute(Ye.name,`url('${Xe}#${Ye.value}')`)})})}_cacheChildrenWithExternalReferences(Xe){const Pe=Xe.querySelectorAll(Se),je=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let pe=0;pe<Pe.length;pe++)Be.forEach(Ye=>{const Ve=Pe[pe],Ge=Ve.getAttribute(Ye),Y=Ge?Ge.match(He):null;if(Y){let Te=je.get(Ve);Te||(Te=[],je.set(Ve,Te)),Te.push({name:Ye,value:Y[1]})}})}_updateSvgIcon(Xe){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Xe){const[Pe,je]=this._splitIconName(Xe);Pe&&(this._svgNamespace=Pe),je&&(this._svgName=je),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(je,Pe).pipe((0,Z.q)(1)).subscribe(pe=>this._setSvgElement(pe),pe=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${Pe}:${je}! ${pe.message}`))})}}}return ct.\u0275fac=function(Xe){return new(Xe||ct)(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))},ct.\u0275cmp=n.\u0275\u0275defineComponent({type:ct,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(Xe,Pe){2&Xe&&(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(Xe,Pe){1&Xe&&(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}),ct})(),bt=(()=>{class ct{}return ct.\u0275fac=function(Xe){return new(Xe||ct)},ct.\u0275mod=n.\u0275\u0275defineNgModule({type:ct}),ct.\u0275inj=n.\u0275\u0275defineInjector({imports:[h.MatCommonModule,h.MatCommonModule]}),ct})()},1451:(H,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_MENU_CONTENT:()=>Se,MAT_MENU_DEFAULT_OPTIONS:()=>pe,MAT_MENU_PANEL:()=>Xe,MAT_MENU_SCROLL_STRATEGY:()=>Te,MatMenu:()=>Y,MatMenuContent:()=>dt,MatMenuItem:()=>je,MatMenuModule:()=>Fe,MatMenuTrigger:()=>ut,_MatMenuBase:()=>Ge,_MatMenuContentBase:()=>He,_MatMenuTriggerBase:()=>$e,fadeInItems:()=>De,matMenuAnimations:()=>Ce,transformMenu:()=>Be});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),g=a(5698),m=a(4482),C=a(5403),M=a(5032),O=a(4004),Z=a(5577);function U(W,ge){return ge?de=>(0,b.z)(ge.pipe((0,g.q)(1),function P(){return(0,m.e)((W,ge)=>{W.subscribe((0,C.x)(ge,M.Z))})}()),de.pipe(U(W))):(0,Z.z)((de,ke)=>W(de,ke).pipe((0,g.q)(1),function j(W){return(0,O.U)(()=>W)}(de)))}var G=a(5963);function B(W,ge=f.z){const de=(0,G.H)(W,ge);return U(()=>de)}var X=a(8675),oe=a(3900),he=a(2722),xe=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 gt=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(gt._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 gt=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(gt._onAnimationStart(tt))})("@transformMenu.done",function(tt){u.\u0275\u0275restoreView(de);const gt=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(gt._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,Be=Ce.transformMenu,Se=new u.InjectionToken("MatMenuContent");let He=(()=>{class W{constructor(de,ke,tt,gt,Ft,At,Yt){this._template=de,this._componentFactoryResolver=ke,this._appRef=tt,this._injector=gt,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})(),dt=(()=>{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:[["ng-template","matMenuContent",""]],features:[u.\u0275\u0275ProvidersFeature([{provide:Se,useExisting:W}]),u.\u0275\u0275InheritDefinitionFeature]}),W})();const Xe=new u.InjectionToken("MAT_MENU_PANEL"),Pe=(0,V.mixinDisableRipple)((0,V.mixinDisabled)(class{}));let je=(()=>{class W extends Pe{constructor(de,ke,tt,gt,Ft){var At;super(),this._elementRef=de,this._document=ke,this._focusMonitor=tt,this._parentMenu=gt,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==gt?void 0:gt.addItem)||void 0===At||At.call(gt,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 gt=0;gt<tt.length;gt++)tt[gt].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(Xe,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(gt){return ke._checkDisabled(gt)})("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 pe=new u.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function Ye(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Ve=0,Ge=(()=>{class W{constructor(de,ke,tt,gt){this._elementRef=de,this._ngZone=ke,this._defaultOptions=tt,this._changeDetectorRef=gt,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-"+Ve++}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 gt=de.toArray(),Ft=Math.max(0,Math.min(gt.length-1,tt.activeItemIndex||0));gt[Ft]&&!gt[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,g.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}`,gt=Object.keys(this._classList).find(Ft=>Ft.startsWith(this._elevationPrefix));(!gt||gt===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 gt=this._classList;gt["mat-menu-before"]="before"===de,gt["mat-menu-after"]="after"===de,gt["mat-menu-above"]="above"===ke,gt["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(pe),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,je,5),u.\u0275\u0275contentQuery(tt,je,4)),2&de){let gt;u.\u0275\u0275queryRefresh(gt=u.\u0275\u0275loadQuery())&&(ke.lazyContent=gt.first),u.\u0275\u0275queryRefresh(gt=u.\u0275\u0275loadQuery())&&(ke._allItems=gt),u.\u0275\u0275queryRefresh(gt=u.\u0275\u0275loadQuery())&&(ke.items=gt)}},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 Ge{constructor(de,ke,tt,gt){super(de,ke,tt,gt),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(pe),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:Xe,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"),Le={provide:Te,deps:[te.aV],useFactory:function Ue(W){return()=>W.scrollStrategies.reposition()}},ve=(0,Ee.i$)({passive:!0});let $e=(()=>{class W{constructor(de,ke,tt,gt,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=Ze=>{(0,n.yG)(Ze)||(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=gt,this._parentMaterialMenu=Ft instanceof Ge?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(),gt=tt.positionStrategy;this._setPosition(de,gt),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 Ge&&(de._startAnimation(),de._directDescendantItems.changes.pipe((0,he.R)(de.close)).subscribe(()=>{gt.withLockedPosition(!1).reapplyLastPosition(),gt.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 Ge?(tt._resetAnimation(),tt.lazyContent?tt._animationDone.pipe((0,xe.h)(gt=>"void"===gt.toState),(0,g.q)(1),(0,he.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 gt="start"===tt.connectionPair.overlayX?"after":"before",Ft="top"===tt.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>de.setPositionClasses(gt,Ft)):de.setPositionClasses(gt,Ft)})}_setPosition(de,ke){let[tt,gt]="before"===de.xPosition?["end","start"]:["start","end"],[Ft,At]="above"===de.yPosition?["bottom","top"]:["top","bottom"],[Yt,Nt]=[Ft,At],[rt,Ze]=[tt,gt],be=0;if(this.triggersSubmenu()){if(Ze=tt="before"===de.xPosition?"start":"end",gt=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:gt,originY:Yt,overlayX:Ze,overlayY:Ft,offsetY:be},{originX:tt,originY:Nt,overlayX:rt,overlayY:At,offsetY:-be},{originX:gt,originY:Nt,overlayX:Ze,overlayY:At,offsetY:-be}])}_menuClosingActions(){const de=this._overlayRef.backdropClick(),ke=this._overlayRef.detachments(),tt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,p.of)(),gt=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,xe.h)(Ft=>Ft!==this._menuItemInstance),(0,xe.h)(()=>this._menuOpen)):(0,p.of)();return(0,d.T)(de,tt,gt,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,xe.h)(de=>de===this._menuItemInstance&&!de.disabled),B(0,y.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Ge&&this.menu._isAnimating?this.menu._animationDone.pipe((0,g.q)(1),B(0,y.E),(0,he.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(Xe,8),u.\u0275\u0275directiveInject(je,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(gt){return ke._handleClick(gt)})("mousedown",function(gt){return ke._handleMousedown(gt)})("keydown",function(gt){return ke._handleKeydown(gt)}),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})(),ut=(()=>{class W extends $e{}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})(),Fe=(()=>{class W{}return W.\u0275fac=function(de){return new(de||W)},W.\u0275mod=u.\u0275\u0275defineNgModule({type:W}),W.\u0275inj=u.\u0275\u0275defineInjector({providers:[Le],imports:[q.CommonModule,V.MatCommonModule,V.MatRippleModule,te.U8,K.ZD,V.MatCommonModule]}),W})()},4999:(H,o,a)=>{"use strict";a.r(o),a.d(o,{MatCell:()=>rn,MatCellDef:()=>_t,MatColumnDef:()=>at,MatFooterCell:()=>Ht,MatFooterCellDef:()=>Ie,MatFooterRow:()=>_e,MatFooterRowDef:()=>vn,MatHeaderCell:()=>Dt,MatHeaderCellDef:()=>ee,MatHeaderRow:()=>Ke,MatHeaderRowDef:()=>Xt,MatNoDataRow:()=>lt,MatRecycleRows:()=>yt,MatRow:()=>et,MatRowDef:()=>qe,MatTable:()=>We,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),g=a(2722),m=a(5698),C=a(226),M=a(925),P=a(495);const O=[[["caption"]],[["colgroup"],["col"]]],j=["caption","colgroup, col"];function Z(ue,Qe){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 U(ue,Qe){if(1&ue&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ue){const ne=Qe.$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(...Qe){super(...Qe),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(Qe){const ne=this._sticky;this._sticky=(0,h.Ig)(Qe),this._hasStickyChanged=ne!==this._sticky}hasStickyChanged(){const Qe=this._hasStickyChanged;return this._hasStickyChanged=!1,Qe}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})(),he=(()=>{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})(),xe=(()=>{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,he,5),n.\u0275\u0275contentQuery(ft,xe,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(Qe,ne){ne.nativeElement.classList.add(...Qe._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,g.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 Be?ne.headerCell.template:this instanceof dt?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 Be=(()=>{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 He=G(Se);let dt=(()=>{class ue extends He{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})(),bt=(()=>{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})(),ct=(()=>{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})(),pt=(()=>{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:[ct],encapsulation:2}),ue})(),Xe=(()=>{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:[ct],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:[ct],encapsulation:2}),ue})(),je=(()=>{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 pe=["top","bottom","left","right"];class Ye{constructor(Qe,ne,Ne,ft,Tt=!0,xt=!0,Kt){this._isNativeHtmlTable=Qe,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(Qe,ne){const Ne=[];for(const ft of Qe)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(Qe,ne,Ne,ft=!0){if(!Qe.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=Qe[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 Qe)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(Qe,ne,Ne){if(!this._isBrowser)return;const ft="bottom"===Ne?Qe.slice().reverse():Qe,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(Qe,ne){if(!this._isNativeHtmlTable)return;const Ne=Qe.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{ne.some(ft=>!ft)?this._removeStickyStyle(Ne,["bottom"]):this._addStickyStyle(Ne,"bottom",0,!1)})}_removeStickyStyle(Qe,ne){for(const ft of ne)Qe.style[ft]="",Qe.classList.remove(this._borderCellCss[ft]);pe.some(ft=>-1===ne.indexOf(ft)&&Qe.style[ft])?Qe.style.zIndex=this._getCalculatedZIndex(Qe):(Qe.style.zIndex="",this._needsPositionStickyOnElement&&(Qe.style.position=""),Qe.classList.remove(this._stickCellCss))}_addStickyStyle(Qe,ne,Ne,ft){Qe.classList.add(this._stickCellCss),ft&&Qe.classList.add(this._borderCellCss[ne]),Qe.style[ne]=`${Ne}px`,Qe.style.zIndex=this._getCalculatedZIndex(Qe),this._needsPositionStickyOnElement&&(Qe.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Qe){const ne={top:100,bottom:10,left:1,right:1};let Ne=0;for(const ft of pe)Qe.style[ft]&&(Ne+=ne[ft]);return Ne?`${Ne}`:""}_getCellWidths(Qe,ne=!0){if(!ne&&this._cachedCellWidths.length)return this._cachedCellWidths;const Ne=[],ft=Qe.children;for(let Tt=0;Tt<ft.length;Tt++)Ne.push(ft[Tt].getBoundingClientRect().width);return this._cachedCellWidths=Ne,Ne}_getStickyStartColumnPositions(Qe,ne){const Ne=[];let ft=0;for(let Tt=0;Tt<Qe.length;Tt++)ne[Tt]&&(Ne[Tt]=ft,ft+=Qe[Tt]);return Ne}_getStickyEndColumnPositions(Qe,ne){const Ne=[];let ft=0;for(let Tt=Qe.length;Tt>0;Tt--)ne[Tt]&&(Ne[Tt]=ft,ft+=Qe[Tt]);return Ne}}const $e=new n.InjectionToken("CDK_SPL");let Fe=(()=>{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})(),gt=(()=>{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,g.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,g.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,g.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))ct.mostRecentCellOutlet&&ct.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 Ye(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,g.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(P.rL),n.\u0275\u0275directiveInject($e,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,je,5),n.\u0275\u0275contentQuery(ft,q,5),n.\u0275\u0275contentQuery(ft,bt,5),n.\u0275\u0275contentQuery(ft,Be,5),n.\u0275\u0275contentQuery(ft,dt,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(Fe,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:$e,useValue:null}])],ngContentSelectors:j,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ne,Ne){1&ne&&(n.\u0275\u0275projectionDef(O),n.\u0275\u0275projection(0),n.\u0275\u0275projection(1,1),n.\u0275\u0275elementContainer(2,0)(3,1)(4,2)(5,3))},dependencies:[Fe,W,ge,de],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),ue})();function Ft(ue,Qe){return ue.concat(Array.from(Qe))}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(gt,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(he,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,Z,2,3,"th",1),n.\u0275\u0275template(2,U,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[oe,he,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:[P.Cl]}),ue})();var rt=a(508),Ze=a(6451),be=a(9841),me=a(4004);const ae=[[["caption"]],[["colgroup"],["col"]]],le=["caption","colgroup, col"];function L(ue,Qe){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,Qe){if(1&ue&&(n.\u0275\u0275elementStart(0,"td",4),n.\u0275\u0275text(1),n.\u0275\u0275elementEnd()),2&ue){const ne=Qe.$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 yt=(()=>{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})(),We=(()=>{class ue extends gt{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=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:gt,useExisting:ue},{provide:B,useExisting:ue},{provide:ie,useClass:Ae},{provide:$e,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:[Fe,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})(),_t=(()=>{class ue extends oe{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=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 he{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","matHeaderCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:he,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),Ie=(()=>{class ue extends xe{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["","matFooterCellDef",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:xe,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 Qe;return function(Ne){return(Qe||(Qe=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 Qe;return function(Ne){return(Qe||(Qe=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 Qe;return function(Ne){return(Qe||(Qe=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 Qe;return function(Ne){return(Qe||(Qe=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 Be{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=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:Be,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),vn=(()=>{class ue extends dt{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=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:dt,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),qe=(()=>{class ue extends bt{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=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:bt,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),Ke=(()=>{class ue extends pt{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=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:pt,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ne,Ne){1&ne&&n.\u0275\u0275elementContainer(0,0)},dependencies:[ct],encapsulation:2}),ue})(),_e=(()=>{class ue extends Xe{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=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:Xe,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ne,Ne){1&ne&&n.\u0275\u0275elementContainer(0,0)},dependencies:[ct],encapsulation:2}),ue})(),et=(()=>{class ue extends Pe{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=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:[ct],encapsulation:2}),ue})(),lt=(()=>{class ue extends je{constructor(){super(...arguments),this._contentClassName="mat-no-data-row"}}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(ue)))(Ne||ue)}}(),ue.\u0275dir=n.\u0275\u0275defineDirective({type:ue,selectors:[["ng-template","matNoDataRow",""]],features:[n.\u0275\u0275ProvidersFeature([{provide:je,useExisting:ue}]),n.\u0275\u0275InheritDefinitionFeature]}),ue})(),It=(()=>{class ue extends At{}return ue.\u0275fac=function(){let Qe;return function(Ne){return(Qe||(Qe=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,L,2,3,"th",1),n.\u0275\u0275template(2,we,2,3,"td",2),n.\u0275\u0275elementContainerEnd())},dependencies:[ee,at,_t,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(Qe=[]){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(Qe),this._updateChangeSubscription()}get data(){return this._data.value}set data(Qe){Qe=Array.isArray(Qe)?Qe:[],this._data.next(Qe),this._renderChangesSubscription||this._filterData(Qe)}get filter(){return this._filter.value}set filter(Qe){this._filter.next(Qe),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Qe){this._sort=Qe,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(Qe){this._paginator=Qe,this._updateChangeSubscription()}_updateChangeSubscription(){var Qe;const ne=this._sort?(0,Ze.T)(this._sort.sortChange,this._sort.initialized):(0,b.of)(null),Ne=this._paginator?(0,Ze.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===(Qe=this._renderChangesSubscription)||void 0===Qe||Qe.unsubscribe(),this._renderChangesSubscription=Kt.subscribe(Ut=>this._renderData.next(Ut))}_filterData(Qe){return this.filteredData=null==this.filter||""===this.filter?Qe:Qe.filter(ne=>this.filterPredicate(ne,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Qe){return this.sort?this.sortData(Qe.slice(),this.sort):Qe}_pageData(Qe){if(!this.paginator)return Qe;const ne=this.paginator.pageIndex*this.paginator.pageSize;return Qe.slice(ne,ne+this.paginator.pageSize)}_updatePaginator(Qe){Promise.resolve().then(()=>{const ne=this.paginator;if(ne&&(ne.length=Qe,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 Qe;null===(Qe=this._renderChangesSubscription)||void 0===Qe||Qe.unsubscribe(),this._renderChangesSubscription=null}}class Hn extends gn{}},3251:(H,o,a)=>{"use strict";a.r(o),a.d(o,{MAT_TAB:()=>pe,MAT_TABS_CONFIG:()=>ve,MAT_TAB_GROUP:()=>Ge,MatInkBar:()=>pt,MatTab:()=>Y,MatTabBody:()=>ze,MatTabBodyPortal:()=>Ue,MatTabChangeEvent:()=>At,MatTabContent:()=>Pe,MatTabGroup:()=>rt,MatTabHeader:()=>gt,MatTabLabel:()=>Ye,MatTabLabelWrapper:()=>ut,MatTabLink:()=>L,MatTabNav:()=>me,MatTabNavPanel:()=>we,MatTabsModule:()=>yt,_MAT_INK_BAR_POSITIONER:()=>bt,_MatTabBodyBase:()=>Le,_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),g=a(5684),m=a(7579),C=a(727),M=a(4968),P=a(9646),O=a(6451),j=a(515),Z=a(8306),U=a(5963),G=a(1777),B=a(226),X=a(3191),oe=a(1159),he=a(925),xe=a(495);function it(We,_t){1&We&&r.\u0275\u0275projection(0)}const z=["*"];function q(We,_t){}const V=function(We){return{animationDuration:We}},te=function(We,_t){return{value:We,params:_t}},Ee=["tabListContainer"],Oe=["tabList"],K=["tabListInner"],ie=["nextPaginator"],Ae=["previousPaginator"],$=["tabBodyWrapper"],ye=["tabHeader"];function Ce(We,_t){}function De(We,_t){if(1&We&&r.\u0275\u0275template(0,Ce,0,0,"ng-template",10),2&We){const ee=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275property("cdkPortalOutlet",ee.templateLabel)}}function Be(We,_t){if(1&We&&r.\u0275\u0275text(0),2&We){const ee=r.\u0275\u0275nextContext().$implicit;r.\u0275\u0275textInterpolate(ee.textLabel)}}function Se(We,_t){if(1&We){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,Be,1,1,"ng-template",null,9,r.\u0275\u0275templateRefExtractor),r.\u0275\u0275elementEnd()()}if(2&We){const ee=_t.$implicit,Ie=_t.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 He(We,_t){if(1&We){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&We){const ee=_t.$implicit,Ie=_t.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 dt=["mat-tab-nav-bar",""],bt=new r.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:function ct(){return _t=>({left:_t?(_t.offsetLeft||0)+"px":"0",width:_t?(_t.offsetWidth||0)+"px":"0"})}});let pt=(()=>{class We{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 We.\u0275fac=function(ee){return new(ee||We)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(bt),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},We.\u0275dir=r.\u0275\u0275defineDirective({type:We,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)}}),We})();const Xe=new r.InjectionToken("MatTabContent");let Pe=(()=>{class We{constructor(ee){this.template=ee}}return We.\u0275fac=function(ee){return new(ee||We)(r.\u0275\u0275directiveInject(r.TemplateRef))},We.\u0275dir=r.\u0275\u0275defineDirective({type:We,selectors:[["","matTabContent",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:Xe,useExisting:We}])]}),We})();const je=new r.InjectionToken("MatTabLabel"),pe=new r.InjectionToken("MAT_TAB");let Ye=(()=>{class We extends _.ig{constructor(ee,Ie,at){super(ee,Ie),this._closestTab=at}}return We.\u0275fac=function(ee){return new(ee||We)(r.\u0275\u0275directiveInject(r.TemplateRef),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(pe,8))},We.\u0275dir=r.\u0275\u0275defineDirective({type:We,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[r.\u0275\u0275ProvidersFeature([{provide:je,useExisting:We}]),r.\u0275\u0275InheritDefinitionFeature]}),We})();const Ve=(0,c.mixinDisabled)(class{}),Ge=new r.InjectionToken("MAT_TAB_GROUP");let Y=(()=>{class We extends Ve{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 We.\u0275fac=function(ee){return new(ee||We)(r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject(Ge,8))},We.\u0275cmp=r.\u0275\u0275defineComponent({type:We,selectors:[["mat-tab"]],contentQueries:function(ee,Ie,at){if(1&ee&&(r.\u0275\u0275contentQuery(at,je,5),r.\u0275\u0275contentQuery(at,Xe,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:pe,useExisting:We}]),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}),We})();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 Ue=(()=>{class We 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 We.\u0275fac=function(ee){return new(ee||We)(r.\u0275\u0275directiveInject(r.ComponentFactoryResolver),r.\u0275\u0275directiveInject(r.ViewContainerRef),r.\u0275\u0275directiveInject((0,r.forwardRef)(()=>ze)),r.\u0275\u0275directiveInject(u.DOCUMENT))},We.\u0275dir=r.\u0275\u0275defineDirective({type:We,selectors:[["","matTabBodyHost",""]],features:[r.\u0275\u0275InheritDefinitionFeature]}),We})(),Le=(()=>{class We{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 We.\u0275fac=function(ee){return new(ee||We)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(B.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},We.\u0275dir=r.\u0275\u0275defineDirective({type:We,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),We})(),ze=(()=>{class We extends Le{constructor(ee,Ie,at){super(ee,Ie,at)}}return We.\u0275fac=function(ee){return new(ee||We)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(B.Is,8),r.\u0275\u0275directiveInject(r.ChangeDetectorRef))},We.\u0275cmp=r.\u0275\u0275defineComponent({type:We,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:[Ue],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]}}),We})();const ve=new r.InjectionToken("MAT_TABS_CONFIG"),$e=(0,c.mixinDisabled)(class{});let ut=(()=>{class We extends $e{constructor(ee){super(),this.elementRef=ee}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return We.\u0275fac=function(ee){return new(ee||We)(r.\u0275\u0275directiveInject(r.ElementRef))},We.\u0275dir=r.\u0275\u0275defineDirective({type:We,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]}),We})();const Fe=(0,he.i$)({passive:!0});let ke=(()=>{class We{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",Fe).pipe((0,f.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,M.R)(this._nextPaginator.nativeElement,"touchstart",Fe).pipe((0,f.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const ee=this._dir?this._dir.change:(0,P.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,O.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?j.E:this._items.changes.pipe((0,p.O)(this._items),(0,b.w)(ee=>new Z.y(Ie=>this._ngZone.runOutsideAngular(()=>{const at=new ResizeObserver(()=>{Ie.next()});return ee.forEach(Dt=>{at.observe(Dt.elementRef.nativeElement)}),()=>{at.disconnect()}}))),(0,g.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,U.H)(650,100).pipe((0,f.R)((0,O.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 We.\u0275fac=function(ee){return new(ee||We)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(xe.rL),r.\u0275\u0275directiveInject(B.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(he.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},We.\u0275dir=r.\u0275\u0275defineDirective({type:We,inputs:{disablePagination:"disablePagination"}}),We})(),tt=(()=>{class We 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 We.\u0275fac=function(ee){return new(ee||We)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(xe.rL),r.\u0275\u0275directiveInject(B.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(he.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},We.\u0275dir=r.\u0275\u0275defineDirective({type:We,inputs:{disableRipple:"disableRipple"},features:[r.\u0275\u0275InheritDefinitionFeature]}),We})(),gt=(()=>{class We extends tt{constructor(ee,Ie,at,Dt,Ht,rn,Xt){super(ee,Ie,at,Dt,Ht,rn,Xt)}}return We.\u0275fac=function(ee){return new(ee||We)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(xe.rL),r.\u0275\u0275directiveInject(B.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(he.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},We.\u0275cmp=r.\u0275\u0275defineComponent({type:We,selectors:[["mat-tab-header"]],contentQueries:function(ee,Ie,at){if(1&ee&&r.\u0275\u0275contentQuery(at,ut,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(pt,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,pt],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}),We})(),Ft=0;class At{}const Yt=(0,c.mixinColor)((0,c.mixinDisableRipple)(class{constructor(We){this._elementRef=We}}),"primary");let Nt=(()=>{class We 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,O.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 We.\u0275fac=function(ee){return new(ee||We)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(ve,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},We.\u0275dir=r.\u0275\u0275defineDirective({type:We,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]}),We})(),rt=(()=>{class We extends Nt{constructor(ee,Ie,at,Dt){super(ee,Ie,at,Dt)}}return We.\u0275fac=function(ee){return new(ee||We)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(ve,8),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},We.\u0275cmp=r.\u0275\u0275defineComponent({type:We,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:Ge,useExisting:We}]),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,He,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,ut,ze,gt],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}),We})(),Ze=0,be=(()=>{class We 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 We.\u0275fac=function(ee){return new(ee||We)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(B.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(xe.rL),r.\u0275\u0275directiveInject(he.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},We.\u0275dir=r.\u0275\u0275defineDirective({type:We,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[r.\u0275\u0275InheritDefinitionFeature]}),We})(),me=(()=>{class We extends be{constructor(ee,Ie,at,Dt,Ht,rn,Xt){super(ee,Ie,at,Dt,Ht,rn,Xt)}}return We.\u0275fac=function(ee){return new(ee||We)(r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(B.Is,8),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(r.ChangeDetectorRef),r.\u0275\u0275directiveInject(xe.rL),r.\u0275\u0275directiveInject(he.t4),r.\u0275\u0275directiveInject(r.ANIMATION_MODULE_TYPE,8))},We.\u0275cmp=r.\u0275\u0275defineComponent({type:We,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(ee,Ie,at){if(1&ee&&r.\u0275\u0275contentQuery(at,L,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(pt,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:dt,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,pt],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}),We})();const ae=(0,c.mixinTabIndex)((0,c.mixinDisableRipple)((0,c.mixinDisabled)(class{})));let le=(()=>{class We 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-"+Ze++,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 We.\u0275fac=function(ee){return new(ee||We)(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))},We.\u0275dir=r.\u0275\u0275defineDirective({type:We,inputs:{active:"active",id:"id"},features:[r.\u0275\u0275InheritDefinitionFeature]}),We})(),L=(()=>{class We 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 We.\u0275fac=function(ee){return new(ee||We)(r.\u0275\u0275directiveInject(me),r.\u0275\u0275directiveInject(r.ElementRef),r.\u0275\u0275directiveInject(r.NgZone),r.\u0275\u0275directiveInject(he.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))},We.\u0275dir=r.\u0275\u0275defineDirective({type:We,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]}),We})(),we=(()=>{class We{constructor(){this.id="mat-tab-nav-panel-"+Ze++}}return We.\u0275fac=function(ee){return new(ee||We)},We.\u0275cmp=r.\u0275\u0275defineComponent({type:We,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}),We})(),yt=(()=>{class We{}return We.\u0275fac=function(ee){return new(ee||We)},We.\u0275mod=r.\u0275\u0275defineNgModule({type:We}),We.\u0275inj=r.\u0275\u0275defineInjector({imports:[u.CommonModule,c.MatCommonModule,_.eL,c.MatRippleModule,h.Q8,n.rt,c.MatCommonModule]}),We})()},7238:(H,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:()=>he,MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY_PROVIDER:()=>xe,MatTooltip:()=>V,MatTooltipModule:()=>Oe,SCROLL_THROTTLE_MS:()=>j,TOOLTIP_PANEL_CLASS:()=>Z,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),g=a(7579),m=a(2722),C=a(5698),M=a(226),P=a(1777);const O=["tooltip"],j=20,Z="mat-tooltip-panel",U="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 he(ie){return()=>ie.scrollStrategies.reposition({scrollThrottle:j})}const xe={provide:oe,deps:[n.aV],useFactory:he},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,Be,Se,He,dt,bt,ct,pt,Xe){this._overlay=$,this._elementRef=ye,this._scrollDispatcher=Ce,this._viewContainerRef=De,this._ngZone=Be,this._platform=Se,this._ariaDescriber=He,this._focusMonitor=dt,this._dir=ct,this._defaultOptions=pt,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 g.x,this._scrollStrategy=bt,this._document=Xe,pt&&(pt.position&&(this.position=pt.position),pt.touchGestures&&(this.touchGestures=pt.touchGestures)),ct.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}-${U}`,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:Be}=this._invertPosition(Ce.originX,Ce.originY);return{main:Ce,fallback:{originX:De,originY:Be}}}_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:Be}=this._invertPosition(Ce.overlayX,Ce.overlayY);return{main:Ce,fallback:{overlayX:De,overlayY:Be}}}_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 Be;if(Be="center"===ye?this._dir&&"rtl"===this._dir.value?"end"===Ce?"left":"right":"start"===Ce?"left":"right":"bottom"===ye&&"top"===De?"above":"below",Be!==this._currentPosition){const Se=this._overlayRef;if(Se){const He=`${this._cssClassPrefix}-${U}-`;Se.removePanelClass(He+this._currentPosition),Se.addPanelClass(He+Be)}this._currentPosition=Be}}_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,Be,Se,He,dt,bt,ct,pt,Xe){super($,ye,Ce,De,Be,Se,He,dt,bt,ct,pt,Xe),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 g.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 Be=getComputedStyle(ye);("0s"===Be.getPropertyValue("animation-duration")||"none"===Be.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(O,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:[xe],imports:[h.rt,_.CommonModule,n.U8,r.MatCommonModule,r.MatCommonModule,c.ZD]}),ie})();const K={tooltipState:(0,P.X$)("state",[(0,P.SB)("initial, void, hidden",(0,P.oB)({opacity:0,transform:"scale(0)"})),(0,P.SB)("visible",(0,P.oB)({transform:"scale(1)"})),(0,P.eR)("* => visible",(0,P.jt)("200ms cubic-bezier(0, 0, 0.2, 1)",(0,P.F4)([(0,P.oB)({opacity:0,transform:"scale(0)",offset:0}),(0,P.oB)({opacity:.5,transform:"scale(0.99)",offset:.5}),(0,P.oB)({opacity:1,transform:"scale(1)",offset:1})]))),(0,P.eR)("* => hidden",(0,P.jt)("100ms cubic-bezier(0, 0, 0.2, 1)",(0,P.oB)({opacity:0})))])}},6360:(H,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(Q){return new n.\u0275RuntimeError(3e3,!1)}function Se(){return"undefined"!=typeof window&&void 0!==window.document}function He(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function dt(Q){switch(Q.length){case 0:return new _.ZN;case 1:return Q[0];default:return new _.ZE(Q)}}function bt(Q,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(Q){return new n.\u0275RuntimeError(3502,!1)}();return ot}function ct(Q,E,T,R){switch(E){case"start":Q.onStart(()=>R(T&&pt(T,"start",Q)));break;case"done":Q.onDone(()=>R(T&&pt(T,"done",Q)));break;case"destroy":Q.onDestroy(()=>R(T&&pt(T,"destroy",Q)))}}function pt(Q,E,T){const R=T.totalTime,Me=Xe(Q.element,Q.triggerName,Q.fromState,Q.toState,E||Q.phaseName,null==R?Q.totalTime:R,!!T.disabled),nt=Q._data;return null!=nt&&(Me._data=nt),Me}function Xe(Q,E,T,R,J="",Me=0,nt){return{element:Q,triggerName:E,fromState:T,toState:R,phaseName:J,totalTime:Me,disabled:!!nt}}function Pe(Q,E,T){let R=Q.get(E);return R||Q.set(E,R=T),R}function je(Q){const E=Q.indexOf(":");return[Q.substring(1,E),Q.slice(E+1)]}let pe=(Q,E)=>!1,Ye=(Q,E,T)=>[],Ve=null;function Ge(Q){const E=Q.parentNode||Q.host;return E===Ve?null:E}(He()||"undefined"!=typeof Element)&&(Se()?(Ve=(()=>document.documentElement)(),pe=(Q,E)=>{for(;E;){if(E===Q)return!0;E=Ge(E)}return!1}):pe=(Q,E)=>Q.contains(E),Ye=(Q,E,T)=>{if(T)return Array.from(Q.querySelectorAll(E));const R=Q.querySelector(E);return R?[R]:[]});let Ue=null,Le=!1;const ut=pe,Fe=Ye;let ge=(()=>{class Q{validateStyleProperty(T){return function ze(Q){Ue||(Ue=function $e(){return"undefined"!=typeof document?document.body:null}()||{},Le=!!Ue.style&&"WebkitAppearance"in Ue.style);let E=!0;return Ue.style&&!function Te(Q){return"ebkit"==Q.substring(1,6)}(Q)&&(E=Q in Ue.style,!E&&Le&&(E="Webkit"+Q.charAt(0).toUpperCase()+Q.slice(1)in Ue.style)),E}(T)}matchesElement(T,R){return!1}containsElement(T,R){return ut(T,R)}getParentElement(T){return Ge(T)}query(T,R,J){return Fe(T,R,J)}computeStyle(T,R,J){return J||""}animate(T,R,J,Me,nt,ot=[],ht){return new _.ZN(J,Me)}}return Q.\u0275fac=function(T){return new(T||Q)},Q.\u0275prov=n.\u0275\u0275defineInjectable({token:Q,factory:Q.\u0275fac}),Q})(),de=(()=>{class Q{}return Q.NOOP=new ge,Q})();const Ft="ng-enter",At="ng-leave",Yt="ng-trigger",Nt=".ng-trigger",rt="ng-animating",Ze=".ng-animating";function be(Q){if("number"==typeof Q)return Q;const E=Q.match(/^(-?[\.\d]+)(m?s)/);return!E||E.length<2?0:me(parseFloat(E[1]),E[2])}function me(Q,E){return"s"===E?1e3*Q:Q}function ae(Q,E,T){return Q.hasOwnProperty("duration")?Q:function le(Q,E,T){let J,Me=0,nt="";if("string"==typeof Q){const ot=Q.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=Q;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}}(Q,E,T)}function L(Q,E={}){return Object.keys(Q).forEach(T=>{E[T]=Q[T]}),E}function we(Q){const E=new Map;return Object.keys(Q).forEach(T=>{E.set(T,Q[T])}),E}function _t(Q,E=new Map,T){if(T)for(let[R,J]of T)E.set(R,J);for(let[R,J]of Q)E.set(R,J);return E}function ee(Q,E,T){return T?E+":"+T+";":""}function Ie(Q){let E="";for(let T=0;T<Q.style.length;T++){const R=Q.style.item(T);E+=ee(0,R,Q.style.getPropertyValue(R))}for(const T in Q.style)Q.style.hasOwnProperty(T)&&!T.startsWith("_")&&(E+=ee(0,lt(T),Q.style[T]));Q.setAttribute("style",E)}function at(Q,E,T){Q.style&&(E.forEach((R,J)=>{const Me=et(J);T&&!T.has(J)&&T.set(J,Q.style[Me]),Q.style[Me]=R}),He()&&Ie(Q))}function Dt(Q,E){Q.style&&(E.forEach((T,R)=>{const J=et(R);Q.style[J]=""}),He()&&Ie(Q))}function Ht(Q){return Array.isArray(Q)?1==Q.length?Q[0]:(0,_.vP)(Q):Q}const Xt=new RegExp("{{\\s*(.+?)\\s*}}","g");function vn(Q){let E=[];if("string"==typeof Q){let T;for(;T=Xt.exec(Q);)E.push(T[1]);Xt.lastIndex=0}return E}function qe(Q,E,T){const R=Q.toString(),J=R.replace(Xt,(Me,nt)=>{let ot=E[nt];return null==ot&&(T.push(function y(Q){return new n.\u0275RuntimeError(3003,!1)}()),ot=""),ot.toString()});return J==R?Q:J}function Ke(Q){const E=[];let T=Q.next();for(;!T.done;)E.push(T.value),T=Q.next();return E}const _e=/-+([a-z0-9])/g;function et(Q){return Q.replace(_e,(...E)=>E[1].toUpperCase())}function lt(Q){return Q.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Wt(Q,E,T){switch(E.type){case 7:return Q.visitTrigger(E,T);case 0:return Q.visitState(E,T);case 1:return Q.visitTransition(E,T);case 2:return Q.visitSequence(E,T);case 3:return Q.visitGroup(E,T);case 4:return Q.visitAnimate(E,T);case 5:return Q.visitKeyframes(E,T);case 6:return Q.visitStyle(E,T);case 8:return Q.visitReference(E,T);case 9:return Q.visitAnimateChild(E,T);case 10:return Q.visitAnimateRef(E,T);case 11:return Q.visitQuery(E,T);case 12:return Q.visitStagger(E,T);default:throw function f(Q){return new n.\u0275RuntimeError(3004,!1)}()}}function yn(Q,E){return window.getComputedStyle(Q)[E]}function xt(Q,E){const T=[];return"string"==typeof Q?Q.split(/\s*,\s*/).forEach(R=>function Kt(Q,E,T){if(":"==Q[0]){const ht=function Ut(Q,E){switch(Q){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 he(Q){return new n.\u0275RuntimeError(3016,!1)}()),"* => *"}}(Q,T);if("function"==typeof ht)return void E.push(ht);Q=ht}const R=Q.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==R||R.length<4)return T.push(function oe(Q){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(Q),T}const _n=new Set(["true","1"]),dn=new Set(["false","0"]);function ln(Q,E){const T=_n.has(Q)||dn.has(Q),R=_n.has(E)||dn.has(E);return(J,Me)=>{let nt="*"==Q||Q==J,ot="*"==E||E==Me;return!nt&&T&&"boolean"==typeof J&&(nt=J?_n.has(Q):dn.has(Q)),!ot&&R&&"boolean"==typeof Me&&(ot=Me?_n.has(E):dn.has(E)),nt&&ot}}const zn=new RegExp("s*:selfs*,?","g");function cn(Q,E,T,R){return new kn(Q).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 g(){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&&(Ke(Me.values()),T.errors.push(function C(Q,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(Q,E){if(Q.hasOwnProperty("duration"))return Q;if("number"==typeof Q)return Ni(ae(Q,E).duration,0,"");const T=Q;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 O(Q,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(Q,E,T){const R=E.params||{},J=vn(Q);J.length&&J.forEach(Me=>{R.hasOwnProperty(Me)||T.push(function p(Q){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 j(){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(Q){if("string"==typeof Q)return null;let E=null;if(Array.isArray(Q))Q.forEach(T=>{if(T instanceof Map&&T.has("offset")){const R=T;E=parseFloat(R.get("offset")),R.delete("offset")}});else if(Q instanceof Map&&Q.has("offset")){const T=Q;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 Z(){return new n.\u0275RuntimeError(3012,!1)}()),ot&&T.errors.push(function U(){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(Q){const E=!!Q.split(/\s*,\s*/).find(T=>":self"==T);return E&&(Q=Q.replace(zn,"")),Q=Q.replace(/@\*/g,Nt).replace(/@\w+/g,T=>Nt+"-"+T.slice(1)).replace(/:animating/g,Ze),[Q,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(Q){return Q?(Q=L(Q)).params&&(Q.params=function Nn(Q){return Q?L(Q):null}(Q.params)):Q={},Q}function Ni(Q,E,T){return{duration:Q,delay:E,easing:T}}function Wi(Q,E,T,R,J,Me,nt=null,ot=!1){return{type:1,element:Q,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(Q,E,T,R,J,Me=new Map,nt=new Map,ot,ht,wt=[]){return(new Xr).buildKeyframes(Q,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(Q){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(Q,E){const T=new Map;let R;return Q.forEach(J=>{if("*"===J){R=R||E.keys();for(let Me of R)T.set(Me,_.l3)}else _t(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=_t(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?Ke(E.values()):[],nt=T.size?Ke(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=_t(E[0]);ht.set("offset",0),Me.push(ht);const wt=_t(E[0]);wt.set("offset",Yi(ot)),Me.push(wt);const Pt=E.length-1;for(let $t=1;$t<=Pt;$t++){let an=_t(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(Q,E=3){const T=Math.pow(10,E-1);return Math.round(Q*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(Q,E){return new n.\u0275RuntimeError(3005,!1)}())}return nt+Me}}function Si(Q,E,T,R,J,Me,nt,ot,ht,wt,Pt,$t,an){return{type:0,element:Q,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(Q,E,T,R,J){return Q.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=Ke(Gn.values());return Si(T,this._triggerName,R,J,yr,tn,wn,Un,go,ei,Kn,si)}}function Ii(Q,E){const T=L(E);for(const R in Q)Q.hasOwnProperty(R)&&null!=Q[R]&&(T[R]=Q[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=L(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(Q,E,T){return new ni(Q,{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(Q,E,T){Q.has(E)?Q.has(T)||Q.set(T,Q.get(E)):Q.has(T)&&Q.set(E,Q.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(Q){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(E,Me)}_buildPlayer(E,T,R){const J=E.element,Me=bt(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(Q){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=dt(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(Q){return new n.\u0275RuntimeError(3301,!1)}();return T}listen(E,T,R,J){const Me=Xe(T,"","","");return ct(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(Q){return null!=Q?Q:null}(R?E.value:E),R){const Me=L(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(Q,E){return new n.\u0275RuntimeError(3302,!1)}();if(null==R||0==R.length)throw function ie(Q){return new n.\u0275RuntimeError(3303,!1)}();if(!function Je(Q){return"start"==Q||"done"==Q}(R))throw function Ae(Q,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 $(Q){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(Q,E){const T=Object.keys(Q),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)||Q[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&&dt(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=Xe(Me,R.triggerName,R.fromState.value,R.toState.value);ht._data=E,ct(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,Ze,!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 dt(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?dt(T).onDone(()=>{R.forEach(J=>J())}):R.forEach(J=>J())}}reportError(E){throw function ye(Q){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(Q,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;vt(Ai,this.driver,Gn,wt,_.l3).forEach(zt=>{Rn(zt,ht,wt)&&go.push(zt)});const xr=new Map;un.forEach((zt,Gt)=>{vt(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=dt(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=dt(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,Ze,!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(Q){const E=[];return $n(Q,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=bt(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(Q,E,T){let R=Q.get(E);if(R){if(R.length){const J=R.indexOf(T);R.splice(J,1)}0==R.length&&Q.delete(E)}return R}(this.playersByQueriedElement,en.element,en))}),Pt.forEach(en=>pn(en,rt));const un=dt(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=>ct(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(Q){return Q&&1===Q.nodeType}function Et(Q,E){const T=Q.style.display;return Q.style.display=null!=E?E:"none",T}function vt(Q,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))}),Q.set(wt,Pt)});let ot=0;return T.forEach(ht=>Et(ht,Me[ot++])),nt}function Bt(Q,E){const T=new Map;if(Q.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(Q,E){var T;null===(T=Q.classList)||void 0===T||T.add(E)}function Cn(Q,E){var T;null===(T=Q.classList)||void 0===T||T.remove(E)}function Sn(Q,E,T){dt(T).onDone(()=>Q.processLeaveNode(E))}function $n(Q,E){for(let T=0;T<Q.length;T++){const R=Q[T];R instanceof _.ZE?$n(R.players,E):E.push(R)}}function Rn(Q,E,T){const R=T.get(Q);if(!R)return!1;let J=E.get(Q);return J?R.forEach(Me=>J.add(Me)):E.set(Q,R),T.delete(Q),!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(Q,E){return new n.\u0275RuntimeError(3404,!1)}();ot=function Xi(Q,E,T){return new Bi(Q,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]=je(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]=je(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 Q{constructor(T,R,J){this._element=T,this._startStyles=R,this._endStyles=J,this._state=0;let Me=Q.initialStylesByElement.get(T);Me||Q.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&&(Q.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 Q.initialStylesByElement=new WeakMap,Q})();function ai(Q){let E=null;return Q.forEach((T,R)=>{(function xn(Q){return"display"===Q||"position"===Q})(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 ut(E,T)}getParentElement(E){return Ge(E)}query(E,T,R){return Fe(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(Q,E){return 0===Q||0===E})(R,J)&&Pt.forEach(un=>{un.currentSnapshot.forEach((en,tn)=>wt.set(tn,en))});let $t=function yt(Q){return Q.length?Q[0]instanceof Map?Q:Q.map(E=>we(E)):[]}(T).map(un=>_t(un));$t=function Lt(Q,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(Q,ot)))}}return E}(E,$t,wt);const an=function on(Q,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(Q,T,R):null}(E,$t);return new tr(E,$t,ht,an)}}var F=a(9808);let A=(()=>{class Q 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 Q.\u0275fac=function(T){return new(T||Q)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(F.DOCUMENT))},Q.\u0275prov=n.\u0275\u0275defineInjectable({token:Q,factory:Q.\u0275fac}),Q})();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(Q,E,T,R,J){return Q.setProperty(E,`@@${T}:${R}`,J)}const jn="@.disabled";let Fn=(()=>{class Q{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 Q.\u0275fac=function(T){return new(T||Q)(n.\u0275\u0275inject(n.RendererFactory2),n.\u0275\u0275inject(St),n.\u0275\u0275inject(n.NgZone))},Q.\u0275prov=n.\u0275\u0275defineInjectable({token:Q,factory:Q.\u0275fac}),Q})();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(Q){switch(Q){case"body":return document.body;case"document":return document;case"window":return window;default:return Q}}(E);let Me=T.slice(1),nt="";return"@"!=Me.charAt(0)&&([Me,nt]=function nr(Q){const E=Q.indexOf(".");return[Q.substring(0,E),Q.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 Q extends St{constructor(T,R,J,Me){super(T.body,R,J)}ngOnDestroy(){this.flush()}}return Q.\u0275fac=function(T){return new(T||Q)(n.\u0275\u0275inject(F.DOCUMENT),n.\u0275\u0275inject(de),n.\u0275\u0275inject(Mi),n.\u0275\u0275inject(n.ApplicationRef))},Q.\u0275prov=n.\u0275\u0275defineInjectable({token:Q,factory:Q.\u0275fac}),Q})();const Bs=[{provide:_._j,useClass:A},{provide:Mi,useFactory:function js(){return new Ar}},{provide:St,useClass:Ls},{provide:n.RendererFactory2,useFactory:function Ha(Q,E,T){return new Fn(Q,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 Q{static withConfig(T){return{ngModule:Q,providers:T.disableAnimations?eo:qr}}}return Q.\u0275fac=function(T){return new(T||Q)},Q.\u0275mod=n.\u0275\u0275defineNgModule({type:Q}),Q.\u0275inj=n.\u0275\u0275defineInjector({providers:qr,imports:[h.BrowserModule]}),Q})();function es(){return[...qr]}let Ua=(()=>{class Q{}return Q.\u0275fac=function(T){return new(T||Q)},Q.\u0275mod=n.\u0275\u0275defineNgModule({type:Q}),Q.\u0275inj=n.\u0275\u0275defineInjector({providers:eo,imports:[h.BrowserModule]}),Q})();function $s(){return[...eo]}},2313:(H,o,a)=>{"use strict";a.r(o),a.d(o,{BrowserModule:()=>Ue,BrowserTransferStateModule:()=>L,By:()=>we,DomSanitizer:()=>Ht,EVENT_MANAGER_PLUGINS:()=>C,EventManager:()=>M,HAMMER_GESTURE_CONFIG:()=>_t,HAMMER_LOADER:()=>ee,HammerGestureConfig:()=>Ie,HammerModule:()=>Dt,Meta:()=>ze,Title:()=>ut,TransferState:()=>ae,VERSION:()=>vn,bootstrapApplication:()=>pt,disableDebugTools:()=>rt,enableDebugTools:()=>Nt,makeStateKey:()=>me,platformBrowser:()=>Ve,provideProtractorTestingSupport:()=>Xe,\u0275BrowserDomAdapter:()=>u,\u0275BrowserGetTestability:()=>g,\u0275DomEventsPlugin:()=>ye,\u0275DomRendererFactory2:()=>te,\u0275DomSanitizerImpl:()=>Xt,\u0275DomSharedStylesHost:()=>j,\u0275HammerGesturesPlugin:()=>at,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>Ye,\u0275KeyEventsPlugin:()=>dt,\u0275NAMESPACE_URIS:()=>U,\u0275SharedStylesHost:()=>O,\u0275TRANSITION_ID:()=>y,\u0275escapeHtml:()=>Ze,\u0275flattenStyles:()=>z,\u0275getDOM:()=>n.\u0275getDOM,\u0275initDomAdapter:()=>Pe,\u0275shimContentAttribute:()=>xe,\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(Ke,_e,et){return Ke.addEventListener(_e,et,!1),()=>{Ke.removeEventListener(_e,et,!1)}}dispatchEvent(Ke,_e){Ke.dispatchEvent(_e)}remove(Ke){Ke.parentNode&&Ke.parentNode.removeChild(Ke)}createElement(Ke,_e){return(_e=_e||this.getDefaultDocument()).createElement(Ke)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Ke){return Ke.nodeType===Node.ELEMENT_NODE}isShadowRoot(Ke){return Ke instanceof DocumentFragment}getGlobalEventTarget(Ke,_e){return"window"===_e?window:"document"===_e?Ke:"body"===_e?Ke.body:null}getBaseHref(Ke){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 Ke=d.pathname;return"/"===Ke.charAt(0)?Ke:`/${Ke}`}(_e)}resetBaseElement(){r=null}getUserAgent(){return window.navigator.userAgent}getCookie(Ke){return(0,n.\u0275parseCookieValue)(document.cookie,Ke)}}let d,r=null;const y=new h.InjectionToken("TRANSITION_ID"),b=[{provide:h.APP_INITIALIZER,useFactory:function f(qe,Ke,_e){return()=>{_e.get(h.ApplicationInitStatus).donePromise.then(()=>{const et=(0,n.\u0275getDOM)(),lt=Ke.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 g{addToWindow(Ke){h.\u0275global.getAngularTestability=(et,lt=!0)=>{const It=Ke.findTestabilityInTree(et,lt);if(null==It)throw new Error("Could not find testability for element.");return It},h.\u0275global.getAllAngularTestabilities=()=>Ke.getAllTestabilities(),h.\u0275global.getAllAngularRootElements=()=>Ke.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(Ke,_e,et){if(null==_e)return null;const lt=Ke.getTestability(_e);return null!=lt?lt:et?(0,n.\u0275getDOM)().isShadowRoot(_e)?this.findTestabilityInTree(Ke,_e.host,!0):this.findTestabilityInTree(Ke,_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 P{constructor(Ke){this._doc=Ke}addGlobalEventListener(Ke,_e,et){const lt=(0,n.\u0275getDOM)().getGlobalEventTarget(this._doc,Ke);if(!lt)throw new Error(`Unsupported event target ${lt} for event ${_e}`);return this.addEventListener(lt,_e,et)}}let O=(()=>{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})(),j=(()=>{class qe extends O{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(Z),this._hostNodes.delete(_e)}onStylesAdded(_e){this._hostNodes.forEach((et,lt)=>{this._addStylesToHost(_e,lt,et)})}ngOnDestroy(){this._hostNodes.forEach(_e=>_e.forEach(Z))}}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 Z(qe){(0,n.\u0275getDOM)().remove(qe)}const U={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}`,he=`_ngcontent-${X}`;function xe(qe){return he.replace(G,qe)}function it(qe){return oe.replace(G,qe)}function z(qe,Ke,_e){for(let et=0;et<Ke.length;et++){let lt=Ke[et];Array.isArray(lt)?z(qe,lt,_e):(lt=lt.replace(G,qe),_e.push(lt))}return _e}function q(qe){return Ke=>{if("__ngUnwrap__"===Ke)return qe;!1===qe(Ke)&&(Ke.preventDefault(),Ke.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(j),h.\u0275\u0275inject(h.APP_ID))},qe.\u0275prov=h.\u0275\u0275defineInjectable({token:qe,factory:qe.\u0275fac}),qe})();class Ee{constructor(Ke){this.eventManager=Ke,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Ke,_e){return _e?document.createElementNS(U[_e]||_e,Ke):document.createElement(Ke)}createComment(Ke){return document.createComment(Ke)}createText(Ke){return document.createTextNode(Ke)}appendChild(Ke,_e){(ie(Ke)?Ke.content:Ke).appendChild(_e)}insertBefore(Ke,_e,et){Ke&&(ie(Ke)?Ke.content:Ke).insertBefore(_e,et)}removeChild(Ke,_e){Ke&&Ke.removeChild(_e)}selectRootElement(Ke,_e){let et="string"==typeof Ke?document.querySelector(Ke):Ke;if(!et)throw new Error(`The selector "${Ke}" did not match any elements`);return _e||(et.textContent=""),et}parentNode(Ke){return Ke.parentNode}nextSibling(Ke){return Ke.nextSibling}setAttribute(Ke,_e,et,lt){if(lt){_e=lt+":"+_e;const It=U[lt];It?Ke.setAttributeNS(It,_e,et):Ke.setAttribute(_e,et)}else Ke.setAttribute(_e,et)}removeAttribute(Ke,_e,et){if(et){const lt=U[et];lt?Ke.removeAttributeNS(lt,_e):Ke.removeAttribute(`${et}:${_e}`)}else Ke.removeAttribute(_e)}addClass(Ke,_e){Ke.classList.add(_e)}removeClass(Ke,_e){Ke.classList.remove(_e)}setStyle(Ke,_e,et,lt){lt&(h.RendererStyleFlags2.DashCase|h.RendererStyleFlags2.Important)?Ke.style.setProperty(_e,et,lt&h.RendererStyleFlags2.Important?"important":""):Ke.style[_e]=et}removeStyle(Ke,_e,et){et&h.RendererStyleFlags2.DashCase?Ke.style.removeProperty(_e):Ke.style[_e]=""}setProperty(Ke,_e,et){Ke[_e]=et}setValue(Ke,_e){Ke.nodeValue=_e}listen(Ke,_e,et){return"string"==typeof Ke?this.eventManager.addGlobalEventListener(Ke,_e,q(et)):this.eventManager.addEventListener(Ke,_e,q(et))}}function ie(qe){return"TEMPLATE"===qe.tagName&&void 0!==qe.content}class Ae extends Ee{constructor(Ke,_e,et,lt){super(Ke),this.component=et;const It=z(lt+"-"+et.id,et.styles,[]);_e.addStyles(It),this.contentAttr=xe(lt+"-"+et.id),this.hostAttr=it(lt+"-"+et.id)}applyToHost(Ke){super.setAttribute(Ke,this.hostAttr,"")}createElement(Ke,_e){const et=super.createElement(Ke,_e);return super.setAttribute(et,this.contentAttr,""),et}}class $ extends Ee{constructor(Ke,_e,et,lt){super(Ke),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(Ke){return Ke===this.hostEl?this.shadowRoot:Ke}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(Ke,_e){return super.appendChild(this.nodeOrShadowRoot(Ke),_e)}insertBefore(Ke,_e,et){return super.insertBefore(this.nodeOrShadowRoot(Ke),_e,et)}removeChild(Ke,_e){return super.removeChild(this.nodeOrShadowRoot(Ke),_e)}parentNode(Ke){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Ke)))}}let ye=(()=>{class qe extends P{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"],Be={"\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"},He={alt:qe=>qe.altKey,control:qe=>qe.ctrlKey,meta:qe=>qe.metaKey,shift:qe=>qe.shiftKey};let dt=(()=>{class qe extends P{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 bt(qe){let Ke=qe.key;if(null==Ke){if(Ke=qe.keyIdentifier,null==Ke)return"Unidentified";Ke.startsWith("U+")&&(Ke=String.fromCharCode(parseInt(Ke.substring(2),16)),3===qe.location&&Se.hasOwnProperty(Ke)&&(Ke=Se[Ke]))}return Be[Ke]||Ke}(_e);return lt=lt.toLowerCase()," "===lt?lt="space":"."===lt&&(lt="dot"),Ce.forEach(It=>{It!=lt&&(0,He[It])(_e)&&(et+=It+".")}),et+=lt,et}static eventCallback(_e,et,lt){return It=>{qe.getEventFullKey(It)===_e&<.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 pt(qe,Ke){var _e;return(0,h.\u0275internalBootstrapApplication)({rootComponent:qe,appProviders:[...Te,...null!==(_e=null==Ke?void 0:Ke.providers)&&void 0!==_e?_e:[]],platformProviders:Ye})}function Xe(){return[...Y]}function Pe(){u.makeCurrent()}const Ye=[{provide:h.PLATFORM_ID,useValue:n.\u0275PLATFORM_BROWSER_ID},{provide:h.PLATFORM_INITIALIZER,useValue:Pe,multi:!0},{provide:n.DOCUMENT,useFactory:function pe(){return(0,h.\u0275setDocument)(document),document},deps:[]}],Ve=(0,h.createPlatformFactory)(h.platformCore,"browser",Ye),Ge=new h.InjectionToken(""),Y=[{provide:h.\u0275TESTABILITY_GETTER,useClass:g,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 je(){return new h.ErrorHandler},deps:[]},{provide:C,useClass:ye,multi:!0,deps:[n.DOCUMENT,h.NgZone,h.PLATFORM_ID]},{provide:C,useClass:dt,multi:!0,deps:[n.DOCUMENT]},{provide:te,useClass:te,deps:[M,j,h.APP_ID]},{provide:h.RendererFactory2,useExisting:te},{provide:O,useExisting:j},{provide:j,useClass:j,deps:[n.DOCUMENT]},{provide:M,useClass:M,deps:[C,h.NgZone]},{provide:n.XhrFactory,useClass:m,deps:[]},[]];let Ue=(()=>{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(Ge,12))},qe.\u0275mod=h.\u0275\u0275defineNgModule({type:qe}),qe.\u0275inj=h.\u0275\u0275defineInjector({providers:[...Te,...Y],imports:[n.CommonModule,h.ApplicationModule]}),qe})(),ze=(()=>{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&<.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 Le(){return new ze((0,h.\u0275\u0275inject)(n.DOCUMENT))}(),et},providedIn:"root"}),qe})();const ve={httpEquiv:"http-equiv"};let ut=(()=>{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 $e(){return new ut((0,h.\u0275\u0275inject)(n.DOCUMENT))}(),et},providedIn:"root"}),qe})();function ke(qe,Ke){"undefined"!=typeof COMPILED&&COMPILED||((h.\u0275global.ng=h.\u0275global.ng||{})[qe]=Ke)}const tt="undefined"!=typeof window&&window||{};class gt{constructor(Ke,_e){this.msPerTick=Ke,this.numTicks=_e}}class Ft{constructor(Ke){this.appRef=Ke.injector.get(h.ApplicationRef)}timeChangeDetection(Ke){const _e=Ke&&Ke.record,et="Change Detection",lt=null!=tt.console.profile;_e&<&&tt.console.profile(et);const It=At();let Lt=0;for(;Lt<5||At()-It<500;)this.appRef.tick(),Lt++;const Wt=At();_e&<&&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 gt(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 Ze(qe){const Ke={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return qe.replace(/[&"'<>]/g,_e=>Ke[_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 Ke=(0,h.inject)(n.DOCUMENT),_e=(0,h.inject)(h.APP_ID),et=new qe;return et.store=function le(qe,Ke){const _e=qe.getElementById(Ke+"-state");let et={};if(_e&&_e.textContent)try{et=JSON.parse(function be(qe){const Ke={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return qe.replace(/&[^;]+;/g,_e=>Ke[_e])}(_e.textContent))}catch(lt){console.warn("Exception while restoring TransferState for app "+Ke,lt)}return et}(Ke,_e),et})()},providedIn:"root"}),qe})(),L=(()=>{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(Ke){return _e=>null!=_e.nativeElement&&function yt(qe,Ke){return!!(0,n.\u0275getDOM)().isElementNode(qe)&&(qe.matches&&qe.matches(Ke)||qe.msMatchesSelector&&qe.msMatchesSelector(Ke)||qe.webkitMatchesSelector&&qe.webkitMatchesSelector(Ke))}(_e.nativeElement,Ke)}static directive(Ke){return _e=>-1!==_e.providerTokens.indexOf(Ke)}}const We={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},_t=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 P{constructor(_e,et,lt,It){super(_e),this._config=et,this.console=lt,this.loader=It,this._loaderPromise=null}supports(_e){return!(!We.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(_t),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,_t,h.\u0275Console,[new h.Optional,ee]]},{provide:_t,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:(H,o,a)=>{"use strict";a.r(o),a.d(o,{MONACO_PATH:()=>g,MonacoDiffEditorComponent:()=>P,MonacoEditorComponent:()=>M,MonacoEditorLoaderDirective:()=>C,MonacoEditorLoaderService:()=>m,MonacoEditorModule:()=>O});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"],g="MONACO_PATH";let m=(()=>{class j{constructor(U,G){this.ngZone=U,this.monacoPathConfig=G,this.isMonacoLoaded$=new r.X(!1),this._monacoPath="assets/monaco-editor/min/vs",window.monacoEditorAlreadyInitialized?U.run(()=>this.isMonacoLoaded$.next(!0)):(window.monacoEditorAlreadyInitialized=!0,this.monacoPathConfig&&(this.monacoPath=this.monacoPathConfig),this.loadMonaco())}set monacoPath(U){U&&(this._monacoPath=U)}loadMonaco(){const U=()=>{let oe=this._monacoPath;window.amdRequire=window.require;const he=!!this.nodeRequire,xe=oe.includes("http");he&&(window.require=this.nodeRequire,xe||(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 U();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",U),document.body.appendChild(X)}addElectronFixScripts(){const U=document.createElement("script"),G=document.createTextNode("self.module = undefined;"),B=document.createTextNode("self.process.browser = true;");U.appendChild(G),U.appendChild(B),document.body.appendChild(U)}}return j.\u0275fac=function(U){return new(U||j)(n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(g,8))},j.\u0275prov=n.\u0275\u0275defineInjectable({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),C=(()=>{class j{constructor(U,G,B){this.templateRef=U,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(U=>{if(!U)return this.viewContainer.clear();this.viewContainer.createEmbeddedView(this.templateRef)})}ngOnDestroy(){this.destroyed$.next(),this.destroyed$.complete()}}return j.\u0275fac=function(U){return new(U||j)(n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(m))},j.\u0275dir=n.\u0275\u0275defineDirective({type:j,selectors:[["","ngxLoadMonacoEditor",""]]}),j})(),M=(()=>{class j{constructor(U){this.monacoLoader=U,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)(U=>U),(0,u.q)(1)).subscribe(()=>{this.initEditor()})}ngOnChanges(U){if(this.editor&&U.options&&!U.options.firstChange){const G=U.options.currentValue,{language:B,theme:X}=G,oe=(0,d.__rest)(G,["language","theme"]),{language:he,theme:xe}=U.options.previousValue;he!==B&&monaco.editor.setModelLanguage(this.editor.getModel(),this.options&&this.options.language?this.options.language:"text"),xe!==X&&monaco.editor.setTheme(X),this.editor.updateOptions(oe)}if(this.editor&&U.uri){const G=U.uri.currentValue,B=U.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(he=>he.uri.path===G.path)),this.modelUriInstance=oe||monaco.editor.createModel(X,this.options.language||"text",this.uri),this.editor.setModel(this.modelUriInstance)}}}writeValue(U){this.value=U,this.editor&&U?this.editor.setValue(U):this.editor&&this.editor.setValue("")}registerOnChange(U){this.propagateChange=U}registerOnTouched(U){this.onTouched=U}validate(){return this.parsedError?{monaco:{value:this.parsedError.split("|")}}:null}registerOnValidatorChange(U){this.onErrorStatusChange=U}initEditor(){const U={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({},U),this.options):U),this.registerEditorListeners(),this.init.emit(this.editor)}registerEditorListeners(){this.editor.onDidChangeModelContent(()=>{this.propagateChange(this.editor.getValue())}),this.editor.onDidChangeModelDecorations(()=>{const U=this.modelMarkers.map(({message:B})=>B).join("|");this.parsedError!==U&&(this.parsedError=U,this.onErrorStatusChange())}),this.editor.onDidBlurEditorText(()=>{this.onTouched()})}ngOnDestroy(){this.editor&&this.editor.dispose()}}return j.\u0275fac=function(U){return new(U||j)(n.\u0275\u0275directiveInject(m))},j.\u0275cmp=n.\u0275\u0275defineComponent({type:j,selectors:[["ngx-monaco-editor"]],viewQuery:function(U,G){if(1&U&&n.\u0275\u0275viewQuery(y,7),2&U){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)(()=>j),multi:!0},{provide:p.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>j),multi:!0}]),n.\u0275\u0275NgOnChangesFeature],decls:4,vars:0,consts:[["fxFlex","",1,"editor-container"],["container",""],[1,"monaco-editor"],["editor",""]],template:function(U,G){1&U&&(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}),j})(),P=(()=>{class j{constructor(U){this.monacoLoader=U,this.init=new n.EventEmitter}ngOnInit(){this.container=this.editorContent.nativeElement,this.monacoLoader.isMonacoLoaded$.pipe((0,_.h)(U=>U),(0,u.q)(1)).subscribe(()=>{this.initMonaco()})}ngOnChanges(U){if(this.editor&&(U.code&&!U.code.firstChange||U.modified&&!U.modified.firstChange)){const G=monaco.editor.createModel(this.modified),B=monaco.editor.createModel(this.original);this.editor.setModel({original:B,modified:G})}this.editor&&U.options&&!U.options.firstChange&&(U.options.previousValue.theme!==U.options.currentValue.theme&&monaco.editor.setTheme(U.options.currentValue.theme),this.editor.updateOptions(U.options.currentValue))}initMonaco(){let U={readOnly:!0,automaticLayout:!0,theme:"vc"};this.options&&(U=Object.assign({},U,this.options)),this.editor=monaco.editor.createDiffEditor(this.container,U);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 j.\u0275fac=function(U){return new(U||j)(n.\u0275\u0275directiveInject(m))},j.\u0275cmp=n.\u0275\u0275defineComponent({type:j,selectors:[["ngx-monaco-diff-editor"]],viewQuery:function(U,G){if(1&U&&n.\u0275\u0275viewQuery(f,7),2&U){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(U,G){1&U&&(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}),j})(),O=(()=>{class j{}return j.\u0275fac=function(U){return new(U||j)},j.\u0275mod=n.\u0275\u0275defineNgModule({type:j}),j.\u0275inj=n.\u0275\u0275defineInjector({imports:[[]]}),j})()},1430:(H,o,a)=>{"use strict";a.r(o),a.d(o,{ANGULAR_SPLIT_DEFAULT_OPTIONS:()=>oe,AngularSplitModule:()=>it,SplitAreaDirective:()=>xe,SplitComponent:()=>he});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 P(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 O(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 j(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 Z(z,q,V,te){return q.reduce((Ee,Oe)=>{const K=function U(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 he=(()=>{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!==P(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=P(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=O(K),K.maxSize=j(K)});break}case"pixel":if(Ee)this.displayedAreas.forEach(Oe=>{Oe.size=Oe.component.size,Oe.minSize=O(Oe),Oe.maxSize=j(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:O(K),K.maxSize=0===ie?null:j(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=O(ie),ie.maxSize=j(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 g(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=Z(this.unit,this.snapshot.areasBeforeGutter,-te,this.snapshot.allAreasSizePixel),Oe=Z(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=Z(this.unit,this.snapshot.areasAfterGutter,te+Ee.remain,this.snapshot.allAreasSizePixel):Ee=Z(this.unit,this.snapshot.areasBeforeGutter,-(te-Oe.remain),this.snapshot.allAreasSizePixel)):0!==Ee.remain?Oe=Z(this.unit,this.snapshot.areasAfterGutter,te+Ee.remain,this.snapshot.allAreasSizePixel):0!==Oe.remain&&(Ee=Z(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()}.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})(),xe=(()=>{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(he))},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:(H,o,a)=>{"use strict";a.r(o),a.d(o,{NgxJsonViewerComponent:()=>y,NgxJsonViewerModule:()=>f});var n=a(5e3),h=a(9808);function _(b,g){1&b&&n.\u0275\u0275element(0,"div",9)}function u(b,g){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,g){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)}}const c=function(b){return["segment",b]},d=function(b,g){return{"segment-main":!0,expandable:b,expanded:g}};function p(b,g){if(1&b){const m=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"section",2)(1,"section",3),n.\u0275\u0275listener("click",function(){const P=n.\u0275\u0275restoreView(m).$implicit,O=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(O.toggle(P))}),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=g.$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=-1,this.segments=[]}ngOnChanges(){this.segments=[],this.json=this.decycle(this.json),this._currentDepth++,"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(P,O){let j,Z;return"object"!=typeof P||null===P||P instanceof Boolean||P instanceof Date||P instanceof Number||P instanceof RegExp||P instanceof String?P:(j=C.get(P),void 0!==j?{$ref:j}:(C.set(P,O),Array.isArray(P)?(Z=[],P.forEach(function(U,G){Z[G]=M(U,O+"["+G+"]")})):(Z={},Object.keys(P).forEach(function(U){Z[U]=M(P[U],O+"["+JSON.stringify(U)+"]")})),Z))}(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:[b,h.NgForOf,h.NgClass,h.NgIf],styles:['@charset "UTF-8";.ngx-json-viewer[_ngcontent-%COMP%]{font-family:monospace;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:#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:#4e187c}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-separator[_ngcontent-%COMP%]{color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment[_ngcontent-%COMP%] .segment-main[_ngcontent-%COMP%] .segment-value[_ngcontent-%COMP%]{color:#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:#ff6b6b}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-number[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#009688}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-boolean[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#b938a4}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-date[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#05668d}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-array[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-object[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-function[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#fff}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{color:#fff}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-null[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:red}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-key[_ngcontent-%COMP%]{color:#999}.ngx-json-viewer[_ngcontent-%COMP%] .segment-type-undefined[_ngcontent-%COMP%] > .segment-main[_ngcontent-%COMP%] > .segment-value[_ngcontent-%COMP%]{background-color:#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:(H,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:()=>he,Toast:()=>Oe,ToastContainerDirective:()=>Z,ToastContainerModule:()=>U,ToastInjector:()=>it,ToastNoAnimation:()=>$,ToastNoAnimationModule:()=>Ce,ToastPackage:()=>X,ToastRef:()=>xe,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,Be){if(1&De){const Se=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",5),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(Se);const dt=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(dt.remove())}),n.\u0275\u0275elementStart(1,"span",6),n.\u0275\u0275text(2,"\xd7"),n.\u0275\u0275elementEnd()()}}function p(De,Be){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,Be){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,Be){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,Be){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 g(De,Be){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,Be){if(1&De){const Se=n.\u0275\u0275getCurrentView();n.\u0275\u0275elementStart(0,"button",5),n.\u0275\u0275listener("click",function(){n.\u0275\u0275restoreView(Se);const dt=n.\u0275\u0275nextContext();return n.\u0275\u0275resetView(dt.remove())}),n.\u0275\u0275elementStart(1,"span",6),n.\u0275\u0275text(2,"\xd7"),n.\u0275\u0275elementEnd()()}}function C(De,Be){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,Be){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 P(De,Be){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 O(De,Be){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 j(De,Be){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 Z=(()=>{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})(),U=(()=>{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(Be,Se){this.component=Be,this.injector=Se}attach(Be,Se){return this._attachedHost=Be,Be.attach(this,Se)}detach(){const Be=this._attachedHost;if(Be)return this._attachedHost=void 0,Be.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(Be){this._attachedHost=Be}}class B{attach(Be,Se){return this._attachedPortal=Be,this.attachComponentPortal(Be,Se)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(Be){this._disposeFn=Be}}class X{constructor(Be,Se,He,dt,bt,ct){this.toastId=Be,this.config=Se,this.message=He,this.title=dt,this.toastType=bt,this.toastRef=ct,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(Be){this._onAction.next(Be)}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},he=new n.InjectionToken("ToastConfig");class xe{constructor(Be){this._overlayRef=Be,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(Be,Se){Be&&this._resetTimeout.next(),Se&&this._countDuplicate.next(++this.duplicatesCount)}}class it{constructor(Be,Se){this._toastPackage=Be,this._parentInjector=Se}get(Be,Se,He){return Be===X?this._toastPackage:this._parentInjector.get(Be,Se,He)}}class z extends B{constructor(Be,Se,He){super(),this._hostDomElement=Be,this._componentFactoryResolver=Se,this._appRef=He}attachComponentPortal(Be,Se){const He=this._componentFactoryResolver.resolveComponentFactory(Be.component);let dt;return dt=He.create(Be.injector),this._appRef.attachView(dt.hostView),this.setDisposeFn(()=>{this._appRef.detachView(dt.hostView),dt.destroy()}),Se?this._hostDomElement.insertBefore(this._getComponentRootNode(dt),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(dt)),dt}_getComponentRootNode(Be){return Be.hostView.rootNodes[0]}}class q{constructor(Be){this._portalHost=Be}attach(Be,Se=!0){return this._portalHost.attach(Be,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,He,dt,bt){this._overlayContainer=Se,this._componentFactoryResolver=He,this._appRef=dt,this._document=bt,this._paneElements=new Map}create(Se,He){return this._createOverlayRef(this.getPaneElement(Se,He))}getPaneElement(Se="",He){return this._paneElements.get(He)||this._paneElements.set(He,{}),this._paneElements.get(He)[Se]||(this._paneElements.get(He)[Se]=this._createPaneElement(Se,He)),this._paneElements.get(He)[Se]}_createPaneElement(Se,He){const dt=this._document.createElement("div");return dt.id="toast-container",dt.classList.add(Se),dt.classList.add("toast-container"),He?He.getContainerElement().appendChild(dt):this._overlayContainer.getContainerElement().appendChild(dt),dt}_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,He,dt,bt,ct){this.overlay=He,this._injector=dt,this.sanitizer=bt,this.ngZone=ct,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,He,dt={},bt=""){return this._preBuildNotification(bt,Se,He,this.applyConfig(dt))}success(Se,He,dt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",Se,He,this.applyConfig(dt))}error(Se,He,dt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",Se,He,this.applyConfig(dt))}info(Se,He,dt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",Se,He,this.applyConfig(dt))}warning(Se,He,dt={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",Se,He,this.applyConfig(dt))}clear(Se){for(const He of this.toasts)if(void 0!==Se){if(He.toastId===Se)return void He.toastRef.manualClose()}else He.toastRef.manualClose()}remove(Se){const He=this._findToast(Se);if(!He||(He.activeToast.toastRef.close(),this.toasts.splice(He.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 dt=this.toasts[this.currentlyActive].toastRef;dt.isInactive()||(this.currentlyActive=this.currentlyActive+1,dt.activate())}return!0}findDuplicate(Se="",He="",dt,bt){const{includeTitleDuplicates:ct}=this.toastrConfig;for(const pt of this.toasts){const Xe=ct&&pt.title===Se;if((!ct||Xe)&&pt.message===He)return pt.toastRef.onDuplicate(dt,bt),pt}return null}applyConfig(Se={}){return Object.assign(Object.assign({},this.toastrConfig),Se)}_findToast(Se){for(let He=0;He<this.toasts.length;He++)if(this.toasts[He].toastId===Se)return{index:He,activeToast:this.toasts[He]};return null}_preBuildNotification(Se,He,dt,bt){return bt.onActivateTick?this.ngZone.run(()=>this._buildNotification(Se,He,dt,bt)):this._buildNotification(Se,He,dt,bt)}_buildNotification(Se,He,dt,bt){if(!bt.toastComponent)throw new Error("toastComponent required");const ct=this.findDuplicate(dt,He,this.toastrConfig.resetTimeoutOnDuplicate&&bt.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&dt||He)&&this.toastrConfig.preventDuplicates&&null!==ct)return ct;this.previousToastMessage=He;let pt=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(pt=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const Xe=this.overlay.create(bt.positionClass,this.overlayContainer);this.index=this.index+1;let Pe=He;He&&bt.enableHtml&&(Pe=this.sanitizer.sanitize(n.SecurityContext.HTML,He));const je=new xe(Xe),pe=new X(this.index,bt,Pe,dt,Se,je),Ye=new it(pe,this._injector),Ve=new G(bt.toastComponent,Ye),Ge=Xe.attach(Ve,this.toastrConfig.newestOnTop);je.componentInstance=Ge.instance;const Y={toastId:this.index,title:dt||"",message:He||"",toastRef:je,onShown:je.afterActivate(),onHidden:je.afterClosed(),onTap:pe.onTap(),onAction:pe.onAction(),portal:Ge};return pt||(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(he),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,He,dt){this.toastrService=Se,this.toastPackage=He,this.ngZone=dt,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=He.message,this.title=He.title,this.options=He.config,this.originalTimeout=He.config.timeOut,this.toastClasses=`${He.toastType} ${He.config.toastClass}`,this.sub=He.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=He.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=He.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=He.toastRef.countDuplicate().subscribe(bt=>{this.duplicatesCount=bt})}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,He){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(Se),He)):this.timeout=setTimeout(()=>Se(),He)}outsideInterval(Se,He){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(Se),He)):this.intervalId=setInterval(()=>Se(),He)}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,He){1&Se&&n.\u0275\u0275listener("click",function(){return He.tapToast()})("mouseenter",function(){return He.stickAround()})("mouseleave",function(){return He.delayedHideToast()}),2&Se&&(n.\u0275\u0275syntheticHostProperty("@flyInOut",He.state),n.\u0275\u0275classMap(He.toastClasses),n.\u0275\u0275styleProp("display",He.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,He){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,g,2,2,"div",4)),2&Se&&(n.\u0275\u0275property("ngIf",He.options.closeButton),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",He.title),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",He.message&&He.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",He.message&&!He.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",He.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:he,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:he,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,He,dt){this.toastrService=Se,this.toastPackage=He,this.appRef=dt,this.width=-1,this.toastClasses="",this.state="inactive",this.message=He.message,this.title=He.title,this.options=He.config,this.originalTimeout=He.config.timeOut,this.toastClasses=`${He.toastType} ${He.config.toastClass}`,this.sub=He.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=He.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=He.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=He.toastRef.countDuplicate().subscribe(bt=>{this.duplicatesCount=bt})}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,He){1&Se&&n.\u0275\u0275listener("click",function(){return He.tapToast()})("mouseenter",function(){return He.stickAround()})("mouseleave",function(){return He.delayedHideToast()}),2&Se&&(n.\u0275\u0275classMap(He.toastClasses),n.\u0275\u0275styleProp("display",He.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,He){1&Se&&(n.\u0275\u0275template(0,m,3,0,"button",0),n.\u0275\u0275template(1,M,3,5,"div",1),n.\u0275\u0275template(2,P,1,3,"div",2),n.\u0275\u0275template(3,O,2,4,"div",3),n.\u0275\u0275template(4,j,2,2,"div",4)),2&Se&&(n.\u0275\u0275property("ngIf",He.options.closeButton),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",He.title),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",He.message&&He.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",He.message&&!He.options.enableHtml),n.\u0275\u0275advance(1),n.\u0275\u0275property("ngIf",He.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:he,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:H=>{"use strict";H.exports=JSON.parse('{"name":"@sdkgen/playground","version":"2.2.0","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":"^13.2.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"}}')}},H=>{H(H.s=4431)}]);
|